@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
    --default-font-size: 22px;
    --default-font-family: 'Zen Kaku Gothic New', sans-serif;
    --default-text-color: #4F4B49;
    --eng-font-family: 'Shippori Mincho', serif;
    --header-height: padding: 1rem 2rem;

    --color-pink-main: #EB6D91; /* メインの濃いピンク */
    --color-pink-light: #EB6D91; /* 薄いピンク */
    --color-text-sub: #EB6D91; /* 下部情報のピンクの文字色 */
    --color-bg-white: #ffffff;
    --line-color: #F5B9CA; /* 区切り線の色 */
}

/****** 
 共通 
******/
html {
    letter-spacing: 1px;
    overflow-x: hidden;
}

body {
    font-size: var(--default-font-size);
    font-family: var(--default-font-family) !important;
    /* font-weight: 500; */
}

.container {
    width: 900px;
    margin-top: 8rem;
    margin-bottom: 0;
}

.inner-container {
    width: 900px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin: 0rem auto 2rem auto;
    font-size: 2.5rem;
}

h2::before {
    display: none;
}

.section-margin {
    margin-bottom: 4rem;
}

.weight-500 {
    font-weight: 500;
}

#reasons,
#merit,
#celemony,
#flow {
    scroll-margin-top: 170px;
}

/* header */
header {
    background-color: #fff !important;
    color: #000 !important;
}

header > div {
    width: 900px;
    margin: 0 auto;
    display: flex;
}

header .header-menu {
    justify-content: space-around;
}

header .header-menu > div.header-logo {
    width: 260px;
}

header .header-menu > div {
    width: auto;
    flex-grow: 0;
    display: flex;
    justify-content: end;
}

header .header-menu > div > div:not(:last-child) {
    margin-top: 1rem;
}

.header-logo {
    width: 250px;
}

header .mobile-header {
    height: 70px;
}

header .mobile-menu {
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
}

header .mobile-menu nav {
    z-index: 1010;
    padding-top: 60px;
}

header .mobile-header li:hover {
    background-color: transparent;
}

header .mobile-menu nav > ul > li {
    border-bottom: solid 1px #fff !important;
}

header .mobile-menu nav > ul > li a {
    display: block;
    padding: 1rem;
    color: #000;
}

header .header-menu a, header .header-menu a:visited {
    color: #000;
}

header .mobile-menu nav {
    z-index: 1010;
    padding-top: 140px;
    width: 100%;
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 100vw;
    height: 100%;
    background-color: #D4ECEA;
}

header .mobile-menu-active {
    visibility: visible;
    display: block;
}

header .mobile-menu nav > ul {
    height: auto;
    display: block;
    padding-right: 0;
    padding-left: 0px;
    border: 1px solid #ccc;
    border-right: none;
    margin: 0px 0px 0px auto;
    list-style: none;
}

header .mobile-menu > a {
    display: block;
    width: 230px;
    font-size: 1.5rem;
    padding-top: 10px;
    color: #fff;
}

/* メニューボタン */
.fixed-top {
    width: 120px;
    background-color: #27A639;
}

header .menu-btn {
    z-index: 2000;
    display: flex;
    align-items: center;
    position: absolute;
    top: 45px;
    left: 30px;
    cursor: pointer;
    text-align: center;
}

header .menu-btn span {
    display: block;
    position: absolute;
    width: 50px;
    border-bottom: solid 6px #fff;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
}

.menu-btn span:nth-child(1) {
    top: 6px;
}   

.menu-btn span:nth-child(2) {
    top: 20px;
}

.menu-btn span:nth-child(3) {
    top: 35px;
}
    
.menu-btn span:nth-child(4) {
    border: none;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    top: 34px;
}

.mobile-menu-active {
    visibility: visible;
    display: block;
}

.menu-btn.mobile-menu-active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu-btn.mobile-menu-active span:nth-child(2),
.menu-btn.mobile-menu-active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.normal-btn {
    font-size: 1.1rem;
}

.normal-btn > div {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 5px;
    border-radius: 10px;
    color: #fff;
}

.normal-btn > div:first-child {
    background-color: #F7931E;
}

.normal-btn > div:last-child {
    background-color: #29ABE2;
}

.tell {
    align-items: center;
    margin-top: 5px;
}

.tell > div:first-child {
    width: 30px;
}

.tell > div:last-child {
    font-size: 2.3rem;
}

header .header-menu .line > a > div {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    background-color: #06C755;
    border-radius: 15px;
    color: #fff;
    font-size: 0.9rem;
}

