/* ==========================================================================
Variables & Base Styles
========================================================================== */

:root {
    --color-white: #FFFFFF;
    --color-black: #374151;
    --font-main: "Noto Sans JP", sans-serif;
    --font-serif: "Zen Old Mincho", serif;
    --font-en-sans: "Dela Gothic One", sans-serif;
    --font-en-serif: "Cormorant Garamond", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #374151;
    background-color: #F7F5F1;
    max-width: 100vw;
    overflow-x: hidden;
	position: relative;
	z-index: -1;
}

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

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


/* PC/SP表示切り替え（デフォルト：PC表示） */
.sp-only {
    display: none !important;
}

.pc-only {
    display: inline;
}
@media (max-width: 768px){
    .pc-only{
        display: none;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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


/* ==========================================================================
   Top Bar
   ========================================================================== */

.top-bar {
    background-color: #233746;
    height: 20px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.top-bar-inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: flex-end;
}

.top-bar-text {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 1px 19px 1px 6px;
}
.top-bar-text .txt-navy{
    color: #1F2937;
    background-color: #fff;
    padding: 0px 5px;
    margin-right: 3px;
    line-height: 1;
}

/* トップバーのリンクスタイル */
.top-bar a.top-bar-inner {
    text-decoration: none;
    color: inherit;
}

.top-bar a.top-bar-inner:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-image: none;
    box-shadow: none;
    height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 20px; /* 初期位置 */
    left: 0;
    z-index: 9998;
    /* アニメーション設定 */
    background-color: transparent;
    transition: background-color 0.4s ease, top 0.4s ease, box-shadow 0.4s ease;
}

/* FVを過ぎた後のスタイル */
.site-header.is-scrolled {
    background-color: #233746;
    top: 20px; /* スクロール後は最上部にピタッとくっつけるのが一般的 */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    background-color: transparent;
    margin: 0 auto;
    padding: 0 40px; /* 左右の余白は適宜調整 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    padding-left: clamp(15px, 96px);
}
.header-left-text{
    font-size: 20px;
    color: #fff;
    font-family: var(--font-serif);
}

.header-right a:hover {
    opacity: 0.8;
}
.header-right-wrapper{
    display: flex;
    align-items: center;
}
.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: flex-end;
    gap: 14px;
}

.main-navigation ul li a {
    font-size: 20px;
    font-family: var(--font-serif);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 20px;
    background-color: rgba(217, 217, 217, .3);
    width: 196px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-right-intro{
    font-size: 20px;
    font-family: var(--font-serif);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 20px;
    background-color: rgba(217, 217, 217, .3);
    width: 196px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-left: 14px;
}
.header-right-intro .num{
    font-size: 32px;
    line-height: 1;
    padding-bottom: 5px;
}


/* Page Layout - トップバー・ヘッダー固定分のpadding調整 */
#page {
    padding-top: 20px;
	position: relative;
	z-index: -1;
}

/* WordPress管理バー対応 */
body.admin-bar .top-bar {
    top: 32px;
}

body.admin-bar .site-header {
    top: 52px; /* 管理バー(32px) + トップバー(20px) */
}

body.admin-bar #page {
    padding-top: 119px; /* 管理バー(32px) + トップバー(20px) + ヘッダー(60px) */
}

/* ==========================================================================
   Hamburger Menu (Mobile)
   ========================================================================== */
/* PC時はSP用要素を非表示 */
.hero-banner-sp,
.hero-cta-sp {
    display: none;
}

/* PC時はハンバーガーメニュー関連を非表示 */
.hamburger-btn {
    display: none;
}

.mobile-menu {
    display: none;
}

.mobile-menu-close {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}


.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
}

.menu-text {
    font-size: 10px;
    margin-top: 3px;
    width: auto;
    height: auto;
    background: none;
}

/* Mobile Menu - Base styles (PC: hidden, SP: uses transform animation) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #233746;
    z-index: 10001;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-content {
    padding: 60px 20px 20px;
}

.mobile-nav {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav a {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    color: var(--color-white);
    font-size: 16px;
}



/* ==========================================================================
Main Content
========================================================================== */
.site-main{
	position: relative;
	z-index: -1;
}
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    background: #fff;
    color: #1F2937;
    border: 2px solid #1F2937;
    width: 463px;
    height: 62px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    position: relative;
    font-family: var(--font-serif);
}

