@charset "utf-8";
/*
Theme Name: SOLARIS child
Theme URI:https://tcd-theme.com/tcd088
Description:WordPressテーマ「SOLARIS」の子テーマ
Template:solaris_tcd088
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/* ------------------------------------------
　共通
------------------------------------------　*/
:root {
    --bg-color: #ffffff;
    --bg-gray: #f4f4f4; /* セクション区切り用 */
    --text-color: #333333;
    --accent-cyan: #00aeef;
    --accent-magenta: #ec008c;
    --accent-yellow: #e6d900;
    --border-color: #dddddd;
    --base-font-size: 1.6rem;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    font-size: 62.5%; /* 基準を10pxにする */
    overflow-x: hidden;
}

body {
    font-size: var(--base-font-size);
    overflow-x: hidden;
}
h2 {
    font-size: 2.8rem;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 10px;
}
h3 {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 10px;
}
h4 {
    font-size: 2.4rem;
    border-bottom: 2px solid var(--accent-cyan);
    display: inline-block;
    margin-bottom: 10px;
    color: #000;
}
p,
th,
td,
button,
input {
    font-size: var(--base-font-size);
    line-height: 1.8;
}
img {
    width: 100%;
}
.flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
#main_col {
    width: 100% !important;
}
#main_contents {
    width: auto;
    padding: 0 !important;
    display: block;
}
.container {
    max-width: 1200px;
    padding: 0 2%;
    margin-left: auto;
    margin-right: auto;
}
.img-placeholder {
    background-color: #e0e0e0; /* 明るいグレー */
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    text-align: center;
    font-size: 0.9rem;
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
    background: #f0f0f0;
    z-index: 1;
}
.img-placeholder:hover img {
    transform: scale(1.05); /* 拡大率を少し抑えると上品になります */
}
.img-placeholder span {
    display: block;
    color: var(--accent-cyan); /* アクセントはそのまま */
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.full-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* ★ここが重要：隙間なく埋める */
    z-index: 1; /* テキストより上に表示 */
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.top-concept-item:hover .full-img {
    transform: scale(1.05);
}
.placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
    text-align: center;
}
.img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-size: 0.9rem;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.img-box img {
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-box span {
    color: var(--accent-cyan);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
/* 1080P対応 */
@media screen and (min-width: 1201px) {
    p,
    th,
    td,
    button,
    input {
        font-size: 1.8rem;
        line-height: 1.8;
    }
}

/* タブレット対応 */
@media screen and (max-width: 835px) {
    p,
    th,
    td,
    button,
    input {
        font-size: 1.4rem;
        line-height: 1.8;
    }
}
/* ------------------------------------------
ヘッダー
------------------------------------------　*/
#header_logo .logo_text {
    font-size: 1.6rem !important;
}
#header_logo a {
    background: none !important;
}
body.home #header #header_logo .logo_text {
    color: #ffffff !important;
}
body.home #header.active #header_logo .logo_text {
    color: #000 !important;
}
body.home #header.active .site-text-logo {
    color: #000 !important;
}
.page-header {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: #000;
}
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.page-header-content {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    padding: 100px 20px;
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.cb_content:last-of-type {
    padding-bottom: 0;
}
#global_menu > ul > li > a {
    height: 60px;
    line-height: 60px;
}
#header_logo .logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    text-decoration: none;
}

#header_logo .custom-header-logo {
    height: auto;
    width: 35px;
    display: block;
}

.site-text-logo {
    color: white;
    white-space: nowrap;
    font-weight: 600;
}
#header:hover .site-text-logo {
    color: #000000; /* 文字を黒に */
}
body:not(.home) .site-text-logo {
    color: #000000;
}
body:not(.home) .site-text-logo:hover,
body:not(.home) .site-text-logo a:hover {
    color: #555 !important;
    transition: color 0.2s ease;
}
#custom_menu_close_btn {
    display: none; /* 初期状態は非表示 */
    position: fixed;
    top: 25px; /* 元のボタンのtop位置に合わせる */
    right: 25px; /* 元のボタンのright位置に合わせる */
    width: 30px;
    height: 30px;
    z-index: 9999; /* 全てのものより上に表示 */
    cursor: pointer;
}
#custom_menu_close_btn span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    top: 14px;
}
#custom_menu_close_btn span:nth-child(1) {
    transform: rotate(45deg);
}

#custom_menu_close_btn span:nth-child(2) {
    transform: rotate(-45deg);
}
.menu-open #custom_menu_close_btn {
    display: block;
}
.menu-open #global_menu_button {
    opacity: 0;
    pointer-events: none;
}
#global_menu ul ul {
    top: 60px;
}
/* 親要素(li)自体にマウスが乗ったら、背景を変える */
.menu-item-has-children:hover {
    transition: background-color 0.3s ease;
}

/* その時、中のボタンや文字の色も連動させる */
.menu-item-has-children:hover > a,
.menu-item-has-children:hover .child_menu_button {
    /* 必要ならここで色を微調整 */
}
/* ドロワーメニュー（メニュー全体）の基準設定 */
#drawer_menu {
    position: relative;
    padding-top: 0 !important;
}

/* navタグを基準にボタンを配置 */
#drawer_menu nav {
    position: relative;
    padding-top: 60px; /* ボタンを置くための大きな余白 */
}

/* 閉じるボタンのスタイル */
#custom_menu_close_btn {
    display: flex;
    position: absolute;
    top: 16px; /* navのpadding-topの中に収まる位置 */
    right: 8px;
    width: 44px;
    height: 44px;
    z-index: 99;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

/* ×印のデザイン */
#custom_menu_close_btn span {
    display: block;
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #fff;
}

