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

:root {
    --color-white: #FFFFFF;
    --color-black: #3C3C3C;
    --font-main: "Gothic A1", sans-serif;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #3C3C3C;
    background-color: #fff;
    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: #354935;
    height: 27px;
    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-brown{
    color: #fff;
    background-color: #F38D00;
    padding: 1px 5px;
    margin-right: 3px;
}

/* トップバーのリンクスタイル */
.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: 27px;
    z-index: 9998;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.header-container {
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    padding-left: 15px;
}
.header-left-text{
    height: 44px;
}
.header-left-text img{
    height: 100%;
    width: auto;
    object-fit: contain;
}
.header-right h2{
    display: flex;
    align-items: center;
    height: 60px;
}
.header-right h2 img{
    width: auto;
    height: 100%;
}
.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;
}

.main-navigation ul li a {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    padding: 20px 30px;
    display: flex;
    line-height: 1.3;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    flex-direction: column;
}
.main-navigation ul li a::before{
    width: 1px;
    height: 40px;
    background-color: #6D706D;
    position: absolute;
    content: "";
    left: 0;
}



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

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

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

body.admin-bar #page {
    padding-top: 119px; /* 管理バー(32px) + トップバー(27px) + ヘッダー(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: #F38D00;
    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: linear-gradient(90deg, #615A50 0%, #C7B8A3 100%);
    color: #fff;
    border: none;
    width: 300px;
    height: 56px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.3s;
    position: relative;
    box-shadow:  1px 3px 0px #BAB3A9;
    position: relative;
}
.btn::after {
    content: "";
    background: url(../images/arrow_white.svg) no-repeat;
    background-size: contain;
    width: 24px;
    height: 16px;
    position: absolute;
    right: 24px;
}
.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.btn.--white{
    background: #F9F9F9;
    color: #615A50;
    box-shadow:  1px 3px 0px #919191;
}
.btn.--white::after{
    background: url(../images/arrow_gray.svg) no-repeat;
    background-size: contain;
}


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

.fv {
    width: 100vw;
    aspect-ratio: 1300 / 706;
    background: url(../images/mv_pc.webp) no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: var(--color-main);
}

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

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

.fv__title-serif {
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    margin: 0;
    font-size: 4.9vw;
    line-height: 1;
    color: #354935;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 1);
}

/* 屋根エリア */
.fv__lead {
    margin-bottom: 1.5vw;
}

.fv__roof-wrapper {
    position: relative;
    display: inline-block;
    text-align: center;
}

.fv__roof-icon {
    height: auto;
    display: block;
    width: 20.769vw;
    margin: 0 auto;
}

.fv__area-text {
    white-space: nowrap;
    font-size: 1.54vw;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 2px rgba(255, 255, 255, 1);
}

/* サブコピー白枠 */
.fv__sub-box {
    display: inline-block;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #000000;
    padding: 0 1.5vw;
    color: #354935;
    width: 51.77vw;
    text-align: center;
}

.fv__sub-text {
    font-size: 1.846vw; /* 24px */
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
    color: #354935;
}

.fv__num {
    font-size: 2.5vw;
    margin: 0 0.2vw;
}

/* メインガイドタイトル */
.fv__main-title {
    font-size: 3.7vw;
    line-height: 1.2;
    font-weight: 700;
}


/* ==========================================================================
   INDEX Section - Fixed Pixel Layout
   ========================================================================== */

.nav-index {
    width: 100%;
    background-color: #354935;
    padding: 22px 0;
}

.nav-index__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-index__list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-index__item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-index__item:last-child {
    border-right: none;
}

.nav-index__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    width: 100%;
    height: 100%;
    padding: 10px;
    position: relative;
    transition: background-color 0.3s ease;
}

/* ホバー時の挙動 */
.nav-index__link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 小さなエリアテキスト */
.nav-index__area {
    display: block;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
}