.btn::before {
    content: "";
    background-image: url(../images/arrow_black.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 77px;
    height: 7px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    transition: right 0.2s ease-in-out;
}

.btn:hover {
    background: #f8f8f8;
    transform: translate(3px, 3px);
}

.btn:hover::before {
    right: 2px;
}

.btn:active {
    transform: translate(3px, 3px) scale(0.98);
}
.btn.--dark {
    background: #1F2937;
    color: #fff;
    position: relative;
    top: 0;
    left: 0;
    transition: all 0.2s ease-in-out;
}

.btn.--dark::before {
    content: "";
    background-image: url(../images/arrow_white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 77px;
    height: 7px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    transition: right 0.2s ease-in-out;
}

.btn.--dark:hover {
    background: #374151;
}

.btn.--dark:hover::before {
    right: 2px;
}

.btn.--dark:active {
    transform: translate(3px, 3px) scale(0.98);
}
.btn.--orange{
    background-color: #D96C3A;
    color: #fff;
}
.btn.--orange::before{
    background-image: url(../images/arrow_white.svg);
}


/* ==========================================================================
   FV Section - Base 1300px / VW Layout
   ========================================================================== */

.fv {
    width: 100vw;
    aspect-ratio: 1350 / 737;
    background: url(../images/mv.webp) no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.fv__inner {
    height: 100%;
    margin: 0 auto;
    position: relative;
}

/* コンテンツ配置位置（カンプから算出） */
.fv__content {
    position: absolute;
    top: 7.11vw;
    left: 6.4vw;
    text-align: left;
}

.fv__sub-text {
    font-family: var(--font-en-serif);
    font-weight: 400;
    margin: 0;
    font-size: 1.78vw;
    line-height: 1;
    color: #233746;
    font-weight: bold;
}
/* メインガイドタイトル */
.fv__main-title {
    font-size: 4.7vw;
    line-height: 1.2;
    font-weight: 700;
    font-family: var(--font-serif);
}

.fv__lead {
    font-size: 1.33vw;
    margin-bottom: 1.48vw;
    font-weight: 400;
}
.fv__cta img{
    width: 20.96vw;
    margin-left: 3.48vw;
    margin-bottom: 2.59vw;
}
.fv__cta.btn:hover{
    opacity: 0.8;
}
.fv__text{
    font-size: 1.33vw;
    max-width: 68.22vw;
}


/* ==========================================================================
   FV-INDEX (Navigation Bar)
   ========================================================================== */

.fv-index {
    width: 100%;
    background-color: #233746; /* 画像の濃紺 */
    padding: 18px 0; /* 上下余白（カンプに合わせて微調整） */
    position: relative;
    z-index: 10;
}

.fv-index__inner {
    max-width: 1350px; /* カンプのコンテンツ幅 */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 0 12px; /* 基本の横間隔 */
}

.fv-index__link {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px; /* デザインに合わせたサイズ */
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.05em;
    padding: 10px 0;
    transition: opacity 0.3s ease;
    position: relative;
}

/* 垂直セパレーター（｜） */
.fv-index__link:not(:last-child)::after {
    content: "|";
    margin-left: 12px; /* テキストと線の間隔 */
    color: rgba(255, 255, 255, 0.6); /* 線を少し透過させて馴染ませる */
    font-weight: 300;
    pointer-events: none;
}

/* ホバーエフェクト */
.fv-index__link:hover {
    opacity: 0.7;
}






/* ==========================================================================
   INDEX Section - Precision Layout (150px / 217px)
   ========================================================================== */

.nav-index {
    width: 100%;
    padding: 33px 0 30px;
}

.nav-index__inner {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav-index__title-icon{
    width: 20px;
}
.nav-index__title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 800;
    color: #1a2933;
    margin-bottom: 16px;
    gap: 8px;
    align-items: center;
}

/* リスト全体のコンテナ */
.nav-index__nav{
    margin-left: 45px;
}
.nav-index__list {
    display: flex;
    justify-content: center; /* 中央寄せ */
    align-items: stretch;
    gap: 20px; /* ボックス間の隙間（カンプに合わせて適宜調整） */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 共通設定 */
.nav-index__item {
    flex: none; /* 伸縮を禁止して固定幅を守る */
}

/* 個別幅指定：1, 2, 4枚目 (150px) */
.nav-index__item:nth-child(1),
.nav-index__item:nth-child(2),
.nav-index__item:nth-child(4) {
    width: 150px;
}

/* 個別幅指定：3, 5枚目 (217px) */
.nav-index__item:nth-child(3),
.nav-index__item:nth-child(5) {
    width: 217px;
}

/* カード本体 */
.nav-index__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    text-decoration: none;
    color: #1a2933;
    background-color: #ffffff;
    height: 100%; /* 全体の高さを揃える */
    min-height: 120px;
    padding: 8px 0px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-index__link:hover {
    border-color: #ccc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* アイコンエリア */
.nav-index__icon {
    width: auto;
    height: 60px; /* アイコン表示エリアを固定 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-index__icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* ラベルテキスト */
.nav-index__label {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-all;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* ==========================================================================
   POINT Section - Precision Config
   ========================================================================== */

.point {
    width: 100%;
    background: url('../images/bg_point.webp') no-repeat center center / cover;
    padding: 100px 0;
    color: #1a2933;
}

.point__inner {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 40px;
}

.point__title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 60px;
}

/* Grid Layout */
.point__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 8px;
}

.point__item {
    background-color: #f8f6f1; /* カンプに近い薄ベージュ */
    padding: 20px 17px;
    position: relative;
}

.point__item--full {
    grid-column: 1 / 3;
}

/* Numbers */
.point__num {
    position: absolute;
    top: -18px;
    left: 20px;
    font-family: var(--font-en-serif);
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    color: #1F2937;
    text-shadow: 3px 2px 0 #EABEB1;
    z-index: 1;
}

/* Flex Container within item */
.point__flex {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.point__image-wrap {
    flex: 0 0 160px;
    text-align: center;
}

.point__image-wrap img {
    max-width: 100%;
    height: auto;
}

.point__text-content {
    flex: 1;
}

.point__sub-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    padding-bottom: 10px;
    border-bottom: 2px solid #D1D5DB;
}

.point__description p {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
}

.point__description p:last-child {
    margin-bottom: 0;
}
.point__item--full .point__flex{
    gap: 26px;
    justify-content: center;
}
.point__item--full .point__image-wrap{
    flex: 0 0 270px;
}
.point__item--full .point__text-content{
    flex: unset;
    max-width: 485px;
}

/* Summary Box */
.point__summary {
    margin-top: 50px;
    background-color: #f8f6f1;
    padding: 60px 80px; /* 内容の余白 */
    position: relative;
    /* 線がはみ出さないように */
    overflow: hidden; 
}

/* 上下の横線（上下から8pxの位置） */
.point__summary::before {
    content: "";
    position: absolute;
    top: 8px;    /* 上から8px */
    bottom: 8px; /* 下から8px */
    left: 0;
    right: 0;
    /* 上下の枠線だけを表示 */
    border-top: 3px solid #E8E3DB;
    border-bottom: 3px solid #E8E3DB;
    pointer-events: none;
}

/* 左右の縦線（左右から19pxの位置） */
.point__summary::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 19px;  /* 左から19px */
    right: 19px; /* 右から19px */
    /* 左右の枠線だけを表示 */
    border-left: 3px solid #E8E3DB;
    border-right: 3px solid #E8E3DB;
    pointer-events: none;
}
.point__summary-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.point__summary-image {
    flex: 0 0 350px;
}

.point__summary-lead {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-bottom: 7px;
    border-bottom: 2px solid #E8E3DB;
}

.point__summary-description {
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 1.7;
    padding-top: 20px;
}

.u-color-accent {
    color: #4E7C91;
}



/* ==========================================================================
   COMPARISON & MESSAGE Section
   ========================================================================== */

.comparison {
    width: 100%;
    padding: 76px 0 60px;
    position: relative;
    background-color: #F3F3F3;
}

.comparison__inner {
    max-width: 906px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクションタイトル */
.comparison__header {
    margin-bottom: 93px;
    background-color: #F3F3F3;
}
.section__header{
    text-align: center;
    position: relative;
    padding: 12px;
    z-index: 1;
    transform-style: preserve-3d;
}

.section__header::before {
    top: -50px;
    background: url(../images/line_title.svg) no-repeat;
    width: 84px;
    height: 202px;
    background-size: contain;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateZ(-1px);
    content: "";
    z-index: -1;
}
.section__header-sub{
    font-size: 48px;
    font-family: var(--font-en-serif);
    line-height: 1;
}
.section__title{
    font-size: 20px;
}

.comparison__header-sub {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 10px;
}

.comparison__title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

/* 横スクロール対応のコンテナ */
.comparison__scroll-container {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.comparison__cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    min-width: 866px; /* PCでは中央寄せ、スマホではこの幅を維持してスクロール */
}

.comparison__card {
    flex: 1;
    background-color: #233746;
    padding: 11px 11px 44px;
    color: #ffffff;
}

.comparison__card-header {
    text-align: center;
    margin-bottom: 25px;
    height: 100px; /* 高さを揃える */
}

.comparison__card-catch {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 14px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.comparison__card-catch::before{
    content: "";
    width: 286px;
    position: absolute;
    height: 1px;
    background-color: #fff;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.comparison__card-name {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 700;
}

.comparison__card-img {
    margin-bottom: 20px;
    position: relative;
    padding: 0 18px;
}

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

.comparison__img-caption {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #fff;
    margin-top: 5px;
}

/* 比較テーブル（Flexboxで実装） */
.comparison__table {
    background-color: #ffffff;
    color: #333;
}

.comparison__row {
    display: flex;
    border-bottom: 1px solid #999999;
}

.comparison__row dt {
    flex: 0 0 120px;
    background-color: #fff;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison__row dd {
    flex: 1;
    padding: 15px;
    font-size: 13px;
    line-height: 1.6;
}

/* 価格行の特殊スタイル */
.comparison__price-label {
    font-size: 13px;
    font-weight: 700;
    margin-top: 14px;
}
.comparison__price-value {
    font-size: 20px;
    font-weight: 700;
    color: #6D8A6A;
}

.comparison__price-value span {
    font-size: 13px;
    color: #111827;
}

/* ボタン */
.comparison__btns {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comparison__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
    width: 286px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-serif);
}

.comparison__btn--accent {
    background-color: #D96C3A;
    color: #fff;
    box-shadow: 3px 3px 0 #6E351B;
    position: relative;
    top: 0;
    left: 0;
    transition: all 0.2s ease-in-out;
}

.comparison__btn--accent::before {
    content: "";
    background-image: url(../images/arrow_white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 77px;
    height: 7px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    /* --- 矢印も少し動かす演出 --- */
    transition: right 0.2s ease-in-out;
}

.comparison__btn--accent:hover {
    background-color: #e87a48;
    box-shadow: 0 0 0 #6E351B;
    transform: translate(3px, 3px);
}

.comparison__btn--accent:hover::before {
    right: 2px;
}

.comparison__btn--accent:active {
    transform: translate(3px, 3px) scale(0.98);
}
.comparison__btn--outline {
    background-color: #fff;
    color: #313131;
    box-shadow: 3px 3px 0 #828282;
    position: relative;
    top: 0;
    left: 0;
    transition: all 0.2s ease-in-out;
    /* ----------------------------- */
}

.comparison__btn--outline::before {
    content: "";
    background-image: url(../images/arrow_black.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 77px;
    height: 7px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    transition: right 0.2s ease-in-out;
}

/* ホバー時：アクセントボタンと同じ沈み込み演出 */
.comparison__btn--outline:hover {
    background-color: #f8f8f8;
    box-shadow: 0 0 0 #313131;
    transform: translate(3px, 3px);
}

.comparison__btn--outline:hover::before {
    right: 2px;
}

/* アクティブ（クリック中）の演出 */
.comparison__btn--outline:active {
    transform: translate(3px, 3px) scale(0.98);
}

/* 装飾テキスト（重要：セクションを跨ぐ実装） */
.comparison__deco-text {
    position: absolute;
    left: 40px;
    bottom: -370px;
    width: 97px;
}
@media screen and (max-width: 1024px){
    .comparison__deco-text{
        display: none;
    }
}

/* MESSAGE Section */
.message {
    width: 100%;
    padding: 94px 0 70px;
    background: url('../images/bg_message.webp') no-repeat center center / cover;
    color: #ffffff;
    text-align: center;
}

.message__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.message__title {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 40px;
}

.message__content p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
    font-family: var(--font-serif);
}

.message__highlight {
    font-family: var(--font-serif);
    font-size: 20px !important;
    font-weight: 700;
}
.message__highlight .txt-large{
    font-size: 25px;
}

/* ==========================================================================
   COMPANY INTRODUCTION (Ijichigumi)
   ========================================================================== */

.company-intro {
    width: 100%;
    background: url(../images/bg_intro.webp) no-repeat;
    background-size: cover;
    padding: 56px 0 52px;
    overflow: hidden;
}

.company-intro__inner {
    max-width: 1258px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* ライン装飾の基準点 */
    background-color: #FFFFFF;
}

/* 四隅のL字ライン装飾 */
.company-intro__line {
    position: absolute;
    width: 150px; /* カンプに合わせて調整 */
    height: 150px;
    border: 1px solid #1a2933;
    pointer-events: none;
}

.company-intro__line--top {
    top: 24px;
    left: 30px;
    border-right: none;
    border-bottom: none;
}

.company-intro__line--bottom {
    bottom: 30px;
    right: 24px;
    border-top: none;
    border-left: none;
}

/* コンテンツコンテナ */
.company-intro__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* テキストヘッダー */
.company-intro__header {
    margin-bottom: 70px;
    color: #1a2933;
    padding-top: 67px;
}

.company-intro__catch {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 500;
}

.company-intro__name {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
}

.company-intro__sub {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
}

/* メイン画像エリア */
.company-intro__visual {
    width: 100%;
    max-width: 945px;
    margin: 0 auto;
    padding-bottom: 104px;
}

.company-intro__visual img {
    width: 100%;
    height: auto;
}
.company-intro__source{
    display: block;
    text-align: right;
    font-size: 12px;
    text-decoration: underline;
}


/* ==========================================================================
   LIFE LABEL Section
   ========================================================================== */

.life-label {
    width: 100%;
    padding: 170px 0 0;
}

.life-label__inner {
    max-width: 1070px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 上部レイアウト */
.life-label__top-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px 30px;
    margin-bottom: 60px;
}


.life-label__header-wrap .section__header::before{
    top: -43px;
}
.life-label__header{
    background-color: #F7F5F1;
}

.life-label__lead-area {
    flex: 1;
}

.life-label__lead-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.life-label__lead-text {
    font-size: 16px;
    line-height: 1.8;
}

/* グリッドシステム */
.life-label__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px; /* 縦・横の隙間 */
}

/* カードデザイン */
.life-label__card {
    background-color: #ffffff;
    padding: 18px 25px 25px;
    display: flex;
    flex-direction: column;
}

.life-label__card-title {
    font-family: var(--font-en-sans);
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    color: #1F2937;
    margin-bottom: 14px;
    text-transform: uppercase;
    min-height: 2.2em; /* 2行になっても崩れないよう固定 */
    display: flex;
    align-items: center;
}

.life-label__card-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin-bottom: 10px;
}

.life-label__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.life-label__card:hover .life-label__card-img img {
    transform: scale(1.05);
}

.life-label__card-caption {
    font-size: 12px;
    display: block;
    text-align: right;
    text-decoration: underline;
}

/* CTAボタン */
.life-label__btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}



/* ==========================================================================
   Dolive Section
   ========================================================================== */

.dolive {
    width: 100%;
    background-color: #f8f6f1;
    padding: 180px 0 0;
}

.dolive__inner {
    max-width: 1274px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 上部レイアウト（LIFE LABELと共通） */
.dolive__top-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 210px;
    margin-bottom: 110px;
}

.dolive__header-wrap {
    flex: 0 0 350px;
}
.dolive__header{
    background-color: #F7F5F1;
}

.dolive__lead-area {
    padding-bottom: 15px;
    width: 506px;
}

.dolive__lead-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.dolive__lead-text {
    font-size: 16px;
    line-height: 1.8;
}

/* アシンメトリー・グリッドシステム */
.dolive__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 縦3行のグリッドを作成 */
    grid-template-rows: auto auto auto;
    gap: 15px 40px;
}

/* カード基本設定 */
.dolive__card {
    display: flex;
    flex-direction: column;
}

/* 縦長カード（AM6 HOUSE）の設定 */
.dolive__card--tall {
    grid-column: 2;
    grid-row: 1 / 3; /* 1行目から2行目までブチ抜く */
}

/* 3番目と4番目の位置調整（AM6のせいでズレるのを防止） */
.dolive__card:nth-child(4) { grid-row: 3; grid-column: 1; }
.dolive__card:nth-child(5) { grid-row: 3; grid-column: 2; }

.dolive__card-img {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

/* 通常の画像比率 */
.dolive__card-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}



.dolive__card-caption {
    display: block;
    text-align: right;
    font-size: 12px;
    text-decoration: underline;
}

/* Doliveは画像の下に見出しが来る */
.dolive__card-title {
    font-family: var(--font-en-serif); /* セリフ体 */
    font-size: 36px;
    font-weight: 400;
    color: #1a2933;
    margin-top: -15px;
    line-height: 1;
}

.dolive__card:hover .dolive__card-img img {
    transform: scale(1.05);
}
.dolive__btns{
    gap: 10px;
    margin: 60px auto 0;
    justify-content: center;
    display: flex;
}


/* ==========================================================================
   GRAND SAISON Section
   ========================================================================== */

.grand-saison {
    width: 100%;
    background-color: #f8f6f1;
    padding: 120px 0;
}

.grand-saison__inner {
    max-width: 1200px; /* カンプのバランスに合わせた幅 */
    margin: 0 auto;
    padding: 0 40px;
}

/* 上部レイアウト */
.grand-saison__top-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

.grand-saison__header-wrap {
    flex: 0 0 400px;
}

.grand-saison__header {
    background-color: #f8f6f1;
}

.grand-saison__lead-area {
    flex: 1;
    padding-bottom: 10px;
}

.grand-saison__lead-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a2933;
    line-height: 1.4;
}

.grand-saison__lead-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* 均等2カラムグリッド */
.grand-saison__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px; /* 縦の間隔を広めに設定 */
}