/* ホバー時の演出（オプション） */
#custom_menu_close_btn:hover span {
    background-color: #ffdd00; /* 好きなアクセントカラーへ */
}
/* お知らせやメニュー項目（ulなど）の微調整 */
#mobile_menu {
    margin-top: 0;
}
#drawer_menu {
    display: block;
    position: fixed;
    top: 0 !important;
    right: 0 !important;
    width: 360px !important;
    height: 100% !important;
    opacity: 0 !important;
    background: #333;
    overflow: auto;
    z-index: -1 !important;
    -webkit-transition: opacity 300ms cubic-bezier(0.19, 1, 0.22, 1) !important;
    transition: opacity 300ms cubic-bezier(0.19, 1, 0.22, 1) !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-overflow-scrolling: touch;
}
/* メニューが開いた状態を強制的に表示させる */
html.open_menu #drawer_menu {
    opacity: 1 !important; /* 上端を 0 にして出現させる */
    visibility: visible !important; /* 表示する */
    z-index: 9999 !important;
}
@media screen and (min-width: 1201px) {
    #global_menu ul ul {
        top: 80px;
    }
    #global_menu > ul > li > a {
        height: 80px;
        line-height: 80px;
    }
}
@media screen and (min-width: 835px) {
    /* PCナビゲーションを表示 */
    #global_menu {
        display: block !important;
    }
    /* ハンバーガーボタンを隠す */
    #global_menu_button {
        display: none !important;
    }
}
/* 2. 1024px以下になったらスマホ表示に切り替える */
@media screen and (max-width: 834px) {
    /* PCナビゲーションを隠す */
    #global_menu {
        display: none !important;
    }
    /* ハンバーガーボタンを表示 */
    #global_menu_button {
        display: black !important;
    }
    body.admin-bar #drawer_menu {
        padding-top: 32px !important;
    }
}
@media screen and (max-width: 782px) {
    body.admin-bar #drawer_menu {
        padding-top: 46px !important;
    }
}
/* ------------------------------------------
フッター
------------------------------------------- */
.top-cta {
    position: relative;
    padding: 100px 0; /* 上下の余白 */
    overflow: hidden;
    color: #fff; /* 文字を白にする */
    text-align: center;
}
/* 背景画像の配置 */
.top-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.top-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 隙間なく埋める */
}

/* 文字を読みやすくするための半透明の黒い層 */
.top-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 40%の暗さ */
}
.top-cta .btn-outline {
    background: #fff;
    padding: 15px 40px;
    border: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.top-cta .btn-outline:hover {
    background: #333;
    color: white;
}
footer {
    background: #333;
    text-align: center;
    color: #aaa;
}
#copyright {
    line-height: normal;
    height: auto;
    border-top: none;
    padding: 80px 0;
    font-size: 1.2rem;
}
.top-cta .container h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: none;
    margin: 10px auto 0;
}
/* タブレット対応 */
@media screen and (max-width: 835px) {
    .top-cta h2 {
        font-size: 2.4rem;
    }
}
/* スマホ対応 */
@media screen and (max-width: 426px) {
    .top-cta h2 {
        font-size: 2rem;
    }
}

/* ------------------------------------------
トップページ
------------------------------------------- */
.custom-top-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}
.custom-top-section .container,
.tech-section .container {
    max-width: none !important;
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
    padding: 0 0 25px;
}
.container h2 {
    position: relative;
    margin-top: 10px;
}
.container h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 10px auto 0;
}
.tech-img {
    height: 420px;
}
.top-concept-grid {
    margin-top: 100px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0; /* 白背景なら隙間なしで綺麗に */
}
.top-concept-item {
    position: relative;
    height: 400px;
    overflow: hidden;
}
.top-concept-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    padding-right: 20px;
    /* 白背景用に見やすくする */
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    width: 80%;
}
.en-title {
    font-size: 3.2rem;
    display: block;
    margin-bottom: 10px;
    color: var(--accent-cyan);
}
/* セクション全体の背景と余白 */
.top-intro {
    background-color: #fff;
    padding: 80px 5%;
    text-align: center;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.top-intro-container {
    display: flex;
    flex-wrap: wrap; /* 100% + 100% の改行を許可 */
    max-width: 900px;
    margin: 0 auto;
}

/* タイトルエリア (100%) */
.top-intro-header {
    flex: 0 0 100%;
    margin-bottom: 40px;
}
/* 本文エリア (100%) */
.top-intro-body {
    flex: 0 0 100%;
}

.top-intro-body p {
    color: #333;
    margin-bottom: 24px;
}

/* ボタンエリア */
.top-intro-footer {
    margin-top: 40px;
}

.btn-top {
    display: inline-block;
    background-color: var(--accent-cyan); /* 画像に基づいた青色 */
    color: #fff;
    padding: 15px 80px;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px; /* 角丸 */
    box-shadow: 0 4px 0 #2d6686; /* ボタンの下の厚み */
    transition: all 0.3s ease;
}

.btn-top:hover {
    background-color: var(--accent-cyan);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2d6686;
}
.works .en-title {
    padding-top: 100px;
}
.tech-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    background: #fff;
    padding-bottom: 100px;
}
.tech-section .container {
    padding-top: 100px;
    flex: 0 0 100%; /* 100%固定 */
    width: 100%;
}
.tech-img {
    width: 50%;
    flex: 0 0 50%;
    border: none;
    background: none;
}
.tech-text {
    width: 50%;
    flex: 0 0 50%;
    padding: 0 5%;
    box-sizing: border-box;
}
.tech-text p {
    margin-bottom: 30px;
}
.why-img-box {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    line-height: 0;
    /* 【解決策】画像が読み込まれる前でも比率（例 16:9）を保つ設定 */
    aspect-ratio: 16 / 9;
}
.section-padding.works {
    background: var(--bg-gray);
    text-align: center;
}
.works-slider {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 100px;
}
.work-card {
    width: 32%;
    background: #fff; /* カードを白く */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* 影をつける */
    flex-shrink: 0;
}
.work-img {
    height: 250px;
    width: 100%;
    border-bottom: 1px solid #eee;
}
.work-info {
    padding: 20px;
}
.work-info h4 {
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 5px;
}
#header_logo .logo_text {
    color: white !important;
}
.page-slug-concept #main_col,
.page-slug-concept .post_content {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* 詳細ボタン */
.more-btn {
    display: inline-block;
    border: 1px solid #333;
    padding: 10px 30px;
    font-size: 1.6rem;
    transition: 0.3s;
    align-self: flex-start; /* 左寄せ */
}
.more-btn:hover {
    background: #333;
    color: #fff;
}
body.hide_sidebar #main_col {
    padding-top: 0;
}
/* タブレット対応 */
@media screen and (max-width: 835px) {
    .top-intro-header h2 {
        font-size: 2rem;
    }
    .top-intro-body p {
        font-size: 14px;
        padding: 0 10px;
    }
    .btn-top {
        width: 80%;
        padding: 12px 0;
    }
    #index_content_builder .tech-img {
        flex: 0 0 50%;
        height: 420px;
    }
    #index_content_builder .tech-text {
        flex: 0 0 50%;
    }
    .work-img {
        height: 180px;
    }
    .work-info {
        padding: 10px;
    }
}
/* スマホ対応 */
@media screen and (max-width: 426px) {
    .sp-no {
        display: none;
    }
    #header_slider .item1 .catch {
        font-size: 3rem !important;
    }
    #index_news_ticker {
        height: auto !important;
    }
    .slick-slider .slick-track,
    .slick-slider .slick-list {
        width: 100%;
    }
    .container h2 {
        font-size: 2.2rem;
    }
    .top-intro {
        text-align: left;
    }
    .top-intro-header h2 {
        font-size: 1.8rem;
    }
    #index_content_builder .tech-img {
        flex: 0 0 100%;
        height: 420px;
    }
    #index_content_builder .tech-text {
        flex: 0 0 100%;
        padding-top: 40px;
    }
    .work-img {
        height: 180px;
    }
    .work-info {
        padding: 10px;
    }
    .top-concept-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .btn-top {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .works-slider {
        display: block;
    }
    .work-card {
        width: 100%;
        margin: 0 auto;
    }
    .work-img {
        height: 255px;
    }
}
/* ------------------------------------------
設備・技術紹介ページ
------------------------------------------- */

