* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* レイアウト計算を直感的にするbox-sizingの指定も一般的 */
    overflow-wrap: break-word;
}
html,body{
    margin: 0 ;
    padding: 0 ;
    font-family: noto-sans-cjk-jp, sans-serif;
}
.wrapper{
    position: relative;
}
h1,h2,h3,h4,h5,h6{
    margin: 0;
    padding: 0;
}
p{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
li{
    margin: 0;
    padding: 0;
}
img{
    margin: 0;
    padding: 0;
    max-width: 100%;
    height: auto;
}
.bg-image{
    background-image: url("../img/bg-image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}
header {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
}
.header-logo{
width:100%;
}
.header-logo a{
    width: auto;
    display: inline-block;
    padding: 50px;
    box-sizing: border-box;
}
.header-logo img{
width:100%;
max-width:200px;
height: auto;
object-fit: contain;
}
.wrapper{
    width:100%;
}
.container{
    width: 100%;
    display: flex;
    margin: 0 auto;
    justify-content: center;
}
.container-inner{
    max-width: 500px;
    width: 100%;
    background: #fff;
    min-height: 100vh;
    margin-bottom: 156px;

}
.content-area {
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}
.content-area::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 30px;
    background-image: linear-gradient(0deg, rgb(255, 255, 255,0), rgb(255, 255, 255,1));
}
.content-area::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 30px;
    background-image: linear-gradient(0deg, rgb(255, 255, 255,1), rgb(255, 255, 255,0));
}
.content{
    background: #fff;
    margin: 0 15px;
    padding: 0 20px;
    text-align: center;
    font-weight: 550;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 の比率 */
    height: 0;
    overflow: hidden;
    background-color: #000;
    margin-bottom: 20px; /* 複数の動画がある場合などの余白 */
}

/* iframeのスタイル */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-container2 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 の比率 */
    height: 0;
    overflow: hidden;
    background-color: #000;
}
/* iframeのスタイル */
.video-container2 video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.btn-area{
display: block;
position: relative;

}
.btn-area_in{
    display: flex;
    flex-direction: column;
    gap:20px;
    box-sizing: border-box;
    padding: 20px; 
}
/* target-btn の初期状態（非表示） */
.target-btn {
    position: fixed;
    bottom: -100px; /* 初期状態では画面外（下）に隠す */
    left: 0;
    width: 100%;
    
    display: flex; /* ★ここを修正/コメントアウト解除★ */
    justify-content: center; /* これで target-btn_in が中央に寄る */
    
    gap: 20px; /* target-btn のコンテンツ間に隙間を持たせる場合 */
    box-sizing: border-box;
    padding: 20px; /* target-btn の左右と下部に余白を持たせる場合 */
    background: #fff;
    z-index: 1000;
    opacity: 0;
    transition: bottom 0.8s ease-out, opacity 0.8s ease-out;
    pointer-events: none;
}

/* 既存の .target-btn_in のスタイル */
.target-btn_in {
    width: 100%;
    max-width: 900px; /* この幅まで中央に配置される */
    display: flex; /* これによりaタグが横並びになる */
    gap: 20px;
    justify-content: center; /* target-btn_in 内のボタンを中央に寄せる場合 */
    align-items: center; /* 垂直方向も中央にしたい場合 (例: ボタンの高さが異なる場合) */
}

/* ボタン（aタグ）や画像に必要に応じてスタイルを追加 */
.target-btn_in a {
    display: block;
    /* 必要に応じてボタンの幅や高さを調整 */
}


/* アニメーション後の状態 (JavaScriptでこのクラスを追加・削除) */
.target-btn.is-active {
    bottom: 0;           /* 画面下部に表示 */
    opacity: 1;          /* 不透明 */
    /* display: flex; は既に上に書かれているので不要 */
    pointer-events: auto; /* クリックイベントを有効にする */
}
.box-area{
display: flex;
flex-direction: column;
}
.point-area{
    background-image: url(../img/bg-point.png);
    background-position: center;
    background-size: contain;
    background-repeat: repeat;
    width: 100%;
    height: auto;
    padding:0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
}
/* 既存のスタイル */
.detail-btn_area {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: auto;
    box-sizing: border-box;
    padding: 20px;
    background: #fff;
    margin: 0 20px;
}
/* ボタンのエリアのスタイル */
.popup-trigger-area {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 15px;
    max-width: 100%;
    padding: 20px;
    background: #fff;
}

/* ボタンの共通スタイル */
.popup-trigger-btn {
    display: block;
    border: 0;
    padding: 10px 20px;
    color: white;
    border-radius: 100px; /* 角を丸くする */
    cursor: pointer;
    font-size: 16px;
    flex-grow: 1; /* 均等な幅にする */
    transition: background-color 0.3s ease; /* ホバーアニメーション */
}

/* ピンクボタンのスタイル */
.pink-btn {
    background-color: #F04966; /* 例: ピンク */
}
.pink-btn:hover {
    background-color: #d13a53; /* ホバー時の色 */
}