/* メインラベル */
.nav-index__label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.nav-index__line {
    position: absolute;
    bottom: 0px;
    right: 25px;
    width: 54px;
}


/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    width: 100%;
    background-color: #fff;
    padding: 55px 0 60px;
}

.about__inner {
    max-width: 1130px;
    margin: 0 auto;
    padding: 0 40px;
}

.about__flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 28px;
}

/* 左側テキスト */
.about__text-content {
    flex: 1;
}


.about__quotes p {
    font-size: 16px;
    line-height: 1.8;
    color: #6D706D;
    margin-bottom: 5px;
}

.about__description p {
    font-size: 16px;
    line-height: 1.8;
    color: #6D706D;
    margin-bottom: 25px;
}

.about__description p:last-child {
    margin-bottom: 0;
}

/* 右側画像 */
.about__image-wrap {
    width: 434px;
    flex-shrink: 0;
}

.about__image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* 下部CTAボタン */
.about__cta {
    text-align: center;
}

.about__btn {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: #615A50; 
    color: #fff;
    text-decoration: none;
    padding: 25px 40px;
    font-size: 24px;
    font-weight: 400;
    width: 610px;
    line-height: 1.4;
    text-align: center;
    transition: opacity 0.3s, transform 0.3s;
    font-family: var(--font-gothic);
}
.about__btn .txt-small{
    font-size: 22px;
}
.about__btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}






/* ==========================================================================
   Comparison Table Section
   ========================================================================== */

.comp-table {
    background-color: #F3F1EB;
    padding: 52px 0 94px;
}

.comp-table__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダーデザイン */
.comp-table__header {
    text-align: center;
    margin-bottom: 45px;
}

.comp-table__bubble {
    display: inline-block;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 700;
    position: relative;
    margin-bottom: 40px;
    color: #6D706D;
    z-index: 5;
}
.comp-table__bubble span{
    font-size: 28px;
    color: #354935;
}

/* 吹き出しのシッポを疑似要素で */
.comp-table__bubble::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 487px;
    height: 100px;
    background: url(../images/fukidashi.webp) no-repeat center;
    background-size: contain;
    z-index: -1;
}

.comp-table__main-title {
    font-size: 36px;
    line-height: 1;
    color: #354935;
}

.comp-table__num {
    font-size: 64px;
    margin: 0 5px;
}

/* 横スクロール制御 */
.comp-table__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comp-table__container {
    min-width: 1138px;
    display: flex;
    flex-direction: column;
}

/* 行の定義 */
.comp-table__row {
    display: flex;
}

/* 各セルの幅定義 */
.comp-table__label {
    width: 164px; /* 左側ラベル */
    background-color: #FBFAFA;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    border-bottom: 1px solid #6D706D;
}