.grand-saison__card {
    display: flex;
    flex-direction: column;
}

.grand-saison__card-img {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.grand-saison__card-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grand-saison__card:hover .grand-saison__card-img img {
    transform: scale(1.05);
}

.grand-saison__card-caption {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    text-decoration: underline;
}

/* カードタイトル：優雅なセリフ体 */
.grand-saison__card-title {
    font-family: var(--font-en-serif);
    font-size: 32px;
    font-weight: 400;
    color: #1a2933;
    letter-spacing: 0.05em;
    margin-top: 5px;
    line-height: 1.2;
}

/* 下部ボタンエリア */
.grand-saison__btns {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 20px;
}




/* ==========================================================================
   yado Section - Pixel Perfect Composite Layout
   ========================================================================== */

.yado {
    width: 100%;
    padding: 120px 0 0;
    background-color: #F7F5F1;
}

.yado__inner {
    max-width: 1104px;
    margin: 0 auto;
    padding: 0 20px;
}

.yado__top-flex {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 230px;
    margin-bottom: 80px;
}

.yado__header {
    background-color: #F7F5F1;
}

.yado__lead-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.yado__lead-text {
    font-size: 16px;
    line-height: 1.8;
}

/* 区切り線 */
.yado__line {
    width: 100%;
    height: 1px;
    background-color: #313131;
    opacity: 0.3;
}

.yado__item {
    padding: 10px 0 20px;
}

/* ラベル：FI/JP */
.yado__label-group {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
}

.yado__label-main {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 500;
    color: #313131;
}

.yado__label-sub {
    font-size: 16px;
    font-family: var(--font-serif);
}

/* 通常の画像（FI） */
.yado__visual-item {
    width: 100%;
    max-width: 732px; /* カンプの中央画像の幅 */
    margin: 0 auto;
}

.yado__img-wrap img {
    width: 100%;
    height: auto;
}

/* 重なり画像（JP）：コンテナは 1104px いっぱい */
.yado__composite-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 360px; /* SP/PCでの崩れ防止 */
}