.line > a > div > div:first-child {
    width: 65px;
    display: flex;
    align-items: center;
}

.line img {
    vertical-align: middle;
}

/***
 main
***/
.catch-copy {
    display: flex;
    align-items: end;
    bottom: 0;
    right: -135px;
}

.msg {
    width: 20%;
    top: 50%;
    left: 135px;
    transform: translateY(calc(-50%));
}

.services {
    display: flex;
    gap: 1rem;
}

.services > div {
    width: 210px;
}

.bg-green {
    background-color: #D4ECEA;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.service-section {
    margin: 50px auto;
}

/***
 3つの理由
***/
.reasons {
    margin: 0rem auto;
}
.service-header {
    background-color: #27A639;
    color: #fff;
    padding: 10px 20px;
}

.service-header-number {
    top: -50px;
    left: 10px;
    font-size: 4.7rem;
    font-style: italic;
}

.service-header-title {
    font-size: 1.9rem;
    font-weight: bold;
    margin: 0;
    padding-left: 4.5rem;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 18px 40px;
    background-color: #fff;
}

.content-image {
    width: 270px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/***
 メリット
***/
.merit-midashi .midashi-icon{
    width: 140px;
    top: -20px;
    left: 100px;
}

.merit {
    gap: 3rem;
    font-size: 1.5rem;
}

.merit > div:first-child {
    width: 40%;
}
.service-message-card {
    margin-bottom: 20px;
    background-color: var(--color-bg-white);
    padding: 0;
}

/* 1. ピンクのタイトル帯 */
.card-header-pink {
    background-color: var(--color-pink-main);
    color: var(--color-bg-white);
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    padding: 15px 10px;
    line-height: 1.5;
}

/* 2. メインの説明テキスト部分 */
.card-body {
    padding: 10px 0;
    color: var(--color-text-main);
}

/* 各行のスタイルと区切り線 */
.text-line {
    font-size: 1.7rem;
    font-weight: bold;
    text-align: left;
    margin: 0;
    padding: 5px 45px;
    border-bottom: 3px solid var(--line-color); /* 区切り線 */
}

/* 3. 補足情報テキスト（下部） */
.card-footer-info {
    font-size: 1rem;
    padding: 5px 45px;
    color: var(--color-text-sub);
}

.merit-cols {
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.send-off-card {
    width: calc((100% - 2rem) / 2);
    margin: 10px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-inner-circle {
    width: 100%;
    padding-bottom: 100%; 
    position: relative;
    background-color: #ffeef2;
    border-radius: 50%;
}

.card-inner-circle > div {
    width: 100%;
    position: absolute;
    z-index: 2;
    transform: translateX(-50%);
    top: 15%;
    left: 50%;
}

.texts {
    width: 70%;
    margin: 0 auto;
}

/* タイトル */
.card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

/* 本文 */
.card-text {
    margin: 0 auto;
    font-weight: 500;
}

/* イラストコンテナ */
.card-illustration {
    width: 180px;
    margin: 0 auto;
}

.in-house {
    width: 140px;
}

.card-illustration.margin {
    margin-top: -1.2rem;
}
/***
 セレモニー・火葬
***/
.clemony .midashi-icon {
    width: 140px;
    position: absolute;
    right: 140px;
    top: -15px;
}


/* 全体のコンテナ */
.service-plan-container {
    margin: 20px auto;
}

/* 各プランのセクション */
.plan-section {
    margin-bottom: 25px; /* 各セクション間の余白 */
}

/* 緑色のヘッダー帯 */
.plan-header-green {
    background-color: #27A639; /* 明るい緑色を推定 */
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: bold;
    padding: 12px 15px;
}

/* 白地の説明文部分 */
.plan-body-white {
    padding: 15px;
    font-weight: 500;
}

.plan-body-white p {
    margin-top: 0;
    margin-bottom: 10px; /* 段落間の余白 */
}

/* 最後の段落は下マージンなし */
.plan-body-white p:last-child {
    margin-bottom: 0;
}

/***
 料金表
***/
.money .midashi-icon {
    width: 140px;
    position: absolute;
    left: 250px;
    top: -15px;
}

.price-table-container {
    margin: 40px auto;
}

.pet-cremation-price-table {
    width: 100%;
    border-collapse: separate;
    border: none;
    text-align: center;
}

/* ヘッダーセルの共通スタイル */
.pet-cremation-price-table th:first-child {
    width: 245px;
}

.pet-cremation-price-table th, 
.pet-cremation-price-table td {
    padding: 8px 5px;
    border: none;
}

/* 列ヘッダー（青い部分） */
.header-blue {
    background-color: #9FD9F6; /* 明るい水色 */
    font-size: 0.9em;
    line-height: 1.3;
    text-align: center;
}

/* 最初の角のセル */
.header-corner {
    color: #ffffff;
    font-size: 0.9em;
}

/* 行ヘッダー（体重/種別）のスタイル */
.row-header {
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
    line-height: 1.3;
}

/* データセル */
.pet-cremation-price-table td {
    height: 100px;
    background-color: #EFEFEF;
    font-weight: normal;
}

.pet-cremation-price-table td:not(.row-header) {
    text-align: center;
}

/*--- 行ごとの背景色 ---*/
.row-light-blue .row-header { background-color: #61C0BD; } /* 小鳥 */
.row-light-yellow .row-header { background-color: #E4E980; } /* 猫 */
.row-light-brown .row-header { background-color: #BE956A; } /* 小型犬 */
.row-light-green .row-header { background-color: #6C9BD2; } /* 中型犬 */
.row-light-purple .row-header { background-color: #9B72B0; } /* 大型犬 */
.row-light-pink .row-header { background-color: #EF858C; } /* 超大型犬 */
.row-aquatic .row-header { background-color: #EE835C; } /* 鑑賞魚 */

/***
 お支払方法
***/
.option-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 30px;
}

.option-list {
    padding: 0;
    text-align: left;
    display: inline-block; /* 中央揃えのため */
}

.option-list li {
    margin-left: 2rem;
    font-size: 1.7rem;
}

.option-note-area {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 1.7rem;
}

.speech-bubble {
    background-color: #fce4ec; /* 薄いピンク色 */
    border-radius: 20px;
    padding: 15px 20px;
    position: relative;
    font-size: 0.9em;
    line-height: 1.5;
    text-align: left;
    margin-right: 15px; /* ウサギとの間隔 */
}

/* 吹き出しのしっぽ部分 */
.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -13px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 35px solid #fce4ec;
    transform: rotate(-100deg);
}

.rabbit-illustration {
    width: 180px;
}

/***
 お支払方法
***/
.payment-info-bar {
    background-color: #cccccc; /* 灰色の帯 */
    color: #333333;
    font-size: 1.7rem;
    padding: 10px 10px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/***
 ご利用の流れ
***/
.flow-container {
    text-align: center;
}

.flow-step {
    border: 3px solid #27A639; /* 外枠線 */
    margin-bottom: 0;
    text-align: left;
}

.step-header-green {
    background-color: #27A639;
    text-align: center;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: bold;
    padding: 15px 15px;
}

.step-body-white {
    background-color: #ffffff;
    padding: 15px; 
}

.flow-arrow {
    width: 100px;
    margin: 0 auto;
}
/* footer */
footer {
    background-color: #fff;
    color: #000;
    font-weight: 500;
}

footer > div:first-child{
    margin: 0 auto 15rem auto;
}

footer > div:first-child > div:first-child {
    width: 100%;
}

.footer-logo {
    width: 400px;
}

.address {
    font-size: 1.7rem;
}

footer > div:first-child > div:last-child > div {
    display: block;
    align-items: normal;
    justify-content: center;
    font-size: 2rem;
}

.footer-sticky > div:last-child {
    gap: 3rem;
}

.footer-sticky > div:last-child > div {
    width: calc((100% - 3rem) / 2);
    align-items: center;
    border-radius: 15px;
}

.footer-sticky > div:last-child > div > a {
    display: block;
}

.aa {
    border-radius: 15px;
    
}

.footer-sticky > div:first-child {
    display: flex;
    justify-content: center !important;
    align-items: center;
    color: #000;
    font-size: 2.5rem;
}

.footer-sticky > div:first-child::before,
.footer-sticky > div:first-child::after {
    width: 3px;
    height: 40px;
    background-color: #000000;
    content: '';
}

.footer-sticky > div:first-child::before {
    transform: rotate(-35deg);
    margin-right: 30px;
}

.footer-sticky > div:first-child::after {
    transform: rotate(35deg);
    margin-left: 30px;
}

footer .contact {
    background-color: #F7931E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

footer .tell {
    width: 30px;
}

footer .tell-num {
    font-size: 2.5rem;
}

footer .line {
    background-color: #06C755;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 20px 70px;
}

footer > div:first-child > div:last-child.banner {
    width: 100%;
    position: fixed;
    z-index: 3;
    bottom: 0;
    left: 0;
    padding: 10px 0;
    background-color: #fff;
}

@media (max-width: 767px) {

    header > div,
    .container,
    .inner-container,
    header .header-menu,
    .fixed-top,
    .footer-logo {
        width: 100%;
    }

    header .header-menu {
        flex-grow: 0;
        height: 80px;
        background-color: #06C755;
    }

    header .menu-btn span {
        border-bottom: solid 6px #06C755;
        left: 9px;
    }

    header .menu-btn {
        left: auto;
    }

    header .mobile-menu > a {
        width: 190px;
        padding-left: 10px;
    }

    .fixed-top {
        background-color: #fff;
    }

    h2 {
        font-size: 1.5rem;
    }

    .bg-green {
        padding-bottom: 1rem;
    }

    .mv.section-margin {
        margin-bottom: 0;
    }

    .msg {
        top: 35%;
        left: 75px;
    }

    .catch-copy.inner-container {
        width: auto;
        position: static;
    }

    .catch-copy {
        right: auto;
        left: 140px;
    }

    .service-header-title {
        font-size: 1.3rem;
        padding-left: 2rem;
    }

    .service-header-number {
        font-size: 3rem;
    }

    .service-content {
        flex-direction: column;
        gap: 0;
        margin: 0 10px;
        padding: 5px 5px;
    }

    .services > div {
        width: calc((100% - 2rem) / 3);
    }

    .merit-midashi .midashi-icon {
        width: 120px;
        top: -50px;
        left: 0px;
    }

    .merit > div:first-child {
        width: 100%;
    }

    .card-illustration {
        width: 150px;
    }

    .card-header-pink {
        font-size: 1.5rem;
    }

    .send-off-card {
        margin: 0;
    }

    .text-line {
        font-size: 1.3rem;
        padding: 5px 29px;
    }

    .card-title {
        margin-bottom: 0.5rem;
        font-size: 1.6rem;
    }
    .card-footer-info {
        padding: 5px 35px;
    }

    .price-table-container {
        overflow-x: auto;
        width: 100%;
    }

    .pet-cremation-price-table {
        min-width: 700px; 
        width: auto;
    }

    .pet-cremation-price-table th:first-child {
        width: 170px;
    }

    .plan-body-white {
        padding: 5px;
    }

    .money .midashi-icon {
        left: 0;
        top: -25px;
    }

    .option-list li {
        margin-left: 2rem;
        font-size: 1.3rem;
    }

    .content-image,
    .content-text {
        max-width: 100%;
        width: 100%;
        padding-left: 0;
    }

    .content-text {
        padding: 10px;
    }

    .content-image {
        margin-bottom: 15px;
    }

    .van-illustration {
        height: 120px;
    }

    .clemony .midashi-icon {
        width: 120px;
        right: auto;
        top: -20px;
        left: -12px;
    }

    /* menu btn */
    header .menu-btn {
        width: 50px;
        height: 50px;
        border: solid 1px #06C755;
        right: 25px;
        top: 35px;
    }

    header .menu-btn span {
        width: 30px;
    }
    
    .menu-btn span:nth-child(1) {
        top: 11px;
    }

    .menu-btn span:nth-child(2) {
        top: 21px;
    }

    .menu-btn span:nth-child(3) {
        top: 31px;
    }

    .menu-btn.mobile-menu-active span:nth-child(1) {
        top: 21px;
        left: 8px;
    }

    .menu-btn.mobile-menu-active span:nth-child(2),
    .menu-btn.mobile-menu-active span:nth-child(3) {
        top: 21px;
    }

    .flow-container {
        margin: 0 10px;
    }

    /* footer */
    .contact-text {
        font-size: 1rem;
    }

    .address {
        font-size: 1.5rem;
    }

    .footer-sticky > div:last-child > div {
        width: calc((100% - 5px) / 2);
    }

    footer > div:first-child > div:last-child > div {
        font-size: 1.3rem;
    }

    .footer-sticky > div:first-child {
        font-size: 1.7rem;
    }

    .footer-sticky > div:last-child {
        gap: 5px;
    }
    
    .footer-sticky > div:last-child > div {
        padding: 5px 5px;
    }

    .footer-sticky .line .sbs {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .line > a > div > div:first-child {
        margin-bottom: 0;
    }

    .footer-sticky .sbs > div.contact-text {
        width: 1px;
    }

    footer .tell {
        width: 15px;
    }

    footer .tell-num {
        font-size: 1.3rem;
    }
}