.comp-table__cell {
    flex: 1;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comp-table__cell:last-child {
    border-right: none;
}

.comp-table__label.--empty {
    background-color: transparent;
    border-bottom: none;
}

/* 二重線のキャッチコピー */
.comp-table__catch-box {
    border: 5px double #A98402;
    padding: 23px 9px;
    text-align: center;
    width: 100%;
    height: 100%;
    background: #fff;
}

.comp-table__catch-box strong {
    display: block;
    font-size: 20px;
    color: #354935;
    margin-bottom: 7px;
}

.comp-table__catch-box p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* 緑の社名ヘッダー */
.comp-table__cell.--green {
    background-color: #354935;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    padding: 50px 0px;
    justify-content: center;
}
.comp-table__cell.--green span{
    font-size: 24px;
}

.comp-table__cell.--data{
    background-color: #fff;
    padding: 20px 13px 13px;
    border: 1px solid #6D706D;
    justify-content: flex-start;
}
/* 記号・スコア */
.comp-table__symbol {
    font-size: 32px;
    color: #F38D00;
    font-weight: 700;
    margin-bottom: 20px;
}

.comp-table__cell.--score {
    font-size: 32px;
    color: #F38D00;
    font-weight: 700;
    background-color: #fff;
    min-height: 150px;
    border: 1px solid #6D706D;
}

.comp-table__cell p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* 画像と引用元 */
.comp-table__cell.--img img {
    width: 100%;
    object-fit: cover;
}

.comp-table__cite {
    text-align: right;
    font-size: 13px;
    color: #fff;
    background-color: #384634;
    padding: 8px;
    width: 100%;
    position: relative;
    z-index: 1;
    text-decoration: underline;
}

/* ボタン */
.comp-table__cell.--btn-cell {
    gap: 20px;
    background-color: #F3F1EB;
    border: none;
    padding: 30px 0 10px 0;
}


/* ==========================================================================
   Points Section - Custom Zig-zag Layout
   ========================================================================== */

.points {
    padding: 100px 0 220px;
    background-color: #fff;
}

.points__inner {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.points__header {
    text-align: center;
    margin-bottom: 40px;
}

.points__lead {
    font-size: 24px;
    font-weight: 700;
}

.points__main-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.points__main-title-num {
    font-size: 64px;
}

.points__header-line {
    margin-top: 15px;
}

.points__header-line img {
    width: 755px;
    height: auto;
}

/* リスト共通 */
.points__list {
    display: flex;
    flex-direction: column;
    gap: 80px; /* 各アイテム間の余白 */
}

.points__item {
    width: 100%;
}

/* 数字とタイトル */
.points__item-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
}

.points__item-title .num {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #FFBF77;
    line-height: 1;
}

/* コンテンツエリア（フレックス） */
.points__content {
    display: flex;
    align-items: flex-start;
}

/* グレーのテキストボックス */
.points__text-box {
    flex: 1;
    background-color: #F9F9F9;
    padding: 23px 50px;
    position: relative;
    /* 画像を「上」にするため、ボックスは z-index: 1 */
    z-index: 1;
}

/* 共通の疑似要素（70pxの突き出し背景） */
.points__text-box::after {
    content: "";
    position: absolute;
    top: 0;
    width: 70px; /* 指定の 70px */
    height: 100%;
    background-color: #F9F9F9;
    /* テキストボックスの背景と同じ階層（画像より下） */
    z-index: -1;
}
.points__text-box h4{
    font-size: 20px;
    margin-bottom: 20px;
}

/* 画像エリア */
.points__image {
    width: 400px;
    flex-shrink: 0;
    position: relative;
    /* テキストボックスの突き出し背景より「上」にくるように z-index: 2 */
    z-index: 2;
}

/* -----------------------------------------------------------
   奇数・偶数別の個別調整
   ----------------------------------------------------------- */

/* 奇数番目 (1, 3): テキスト左、画像右、突き出しは右側 */
.points__item:nth-child(odd) .points__content {
    flex-direction: row;
}

.points__item:nth-child(odd) .points__text-box::after {
    right: -70px; /* 右側に突き出す */
}

.points__item:nth-child(odd) .points__image {
    margin-top: 80px;
}

/* 偶数番目 (2, 4): テキスト右、画像左、突き出しは左側 */
.points__item:nth-child(even) .points__content {
    flex-direction: row-reverse;
}

.points__item:nth-child(even) .points__text-box::after {
    left: -70px; /* 左側に突き出す */
}

.points__item:nth-child(even) .point__text-box-wrapper {
    margin-top: 20px;
}






/* ==========================================================================
   Introduction Header (Framed Design)
   ========================================================================== */

.introduction-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.intro-header {
    max-width: 800px; /* カンプのバランスに合わせて調整 */
    margin: 0 auto 80px; /* 下のコンテンツとの余白 */
    text-align: center;
}

.intro-header__box {
    border: 1px solid #333;
    padding: 35px 20px;
    position: relative; /* 疑似要素の起点 */
}

/* 左上の緑スクエア */
.intro-header__box::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background-color: #384634; /* 深緑 */
}