/* メイン画像は中央寄せ */
.yado__img-main {
    width: 100%;
    max-width: 732px;
    margin: 0 auto;
}

.yado__img-main img {
    width: 100%;
    height: auto;
}

/* 右側にくっつくサブ画像：絶対配置 */
.yado__img-sub {
    position: absolute;
    width: 320px; /* カンプサイズに調整 */
    top: 50%;
    right: 0; /* 親コンテナ(1104px)の右端にくっつく */
    transform: translateY(-50%);
    z-index: 2;
}
.yado__img-sub._ismart{
    width: 206px;
    right: 55px;
}

.yado__img-sub img {
    width: 100%;
    height: auto;
    /* わずかな影を入れるとカンプの重なりが綺麗に出ます */
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

.yado__caption {
    text-align: right;
    font-size: 11px;
    display: block;
    color: #313131;
    text-decoration: underline;
}
.yado__caption.__bottom{
    margin-right: 166px;
}

/* CTAボタン */
.yado__btns {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
}




/* ==========================================================================
   Design Source Section
   ========================================================================== */

.design-source {
    width: 100%;
    padding: 180px 0 0;
}

.design-source__inner {
    max-width: 1035px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 上部レイアウト（共通） */
.design-source__top-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 100px;
}

.design-source__header-wrap { flex: 0 0 350px; }
.design-source__lead-area {width: fit-content; }
.design-source__header{
    background-color: #F7F5F1;
}
.design-source__lead-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a2933;
}

/* ビジュアルコンテナ */
.design-source__visual-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
    max-width: 913px;
    margin: 0 auto;
}

.design-source__item {
    position: relative;
}

/* 画像ボックス共通 */
.design-source__img-box {
    position: relative;
    width: 732px;
}

.design-source__img-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.design-source__caption {
    display: block;
    text-align: right;
    font-size: 12px;
}

/* 縦書きラベルの共通設定 */
.design-source__label-vertical {
    font-family: var(--font-en-sans);
    font-size: 36px;
    color: #1a2933;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 15px;
}
.design-source__label-vertical.__absolute{
    position: absolute;
    transform: rotate(180deg);
    bottom: 0;
}

/* 1段目 (BLUE GRAY) */
.design-source__item--top {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.design-source__label-wrap--left .design-source__label-vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg); /* 下から上へ読ませる */
}

/* 2段目 グリッド */
.design-source__bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* BROOKLYN HOUSE (左下) */
.design-source__item--left .design-source__item-title {
    font-family: var(--font-en-sans);
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    margin-top: 0px;
    color: #1a2933;
}