.split-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
    margin-top: 80px;
    margin-bottom: 80px;
}
.split-img {
    width: 50%;
    position: relative;
    border: 0;
}
.split-text,
.rooms-text {
    width: 50%;
    padding: 0 40px;
    box-sizing: border-box;
}
.split-text .en-title,
.rooms-text .en-title {
    color: var(--accent-cyan);
    margin-bottom: 0;
}
/* 追加するCSS */
.split-text ul {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.split-text li {
    background: #f8fbfc; /* 非常に薄い青 */
    border-left: 4px solid var(--accent-cyan); /* アクセントのシアン */
    padding: 15px 20px;
    font-weight: bold;
    color: #333 !important;
    font-size: 1.6rem !important;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
/* 数字の部分だけ色を変える（HTML側でspanで囲む必要があります） */
.split-text li span {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin: 0 5px;
}
.finish-section {
    background: var(--bg-gray);
    padding: 80px 0;
}
.section-title-area {
    text-align: center;
    margin-bottom: 40px;
}
.section-title-area .en-title {
    color: var(--accent-cyan);
}
.finish-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.finish-card {
    background: #fff;
    width: calc((100% - 60px) / 3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.finish-img {
    height: 220px;
}
.finish-content {
    padding: 30px;
}
.finish-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-cyan);
    display: inline-block;
}
.color-section {
    background: #111;
    color: #fff;
    text-align: center;
}
.color-content {
    padding: 80px 5%;
}
.color-content p {
    padding: 0 30px;
    margin-bottom: 40px;
}
.color-section h2,
.color-section p {
    color: #fff;
}
.color-img {
    width: 260px;
    background: #333;
    border: 1px solid #555;
    position: relative;
}
.screen-section {
    flex-direction: row-reverse;
}
/* タブレット対応 */
@media screen and (max-width: 835px) {
    .en-title {
        font-size: 2.6rem;
    }
    .split-section {
        margin-top: 0;
        margin-bottom: 0;
    }
    .split-text,
    .rooms-text {
        margin-top: 80px;
        margin-bottom: 80px;
        padding: 0 15px;
    }
    .split-text ul {
        margin-top: 10px;
    }
    .split-text li {
        padding: 10px;
        font-size: 1.4rem !important;
    }
    .finish-grid {
        gap: 10px;
    }
    .finish-card {
        width: calc((100% - 20px) / 3);
    }
    .finish-section {
        padding: 80px 0;
    }
    .finish-content {
        padding: 20px 10px;
    }
    .finish-content h3 {
        font-size: 1.8rem;
    }
    .rooms-text p {
        line-height: 1.4;
    }
}
/* スマホ対応 */
@media screen and (max-width: 426px) {
    .sp-on {
        display: none;
    }
    .sp-no {
        display: block;
    }
    .split-img {
        width: 100%;
        padding: 80px 5%;
    }
    .split-text,
    .rooms-text {
        width: 100%;
        margin-top: 0;
        padding: 10px 5%;
    }
    .finish-section .container {
        padding-left: 5%;
        padding-right: 5%;
    }
    .finish-card {
        width: 100%;
        padding: 40px 5%;
        margin-bottom: 20px;
    }
    .finish-grid {
        gap: initial;
    }
    .screen-section .split-img,
    .rooms-section .split-img {
        width: 90%;
        padding: 0;
    }
    .color-content p {
        text-align: left;
    }
    .screen-section {
        margin-top: 80px;
    }
} /* ------------------------------------------
会社概要ページ
------------------------------------------- */
.page-slug-profile .page-header {
    display: block;
    height: auto;
}
.company-img,
.archive-img {
    height: 320px;
    width: 100%;
}
.company-img img,
.archive-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #333;
    z-index: 1;
}
.img-box span {
    z-index: 2;
    margin-bottom: 10px;
}
.img-box h1 {
    z-index: 2;
    color: white;
}
/* 写真エリア */
.message-img-col {
    width: 45%;
    flex-shrink: 0;
}
.message-img {
    width: 100%;
    height: 550px; /* 縦長で見栄え良く */
    background-color: #555;
    color: #fff;
    border: none;
    position: sticky; /* スクロールしても少し追従させると今っぽい（任意） */
    top: 20px;
}
/* --- プロフィール専用：変則6枚グリッドレイアウト --- */
.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 240px);
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
    grid-template-areas:
        "areaA areaA areaB areaB"
        "areaA areaA areaC areaC"
        "areaD areaD areaF areaF"
        "areaE areaE areaF areaF";
}