/* 右下の緑スクエア */
.intro-header__box::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background-color: #384634;
}

.intro-header__sub {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.intro-header__main {
    font-size: 34px;
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: 0.05em;
}

/* レスポンシブ：スマホ表示時の調整 */
@media screen and (max-width: 768px) {
    .intro-header__box {
        padding: 25px 15px;
    }
    .intro-header__box::before,
    .intro-header__box::after {
        width: 30px;
        height: 30px;
        top: -15px;
        left: -15px;
    }
    .intro-header__box::after {
        bottom: -15px;
        right: -15px;
        top: auto;
        left: auto;
    }
    .intro-header__sub {
        font-size: 16px;
    }
    .intro-header__main {
        font-size: 22px;
    }
}
/* ==========================================================================
   Introduction Detail - Shizuoka Nets Design
   ========================================================================== */

.intro-detail {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 100px 0 200px;
    color: #fff;
    overflow: hidden; /* 突き刺さるラインのはみ出し防止 */
}

.intro-detail__inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 会社名タイトル（左右に線） */
.intro-detail__header {
    text-align: center;
    margin-bottom: 38px;
}

.intro-detail__company-name {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
}
.title-block{
    display: block;
}
.intro-detail__company-name span {
    font-size: 40px;
}

.intro-detail__company-name::before,
.intro-detail__company-name::after {
    content: "";
    width: 170px;
    height: 1px;
    background-color: #fff;
}

/* メイン画像（会社別クラス対応） */
.intro-detail__main-img {
    margin: 0 auto 40px;
    text-align: center;
    position: relative;
}

.intro-detail__main-img--nets {
    width: 868px;
}
.intro-detail__main-img--homes{
    width: 769px;
}
.intro-detail__main-img--ichijo{
    width: 798px;
}

.intro-detail__main-img img {
    width: 100%;
    height: auto;
}

.intro-detail__citation {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 14px;
    color: #fff;
    text-decoration: underline;
}

/* 特徴と強みのタイトルエリア（突き刺さるライン） */
.intro-detail__sub-header {
    position: relative;
    margin-bottom: 60px;
    padding-left: 55px;
}

.intro-detail__sub-header-line {
    position: absolute;
    left: -950px; /* 画面左端から伸ばす */
    top: 50%;
    width: 1060px; /* 見出しボックスの左端まで */
    height: 1px;
    background-color: #fff;
}

.intro-detail__sub-header-box {
    display: inline-block;
    border: 1px solid #fff;
    padding: 17px 22px 17px 75px;
    background: transparent;
}

.intro-detail__sub-header-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.--gray .intro-detail__sub-header-line {
    position: absolute;
    left: -950px; /* 画面左端から伸ばす */
    top: 50%;
    width: 1060px; /* 見出しボックスの左端まで */
    height: 1px;
    background-color: #6D706D;
}

.--gray .intro-detail__sub-header-box {
    display: inline-block;
    border: 1px solid #6D706D;
    padding: 17px 22px 17px 75px;
    background: transparent;
}

/* カードエリア */
.intro-detail__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.intro-detail__card {
    position: relative;
    padding-top: 36px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* テープ部分 */
.intro-detail__tape {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 242px;
    height: 70px;
    background: rgba(205, 201, 174, 0.85); /* CDC9AE 85% */
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.intro-detail__card-content {
    background-color: #fff;
    padding: 44px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.intro-detail__card-header {
    margin-bottom: 15px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    font-weight: bold;
}
.intro-detail__card-header p{
    display: inline-block;
    background-color: #5D564B;
    padding: 5px;
    color: #fff;
    font-size: 17px;
    width: fit-content;
}

.intro-detail__card-img {
    margin: 0 auto 16px;
}

.intro-detail__card-img img {
    width: 300px;
	aspect-ratio: 300 / 180;
	height: auto;
	object-fit: cover;
}

.intro-detail__card-text {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    color: #6D706D;
    padding: 0 25px;
}



/* ==========================================================================
   Introduction Recommend Area - Shizuoka Nets Design
   ========================================================================== */

/* 親セクションにこれを追加（文字をはみ出させるため） */
.intro-detail {
    overflow: visible !important; 
    position: relative;
}

.intro-detail__recommend {
    margin-top: 100px;
    position: relative;
}

/* 白いボックス */
.intro-detail__recommend-box {
    background-color: #fff;
    padding: 40px 107px;
    max-width: 1100px;
    margin: 0 auto 60px;
    position: relative;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* 斜めのテープ (41.5度) */
.intro-detail__recommend-tape {
    position: absolute;
    top: 20px;
    left: -45px;
    width: 200px;
    height: 50px;
    background: rgba(205, 201, 174, 0.85); /* CDC9AE 85% */
    transform: rotate(-41.5deg); /* 指示：41.5度 */
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* 葉っぱ付き見出し */
.intro-detail__recommend-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 33px;
}

.leaf-icon {
    width: 80px;
    height: auto;
}

/* リスト部分 */
.intro-detail__recommend-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 46px;
    list-style: none;
}

.intro-detail__recommend-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommend-icon {
    width: 80px; /* 緑の背景込みの画像サイズ */
    flex-shrink: 0;
}

.recommend-icon img {
    width: 100%;
}

.intro-detail__recommend-list p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-weight: 700;
}

.intro-detail__recommend-actions {
    display: flex;
    justify-content: center;
    gap: 80px;
    position: relative;
    z-index: 10;
}








/* ==========================================================================
   Works Section V2 (Static Gallery)
   ========================================================================== */

.works-v2 {
    background-color: #fff;
    padding: 188px 0 150px;
    position: relative;
}
.intro-detail__floating-name {
    position: absolute;
    top: -0.5em; /* 半分はみ出させる */
    right: 76px;
    font-family: 'Domine', serif; /* 指示：Domine */
    font-size: 96px;
    font-weight: 400;
    color: rgba(255, 191, 119, 0.5); /* FFBF77 50% */
    line-height: 1;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none; /* 下の要素の邪魔をしない */
}
.works-v2__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.works-v2__list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.works-v2__item {
    width: 100%;
    position: relative;
    border: 1px solid #6D706D;
    padding: 50px 15px 18px;
    margin-right: 52px;
}

.works-v2__flex {
    display: flex;
    gap: 10px;
}

/* メイン画像 */
.works-v2__main {
    flex: 1.2; /* メインを少し広く */
}

.works-v2__main img {
    width: 100%;
    object-fit: cover;
    display: block;
    z-index: 7;
    position: relative;
    aspect-ratio: 613 / 438;
}

/* サムネイルエリア */
.works-v2__sub {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 装飾画像 (WORK 01 + 線) */
.works-v2__badge {
    position: absolute;
    top: -80px; /* 線が突き出るように調整 */
    left: -130px;
    width: 500px;
    z-index: 5;
    pointer-events: none;
}

.works-v2__badge img {
    width: 100%;
}

.works-v2__thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: auto; /* 下に寄せる */
}

.works-v2__thumbs img {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s;
    aspect-ratio: 264 / 164;
}

.works-v2__thumbs img:hover {
    opacity: 0.7;
}

/* 引用元リンク */
.works-v2__citation {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #6D706D;
    margin-top: 10px;
    text-decoration: underline;
}

/* 反転レイアウト (WORK 02用) */
.works-v2__item--reverse {
    margin-right: 0;
    margin-left: 52px;
}
.works-v2__item--reverse .works-v2__flex {
    flex-direction: row-reverse;
}

.works-v2__item--reverse .works-v2__badge {
    left: auto;
    right: -130px;
}

/* 下部ボタン */
.works-v2__actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}




/* ==========================================================================
   Review Section - Nets Design Ver.
   ========================================================================== */

.review {
    background-color: #BAB3A9;
    padding: 100px 0;
}

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

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

/* カードスタイル */
.review__card {
    background-color: #fff;
    border-radius: 53px;
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.review__catch {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: #848181;
    text-align: left;
    margin-bottom: 44px;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.review__icon {
    width: 205px;
    margin-bottom: 28px;
}

.review__icon img {
    width: 100%;
}

.review__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
}

.review__stars {
    color: #FFBF77;
    font-size: 36px;
    letter-spacing: 0.1em;
}

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

.review__body {
    font-size: 20px;
    line-height: 1.8;
    color: #848181;
    margin-bottom: 11px;
    flex-grow: 1; /* 内容量が変わっても高さを揃える */
}

.review__body p {
    margin-bottom: 15px;
}

.review__body p:last-child {
    margin-bottom: 0;
}

/* 引用元（target="_blank"用） */
.review__footer {
    width: 100%;
}

.review__cite {
    font-size: 13px;
    color: #7B7979;
    text-decoration: underline;
    display: block;
    word-break: break-all;
    transition: opacity 0.3s;
    text-align: right;
}

.review__cite:hover {
    opacity: 0.7;
}

/* アクションボタン */
.review__actions {
    display: flex;
    justify-content: center;
    gap: 80px;
}


/* ==========================================================================
   Company Profile Section
   ========================================================================== */

.profile {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 100px 0 110px;
    position: relative;
}

.profile__inner {
    max-width: 1053px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2カラムレイアウト */
.profile__content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 上下中央揃え */
    gap: 47px;
    margin-bottom: 60px;
}

/* 会社情報テーブル */
.profile__table-wrap {
    flex: 1;
}

.profile__table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

.profile__table th,
.profile__table td {
    padding: 12px 22px;
    font-size: 12px;
    line-height: 1.4;
}

.profile__table th {
    background-color: #354935;
    color: #fff;
    width: 35%;
    text-align: center;
    font-weight: 700;
    border-bottom: 1px solid #fff;
}

.profile__table td {
    color: #333;
    text-align: left;
    border-bottom: 1px solid #C9C9C9;
}

.profile__table td a {
    color: #333;
    text-decoration: underline;
}

/* マップ */
.profile__map {
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile__map iframe {
    display: block;
    width: 100%;
}

/* アクションボタン */
.profile__actions {
    display: flex;
    justify-content: center;
    gap: 80px;
}









/* ==========================================================================
   FAQ Section - Accordion Design
   ========================================================================== */

.faq {
    background-color: #354935;
    padding: 100px 0;
}

.faq__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダータイトル */
.faq__header {
    text-align: center;
    margin-bottom: 40px;
}

.faq__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    gap: 15px;
    font-family: var(--font-gothic);
}

.faq__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
}

/* アコーディオンアイテム */
.faq__accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq__item {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 質問部分（ボタン） */
.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 40px 60px 46px 46px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.faq__q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 53px;
    height: 53px;
    background-color: #615A50; /* アイコン背景色 */
    color: #fff;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 700;
    margin-right: 25px;
    font-family: "Domine", serif;
}

.faq__q-text {
    font-size: 20px;
    font-weight: 700;
    color: #6D706D;
    margin: 0;
    flex-grow: 1;
    padding-right: 10px;
    font-family: "Zen Maru Gothic", sans-serif;
}

/* トグルアイコン（プラス/マイナス） */
.faq__toggle-icon {
    position: absolute;
    right: 40px;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: transform 0.3s;
}

.faq__toggle-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    transform: rotate(90deg);
    transition: opacity 0.3s;
}

/* 開いている時のスタイル */
.faq__item.is-open .faq__toggle-icon::before {
    opacity: 0; /* プラスがマイナスに変化 */
}

/* 区切り線（ドット） */
.faq__divider {
    margin: 0 40px;
    border-top: 1px dashed #ccc;
}

/* 回答部分 */
/* js-faq-answer はJSで高さを制御するため初期値は height: 0 */
.faq__answer {
    height: 0;
    overflow: hidden;
    /* transitionはHTMLに直書きするか、こちらで指定 */
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 開いている時のアイコンの向き（プラス→マイナス） */
.faq__item.is-open .faq__toggle-icon::before {
    transform: rotate(0deg);
    opacity: 0;
}

/* QアイコンとAラベルの垂直ラインを合わせるための微調整 */
.faq__a-inner {
    padding-bottom: 10px;
}

.faq__a-content {
    padding: 20px 46px 46px 60px; /* Qアイコンの幅に合わせて調整 */
    display: flex;
    gap: 15px;
    position: relative;
}

/* デザイン上の "A." ラベル */
.faq__a-label {
    font-size: 32px;
    font-weight: 700;
    color: #615A50;
    line-height: 1;
    margin-top: -4px;
    font-family: "Domine", serif;
}

.faq__a-text {
    font-size: 20px;
    line-height: 1.8;
    color: #6D706D;
    margin: 0;
    font-family: "Zen Maru Gothic", sans-serif;
}



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

.company-list {
    padding: 85px 0 150px;
    background-color: #fff;
}

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

/* タイトル装飾（枠＋角の正方形） */
.company-list__header {
    max-width: 700px;
    margin: 0 auto 80px;
    padding: 30px 20px;
    border: 1px solid #333;
    position: relative;
    text-align: center;
}

/* 左上の緑の角 */
.company-list__header::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 46px;
    height: 42px;
    background-color: #37593F;
}

/* 右下の緑の角 */
.company-list__header::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 46px;
    height: 42px;
    background-color: #37593F;
}