/* Double Doors (右下) */
.design-source__flex-row {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.design-source__label-wrap--right .design-source__label-vertical {
    writing-mode: vertical-lr; /* 上から下へ読ませる */
    margin-top: 40px; /* 画像の上端からのオフセット調整 */
}

/* CTAボタン（クラス流用） */
.design-source__btns {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 10px;
}




/* ==========================================================================
   BRAND FEATURES Section
   ========================================================================== */

.brand-features {
    width: 100%;
    padding: 100px 0 143px;
}

.brand-features__inner {
    max-width: 1010px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Instagram バナー */
.brand-features__insta-banner {
    display: flex;
    width: 100%;
    height: 170px;
    text-decoration: none;
    margin-bottom: 100px;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.brand-features__insta-banner:hover {
    opacity: 0.9;
}



/* 特徴リスト */
.brand-features__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 970px;
    margin: 0 auto;
}

.brand-features__item {
    display: flex;
    align-items: flex-start; /* 上揃え */
    gap: 28px;
}

.brand-features__icon {
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-features__icon img {
    width: 100%;
    height: auto;
}

.brand-features__text {
    flex: 1;
    padding-top: 10px; /* アイコンのセンターに合わせる調整 */
}

.brand-features__item-title {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.brand-features__item-desc {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
}

/* ==========================================================================
   WORKS Section
   ========================================================================== */

.works {
    width: 100%;
    background: url(../images/bg_works.webp) no-repeat;
    background-size: cover;
    padding: 60px 0 163px;
}

.works__inner {
    max-width: 1065px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア調整 */
.works__header {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 33px;
    text-align: center;
}
.works__header .section__title{
    font-size: 64px;
    font-family: var(--font-en-serif);
    line-height: 1;
}
.works__header .section__header-sub{
    font-size: 20px;
    font-family: var(--font-main);
}

/* グリッドレイアウト */
.works__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
}

.works__item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a2933;
    border-bottom: 1px solid #1a2933;
}


/* 画像スライダーコンテナ */
.works__image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.works__images {
    width: 100%;
    height: 100%;
    position: relative;
}

.works__images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* 表示中の画像 */
.works__images img.is-active {
    opacity: 1;
    position: relative; /* 高さ確保のため */
}

/* 矢印アイコン */
.works__arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    z-index: 10;
    pointer-events: none; /* 親のクリックを邪魔しない */
}

.works__arrow img {
    width: 100%;
    height: auto;
}

.works__caption {
    text-align: right;
    display: block;
    font-size: 11px;
    margin-top: 12px;
    text-decoration: underline;
}

/* ボタンエリア */
.works__btns {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 20px;
}






/* ==========================================================================
   REVIEW Section - High-End Soft Design
   ========================================================================== */

.review {
    width: 100%;
    padding: 150px 0 92px;
}

.review__inner {
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア */
.review__header {
    text-align: center;
    margin-bottom: 63px;
    color: #1a2933;
}

.review__title {
    font-family: var(--font-en-serif);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}

.review__title-sub {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
}

/* グリッド */
.review__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* レビューカード */
.review__card {
    background-color: #ffffff;
    border-radius: 60px; /* 特徴的な大きな角丸 */
    padding: 60px 35px 50px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.review__card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review__catch {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #848181;
    margin-bottom: 30px;
    min-height: 4.8em;
}

/* アイコン：円形枠 */
.review__icon {
    width: 205px;
    height: 205px;
    margin: 0 auto 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review__icon img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* 評価（星とスコア） */
.review__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.review__stars {
    color: #FFBF77; /* 鮮やかなオレンジ/イエロー */
    font-size: 36px;
    letter-spacing: 0.1em;
}

.review__score {
    font-size: 36px;
    font-weight: 700;
    color: #FFBF77;
    line-height: 1;
}

/* 本文 */
.review__body {
    flex: 1;
    text-align: left;
    margin-bottom: 30px;
}

.review__body p {
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 1.8;
    color: #848181;
    margin-bottom: 1.2em;
}

.u-text-link {
    text-decoration: underline;
    color: #848181;
    cursor: pointer;
}

/* 引用元フッター */
.review__cite {
    font-size: 13px;
    color: #848181;
    text-align: left;
    word-break: break-all;
    display: block;
    text-align: right;
    text-decoration: underline;
}

/* CTAボタンエリア */
.review__btns {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
}




/* ==========================================================================
   COMPANY PROFILE Section
   ========================================================================== */

.company-profile {
    width: 100%;
    padding: 0 0 200px;
}

.company-profile__container {
    max-width: 1249px;
    margin-left: auto;
    background-color: #1a2933; /* 濃紺背景 */
    border-top-left-radius: 210px; /* 特徴的な大きな角丸 */
    border-bottom-left-radius: 210px;
    padding: 110px 95px 88px 198px;
    color: #ffffff;
}

.company-profile__inner {
    max-width: 945px;
    margin: 0 auto 0 0; /* 左寄せ気味に配置 */
}

/* ヘッダー */
.company-profile__header {
    text-align: center;
    margin-bottom: 44px;
    width: fit-content;
}

.company-profile__title {
    font-family: var(--font-en-serif);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 25px;
}

.company-profile__subtitle {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
}

/* メインコンテンツ（情報とマップ） */
.company-profile__content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

/* 情報リスト（dl/dt/dd） */
.company-profile__info {
    flex: 1.2;
}

.company-profile__row {
    display: flex;
    border-bottom: 1px solid #fff;
    padding: 16px 0;
}
.company-profile__row:last-child{
    border-bottom: none;
}

.company-profile__row dt {
    flex: 0 0 160px;
    font-size: 16px;
    font-weight: 700;
    padding-left: 35px;
}

.company-profile__row dd {
    flex: 1;
    font-size: 12px;
    line-height: 1.8;
}

.company-profile__row dd a {
    color: #ffffff;
    text-decoration: underline;
}

/* マップエリア */
.company-profile__map {
    flex: 1;
}

.company-profile__map-inner {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #fff;
    overflow: hidden;
}

.company-profile__map-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 下部ボタン */
.company-profile__btns {
    display: flex;
    gap: 10px;
}






/* ==========================================================================
   AREA FEATURES Section
   ========================================================================== */

.area-features {
    width: 100%;
    padding: 150px 0 65px;
    font-family: var(--font-serif);
}

.area-features__inner {
    max-width: 1067px;
    margin: 0 auto;
    padding: 0 20px;
}
.area-features-section-title__wrapper{
    text-align: center;
    margin-bottom: 60px;
}
.area-features-sub-title{
    font-size: 24px;
    display: inline-block;
    border: 1px solid #000;
    padding: 5px 26px;
}
.area-features-section-title{
    font-size: 36px;
}

.area-features__main-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* アコーディオンアイテム */
.area-features__item {
    background-color: #E8E3DB;
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
}

.area-features__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px 20px 80px;
    background: none;
    border: none;
    cursor: pointer;
}

.area-features__name {
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
}

.area-features__pin {
    width: 45px;
    margin-right: 14px;
}

/* トグルアイコン (+) */
.area-features__toggle-icon {
    width: 38px;
    height: 38px;
    position: relative;
}

.area-features__toggle-icon::before,
.area-features__toggle-icon::after {
    content: "";
    position: absolute;
    background-color: #2F2A26;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.area-features__toggle-icon::before { width: 100%; height: 1px; } /* 横棒 */
.area-features__toggle-icon::after { width: 1px; height: 100%; transition: opacity 0.3s; } /* 縦棒 */

/* 開いている時は縦棒を消してマイナスにする */
.area-features__item.is-open .area-features__toggle-icon::after {
    opacity: 0;
}

/* コンテンツエリア */
.area-features__body {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #E8E3DB; /* 外枠の色 */
}

.area-features__content-inner {
    padding: 0 20px 20px; /* 白枠の外側の余白 */
}

.area-features__grid {
    background-color: #ffffff; /* 中の白枠 */
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 2fr; /* カラム比率 */
    gap: 30px;
}
.area-features__label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.area-features__label--point {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    gap: 6px;
    align-items: center;
}
.area-features__label--point::before{
    content: "";
    width: 30px;
    height: 30px;
    background: url(../images/icon_point.svg) no-repeat;
    background-size: contain;
    display: block;
}

.area-features__value {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: #D96C3A;
}

.area-features__value span {
    font-size: 20px;
    font-weight: 500;
    color: #3A3A3A;
}

.area-features__text {
    font-size: 20px;
    line-height: 1.7;
    font-weight: 500;
}

.area-features__note {
    text-align: right;
    font-size: 20px;
    text-decoration: underline;
    display: block;
}

/* ==========================================================================
   AREA FEATURES - SUMMARY BOX (Pixel Perfect)
   ========================================================================= */

.area-features__summary {
    background-color: #D7E0E0;
    max-width: 1151px;
    margin: 60px auto 0;
    padding: 7px 88px 7px 158px;
    position: relative;
}

.area-features__summary-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 75px;
}

/* アイコンエリア */
.area-features__summary-img {
    flex: 0 0 216px;
}

.area-features__summary-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* コンテンツエリア */
.area-features__summary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央揃え */
}

.area-features__summary-text {
    font-family: var(--font-serif); /* 明朝体 */
    font-size: 20px;
    font-weight: 500;
    line-height: 2;
    color: #313131;
    text-align: center;
    margin-bottom: 11px;
}

/* ボタンエリア */
.area-features__summary-btn-wrap {
    width: 100%;
    max-width: 400px;
}

.area-features__summary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    background-color: #6BB5B4;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-serif);
    position: relative;
    box-shadow: 4px 4px 0 #569594;
    transition: all 0.2s ease-in-out;
    letter-spacing: 0.1em;
}

/* ボタン内の矢印（CSSで描画） */
.area-features__summary-btn::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background-color: #ffffff;
}

.area-features__summary-btn::before {
    content: "";
    position: absolute;
    right: 25px;
    top: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: rotate(45deg);
}

/* ホバーアクション：沈み込む挙動 */
.area-features__summary-btn:hover {
    box-shadow: 0 0 0 #569594;
    transform: translate(4px, 4px);
}






/* ==========================================================================
   FAQ Section - Precision Layout
   ========================================================================== */

.faq {
    width: 100%;
    position: relative;
    background: url(../images/bg_faq.webp) no-repeat;
    background-size: cover;
    padding: 83px 0 200px;
    overflow: hidden;
}

.faq__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* 装飾テキスト（コードで実装） */
.faq__deco-top {
    position: absolute;
    top: 48px;
    left: 20px;
    font-family: var(--font-en-serif);
    font-size: 120px;
    color: rgba(235, 167, 147, 0.74);
    line-height: 1;
    writing-mode: vertical-rl;
    transform: rotate(360deg);
    pointer-events: none;
    font-weight: 700;
}

.faq__deco-bottom {
    position: absolute;
    bottom: 0px;
    left: 64px;
    font-family: var(--font-en-serif);
    font-size: 120px;
    color: rgba(235, 167, 147, 0.74);
    line-height: 1;
    pointer-events: none;
    font-weight: bold;
    text-transform: uppercase;
}

/* ヘッダーデザイン */
.faq__header {
    background: #ffffff;
    width: fit-content;
    margin: 0 auto 90px;
    padding: 17px 20px;
    width: 1025px;
    text-align: center;
    position: relative;
    font-family: var(--font-serif);
}

.faq__header-sub {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
}

.faq__title {
    font-size: 36px;
    font-weight: 700;
}

/* アコーディオンアイテム */
.faq__item {
    background: #ffffff;
    border-radius: 36px;
    margin-bottom: 45px;
    border: 1px solid #2C2620;
    font-family: var(--font-serif);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 40px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    position: relative;
    font-family: var(--font-serif);
}

/* Qアイコン */
.faq__q-icon {
    flex: none;
    width: 53px;
    height: 53px;
    background: #2F2A26;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-right: 38px;
    padding-bottom: 7px;
}

.faq__q-text {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #1a2933;
}

/* 右側のトグルアイコン（ベースの横棒） */
.faq__toggle-icon {
    flex: none;
    width: 20px;
    height: 2px;
    background: #1a2933;
    position: relative;
    transition: transform 0.3s;
}

/* 縦棒（プラスにするための線） */
.faq__toggle-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* 親と同じ色を使用 */
    transform: rotate(90deg); /* 90度回転させて縦棒にする */
    transition: transform 0.3s ease; /* アニメーションの設定 */
}