/* グリーンボタンのスタイル */
.green-btn {
    background-color: #00A1BA; /* 例: グリーン */
}
.green-btn:hover {
    background-color: #0087a1; /* ホバー時の色 */
}


/* ポップアップの共通スタイル */
.popup-wrapper {
    background-color: rgba(0, 0, 0, .7); /* 濃いめの半透明 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* 初期状態は非表示 */
    z-index: 2000; /* 他の要素より手前に */
    justify-content: center; /* ポップアップを中央に寄せる */
    align-items: center; /* ポップアップを中央に寄せる */
    padding: 20px;
}

.popup-inside {
    text-align: center;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    height: 100%;
    background: white;
    padding: 20px;
    padding-top: 60px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow-y: scroll;
}

.popup-message h2 {
    color: #333;
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 20px;

}

.popup-message p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}
.popup-message img{
    width: 100%;
    height: 300px;
    object-fit: contain;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}
.popup-close:hover {
    color: #000;
}

/* タブコンテナ全体のスタイル */
.tab-container {
    width: 100%;
    margin: 10px auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* タブのナビゲーション（ボタン部分） */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.tab-button {
    flex-grow: 1;
    padding: 15px 5px;
    background-color: transparent;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease;
    outline: none;
    border: 1px solid #333;
    box-sizing: border-box;
}

.tab-button:hover {
  opacity: 0.8;
}

.tab-button.is-active {
    color: #fff;
    border: 1px solid #333;
    border-bottom: 0;

}

/* タブのコンテンツ部分 */
.tab-content-wrapper {
    padding: 0;
    height: 100%;
    max-height: 450px;
    overflow-y: scroll;
    border-bottom: 1px solid #999;
}
.tab-content {
    display: none;
    padding: 0;
    line-height: 1.6;
    color: #333;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s 
ease, transform 0.3s 
ease;
    border: 1px solid #333;
    border-top: 0;
}

.tab-content.is-active {
    display: block; /* アクティブなコンテンツのみ表示 */
    opacity: 1;
    transform: translateY(0);
}

.tab-content h2 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    text-align: center;
    font-weight: 500;
}
.tab-content img {
    max-width: 150px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin: 0 auto;
}
.tab-content ul {
    list-style-type: disc;
    margin-left: 20px;
}
.tab-pink{
    background: #FF8CAA;
}
.tab-gr{
    background: #56D1D8;

}
.tab-header {
    padding: 20px;
    box-sizing: border-box;
}
.content-box{
    padding: 0 20px;
    box-sizing: border-box;
}
.tab-table{
    width: 100%;
}
.tab-table tbody{

}
.tab-table tbody tr{
    display: grid;
    grid-template-columns: 1fr 2fr;
    text-align: left; 
    border-bottom: 1px solid #333;
}
.tab-table tbody th{
    padding: 10px 5px;
    align-content: center;
    border-right: 1px solid #333;

}
.tab-table tbody td{
    align-content: center;
    padding: 10px 5px;

}
.tab-table tbody tr:last-child{
    border-bottom: 0px;
}
.slider-container {
    margin-bottom: 40px;
    padding:0 20px;
}
.bxslider img {
    max-width: 100%;
    height: auto;
    display: block;
}
#slider1 li,#slider2 li{
    background: #fff;
    overflow: hidden;
    border-radius: 20px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", yu-mincho-pr6, "serif";
    font-weight: 500;
}
#slider1 img,#slider2 img{
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    object-fit: cover;
}
#slider1 p,#slider2 p{
    padding: 0rem 2.5rem 1.5rem;
    text-align: justify;
}
.slider-ttl{
    text-align: center;
    color: #00A1BA;
    font-size: 18px;
    margin: 10px 0;
    font-weight: bold;
    letter-spacing: 0.08em;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", yu-mincho-pr6, "serif";
    font-weight: 600;
}
.bxslider{
    display: flex;
    gap: 20px;

}
.bx-controls-direction a {
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.bx-prev { left: -40px; } /* 矢印を少し外に出す */
.bx-next { right: -40px; } /* 矢印を少し外に出す */
.bx-wrapper{
    border:none !important;
    border-radius: 20px;

}
.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 45px !important;
    margin-top: 0; /* 矢印画像の半分の高さ */
    width: 32px;      /* 矢印画像の幅 */
    height: 32px;     /* 矢印画像の高さ */
    z-index: 999;
    background-image: url('https://cdn.jsdelivr.net/bxslider/4.2.12/images/controls.png'); /* デフォルトの矢印画像 */
    background-repeat: no-repeat;
    text-indent: -999999px; /* テキストを隠す */
}
.bx-wrapper .bx-prev {
    left: 10px; /* 左からの位置 */
    background-position: 0 -32px; /* スプライト画像内の位置 */
}
.bx-wrapper .bx-next {
    right: 10px; /* 右からの位置 */
    background-position: -43px -32px; /* スプライト画像内の位置 */
}
.bx-wrapper .bx-prev:hover { background-position: 0 0; }
.bx-wrapper .bx-next:hover { background-position: -43px 0; }