/* 各エリアへの割り当て */
.profile-gallery-item.slot-a {
    grid-area: areaA;
} /* 上左：縦長 */
.profile-gallery-item.slot-b {
    grid-area: areaB;
} /* 上右：正方形(上) */
.profile-gallery-item.slot-c {
    grid-area: areaC;
} /* 上右：正方形(下) */
.profile-gallery-item.slot-d {
    grid-area: areaD;
} /* 下左：正方形(上) */
.profile-gallery-item.slot-e {
    grid-area: areaE;
} /* 下左：正方形(下) */
.profile-gallery-item.slot-f {
    grid-area: areaF;
} /* 下右：縦長 */

/* アイテム共通スタイル（名前を変更） */
.profile-gallery-item {
    position: relative;
    background-color: #f4f4f4;
    overflow: hidden;
    border-radius: 4px;
}

.profile-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    display: block;
    transition: transform 0.5s ease;
}

.profile-gallery-item:hover img {
    transform: scale(1.05);
}

/* 写真がない時のテキスト */
.profile-gallery-item .placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
    color: #999;
    font-size: 0.75rem;
    width: 90%;
    z-index: 1;
}
/* 文章エリア */
.message-txt-col {
    width: 55%;
}
.message-wrapper {
    display: flex;
    align-items: flex-start; /* 上揃え */
    gap: 50px; /* 写真と文章の間隔 */
    padding-right: 50px;
}
.message-catch {
    margin-bottom: 40px;
    border-left: 6px solid var(--accent-cyan);
    padding-left: 30px;
}
.message-catch span {
    display: block;
}
.message-catch p {
    font-family: "Noto Serif JP", serif;
    color: #000;
    font-size: 2rem;
    line-height: 1.5;
}
/* 本文 */
.message-body h3 {
    font-size: 2rem;
    color: #333;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-cyan); /* 下線で区切り */
    padding-bottom: 5px;
    display: inline-block;
}
.message-body h3:first-child {
    margin-top: 0;
}
.message-body p {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #555;
    text-align: justify; /* 両端揃えで美しく */
    line-height: 2;
}
.message-sign {
    font-family: "Noto Serif JP", serif;
    margin-top: 50px;
    text-align: right;
    font-weight: bold;
    font-size: 1.6rem;
}
.message-sign p {
    text-align: left;
    font-weight: normal;
    padding-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}
.profile-section {
    background: var(--bg-gray);
    padding: 80px 0;
}
.profile-section .en-title,
.profile-section h2,
.history-section .en-title,
.history-section h2,
.access-section .en-title,
.access-section h2 {
    text-align: center;
}
.profile-section h2,
.history-section h2,
.access-section h2 {
    margin-bottom: 40px;
}
.profile-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.profile-table th,
.profile-table td {
    border: 1px solid #eee;
    padding: 20px;
    text-align: left;
}
.profile-table th {
    width: 30%;
    background: #f9f9f9;
    font-weight: bold;
    color: #333;
}
.profile-table td span {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    width: 30px;
    margin-right: 0.5rem;
}
.history-section {
    padding: 80px 0;
}
.history-list {
    max-width: 760px;
    margin: 0 auto;
    border-left: 2px solid #ddd;
    padding-left: 30px;
}
.history-item {
    position: relative;
    margin-bottom: 30px;
}
.history-item::before {
    content: "";
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
}
.history-year {
    font-size: 1.6rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    display: block;
}