/* 親要素（.js-faq-itemなど）に .is-open がついた時の挙動 */
.is-open .faq__toggle-icon::before {
    transform: rotate(0deg); /* 0度に戻して横棒と重ねる（＝マイナスに見える） */
}

/* オプション：全体を少し回転させたい場合（お好みで） */
.is-open .faq__toggle-icon {
    transform: rotate(180deg);
}

/* 回答エリア */
.faq__answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-serif);
}

.faq__a-inner {
    padding: 0 40px 35px;
}

.faq__divider {
    border-top: 1px dashed #ccc;
    margin-bottom: 25px;
}

.faq__a-content {
    display: flex;
    align-items: center;
}

.faq__a-label {
    flex: none;
    font-size: 32px;
    font-weight: 700;
    color: #2F2A26;
    margin-right: 60px;
    line-height: 1.2;
}

.faq__a-text {
    font-size: 20px;
    line-height: 1.8;
    color: #2F2A26;
}





/* ==========================================================================
   Company List Section - Shizuoka Green Ver.
   ========================================================================== */

.company-list {
    padding: 70px 0 150px;
}

.company-list__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* タイトル装飾（枠＋角の正方形） */
.company-list__header {
    margin: 0 auto 80px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}




.company-list__header-area {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 2;
}
.company-list__header-area::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 263px;
    height: 65px;
    background: url(../images/fukidashi.webp) no-repeat;
    background-size: 100% 100%;
    z-index: -1;
}

.company-list__header-title {
    font-size: 40px;
    font-weight: 700;
    margin-top: 20px;
    color: #3A3A3A;
    font-family: var(--font-serif);
}
.company-list__header-title .num{
    font-size: 48px;
}
.company-list__header-title .sya{
    font-size: 32px;
}

/* グリッドレイアウト */
.company-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* カードスタイル */
.company-card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
    font-family: var(--font-serif);
}

/* 4件目以降を隠す用クラス */
.company-card.is-hidden {
    display: none;
}

