/* ==================================
共通
==================================*/
/* カラー */
:root {
  --main: #0d4740;
  --base: #f5f3ea;
  --accent: #f07201;
}

section {
    padding-block: 6%;
}
.inner {
    padding-inline: 4%;
}
.service {
    background-color: #fff;
    box-sizing: border-box;
    text-align: center;
}
.service p {
    word-break: auto-phrase;
}

/* 予約ボタン */
.btn-reserve {
    font-size: clamp(16px, 2.18vw, 28px);
    font-weight: 700;
    color: var(--main);
    display: inline-flex;
    align-items: center;
    gap: 1em;
    padding-inline: 2em 1em;
    padding-block: .5em;
    border: 1px solid var(--main);
    border-radius: 999px;
    background-color: #fff;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.btn-reserve .icon {
    display: grid;
    place-items: center;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background-color: var(--accent);
    color: #fff;
    overflow: hidden;
    transition: background-color .3s ease, color .3s ease;
}

/* 矢印(元の位置) */
.btn-reserve .arrow {
    position: relative;
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-align: center;
    transition: transform .4s ease;
}
.btn-reserve .arrow::before,
.btn-reserve .arrow::after {
    content: "→";
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
}
.btn-reserve .arrow::before { left: 0; }      /* 元の矢印 */
.btn-reserve .arrow::after  { left: -2em; }   /* 左に隠している2本目 */

/* ホバー */
.btn-reserve:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-reserve:hover .icon {
    background-color: #fff;
    color: var(--accent);
}
.btn-reserve:hover .arrow {
    transform: translateX(2em);
}

/* ==================================
#MV
==================================*/
.service #mv {
    background: url(../../../img/after-service/service/bg.png) no-repeat center top / contain;
    aspect-ratio: 1521 / 575;
}
.service #mv .lead {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1em;
    max-width: 1280px;
    margin-inline: auto;
    margin-block: 2em 4em;
    padding-inline: 4%;
}
.service #mv .lead figure {
    width: 50%;
    flex: 1;
}
.service #mv .lead h2 {
    font-size: clamp(20px, 3.75vw, 48px);
    color: var(--main);
    text-align: left;
    flex: 1;
    width: 50%;
    word-break: auto-phrase;
}

.service #mv .lead h2:before {
    display: none;
}
.service #mv .lead h2 mark {
    color: var(--main);
    display: inline-block;
    background: linear-gradient(transparent 60%, #fff988 60%);
}
.service #mv .lead h2 mark:first-child {
    font-size: clamp(18px, 2.81vw, 36px);
    margin-bottom: .5em;
}
.service #mv .lead h2 mark:last-child {
    font-size: inherit;
    line-height: 1.4;
    display: inline-block;
    background: linear-gradient(transparent 60%, #fff988 60%);
}

/* ==================================
#contents_block
==================================*/
/* 商品説明 */
#contents_block {
    padding-top: 0;
}
#contents_block .info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3em;
    padding-inline: 8%;
    margin-bottom: 8%;
    text-align: left;
}
#contents_block .info img {
    display: block;
    width: 40%;
}
#contents_block .info .txt {
    font-size: clamp(14px, 1.56vw, 20px);
    font-weight: 700;
    line-height: 1.8;
    width: 60%;
}


/* 交換サイン */
#contents_block .sign {
    background-color: var(--base);
    padding-inline: 8%;
    padding-block: 1em 2em;
    border-radius: 10px;
    text-align: center;
    container-type: inline-size;
}
#contents_block .sign h3 {
    font-size: clamp(14px, 2.08cqi, 20px);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, .8);
    display: inline-block;
    padding-inline: 2em;
    padding-block: .5em;
    margin-top: clamp(-50px, -6.02cqi, -34.3px);
    margin-bottom: 3em;
    background-color: var(--main);
    vertical-align: top;
}
#contents_block .sign h3 mark {
    font-size: clamp(18px, 3.33cqi, 32px);
    color: #fff;
    margin-left: .25em;
    background: linear-gradient(transparent 60%, #ff7300 60%);
}
#contents_block .sign ul {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4cqi;
}
#contents_block .sign ul li {
    flex: 1;
    min-width: 0;
}
#contents_block .sign ul li img {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}
#contents_block .sign ul li p {
    font-size: clamp(14px, 2.08cqi, 20px);
    font-weight: 700;
    color: var(--main);
}


/* ==================================
#price
==================================*/
#price {
    background-color: var(--base);
}
#price h3 {
    font-size: clamp(24px, 3.75cqi, 36px);
    font-weight: 700;
    color: var(--main);
    margin-bottom: 1em;
}
#price .price_table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    color: var(--main);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    margin-bottom: 1em;
}

.price_table thead th {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 700;
    color: #fff;
    font-weight: normal;
    text-align: center;
    position: relative;
    background-color: var(--main);
    padding: .5em 1em;
}

.price_table thead th:first-child::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background-color: rgba(255, 255, 255, .6);
}

#price .price_table tbody td {
    font-size: clamp(14px, 1.6vw, 20px);
    font-weight: 700;
    padding: 1em;
    padding-bottom: 0;
    height: 1px;
}

#price .price_table tbody td:first-child {
    width: 60%;
    padding-left: 1.5em;
    padding-right: 0;
    text-align: left;
    position: relative;
}
#price .price_table tbody td:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background-color: #ccc;
}

#price .price_table tbody tr:first-child td:first-child::after {
    top: .5em;
}

#price .price_table tbody tr:last-child td:first-child::after {
    bottom: .5em;
}

#price .price_table tbody td:last-child {
    text-align: center;
    padding-left: 0;
}

#price .price_table tbody td span {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em;
    padding-right: .5em;
}
#price .price_table tbody td:first-of-type span {
    justify-content: left;
}
#price .price_table tbody tr:last-child td span {
    border: none;
}
#price .price_table tbody tr:last-child td {
    background-image: none;
}

#price small {
    color: var(--main);
    display: block;
    text-align: left;
    margin-bottom: 8%;
}

/* ナビボタン */
.btn-wrap {
    text-align: center;
}
a.bg_g {
    justify-content: center;
}


@media screen and (max-width: 768px){
    body#kaso .service section {
        padding-block: 8%;
    }
    /* MV */
    .service #mv {
        background: url(../../../img/after-service/service/bg_sp.png) no-repeat center top / contain;
        aspect-ratio: 1153 / 692;
        margin-bottom: 8%;
    }
    .service #mv .lead {
        flex-direction: column;
        justify-content: center;
        gap: .25em;
        margin-bottom: 0;
    }
    .service #mv .lead figure {
        width: 100%;
    }
    .service #mv .lead h2 {
        width: 100%;
        text-align: center;
    }


    /* 商品説明 */
    #contents_block .info {
        flex-direction: column;
        gap: 1em;
        padding-inline: 0;
        padding-bottom: 8%;
    }
    #contents_block .info img {
        width: 80%;
    }
    #contents_block .info .txt {
        width: 90%;
    }

    /* 交換サイン */
    #contents_block {
        margin-bottom: 8%;
    }
    #contents_block .sign {
        border-radius: 5px;
    }
    #contents_block .sign ul {
        flex-wrap: wrap;
        gap: 8cqi;
    }
    #contents_block .sign ul li {
        flex: 0 0 calc((90% - 8cqi) / 2); 
    }
    #contents_block .sign ul li img {
        margin-bottom: 1em;
    }
   
}