/* --- アクセス (Access) --- */
.access-section {
    background: #333;
    color: #fff;
    padding: 80px 0;
}
.access-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}
iframe {
    width: calc(65% - 15px);
    height: 360px;
    display: block;
}
.access-info {
    width: calc(35% - 15px);
}
.access-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}
.access-detail {
    margin-bottom: 20px;
    font-size: 1.4rem;
    line-height: 1.5;
}
/* タブレット対応 */
@media screen and (max-width: 835px) {
    .message-body p {
        font-size: 1.4rem;
    }
    .message-wrapper {
        gap: 25px;
        padding-right: 25px;
    }
    .message-body h3 {
        font-size: 1.6rem;
        margin-top: 20px;
    }
    .message-catch {
        padding-left: 20px;
    }
    .message-sign {
        font-size: 1.4rem;
    }
    .profile-table {
        font-size: 1.4rem;
    }
    .history-list {
        max-width: 675px;
    }
    iframe {
        width: 100%;
    }
    .access-info {
        width: 100%;
        padding: 0 40px;
    }
}
/* スマホ対応 */
@media screen and (max-width: 426px) {
    .message-wrapper {
        display: flex;
        flex-direction: column;
        padding-left: 5%;
        padding-right: 5%;
    }
    /* 順番の入れ替え */
    .message-txt-col {
        order: 1; /* 先頭に配置 */
        width: 100%;
    }
    .profile-section .container {
        padding-left: 5%;
        padding-right: 5%;
    }
    .history-section .container {
        padding-left: 5%;
        padding-right: 5%;
    }
    .history-year {
        margin-bottom: 5px;
    }
    .profile-gallery-grid {
        order: 2; /* 2番目に配置 */
        width: 100%;
        margin-top: 30px; /* 必要に応じて調整 */
    }
    .access-section .container {
        padding-left: 5%;
        padding-right: 5%;
    }
    .access-info {
        padding: 0;
    }
}
/* ------------------------------------------
ニュースページ
------------------------------------------- */
body.archive #header {
    background: white;
}
body.archive #global_menu > ul > li > a {
    color: black;
}
body.archive #header_search_button:before {
    color: black;
}
body:not(.home) #header:hover .site-text-logo {
    color: #222;
    transition: color 0.3s ease;
}
body.archive #global_menu_button span {
    background: black;
}
.index-news-img {
    height: 100%;
    width: 100%;
    background: black;
}
.index-news-page .page-header {
    margin-top: 80px;
    height: 140px;
}
div#main_col {
    max-width: 1200px;
    margin: 20px auto;
}
#side_col {
    display: none !important;
}
body.archive #main_col {
    width: 100% !important;
    float: none !important;
}
.wp-block-buttons .wp-block-button__link,
.wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
    display: inline-block;
    background-color: var(--accent-cyan);
    color: #fff;
    padding: 15px 5rem;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 4px 0 #2d6686;
    transition: all 0.3s ease;
}
.wp-block-buttons .wp-block-button__link:hover,
.wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link:hover {
    color: #00466d !important;
    background-color: var(--accent-cyan);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2d6686;
}
#main_contents:after {
    display: none;
}
/* 画面幅が1200px以下の時だけ60pxにする */
@media screen and (max-width: 1200px) {
    .index-news-page .page-header {
        margin-top: 60px;
    }
    div#main_col {
        max-width: 835px;
        margin: 20px auto;
        padding: 0 20px;
    }
}
/* タブレット対応 */
@media screen and (max-width: 835px) {
    #main_contents #related_post .design_headline2 {
        padding: 0 !important;
        margin: 0 !important;
    }
    .c-archive-header-terms {
        margin-top: 40px;
    }
}
/* スマホ対応 */
@media screen and (max-width: 426px) {
    div#main_col {
        padding: 0 20px;
    }
    #main_contents #related_post .design_headline2 {
        padding: 0 !important;
        margin: 0 !important;
    }
    .wp-block-buttons .wp-block-button__link,
    .wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
        font-size: 1.4rem;
        padding: 15px 3rem;
    }
}
/* -----------------------------------------------------------
   お問い合わせページ (Contact Page) & CF7リセット
----------------------------------------------------------- */
.contact-page .container {
    max-width: 980px;
}
.telephone-number {
    margin-top: 1.6rem;
    line-height: 1.3;
}
.telephone-number strong {
    font-size: 2.4rem;
}
/* -- CF7標準スタイルを徹底リセット -- */
.wpcf7 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: inherit !important;
    color: inherit !important;
}
.wpcf7 form {
    margin: 0 !important;
}
.wpcf7 p {
    margin: 0 !important;
    font-size: inherit !important;
}
.wpcf7 br {
    display: none !important;
}
.form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea .wpcf7 select {
    width: 100% !important;
    padding: 15px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    background-color: #fafafa !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    height: auto !important;
    transition: all 0.3s !important;
}
.wpcf7 select,
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    padding: 15px !important;
}
.wpcf7 textarea {
    height: 200px !important; /* SOLARISの300pxを上書き */
}
.form-control:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none !important;
    border-color: var(--accent-cyan) !important;
    background-color: #f9feff !important;
}
.wpcf7-list-item {
    display: inline-block !important;
    margin: 0 20px 10px 0 !important;
}
.wpcf7-list-item-label {
    font-size: 1.6rem !important;
    line-height: 1.8 !important;
    margin-left: 8px !important;
}
.wpcf7-submit,
.submit-btn {
    background-color: var(--accent-cyan) !important;
    color: #fff !important;
    padding: 20px 100px !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    letter-spacing: 0.2em !important;
    border-radius: 0 !important;
}
.wpcf7-submit:hover,
.submit-btn:hover {
    background-color: #333 !important;
    transform: translateY(-3px) !important;
}
/* -- 以下、レイアウト保持用-- */
.contact-page .page-header {
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #333;
}
.contact-page .page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    background: #333;
}
.contact-page .page-header-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.contact-page .en-title {
    font-weight: bold;
}
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}
.contact-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.form-group {
    margin-bottom: 40px;
}
.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: #333;
}
.badge-req,
.badge-opt {
    font-size: 1.2rem;
    padding: 3px 10px;
    border-radius: 2px;
    margin-left: 12px;
    vertical-align: middle;
}
.badge-req {
    background-color: var(--accent-cyan);
    color: #fff;
}
.badge-opt {
    background-color: #999;
    color: #fff;
}
.privacy-check {
    text-align: center;
}
/* お問い合わせページ（テンプレート）の時だけ、フッターの特定要素を消す */
.page-template-page-contact footer .cta {
    display: none !important;
}
.wpcf7-turnstile {
    display: flex;
    justify-content: center;
    margin: 20px 0; /* 上下に少し余白を入れます */
}
/* Turnstileを強制的にライトモードにする */
.cf-turnstile {
    filter: none !important;
}
/* もし背景色などが暗くなってしまう場合、以下も追加 */
.cf-turnstile iframe {
    background-color: #ffffff !important;
}
/* タブレット対応 */
@media screen and (max-width: 835px) {
    .contact-page .container {
        padding: 0 10px;
    }
    .form-label {
        font-size: 1.4rem;
    }
    .contact-page .wpcf7-list-item-label {
        font-size: 1.4rem !important;
    }
    .contact-page .form-control,
    .contact-page .wpcf7 input[type="text"],
    .contact-page .wpcf7 input[type="email"],
    .contact-page .wpcf7 input[type="tel"],
    .contact-page .wpcf7 textarea {
        font-size: 1.4rem !important;
    }
    .contact-page .wpcf7 p {
        font-size: 1.4rem !important;
    }
    .contact-page .wpcf7-submit,
    .contact-page .submit-btn {
        font-size: 1.4rem !important;
    }
}
/* スマホ対応 */
@media screen and (max-width: 426px) {
    .contact-page .container {
        padding: 0;
    }
}
/* ------------------------------------------
プライバシーポリシー
 ----------------------------------------- */
/* --- Policy Content --- */
.privacy-page .page-header {
    height: 140px;
}
.policy-section {
    padding: 80px 0;
    background: #fff;
}
.policy-content {
    font-size: 0.95rem;
    color: #444;
}
.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 20px;
    text-align: justify;
}
.policy-section .container {
    max-width: 835px;
    padding: 0 2%;
}
.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    color: #333;
}
.policy-content h2:after {
    display: none;
}
.policy-content ul {
    font-size: 1.6rem;
    background: #f9f9f9;
    padding: 20px 20px 20px 40px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.policy-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}