.company-card__header {
    background-color: #1F2937;
    padding: 15px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-card__name {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.company-card__body {
    padding: 30px 25px;
    flex-grow: 1;
}

.company-card__info {
    margin-bottom: 25px;
}

/* グレーのラベルボックス */
.company-card__label {
    display: inline-block;
    background-color: #1F2937;
    color: #fff;
    font-size: 14px;
    padding: 4px 12px;
    margin-bottom: 10px;
}

.company-card__text {
    font-size: 16px;
    line-height: 1.6;
    color: #2C2620;
    margin: 0;
}

.company-card__text a {
    color: inherit;
    text-decoration: none;
}

/* 地図エリア */
.company-card__map {
    margin: 30px 0;
}

/* オレンジボタン */
.company-card__btn-orange {
    background: #EBA793;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    border-radius: 27px;
    font-size: 18px;
    font-weight: 700;
    gap: 15px;
    transition: background-color 0.3s;
    box-shadow: 3px 3px 0 #B47F6F;
}

.company-card__btn-orange:hover {
    background: #E58F75;
}

.company-card__btn-arrow {
    width: 24px;
    height: auto;
}

/* もっと見るボタン（下部中央） */
.company-list__more {
    text-align: center;
}

.company-list__more-btn {
    background: #EBA793;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    border-radius: 27px;
    font-size: 18px;
    font-weight: 700;
    gap: 15px;
    transition: background-color 0.3s;
    box-shadow: 3px 3px 0 #B47F6F;
    width: 384px;
    border: none;
    margin: 0 auto;
}

.company-list__more-btn:hover {
    opacity: 0.9;
}


/* ==========================================================================
   New Articles Section - Shizuoka Fuji Background
   ========================================================================== */

.new-posts {
    width: 100%;
    /* 背景画像設定：富士山の画像 */
    background:
                url(../images/bg_new-articles.webp) no-repeat center center;
    background-size: 100% 100%;
    padding: 60px 0 110px;
}

.new-posts__inner {
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ヘッダーエリア（アイコン＋タイトル） */
.new-posts__header {
    margin-bottom: 56px;
    display: flex;
    justify-content: center;
}

.new-posts__title-group {
    display: flex;
    align-items: center;
    flex-direction: column;
}



.new-posts__title {
    font-size: 64px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: var(--font-en-serif);
    line-height: 1;
}
.new-posts__en-title{
    font-size: 20px;
    color: #fff;
}

/* グリッドレイアウト */
.new-posts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* カード間の余白 */
}

/* カードスタイル */
.new-posts__card {
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-posts__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.new-posts__link {
    text-decoration: none;
    display: block;
    height: 100%;
}

/* サムネイルエリア */
.new-posts__thumb {
    width: 100%;
    aspect-ratio: 305 / 250; /* カンプの比率に合わせる */
    overflow: hidden;
    background-color: #D1D5DB; /* 画像がない時の背景色 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-posts__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.new-posts__card:hover .new-posts__thumb img {
    transform: scale(1.05);
}

.new-posts__no-image {
    color: #fff;
    font-size: 24px;
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

/* テキストエリア（下部白枠） */
.new-posts__body {
    padding: 20px 15px;
    min-height: 200px; /* テキスト量に関わらず高さを揃える */
}

.new-posts__card-title {
    font-size: 16px; /* カンプの「密集したテキスト」を再現 */
    line-height: 1.6;
    font-weight: 500;
    color: #333;
    margin: 0;
    font-family: "Zen Old Mincho", serif;
    /* 3行以上は省略する（モダンブラウザ対応） */
    display: -webkit-box;
    -webkit-line-clamp: 7; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}








/* ==========================================================================
   Fixed Right Elements - トップに戻るボタン & 追従バナー
   ========================================================================== */

.fixed-right-elements {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 9998;
    pointer-events: none;
}

/* トップに戻るボタン */
.scroll-to-top-btn {
    width: 50px;
    height: 50px;
    background-color: #D96C3A;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

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

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(12, 136, 173, 0.4);
}

.scroll-to-top-btn .top-text {
    color: #FFF;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.scroll-to-top-btn .top-arrow {
    width: 20px;
    height: 20px;
}

.scroll-to-top-btn .top-arrow path {
    stroke: #FFF;
}

/* 追従バナー */
.fixed-banner {
    position: relative;
    width: 408px;
    height: auto;
    aspect-ratio: 750/367;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    border-radius: 4px;
    overflow: visible;
    margin-top: 5px;
    pointer-events: none; 
}

.fixed-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto; 
}

.fixed-banner a {
    display: block;
    line-height: 0;
}
.fixed-banner a:hover{
    opacity: 0.8;
}


.fixed-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* バナー閉じるボタン */
.close-banner-btn {
    position: absolute;
    top: -4px;
    right: 0px;
    width: 24px;
    height: 24px;
    background-color: #333;
    border: 2px solid #FFF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: auto;
}

.close-banner-btn:hover {
    background-color: #B3292C;
    transform: scale(1.1);
}

.close-banner-btn svg {
    width: 10px;
    height: 10px;
}


/* ==========================================================================
   Footer Styling (Shizuoka Ver.) - Pixel Perfect Base
   ========================================================================== */

.site-footer {
    width: 100%;
    margin-top: 110px;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 1. コラムエリア --- */
.footer-columns {
    background-color: #E5E5DF;
    padding: 80px 0 120px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-columns__wrapper {
    display: flex;
    justify-content: center;
    gap: 230px;
}

.footer-columns__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #333;
}

.footer-columns__list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 320px;
}

.footer-columns__list li {
    margin-bottom: 12px;
}

.footer-columns__list a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.footer-columns__list a::before {
    content: ">";
    margin-right: 10px;
    font-size: 18px;
    color: #333;
}

.footer-columns__list a:hover {
    opacity: 0.7;
}

/* --- 2. 免責事項 --- */
.footer-disclaimer {
    padding: 100px 0 140px;
}

.footer-disclaimer__box {
    text-align: center;
    max-width: 1020px;
    margin: 0 auto;
    font-family: "Zen Old Mincho", serif;
}

.footer-disclaimer__box p {
    color: #3A3A3A;
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
}

/* --- 3. ボトムナビ --- */
.footer-bottom {
    background-color: #3A3A3A;
    padding: 55px 0 15px;
    color: #fff;
}

.footer-nav {
    margin-bottom: 15px;
}

.footer-nav__menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.footer-nav__menu li a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.footer-bottom__line {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 1);
    margin-bottom: 128px;
}

.footer-copyright {
    text-align: right;
    font-size: 11px;
    font-family: "Zen Old Mincho", serif;
    margin: 0;
}












/* ==========================================================================
   Area Column Grid (Archive Page)
   ========================================================================== */

.area-column-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.area-column-card {
    background: #FFF;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-column-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.area-column-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.area-column-card-link:hover {
    opacity: 1;
}

.area-column-card-image {
    width: 95%;
    aspect-ratio: 4 / 2;
    overflow: visible;
    background: #D9D9D9;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.area-column-card-image::before{
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #ACC7EE;
    content: "";
    height: 100%;
    position: absolute;
    z-index: -1;
    transform: translate(7px, 7px);
}

.area-column-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.area-column-card:hover .area-column-card-image img {
    transform: scale(1.05);
}

.area-column-card-content {
    padding: 15px;
}

.area-column-card-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.area-column-card-date {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    color: #666;
    display: block;
}

/* Pagination */
.area-column-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.area-column-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.area-column-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #333;
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.area-column-pagination .page-numbers:hover {
    background: #0A3077;
    color: #FFF;
    border-color: #0A3077;
    opacity: 1;
}

.area-column-pagination .page-numbers.current {
    background: #0A3077;
    color: #FFF;
    border-color: #0A3077;
}

.no-posts-message {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 60px 20px;
}

/* --- サイドバー全体 --- */
.company-intro-sidebar {
    width: 306px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.sidebar-widget {
    margin: 12px 0;
}

/* --- 検索バー & タグ --- */
.search-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}
.search-field {
    width: 100%;
    padding: 10px 45px 10px 20px;
    border: 1px solid #333;
    border-radius: 50px; /* 丸く */
    font-size: 16px;
}
.search-submit-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none; border: none; padding: 0;
}
.search-submit-icon img { width: 22px;}

/* --- ウィジェットタイトル (共通の丸い背景) --- */
.widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 12px;
    background: #ACC7EE;
    font-family: "Noto Sans JP", sans-serif;
}
/* --- コンテンツ一覧ボタン --- */
.sidebar-btn-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sidebar-btn-card {
    display: flex;
    align-items: center;
    border: 1px solid #1F4A6E;
    padding: 9px 27px 8px 16px;
    text-decoration: none;
    color: #03234E;
    font-weight: bold;
    font-size: 16px;
    background: #fff;
    justify-content: flex-start;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
    font-family: "Noto Sans JP", sans-serif;
}
.sidebar-btn-card:hover {
    background-color: #f0f5ff; /* ほんのり青く */
    border-color: #03234E;     /* 枠線を少し濃く */
    box-shadow: 0 4px 10px rgba(66, 108, 182, 0.2); /* 影で浮遊感を出す */
    top: -2px; /* 少し上に浮かせる */
}

/* 矢印を動かす */
.sidebar-btn-card .btn-arrow {
    transition: transform 0.3s ease;
    margin-left: 0;
}

.sidebar-btn-card:hover .btn-arrow {
    transform: translateX(5px); /* 右に5px移動 */
}


.sidebar-btn-card .btn-icon { width: 48px; flex-shrink: 0; }
.sidebar-btn-card .btn-arrow { width: 8px; }

/* --- 記事リスト (横並び) --- */
.side-article-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}
.side-article-item a {
    display: flex;
    text-decoration: none;
    gap: 8px;
    font-family: "Noto Sans JP", sans-serif;
}
.side-article-thumb {
    width: 102px;
    height: 61px;
    flex-shrink: 0;
    position: relative;
    background: #E0E0E0; /* 画像ない時用 */
}
.side-article-thumb img { width: 100%; height: 100%; object-fit: cover; }