.company-list__header-area {
    font-size: 20px;
    font-weight: 700;
    color: #6D706D;
    margin-bottom: 10px;
}

.company-list__header-title {
    font-size: 32px;
    font-weight: 700;
    color: #6D706D;
    margin: 0;
    letter-spacing: 0.05em;
}

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

/* カードスタイル */
.company-card {
    background-color: #fff;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

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

.company-card__header {
    background-color: #354935;
    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: #6D706D;
    color: #fff;
    font-size: 14px;
    padding: 4px 12px;
    margin-bottom: 10px;
}

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

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

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

/* オレンジボタン */
.company-card__btn-orange {
    background: #F38D00;
    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;
}

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

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

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

.company-list__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #615A50; /* カンプのグレーブラウン */
    color: #fff;
    border: none;
    height: 60px;
    padding: 0 60px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    gap: 20px;
    transition: opacity 0.3s;
    width: 384px;
    position: relative;
}

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

.company-list__more-arrow {
    width: 24px;
    position: absolute;
    right: 50px;
}


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

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

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

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

.new-posts__title-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.new-posts__icon {
    width: 84px; /* カンプの比率に合わせて調整 */
    height: auto;
}

.new-posts__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* グリッドレイアウト */
.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: #26221d; /* 画像がない時の背景色 */
    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: #F38D00;
    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: 160px;
}

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

/* --- 1. コラムエリア --- */
.footer-columns {
    background-color: #EFEFED;
    padding: 80px 0 120px;
}

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

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

.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 {
    background-color: #fff; /* 上下の背景の隙間 */
    padding: 80px 0;
}

.footer-disclaimer__box {
    background-color: #2C2620;
    padding: 25px 20px;
    text-align: center;
    max-width: 1020px;
    margin: 0 auto;
    font-family: "Zen Old Mincho", serif;
}

.footer-disclaimer__box p {
    color: #fff;
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
}

/* --- 3. ボトムナビ --- */
.footer-bottom {
    background-color: #354935;
    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: "Zen Old Mincho", 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;
  }
}