.policy-content li:last-child {
    margin-bottom: 0;
}
.contact-info-box h3 {
    font-size: 1.6rem;
    line-height: 1.8;
}
/* タブレット対応 */
@media screen and (max-width: 835px) {
    .policy-content h2 {
        font-size: 1.4rem;
    }
    .policy-content ul {
        font-size: 1.4rem;
    }
    .contact-info-box h3 {
        font-size: 1.4rem;
    }
}
/* ------------------------------------------
選ばれる理由ページ
------------------------------------------- */
.concept-row {
    display: flex;
    align-items: center;
}
.concept-row:nth-child(even) {
    flex-direction: row-reverse;
}
.concept-img {
    width: 50%;
}
.concept-text {
    width: 50%;
    padding: 60px 20px;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.concept-num {
    font-size: 10rem;
    color: #eee;
    line-height: 1;
    font-weight: bold;
    margin-bottom: 20px;
}
.concept-text .en-title {
    font-size: 2.4rem;
    margin-bottom: 5px;
}
.concept-text h3 {
    font-family: "Noto Serif JP", serif;
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.concept-text p {
    color: #666;
    margin-bottom: 30px;
}

.more-btn {
    display: inline-block;
    border: 1px solid #333;
    padding: 10px 30px;
    font-size: 1.6rem;
    transition: 0.3s;
    align-self: flex-start; /* 左寄せ */
}
.more-btn:hover {
    background: #333;
    color: #fff;
}
.nda-note {
    background: #f0f0f0;
    padding: 40px 5%;
    text-align: center;
    color: #555;
    border-top: 1px solid #ddd;
}
/* スマホ対応 */
@media screen and (max-width: 426px) {
    .concept-row,
    .concept-row:nth-child(even) {
        flex-direction: column;
    }
    .concept-img,
    .concept-text {
        width: 100%;
    }
    .concept-img {
        height: 275px;
    }
    .concept-text {
        padding: 40px 5%;
    }
    .concept-text h3 {
        font-size: 2rem;
    }
    .nda-note {
        text-align: left;
    }
}
/* ------------------------------------------
SDGs List (Alternating Layout)
------------------------------------------- */
.sdgs-row {
    display: flex;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid #eee;
}
.sdgs-row:nth-child(even) {
    flex-direction: row-reverse;
}
.sdgs-page .container .sdgs-row .sdgs-content h2::after {
    display: none;
}
.sdgs-img {
    width: 50%;
    height: 400px;
}
.sdgs-content {
    width: 50%;
    padding: 0 50px;
    box-sizing: border-box;
}
.sdgs-page .intro-section {
    padding: 80px 5%;
    text-align: center;
}
.sdgs-page .intro-text {
    font-family: "Noto Serif JP", serif;
    max-width: 800px;
    margin: 0 auto;
    font-size: 2rem;
}
.sdgs-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.sdgs-icon {
    width: 80px;
    height: 80px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 2.8rem;
    font-weight: bold;
    border-radius: 10px;
}
.bg-goal-6 {
    background-color: #26bde2;
}
.bg-goal-8 {
    background-color: #a21942;
}
.bg-goal-12 {
    background-color: #bf8b2e;
}
.bg-goal-13 {
    background-color: #43793b;
}
.sdgs-content h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 20px;
}
.sdgs-content p {
    color: #666;
    margin-bottom: 20px;
}
.message-section {
    padding: 100px 0;
    background: #fff;
}
/* タブレット対応 */
@media screen and (max-width: 835px) {
    .sdgs-page .intro-text {
        font-size: 1.7rem;
    }
    .sdgs-content h2 {
        font-size: 1.8rem;
    }
    .sdgs-content {
        padding: 0 30px;
    }
    .sdgs-icon {
        width: 65px;
        height: 65px;
    }
}
/* スマホ対応 */
@media screen and (max-width: 426px) {
    .sdgs-page .intro-text {
        font-size: 1.6rem;
        text-align: left;
    }
    .sdgs-row,
    .sdgs-row:nth-child(even) {
        flex-direction: column;
    }
    .sdgs-img,
    .sdgs-content {
        width: 100%;
    }
    .sdgs-img {
        height: 250px;
        margin-bottom: 30px;
    }
    .sdgs-content {
        padding: 0;
        padding-left: 5%;
        padding-right: 5%;
    }
}
/* ------------------------------------------
採用情報ページ（recruit.php）
------------------------------------------- */

.recruit-message {
    padding: 100px 0;
}
.subtitle-a {
    font-family: "Noto Serif JP", serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--text-color);
}
.center-catch {
    text-align: center;
    margin-bottom: 50px;
    color: #444;
}
.recruit-text {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    text-align: center;
}

/* --- 募集風景フォトグリッド --- */
.landscape-section {
    padding: 60px 0;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.photo-item {
    position: relative;
    width: 100%;
    height: 200px; /* 指定の400x200比率 */
    overflow: hidden;
    display: block;
    text-decoration: none;
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.photo-item:hover img {
    transform: scale(1.05);
}
.photo-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 174, 239, 0.9);
    color: #fff;
    padding: 4px 15px;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 2px;
}