/* bxSliderのドット（ページャー）のスタイル調整 */
.bx-wrapper .bx-pager {
    text-align: center;
    font-size: .85em;
    font-family: Arial;
    font-weight: bold;
    color: #666;
    padding-top: 40px;
    display: flex;
    justify-content: center;
}
.bx-wrapper .bx-pager.bx-default-pager a {
    background: #666; /* ドットの背景色 */
    text-indent: -999999px; /* 数字を隠す */
    display: block;
    width: 10px; /* ドットの幅 */
    height: 10px; /* ドットの高さ */
    margin: 0 5px; /* ドット間のマージン */
    -moz-border-radius: 5px; /* 丸くする */
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #00A1BA; /* アクティブなドットの背景色 */
}
.bx-viewport {
}
.bx-controls-direction{
    position: relative;  
}
.price-scroll-btn{
display: block;
padding: 0 20px 45px;
    background: #fff;

}
.price-scroll-btn a{
    letter-spacing: 0.08em;
    line-height: 1px;
    display: block;
    width: 100%;
    padding: 40px 20px;
    color: #333;
    text-align: center;
    font-weight: bold;
  background-image: linear-gradient(-180deg, #ffffff, #dff3fe 50%);
  border-radius: 100px;
  border:1px solid #ddd;
}
.price-area{
    background-image: url(../img/bg-point.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height:auto;
    padding: 45px 0 20px;
}
.flow-area{
    background: #f2f2f2;
}
.flow-list{
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 30px;
}
.flow-list li{
    border: 3px solid #00A1BA;
    padding: 20px;
    border-radius: 20px;
    display: grid;
    gap: 20px;
    background: #fff;
    position: relative;
}
.flow-list li::after{
    content: "";
    position: absolute;
    background: #00A1BA;
    width: 3px;
    height: 35px;
    bottom: -35px;
    left: 50%;
}
.flow-list li:last-child::after{
  content: none;
}
.flow-list li img{
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    object-fit: cover;

}
.flow-list li p{
    font-size: 17px;
    padding:0;
    text-align: justify;
}
.flow-ttl{
    color: #00A1BA;
    font-size: 21px;
    margin: 10px 0;
    font-weight: bold;
    letter-spacing: 0.08em;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", yu-mincho-pr6, "serif";
    font-weight: 600;
    border-bottom: 1px solid #00A1BA;
    margin: 0;
    padding: 0;
    padding-bottom:10px;
}
.flow-list a{
    background: #98A7A3;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-self: center;
    color: #fff;
    font-size: 17px;

}
.flow-list a img{
    height: auto;
    width: 25px;
    object-fit: contain;

}
.bg-gray{

}
#slider2 li:nth-child(1){
    background: #00a1ba;
}
#slider2 li:nth-child(2){
    background: #4cbdce;
}
#slider2 li:nth-child(3){
    background: #99d9e3;
}
.price-table{
padding: 0 20px 20px;
width: 100%;
}
.price-table thead{

}
.price-table thead tr{
     width: 100%;
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    gap: 3px;
}
.price-table thead th{
    background: #56d1d8;
    color: #fff;
    align-content: center;
    display: block;
    line-height: 1em;
    padding: 15px 5px;
}
.price-table thead th span{
font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    white-space: nowrap;

}
.price-table tbody{
    width: 100%;
    display: flex
;
    flex-direction: column;
    gap: 3px;
}
.price-table tbody tr{
width: 100%;
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    gap: 3px;
    font-family: "din-2014", sans-serif;
}
.price-table tbody td{
    display: flex;
    align-items: center;
    background: #fff;
    width: 100%;
    justify-content: center;
    font-weight: 600;
    padding: 10px 0;
    font-size: 14px;
    white-space: nowrap;
}
.t-main{
font-size: 36px !important;
    align-items: baseline !important;
    color: #FF8CAA;
}
.t-main p{
    font-size: 24px;
    font-weight: 500;

}
.t-main span{

}
.t-total{

}
.t-total p{

}
.t-total span{

}
.price-option_ttl{
    font-size: 36px;
    font-weight: 500;
    text-align: center;
}
.price-option{
    padding: 20px;
    width: 100%;
    display: grid
;
}
.price-option tbody{
    display: grid;
        gap: 5px;
    
}
.price-option tr{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}
.price-option th{
    background: #00A1BA;
    color: #fff;
    display: block;
    align-content: center;
    padding: 20px 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;

}
.price-option th span{
    font-size: 12px;
}
.price-option td{
    background: #fff;
    color: #333;
    font-size: 36px;
    display: flex;
    align-items: baseline;
    padding: 20px 10px;
    font-family: "din-2014", sans-serif;
    justify-content: right;
}
.price-yen{
    font-size: 24px;
}
.price-jp{
    font-size: 11px;
}
.price-option td:first-child{
    color: #F04966;
}
.target-btn_sp{
    display: none;
}
.footer-text{
    text-align: center;
    padding: 5px 0 10px;
}