/* ===================================
   共通スタイル - Dリフォーム
   =================================== */

/* ===================================
   ページローダー
   =================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #fff;
    overflow: hidden;
    pointer-events: all;
}

.page-loader.is-hidden {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.page-loader__stroke {
    position: absolute;
    height: 25vh;
    background: #FF7B7B;
    transform-origin: left center;
    border-radius: 0 50% 50% 0;
    left: -100%;
    width: 0;
}

.page-loader__stroke:nth-child(1) {
    top: 0;
    animation: strokeRight 0.6s ease-out 0s forwards;
}

.page-loader__stroke:nth-child(2) {
    top: 20vh;
    right: -100%;
    left: auto;
    border-radius: 50% 0 0 50%;
    transform-origin: right center;
    animation: strokeLeft 0.6s ease-out 0.1s forwards;
}

.page-loader__stroke:nth-child(3) {
    top: 40vh;
    animation: strokeRight 0.6s ease-out 0.2s forwards;
}

.page-loader__stroke:nth-child(4) {
    top: 60vh;
    right: -100%;
    left: auto;
    border-radius: 50% 0 0 50%;
    transform-origin: right center;
    animation: strokeLeft 0.6s ease-out 0.3s forwards;
}

.page-loader__stroke:nth-child(5) {
    top: 75vh;
    height: 30vh;
    animation: strokeRight 0.6s ease-out 0.4s forwards;
}

.page-loader__fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FF7B7B;
    opacity: 0;
    z-index: 5;
    animation: fillScreen 0.3s ease-out 0.7s forwards;
}

.page-loader__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    animation: loaderFadeIn 0.5s ease-out 0.8s forwards;
    max-width: 350px;
    width: 80%;
    height: auto;
}

@keyframes strokeRight {
    0% { left: -100%; width: 0; }
    100% { left: 0; width: 120%; }
}

@keyframes strokeLeft {
    0% { right: -100%; width: 0; }
    100% { right: 0; width: 120%; }
}

@keyframes fillScreen {
    to { opacity: 1; }
}

@keyframes loaderFadeIn {
    to { opacity: 1; }
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans JP', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul, ol {
    list-style: none;
}

/* ===================================
   カラー定義（明るい・親しみやすい）
   =================================== */
:root {
    --primary-color: #FF7B7B;      /* コーラルピンク */
    --primary-light: #FFB5B5;      /* ライトコーラル */
    --primary-dark: #E85A5A;       /* ダークコーラル */
    --secondary-color: #4ECDC4;    /* ターコイズ */
    --secondary-light: #A8E6CF;    /* ミントグリーン */
    --accent-color: #FFE66D;       /* イエロー */
    --accent-dark: #FFD93D;        /* ダークイエロー */
    --bg-cream: #FFF9F5;           /* クリーム */
    --bg-light: #FAFAFA;           /* ライトグレー */
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --white: #ffffff;
    --border-color: #E5E5E5;
}

/* ===================================
   ユーティリティクラス
   =================================== */
.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header__logo-img {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: bold;
    background: var(--white);
}

.header__logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header__logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.header__nav {
    display: flex;
    gap: 1.5rem;
}

.header__nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.header__nav-link:hover::after,
.header__nav-link.is-active::after {
    width: 100%;
}

.header__nav-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.header__hamburger span {
    width: 28px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

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

.footer__content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer__logo-img {
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--white);
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
}

.footer__logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer__logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer__brand-text {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.9;
}

.footer__social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.footer__social-link {
    width: 42px;
    height: 42px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer__social-link:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    opacity: 1;
}

.footer__nav {
    display: flex;
    gap: 4rem;
}

.footer__nav-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.footer__nav-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__nav-section a {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer__nav-section a:hover {
    opacity: 1;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.footer__contact-item i {
    margin-top: 0.2rem;
}

.footer__copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===================================
   共通パーツ
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 固定背景 */
.has-fixed-bg {
    position: relative;
}

.has-fixed-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/20251217-DSC00132.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.has-fixed-bg::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.section {
    padding: 6rem 0;
}

.has-fixed-bg .section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.section--colored {
    background-color: var(--bg-cream);
}

.has-fixed-bg .section--colored {
    background: rgba(255, 248, 240, 0.85);
}

.section--gray {
    background-color: var(--bg-light);
}

.has-fixed-bg .section--gray {
    background: rgba(248, 249, 250, 0.85);
}

.section__title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.section__subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.section__description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-medium);
    line-height: 2;
    font-size: 0.95rem;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 230, 109, 0.4);
    opacity: 1;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(255, 123, 123, 0.4);
}

.btn--secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn--secondary:hover {
    background-color: #3DBDB5;
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.4);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn--outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn--large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: var(--white);
}

.has-fixed-bg .page-header {
    background: linear-gradient(135deg, rgba(255, 123, 123, 0.3), rgba(78, 205, 196, 0.25));
    backdrop-filter: blur(2px);
}

.page-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header__subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* パンくずリスト */
.breadcrumb {
    padding: 1rem 2rem;
    background-color: var(--bg-light);
}

.has-fixed-bg .breadcrumb {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(5px);
}

.breadcrumb__list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumb__item::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--border-color);
}

.breadcrumb__item:last-child::after {
    display: none;
}

.breadcrumb__item a:hover {
    color: var(--primary-color);
}

/* フェードインアニメーション */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   レスポンシブ対応
   =================================== */
@media screen and (max-width: 1024px) {
    .header__nav {
        gap: 1rem;
    }

    .header__nav-link {
        font-size: 0.85rem;
    }

    .footer__nav {
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .header__inner {
        padding: 0.8rem 1rem;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .header__nav.active {
        right: 0;
    }

    .header__nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
    }

    .header__hamburger {
        display: flex;
    }

    .header__hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .header__hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .header__logo-text {
        font-size: 1.2rem;
    }

    .header__logo-img {
        width: 40px;
        height: 40px;
    }

    .section {
        padding: 4rem 0;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .section__description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer__content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer__brand {
        max-width: 100%;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .footer__nav-section {
        min-width: 140px;
    }

    .page-header {
        padding: 6rem 1rem 3rem;
    }

    .page-header__title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .btn--large {
        padding: 1rem 2.5rem;
    }
}

/* メニューオーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   CTAセクション（共通）
   =================================== */
.cta {
    position: relative;
    color: var(--white);
    overflow: hidden;
    clip-path: inset(0);
}

.cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 123, 123, 0.9) 0%, rgba(78, 205, 196, 0.85) 100%);
}

.cta__bg img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 固定背景ページではCTAの画像を非表示にし、背景が透けて見えるようにする */
.has-fixed-bg .cta {
    clip-path: none;
    background: linear-gradient(135deg, rgba(255, 123, 123, 0.3), rgba(78, 205, 196, 0.25));
    backdrop-filter: blur(2px);
}

.has-fixed-bg .cta__bg {
    display: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta__content {
    text-align: center;
}

.cta__label {
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta__description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

.cta__methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta__method {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.2rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.cta__method:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    opacity: 1;
}

.cta__method--line {
    cursor: default;
    opacity: 0.7;
}

.cta__method--line:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.15);
}

.cta__method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cta__method--line .cta__method-icon {
    color: #06C755;
}

.cta__method-label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.cta__method-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.cta__button {
    margin-top: 1rem;
}

@media screen and (max-width: 768px) {
    .cta__title {
        font-size: 1.6rem;
    }

    .cta__description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta__methods {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta__method {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.5rem;
    }

    .cta__method-value {
        font-size: 1.1rem;
    }
}