/* --- 募集状況ステータス --- */
.recruit-status {
    background: #eefbff;
    border: 1px solid #ddd;
    padding: 25px;
    text-align: center;
    margin: 50px auto;
    max-width: 800px;
    border-left: 5px solid var(--accent-cyan);
}
.recruit-status p {
    margin: 10px 0 0;
    font-weight: bold;
    color: var(--accent-cyan);
}
.status-badge {
    display: inline-block;
    background: var(--accent-cyan);
    color: #fff;
    padding: 5px 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* --- 募集要項（テーブル） --- */
.job-section {
    padding-bottom: 80px;
}
.job-card {
    margin: 0 5% 60px;
}
.job-title {
    border-bottom: 2px solid var(--accent-cyan);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.job-title::before {
    content: "■";
    color: var(--accent-cyan);
    margin-right: 10px;
    font-size: 1.2rem;
}
.job-table {
    width: 100%;
    border-collapse: collapse;
}
.job-table th,
.job-table td {
    border-bottom: 1px solid #eee;
    padding: 20px;
    text-align: left;
}
.job-table th {
    width: 25%;
    background: #fafafa;
    font-weight: bold;
    color: #333;
}

/* --- FAQ アコーディオン --- */
.faq-section {
    padding: 80px 0;
    background: #fdfdfd;
}
.faq-container {
    margin: 0 5%;
}
.faq-item {
    border-bottom: 1px solid #ddd;
}
.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-weight: bold;
    font-family: inherit;
    color: var(--text-color);
}
.faq-question:hover {
    color: var(--accent-cyan);
}
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #666;
    transition: transform 0.3s;
}
/* 横棒 */
.faq-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}
/* 縦棒 */
.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}
/* 開いた時のマイナス表示 */
.faq-item.is-open .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}
.faq-answer-inner {
    padding: 0 20px 25px;
    color: #555;
}
.faq-item.is-open .faq-answer {
    max-height: 500px; /* 十分な高さ */
}

/* --- 応募フォームエリア --- */
.entry-section {
    background: var(--bg-gray);
    padding: 80px 0;
}
.form-container {
    margin: 0 5%;
}

@media screen and (max-width: 835px) {
    .center-catch {
        font-size: 1.4rem;
    }
    .job-table th {
        background: #f9f9f9;
        padding-bottom: 5px;
        border-bottom: none;
    }
    .job-table td {
        padding-top: 5px;
    }
    .form-container {
        padding: 20px;
    }
}
@media screen and (max-width: 426px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
    .job-table th,
    .job-table td {
        display: block;
        width: 100%;
    }
}
/* ------------------------------------------
注文からお届けまで（flow.php）
------------------------------------------- */
.flow-title {
    text-align: center;
}
.flow-page section {
    padding: 80px 0;
}
.order-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}
.order-step-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.order-step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}
.step-side {
    background: var(--accent-cyan);
    color: #fff;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-num {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 2.8rem;
    margin-bottom: 2rem;
}
.step-icon {
    font-size: 2.4rem;
}
.step-body {
    padding: 30px;
    flex-grow: 1;
}
.step-body h3 {
    margin-bottom: 15px;
    color: var(--accent-cyan);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-body p {
    margin: 0;
    color: #555;
}
.step-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
}
.step-btn:hover {
    background: var(--accent-cyan);
}
.plan-select {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto 60px;
    position: relative;
    z-index: 2;
}
.plan-card {
    background: #fff;
    width: 45%;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 5px solid #ccc;
}
.plan-card.active {
    border-top: 5px solid var(--accent-cyan);
}
.plan-card h3 {
    margin-bottom: 10px;
}
.plan-card p {
    color: #666;
}
.flow-section {
    padding-bottom: 80px;
}
.flow-row {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    position: relative;
    background: var(--bg-gray);
    padding: 40px;
}
.flow-row::after {
    content: "▼";
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    color: #ddd;
    font-size: 3rem;
}
.flow-row:last-child::after {
    content: none;
}
.flow-row:nth-child(even) {
    flex-direction: row-reverse;
}
.flow-img {
    width: 45%;
    height: 300px;
    border-radius: 4px;
}
.flow-content {
    width: 55%;
    padding: 0 50px;
    box-sizing: border-box;
}
.step-label {
    display: inline-block;
    background: var(--accent-cyan);
    color: #fff;
    padding: 5px 15px;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
}
.step-label.work {
    background: #333;
}
.flow-content h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.timeline-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
    border: 1px solid #ddd;
}
.print-table-section {
    padding: 80px 0 80px;
}
.print-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    margin-bottom: 20px;
}
.print-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}
.print-table th,
.print-table td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}
.print-table th {
    background-color: var(--bg-gray);
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
}
.print-table thead .method-header {
    background-color: var(--accent-cyan);
    color: #fff;
    border-color: var(--accent-cyan);
}
.print-table tbody th {
    text-align: center;
    background-color: #fafafa;
}
.table-notes {
    color: #666;
    list-style: none;
    padding: 0;
    margin: 0;
}
.table-notes li {
    margin-bottom: 5px;
}
.full-order-flow {
    background: #f9f9f9;
    padding: 80px 0;
    margin-top: 20px;
}
.simple-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    position: relative;
}
.simple-steps::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #ddd;
    z-index: 0;
}
.simple-step-item {
    position: relative;
    z-index: 1;
    width: 18%;
    text-align: center;
    background: #f9f9f9;
}
.simple-step-item h4 {
    border-bottom: none;
}
.circle-num {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #666;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    font-family: "Oswald", sans-serif;
}
.note-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    margin-top: 50px;
}
.note-box h4 {
    margin-bottom: 15px;
    border-left: 4px solid #aaa;
    border-bottom: none;
    padding-left: 10px;
}
.note-list {
    padding-left: 20px;
    margin: 0;
}
.note-list li {
    margin-bottom: 5px;
}
@media screen and (max-width: 835px) {
    .order-step-card {
        flex-direction: column;
    }
    .step-side {
        width: 100%;
        flex-direction: row;
        gap: 15px;
        padding: 10px;
    }
    .step-icon {
        margin-top: 0;
    }
    .step-num {
        margin-bottom: 0;
    }
    .plan-select {
        flex-direction: column;
        align-items: center;
    }
    .plan-card {
        width: 90%;
    }
    .flow-row,
    .flow-row:nth-child(even) {
        flex-direction: column;
    }
    .flow-img,
    .flow-content {
        width: 100%;
    }
    .flow-img {
        height: 280px;
        margin-bottom: 20px;
    }
    .flow-content {
        padding: 0;
    }
    .simple-steps {
        flex-direction: column;
        gap: 20px;
    }
    .simple-steps::before {
        display: none;
    }
    .simple-step-item {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    .circle-num {
        margin: 0;
    }
}
/* ------------------------------------------
よくある質問ページ
------------------------------------------- */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-category {
    margin-bottom: 80px;
}
.faq-category h2 {
    border-bottom: 2px solid var(--accent-cyan);
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: inline-block;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-question {
    padding: 20px 0;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    padding-right: 40px; /* アイコン分の余白 */
    transition: color 0.3s;
}
.faq-question:hover {
    color: var(--accent-cyan);
}
.faq-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #333;
    transition: transform 0.3s;
}
.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 9px;
    left: 0;
}
.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 9px;
}
.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}
.faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #666;
    line-height: 1.8;
}
.faq-answer-inner {
    padding: 0 0 30px 0;
}
.confirm-note {
    color: #ff4444;
    border: 1px dashed #ff4444;
    padding: 5px 10px;
    background: #fff0f0;
    margin-top: 10px;
    display: inline-block;
}
/* ------------------------------------------
制作実績・サンプルページ（works.php）
------------------------------------------- */
.disclaimer-section {
    background: var(--bg-gray);
    padding: 60px 0;
    text-align: center;
}
.disclaimer-box {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #ddd;
    background: #fff;
    padding: 30px;
}
.disclaimer-title {
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
    color: #333;
}
.disclaimer-text {
    color: #666;
    margin: 0;
    text-align: left;
}
.filter-nav {
    text-align: center;
    margin: 50px 0;
}
.filter-btn {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.05em;
}
.filter-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}
.work-card {
    display: block; /* リンクとして機能 */
    background: #fff;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    text-align: left;
}
.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.work-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #333;
    color: #fff;
    padding: 3px 10px;
    font-family: "Oswald", sans-serif;
}
.work-cat.tech {
    background: var(--accent-cyan);
}
.work-body {
    padding: 20px;
}
.work-title {
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}
.work-desc {
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.work-meta {
    color: #aaa;
    border-top: 1px solid #eee;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}
.intro-section {
    padding: 80px 0;
    text-align: center;
}
.intro-text {
    max-width: 800px;
    margin: 0 auto;
}
.recruit-message {
    padding: 100px 0;
    text-align: center;
}
.recruit-catch {
    font-family: "Noto Serif JP", serif;
    margin-bottom: 40px;
    line-height: 1.6;
}
.recruit-text {
    margin: 0 auto;
    color: #555;
    text-align: center;
}
/* ------------------------------------------
シルクスクリーンページ
------------------------------------------- */
.intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}
.intro h2 {
    margin-bottom: 30px;
    line-height: 1.5;
}
.swiper-img {
    width: 50%;
}
.steps-section {
    background: var(--bg-gray);
    padding: 80px 0;
}
.step-list {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}
.step-item {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-top: 3px solid var(--accent-cyan);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.step-img {
    height: 180px;
    margin: 20px 0;
    background: #eee;
}
.strength-row {
    display: flex;
    align-items: center;
    margin-bottom: 0; /* SOLARIS風に隙間なく並べる */
}
.strength-row:nth-child(even) {
    flex-direction: row-reverse;
}
.strength-img {
    width: 50%;
    height: 500px;
}
.strength-text {
    width: 50%;
    padding: 60px;
    box-sizing: border-box;
    background: #fff;
}
.strength-row:nth-child(even) .strength-text {
    background: #fcfcfc; /* 交互に微妙に色を変える */
}
.comparison-section {
    background: #fff;
    padding: 80px 0;
}
.comp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}
.comp-table th,
.comp-table td {
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
}
.comp-table th {
    background: #333;
    color: #fff;
    width: 20%;
}
.comp-table th.highlight {
    background: var(--accent-cyan);
}
.comp-table td.good {
    color: var(--accent-cyan);
    font-weight: bold;
    background: #f0faff;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    text-align: center;
}
body.page-id-102 #main_col .post_content table tr th:first-child {
    background: #333 !important;
    color: #ffffff !important;
}
body.page-id-102 #main_col .post_content table tr th:nth-child(3) {
    background: #333 !important;
    color: #ffffff !important;
}
.gallery {
    padding: 80px 0;
}
/* ------------------------------------------
 グローバルページ
 ----------------------------------------- */
