/*
Theme Name:   My Child Theme
Template:     lightning
*/

@charset "UTF-8";

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --color-main: #88C9A6;
    /* やわらかいグリーン */
    --color-main-dark: #66A585;
    --color-sub: #F9F7F0;
    /* アイボリー系クリーム */
    --color-accent: #FFDCA2;
    /* やさしいイエロー */
    --color-coral: #FFB7B2;
    /* コーラル（アクセント） */
    --color-text: #5A5A5A;
    /* ダークグレー */
    --color-heading: #4A4A4A;
    --color-white: #FFFFFF;

    --font-base: 'Noto Sans JP', sans-serif;

    --easing: cubic-bezier(0.25, 0.1, 0.25, 1.0);
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-sub);
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* ブロークングリッドでのあふれ防止 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s var(--easing);
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    margin-top: 0;
    font-weight: 700;
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Component Utilities
   ========================================================================== */
.container {
    width: 100%;
    /*max-width: 1100px;*/
    margin: 0 auto;
    position: relative;
    padding: 150px 0;
}

/* Section Spacing */
section {
    margin-bottom: 120px;
}

@media (min-width: 768px) {
    section {
        margin-bottom: 200px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--color-accent);
    color: var(--color-heading);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 220, 162, 0.4);
    transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 220, 162, 0.6);
}

.btn-primary {
    background-color: var(--color-coral);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 183, 178, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 183, 178, 0.6);
}

/* Section Titles using Image */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.section-title img {
    height: auto;
    width: 100%;
    max-width: 400px;
    /* 見出し画像のサイズ調整 */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

.section-title span {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: var(--color-main);
    font-weight: bold;
}

/* Soft Shadow Card */
.card-soft {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    transition: transform 0.3s var(--easing);
}

.card-soft:hover {
    transform: translateY(-5px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-main);
    display: flex;
    align-items: center;
}

.nav-pc {
    display: none;
}

@media (min-width: 900px) {
    .nav-pc {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .nav-pc a {
        font-weight: 500;
        color: var(--color-heading);
    }

    .nav-pc .btn-nav {
        background-color: var(--color-coral);
        color: white;
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        box-shadow: 0 4px 10px rgba(255, 183, 178, 0.4);
    }
}

.hamburger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
}

@media (min-width: 900px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-main);
    position: absolute;
    transition: all 0.3s var(--easing);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: rotate(-45deg);
}

.nav-sp {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-sub);
    padding: 100px 2rem;
    transition: right 0.4s var(--easing);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.nav-sp.active {
    right: 0;
}

.nav-sp ul li {
    margin-bottom: 2rem;
}

.nav-sp a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-heading);
}

/* ==========================================================================
   First View (FV)
   ========================================================================== */
.fv {
    position: relative;
    width: 100%;
    height: auto;
    /* 画像の高さに合わせる */
    margin-bottom: 0px;
    /* FV下の余白は無くても良いが、指示に従い調整 */
    overflow: hidden;
}

/* SP/PC Image Switch */
.fv-pc-img {
    display: none;
}

.fv-sp-img {
    display: block;
}

@media (min-width: 768px) {
    .fv-pc-img {
        display: block;
    }

    .fv-sp-img {
        display: none;
    }
}

.swiper-fv .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--color-white);
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* ==========================================================================
   Broken Grid Layouts & Sections
   ========================================================================== */

/* TV / About / Message Common - 2 Column Asymmetry */
.two-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.two-col-img {
    width: 100%;
    position: relative;
    z-index: 1;
}

.two-col-img img {
    border-radius: 0;
    /* シンプルな矩形に戻す */
    box-shadow: var(--shadow-soft);
}

.two-col-txt {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    z-index: 2;
}

/* PC Style - Broken Grid */
@media (min-width: 768px) {
    .two-col {
        flex-direction: row;
        align-items: center;
    }

    .two-col.reverse {
        flex-direction: row-reverse;
    }

    /* Asymmetry Ratio */
    .two-col-img {
        width: 30%;
    }

    .two-col-txt {
        width: 45%;
        /* Slightly exceed to allow overlap overlap if calculated carefully but padding adds up */
        width: 70%;
        /* Adjusted logic below */
    }

    /* Broken Grid Effect */
    .broken-overlap .two-col-txt {
        margin-left: -5%;
        /* Force overlap */
        margin-top: 50px;
        box-shadow: var(--shadow-soft);
    }

    .broken-overlap.reverse .two-col-txt {
        margin-left: 0;
        margin-right: -5%;
    }

    .broken-float .two-col-img {
        transform: translateY(-20px);
    }

    .broken-float .two-col-txt {
        padding: 4rem;
    }
}

/* TV Specific */
.tv-lead {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 1.5rem;
}

/* Check List Styling */
.check-list {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
    font-weight: 700;
    color: var(--color-heading);
}

.check-list li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-main);
    font-size: 1.2rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .check-list {
       /* grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;*/
        /* Align items to start to make transform effective without stretching */
       /* align-items: start;*/
    }

    .check-list li:nth-child(even) {
       /* transform: translateY(40px);*/
        /* ジグザグ配置 */
    }
}

/* About Specific */
.about-desc {
    font-size: 1.05rem;
    line-height: 2;
}

/* Gallery */
.gallery-swiper {
    padding-bottom: 50px;
    padding-left: 5%;
    padding-right: 5%;
}

