/* ==================================================
   ユニカレさが 共通CSS
================================================== */


/* ==================================================
   基本設定
================================================== */

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 17px;
    line-height: 1.8;
}


/* ==================================================
   Material Symbols
================================================== */

.material-symbols-outlined {
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}


/* ==================================================
   フェードアップアニメーション
================================================== */

/*
 * JavaScriptの読み込み前や無効時にも、
 * コンテンツが消えたままにならないよう初期状態は表示。
 */
.js-fadeup {
    opacity: 1;
}

/*
 * JavaScriptでhtmlへ is-fade-ready が追加された後に、
 * アニメーション開始前の状態へ変更。
 */
html.is-fade-ready .js-fadeup {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 2.5s ease,
        transform 2.5s cubic-bezier(0.22, 1, 0.36, 1);
}

html.is-fade-ready .js-fadeup.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*
 * 端末やブラウザでアニメーション軽減が指定されている場合。
 */
@media (prefers-reduced-motion: reduce) {
    html.is-fade-ready .js-fadeup {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ==================================================
   下層ページ共通HERO
================================================== */

.page-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-hero-inner {
    position: relative;
    width: 100%;
    z-index: 10;
}

@media (max-width: 767px) {
    .page-hero {
        height: auto;
        min-height: 420px;
    }

    .page-hero-inner {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}


/* ==================================================
   共通背景装飾
================================================== */

.decorated-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.deco-blob {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

.deco-blob-green {
    background: rgba(124, 198, 68, 0.16);
}

.deco-blob-yellow {
    background: rgba(247, 181, 44, 0.20);
}

.deco-dot {
    position: absolute;
    width: 180px;
    height: 180px;
    background-image:
        radial-gradient(
            #8C5A3C 2px,
            transparent 2px
        );
    background-size: 18px 18px;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.deco-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 18px solid rgba(124, 198, 68, 0.14);
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

.deco-line {
    position: absolute;
    width: 220px;
    height: 18px;
    border-radius: 9999px;
    background: rgba(247, 181, 44, 0.25);
    transform: rotate(-18deg);
    pointer-events: none;
    z-index: 0;
}


/* ==================================================
   共通セクション見出し
================================================== */

.top-section-title {
    color: #8C5A3C;
    font-weight: 800;
}

.top-section-line {
    width: 48px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 9999px;
    background: #7CC644;
}


/* ==================================================
   共通CTA
================================================== */

.cta-section {
    position: relative;
    overflow: hidden;
    background: #FFFDF9;
}

.cta-premium {
    position: relative;
    min-height: 240px;
    overflow: visible;
    border-radius: 32px;
    background:
        linear-gradient(
            135deg,
            #F7B52C 0%,
            #FDBB2D 58%,
            #F6A91D 100%
        );
    box-shadow: 0 26px 56px rgba(140, 90, 60, 0.22);
}

/* 左下の丸い背景装飾 */
.cta-premium::before {
    content: "";
    position: absolute;
    left: -115px;
    bottom: -170px;
    width: 320px;
    height: 320px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
    z-index: 1;
}

/* 右上の丸い背景装飾 */
.cta-premium::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -100px;
    width: 235px;
    height: 235px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
    z-index: 1;
}


/* ==================================================
   CTA：スタッフ画像
================================================== */

.cta-staff-main {
    position: absolute;
    left: 50px;
    bottom: 20px;
    width: 210px;
    max-width: none;
    height: auto;
    z-index: 5;
}


/* ==================================================
   CTA：本文
================================================== */

.cta-content {
    position: relative;
    max-width: 560px;
    z-index: 6;
}


/* ==================================================
   CTA：ボタン
================================================== */

.cta-actions a {
    white-space: nowrap;
}

.cta-tel-button {
    min-width: 210px;
}

.cta-mail-button {
    min-width: 260px;
}


/* ==================================================
   CTA：丸写真
   現在使用していないページでも再利用可能
================================================== */

.cta-photo-group {
    position: absolute;
    right: 24px;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(-60%);
    z-index: 5;
}

.cta-circle-photo {
    width: 132px;
    height: 132px;
    border: 6px solid rgba(255, 255, 255, 0.78);
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 16px 34px rgba(140, 90, 60, 0.20);
}

.cta-circle-photo:nth-child(2) {
    margin-top: 42px;
}


/* ==================================================
   CTA：タブレット
================================================== */

@media (max-width: 1023px) {
    .cta-premium {
        min-height: auto;
        overflow: hidden;
    }

    .cta-staff-main {
        position: absolute;
        left: -120px;
        bottom: -15px;
        width: 560px;
        max-width: none;
        height: auto;
        z-index: 5;
    }

    .cta-content {
        max-width: none;
        margin-right: auto;
        margin-left: auto;
    }

    .cta-photo-group {
        position: relative;
        right: auto;
        top: auto;
        justify-content: center;
        margin-top: 22px;
        transform: none;
    }
}


/* ==================================================
   CTA：パソコン
================================================== */

@media (min-width: 1024px) {
    .cta-content {
        transform: translateX(-90px);
    }
}


/* ==================================================
   CTA：スマートフォン
================================================== */

@media (max-width: 767px) {
    .cta-staff-main {
        width: 210px;
    }

    .cta-actions a {
        width: 100%;
        min-width: 0;
    }

    .cta-circle-photo {
        width: 108px;
        height: 108px;
    }
}