@charset "UTF-8";

/* =========================
   フォント読み込み
========================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 
        "Google Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Noto Sans JP",
        "Helvetica Neue",
        Arial,
        sans-serif;
    position: relative;
    font-kerning: none;
    font-feature-settings: "palt" 1;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

/* =========================
   カラー設定
========================= */
:root {
    --color-title: #333333;
    --color-text: #666666;
}

/* =========================
   見出し・段落設定
========================= */
h1, h2, h3, h4 {
    color: var(--color-title);
}

h1 {
    font-size: clamp(1.8rem, 3.5vw + 1rem, 3.2rem);
    font-weight: 700;
    line-height: 1.3;
}

h2 {
    font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2.4rem);
    font-weight: 700;
    line-height: 1.4;
}

h3 {
    font-size: clamp(1.2rem, 1.8vw + 0.6rem, 1.8rem);
    font-weight: 700;
    line-height: 1.4;
}

h4 {
    font-size: clamp(1rem, 1vw + 0.5rem, 1.3rem);
    font-weight: 700;
    line-height: 1.5;
}

p, li, dd, dt {
    font-size: clamp(0.9rem, 0.5vw + 0.8rem, 1.05rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
}

/* =========================
   全体ラッパー（100vh制御）
========================= */
.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* =========================
   ヘッダー
========================= */
.header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 100;
    flex-shrink: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.header-left {
    padding: clamp(8px, 1.2vw, 12px) clamp(16px, 2vw, 24px);
}
.logo-img {
    height: clamp(32px, 3vw, 42px);
    width: auto;
    display: block;
}

.header-right-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    padding: 6px clamp(12px, 2vw, 24px);
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1.5vw, 16px);
    margin-bottom: 4px;
}

.btn-outline {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid #4a80bc;
    color: #4a80bc;
    border-radius: 8px;
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-outline:hover {
    background-color: #f0f4f9;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.phone-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(24px, 2.2vw, 30px);
    height: clamp(24px, 2.2vw, 30px);
    background-color: #5b8bc4;
    border-radius: 50%;
}

.phone-icon-img {
    width: 14px;
    height: 14px;
    display: block;
    filter: brightness(0) invert(1);
}

.phone-number {
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.05em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.btn-primary {
    background-color: #5b8bc4;
    color: #ffffff;
}
.btn-primary:hover {
    background-color: #4a75a8;
}

.btn-gray {
    background-color: #e5e8ec;
    color: #333333;
}
.btn-gray:hover {
    background-color: #d5d9df;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 8px;
    width: 12px;
    height: 12px;
}
.header-search input {
    padding: 4px 8px 4px 28px;
    border: 1px solid #d5d9df;
    border-radius: 50px;
    font-size: clamp(0.75rem, 0.9vw, 0.8rem);
    outline: none;
    width: clamp(90px, 12vw, 120px);
    color: #666666;
    background-color: #ffffff;
}
.header-search input::placeholder {
    color: #999999;
}

.global-nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: clamp(10px, 1.8vw, 20px);
    margin: 0;
    padding: 0;
}
.global-nav li a {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    color: #333333;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}
.global-nav li a:hover {
    color: #5b8bc4;
}
.global-nav .material-symbols-outlined {
    font-size: 0.95rem;
    color: #666666;
}
.material-symbols-outlined {
    font-size: 14px;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #5b8bc4;
    color: #ffffff;
    border: none;
    width: clamp(60px, 7.5vw, 82px);
    height: clamp(60px, 7.5vw, 82px);
    cursor: pointer;
    gap: 4px;
    flex-shrink: 0;
    align-self: stretch;
    transition: background-color 0.2s;
}

.menu-btn:hover {
    background-color: #4a75a8;
}

.menu-icon-wrap {
    position: relative;
    width: 28px;
    height: 20px;
}

.menu-icon-wrap span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.menu-icon-wrap span:nth-child(1) { top: 0; }
.menu-icon-wrap span:nth-child(2) { top: 9px; }
.menu-icon-wrap span:nth-child(3) { top: 18px; }

.menu-btn.is-active .menu-icon-wrap span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}
.menu-btn.is-active .menu-icon-wrap span:nth-child(2) {
    opacity: 0;
}
.menu-btn.is-active .menu-icon-wrap span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

.menu-text {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 1024px) {
    .header-right-area {
        display: none;
    }
}

/* =========================
   ファーストビュー（FV）
========================= */
.fv-container {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #f5eedb;
    overflow: hidden;
}

.fv-news-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f6a1b2;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 0.8rem;
    flex-shrink: 0;
    z-index: 10;
}

.fv-news-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    overflow: hidden;
}

.fv-news-date {
    font-weight: 500;
    white-space: nowrap;
}

.fv-news-tag {
    background-color: #ffffff;
    color: #f6a1b2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.fv-news-ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
}

.fv-news-text {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding-left: 100%;
    animation: marquee 18s linear infinite;
    font-size: 16px;
}

.fv-news-text:hover {
    text-decoration: underline;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.fv-news-arrow {
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 10px;
}

.fv-slider {
    position: relative;
    width: 100%;
    flex-grow: 1;
    min-height: 180px;
    overflow: hidden;
    background-color: #e5dcc2;
}

.fv-slide-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.fv-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.fv-slide.active {
    opacity: 1;
    visibility: visible;
}

.fv-slider-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

/* ドットの基本スタイル（伸び縮みさせず、きれいな正円にする） */
.fv-slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* アクティブなドット（青色） */
.fv-slider-dots .dot.active {
    background-color: #5b8ac7;
    transform: scale(1.1);
}

/* 一時停止ボタン（白背景・青い枠線・青いアイコン） */
.fv-slider-dots .pause-icon {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border: 2px solid #5b8ac7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ボタンの中のアイコン（Material Symbols 等） */
.fv-slider-dots .pause-icon .material-symbols-outlined {
    font-size: 16px;
    color: #5b8ac7;
}
/* =========================
   3. 下部カード型ナビゲーション
========================= */
.fv-cards-section {
    background-color: transparent; /* 背景を透明にしてスライダーに重ねる */
    padding: 0 16px 16px;
    margin-top: -30px; /* ここで上に突き出させます（お好みで -20px 〜 -50px 等に調整してください） */
    flex-shrink: 0;
    position: relative;
    z-index: 10; /* スライダーより手前に表示させる */
}
.fv-cards-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.fv-card {
    background-color: #ffffff;
    border-radius: 12px;
    /* 上下の高さを出すためにパディングを大きくしています */
    padding: 24px 6px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: visible;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* 上部アイコンのベージュサークル */
.fv-card-icon {
    width: 80px;
    height: 80px;
    background-color: #f5eedb;
    border-radius: 50%;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-card-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

/* テキストラッパー */
.fv-card-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* カード上部のテキスト（青：#5b8ac7） */
.fv-card-top-text {
    font-size: 1.0rem;
    font-weight: 700;
    color: #5b8ac7;
    line-height: 1.3;
}

/* カード下部のテキスト（黒：#333333） */
.fv-card-bottom-text {
    font-size: 1.0rem;
    font-weight: 700;
    color: #333333;
    line-height: 1.3;
}

/* 下部からはみ出る矢印ボタン */
.fv-card-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #f5eedb;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-card-arrow .material-symbols-outlined {
    font-size: 14px;
    color: #333333;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .fv-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .fv-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}