.gallery-swiper .swiper-slide {
    width: 240px;
    height: 160px;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.gallery-swiper .swiper-slide:hover {
    transform: scale(1.05);
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Service */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    text-align: center;
    padding: 2rem;
}

.service-item h3 {
    margin: 1rem 0;
    color: var(--color-main-dark);
}

.service-item p {
    text-align: left;
}
/* Voice */
.voice-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .voice-list {
        flex-direction: row;
        justify-content: center;
    }
}

.voice-item {
    /* 画像のみのためスタイル簡略化 */
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    /* 画像の角と合わせる */
    overflow: hidden;
    transition: transform 0.3s;
}

.voice-item:hover {
    transform: translateY(-5px);
}

.voice-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    /* クリック可能であることを示す */
}

/* .voice-icon, .voice-meta removed */

/* Q&A Accordion */
.qa-list {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    margin-bottom: 1rem;
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.qa-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--color-white);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-heading);
}

.qa-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-main);
    transition: transform 0.3s;
}

.qa-item.active .qa-question::after {
    transform: rotate(45deg);
}

.qa-answer {
    max-height: 0;
    background: var(--color-sub);
    padding: 0 2rem;
    overflow: hidden;
    transition: all 0.3s var(--easing);
    font-size: 0.95rem;
}

.qa-item.active .qa-answer {
    max-height: 300px;
    /* Approximate max height */
    padding: 1.5rem 2rem;
}

/* Contact / Access */
.contact-section {
    background: url('../img/contact_bg_pattern.png') no-repeat center/cover;
    /* Pattern optional */
    background-color: #fff;
}

.access-info {
    text-align: center;
}

.access-map {
    margin-top: 2rem;
    width: 100%;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ボタンを横並びにするエリア */
.sns-area {
    margin-top: 2rem;
    display: flex;
    /* 横並びにする */
    justify-content: center;
    /* 中央揃え */
    gap: 20px;
    /* ボタン同士の間隔 */
    flex-wrap: wrap;
    /* スマホで幅が足りない時に自動で改行 */
}

/* ボタンの共通スタイル（形・大きさ） */
.sns-btn {
    display: inline-block;
    padding: 1rem 2rem;
    /* 横幅を少し調整（2つ並ぶため） */
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    letter-spacing: 0.05em;
    min-width: 200px;
    /* ボタンの最小幅を揃える */
    text-align: center;
}

/* ホバー時の共通動作 */
.sns-btn:hover {
    transform: translateY(-3px);
    opacity: 1;
}

/* 1. Instagram用の色（グラデーション） */
.btn-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(200, 50, 100, 0.3);
}

.btn-insta:hover {
    box-shadow: 0 8px 25px rgba(200, 50, 100, 0.5);
}

/* 2. 別サイト用の色（サイトのメインカラーを使用） */
.btn-link {
    background-color: var(--color-main);
    /* サイト共通のグリーン */
    box-shadow: 0 4px 15px rgba(136, 201, 166, 0.4);
}

.btn-link:hover {
    background-color: var(--color-main-dark);
    /* ホバー時は少し濃く */
    box-shadow: 0 8px 25px rgba(136, 201, 166, 0.6);
}

/* Footer */
.footer {
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Fixed Elements */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-white);
    color: var(--color-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 900;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    z-index: 1000;
}

@media (min-width: 768px) {

    .fixed-cta,
    .nav-sp-toggle {
        display: none;
    }

    .scroll-top {
        bottom: 30px;
    }
}

.fixed-cta-btn {
    width: 48%;
    padding: 0.8rem;
    text-align: center;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-tel {
    background-color: var(--color-main);
}

.btn-web {
    background-color: var(--color-coral);
}

/* Animation Utils */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
}

.fade-in-up.aos-animate {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   Background Colors
   ========================================================================== */
/* サイトの雰囲気に合わせた淡い色味を設定 */
.bg-pink {
    background-color: #FFF0F5;
    /* 淡いピンク */
    /*border-radius: 30px;*/
    /* セクション自体を少し丸くする */
    padding: 4rem 2rem;
    /* 背景色がつくので内側の余白を確保 */
    width: 100%;
}

.bg-yellow {
    background-color: #FFFCF0;
    /* 淡いクリームイエロー */
   /* border-radius: 30px;*/
    padding: 4rem 2rem;
}

.bg-orange {
    background-color: #FFF5EA;
    /* 淡いオレンジ */
    /*border-radius: 30px;*/
    padding: 4rem 2rem;
}

/* Galleryなどコンテナを持たないセクションの調整 */
section#gallery.bg-orange {
    padding-top: 4rem;
}

/* ==========================================================================
   CTA Area (Phone & Mail)
   ========================================================================== */
.cta-area {
    text-align: center;
    background-color: #F0F8F4;
    /* 元々の背景色 */
    padding: 4rem 2rem;
    border-radius: 30px;
}

.cta-lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--color-heading);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* 画面が狭い時に縦並びにする */
    margin-bottom: 1.5rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    /* ボタンの幅を揃える */
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
}

.cta-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* メールボタンの色変更（区別するため） */
.btn-mail {
    background-color: var(--color-main);
    /* サイトのメインカラー(緑)など */
    box-shadow: 0 4px 15px rgba(136, 201, 166, 0.4);
}

.btn-mail:hover {
    background-color: var(--color-main-dark);
    box-shadow: 0 8px 25px rgba(136, 201, 166, 0.6);
}

.cta-note {
    font-size: 0.9rem;
    color: var(--color-text);
}