.side-article-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.side-article-title {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.side-article-date {
    font-size: 12px;
    color: #A5A5A5;
    margin-top: 2px;
}

/* --- ランキング順位 --- */
.rank-num {
    position: absolute;
    top: -5px;
    left: -8px;
    background: #000;
    color: #fff;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* ==========================================================================
   Area Column Single Page
   ========================================================================== */

.area-column-article {
    margin-bottom: 60px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header .article-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: block;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
}

/* より詳細度の高いセレクタで確実に適用 */
.area-column-article .article-header .article-title {
    display: block;
    overflow: visible;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.article-category-tag {
    display: inline-block;
    background: #ACC7EE;
    color: #FFF;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 4px;
}

.article-dates {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
}

.article-dates .article-published,
.article-dates .article-updated {
    margin-right: 15px;
}

.article-eyecatch {
    width: 100%;
    margin-bottom: 30px;
    background: #D9D9D9;
}

.article-eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0A3077;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0A3077;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px;
}

.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 25px 0 12px;
}

.article-content p {
    margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.article-content a {
    color: #0A3077;
    text-decoration: underline;
}

.article-content a:hover {
    opacity: 0.7;
}

.article-content blockquote {
    background: #F5F5F5;
    border-left: 4px solid #0A3077;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.article-areas {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.areas-label {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.area-tag {
    display: inline-block;
    background: #F5F5F5;
    color: #333;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.area-tag:hover {
    background: #E0E0E0;
    opacity: 1;
}

/* Related Articles */
.related-articles-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
}

.related-articles-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ==========================================================================
   Area Column Sidebar
   ========================================================================== */

.area-column-sidebar {
    width: 306px;
    flex-shrink: 0;
    padding: 0;
}

/* Sidebar Banner */
.sidebar-banner-widget {
    padding: 0;
    margin: 0;
}

.sidebar-banner-widget a {
    display: block;
    line-height: 0;
}

.sidebar-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Area Column Archive & Single Page
   ========================================================================== */

.company-archive-item {
    background-color: #ffffff;
    border: 2px solid #1B1B1B;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.08);
}
.company-archive-title {
    font-size: 22px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 15px 0;
    border-bottom: 2px dashed #ccc;
    padding-bottom: 15px;
    line-height: 1.5;
}
.company-archive-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 25px;
}
.company-archive-btn-area {
    display: flex;
    justify-content: flex-end;
}
.company-archive-btn-area .company-btn {
    display: inline-flex;
    align-items: center;
    background-color: #ACC7EE;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.3s;
}

.company-archive-btn-area .btn-arrow {
    width: 25px;
}
.area-column-archive,
.area-column-single {
    padding-bottom: 60px;
	margin-top: 10vw;
}

.area-column-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 20px 0;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #333;
}

.breadcrumb-nav a {
    color: #333;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
    opacity: 1;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #666;
}

.breadcrumb-current {
    color: #666;
}

/* Search Result Header */
.search-result-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.search-result-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.search-result-count {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.no-results-message {
    text-align: center;
    padding: 60px 20px;
}

.no-results-message h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.no-results-message p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}


/* Content Wrapper */
.area-column-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.area-column-main {
    flex: 1;
    min-width: 0;
}



/* ==========================================================================
   Useful Column Section (Top Page)
   ========================================================================== */

.useful-column-section {
    padding: 60px 20px 80px;
    width: 100%;
    max-width: 100%;
}

.useful-column-container {
    max-width: 1280px;
    margin: 0 auto;
}

.useful-column-title {
    color: #000;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    margin-bottom: 40px;
}

.useful-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.useful-column-grid .area-column-card.column-card-hidden {
    display: none;
}

.useful-column-grid .area-column-card.column-card-visible {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

.useful-column-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.useful-column-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #E63939;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 60px;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.useful-column-more-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    opacity: 1;
}

.useful-column-more-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.useful-column-more-btn .btn-icon svg {
    width: 24px;
    height: 24px;
}

.useful-column-empty {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 40px 20px;
}


/* ==========================================================================
Privacy Policy Page
========================================================================== */

.privacy-policy-page {
    background-color: #FFF;
    padding-bottom: 60px;
}

.privacy-policy-article {
    background: #FFF;
}

/* Page Header */
.policy-header {
    margin-bottom: 40px;
}

.policy-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFF;
    background: #0A3077;
    padding: 20px 30px;
    margin: 0;
    text-align: center;
    border-radius: 4px;
}

/* Introduction */
.policy-intro {
    background: #F8F9FA; */
    border-left: 4px solid #0A3077;
    padding: 25px 30px;
    margin-bottom: 40px;
    border-radius: 0 4px 4px 0;
}

.policy-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

/* Policy Sections */
.wp-block-group {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #E0E0E0;
}

.wp-block-group:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.policy h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0A3077;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #0A3077;
    line-height: 1.4;
}

.policy-section-content {
    padding-left: 5px;
}

.policy p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.9;
    margin: 0 0 15px 0;
}

.policy-section-content p:last-child {
    margin-bottom: 0;
}

.policy-section-content a {
    color: #0A3077;
    text-decoration: underline;
}

.policy-section-content a:hover {
    opacity: 0.7;
}

/* Subsection Title */
.policy-subsection-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
    padding: 8px 12px;
    background: #F5F5F5;
    border-radius: 4px;
    display: inline-block;
}

.policy-subsection-title:first-child {
    margin-top: 0;
}

/* Policy Note */
.policy-note {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 10px !important;
}

/* Footer */
.policy-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #0A3077;
    text-align: right;
}

.policy-updated {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}
.wp-block-navigation__container:only-child, .wp-block-page-list:only-child{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* ==========================================================================
   Sitemap Page
   ========================================================================== */

.sitemap-page {
    background-color: #FFF;
    padding-bottom: 60px;
}

.sitemap-article {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sitemap-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0A3077;
}

.sitemap-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0A3077;
    margin: 0;
}

.sitemap-intro {
    margin-bottom: 40px;
}

.sitemap-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.sitemap-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e0e0e0;
}

.sitemap-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sitemap-section-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0A3077;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #0A3077;
    line-height: 1.4;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wp-block-navigation__container:only-child, .wp-block-page-list:only-child{
    width: 100%;
}

.wp-block-navigation .wp-block-navigation-item {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 20px;
    width: 100%;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.wp-block-navigation .wp-block-navigation-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #0A3077;
    border-radius: 50%;
}

.wp-block-navigation .wp-block-navigation-item li a {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.wp-block-navigation .wp-block-navigation-item li a:hover {
    color: #0A3077;
    padding-left: 5px;
}

/* トップページ以外の、ブロックエディタで作った表に適用 */
body:not(.home) .wp-block-table {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* テーブル全体の基本設定 */
body:not(.home) .wp-block-table table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border: 2px solid #DAE7FF !important;
	margin-bottom: 30px;
}

/* 行の区切り線 */
body:not(.home) .wp-block-table tr {
  border-bottom: 1px solid #DAE7FF !important;
}

body:not(.home) .wp-block-table tr:last-child {
  border-bottom: none !important;
}
body:not(.home) .wp-block-table tr th:first-child,
body:not(.home) .wp-block-table tr td:first-child {
  background-color: #ACC7EE !important; /* 指定の緑色 */
  color: #fff !important;
  font-weight: bold;
  text-align: center;
  padding: 18px 24px;
  width: fit-content;
  white-space: nowrap;
  border: none !important;
}

body:not(.home) .wp-block-table tr td:not(:first-child) {
  padding: 18px 28px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  border: none !important;
  text-align: left;
  background-color: #fff; /* 背景を白に固定 */
}

/* リンクのスタイル（データ部分のみ） */
body:not(.home) .wp-block-table td:not(:first-child) a {
  color: #333;
  text-decoration: none;
}

body:not(.home) .wp-block-table td:not(:first-child) a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  /* 一番左のセル */
  body:not(.home) .wp-block-table tr th:first-child,
  body:not(.home) .wp-block-table tr td:first-child {
    width: 120px; /* 少し狭くする */
    padding: 12px 10px;
    font-size: 14px;
  }
  /* 二番目以降のセル */
  body:not(.home) .wp-block-table tr td:not(:first-child) {
    padding: 12px 15px;
    font-size: 14px;
  }
}