.global-intro {
    text-align: center;
    padding: 80px 0;
}
.global-intro p {
    margin: 0 auto;
}

/* --- 1. Why Choose Us (Condensed) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
}
.feature-icon {
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-family: "Oswald", sans-serif;
}
.feature-item h3 {
    margin-bottom: 15px;
}
.feature-item p {
    color: #666;
}

/* --- 2. Technology (Silk Screen) --- */
.tech-digest {
    background: var(--bg-gray);
    padding: 80px 0;
}
.tech-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}
/* --- 3. Artwork Requirements --- */
.artwork-section {
    padding: 80px 0;
    background: #fff;
}
.artwork-box {
    border: 1px solid #ddd;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    background: #fcfcfc;
}
.req-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.req-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}
.req-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.req-icon {
    color: var(--accent-cyan);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}
.req-content h4 {
    margin: 0 0 5px;
}
.req-content p {
    color: #666;
    margin: 0;
}

/* --- 4. International Flow --- */
.flow-section {
    padding: 80px 0;
}
.flow-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    position: relative;
}
.flow-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}
.step-item {
    width: 18%;
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--bg-gray);
    padding: 0 10px;
}
.step-title {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
.step-desc {
    color: #666;
}

/* --- 5. Global FAQ (Accordion) --- */
.faq-digest {
    background: #fff;
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-question {
    padding: 20px 0;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    padding-right: 40px;
}
.faq-question:hover {
    color: var(--accent-cyan);
}
.faq-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #333;
    transition: transform 0.3s;
}
.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 9px;
    left: 0;
}
.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 9px;
}
.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}
.faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #666;
}
.faq-answer-inner {
    padding: 0 0 20px 0;
}
.confirm-note {
    color: #ff4444;
    border: 1px dashed #ff4444;
    padding: 2px 5px;
    background: #fff0f0;
    display: block;
    margin-top: 5px;
}
