/*
Theme Name: Arkhe
Theme URI: https://arkhe-theme.com/
Version: 3.12.0
Tested up to: 6.8
Requires at least: 6.0
Requires PHP: 7.0
Description: A very simple theme for production templates. Customize as you like.
Tags: two-columns, one-column, right-sidebar, custom-colors, custom-menu, editor-style, theme-options, block-styles, wide-blocks
Author: LOOS,Inc.
Author URI: https://loos.co.jp/
Text Domain: arkhe
Domain Path: /languages
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
}

ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Header */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
}

.logo img { height: 60px; }

.nav ul { display: flex; gap: 20px; }
.nav a { text-align: center; display: block; }
.nav span { display: block; font-weight: bold; font-size: 14px; }
.nav small { display: block; font-size: 11px; color: #438531; text-transform: uppercase; }

/* Main Visual Slideshow */
.mv-container {
    position: relative;
    height: 700px; /* デザインに合わせて調整 */
    overflow: hidden;
}

.mv-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 15s infinite;
}

/* 3枚の画像が5秒ずつ切り替わる設定 */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes fadeSlide {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

/* 固定ボタン */
.fixed-contact {
    position: fixed;
    right: 0;
    top: 45%;
    transform: translateY(-50%);
    background: #e67e22;
    color: #fff;
    padding: 20px 10px;
    writing-mode: vertical-rl;
    z-index: 100;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fixed-contact i {
    writing-mode: horizontal-tb;
    font-size: 20px;
}

/* News Section */
.news-section {
    background-color: #438531;
    color: #fff;
    padding: 40px 0;
}

.news-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.news-title {
    font-size: 40px;
    letter-spacing: 0.1em;
}

.news-list { flex-grow: 1; }
.news-list li {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 10px 0;
}

.news-list .date {
    background: #62a34f;
    padding: 2px 15px;
    margin-right: 20px;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
}

.intro-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
}

.intro-img { flex: 1; }
.intro-text { flex: 1.5; }

.intro-text h3 {
    font-size: 28px;
    color: #a34e25;
    margin-bottom: 30px;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 15px;
}

/* Service Section 全体 */
.service-section {
    padding: 80px 0;
    background-color: #fff;
}

.service-container {
    margin: 0 auto;
    padding: 0;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.contact-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title small {
    display: block;
    color: #a34e25; /* オレンジがかった茶色 */
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 32px;
    color: #666;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #fff;
}

/* サービスグリッドレイアウト */
.service-grid {
    display: flex;
    justify-content: space-between;
    gap: 1px; /* 境界線（隙間） */
    background-color: #e0e0e0;
}

.service-card {
    flex: 1;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

/* 画像エリア */
.service-img {
    width: 100%;
    height: 250px; /* 高さを固定 */
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を枠いっぱいに収める */
}

/* テキストエリア */
.service-body {
    background-color: #e9f5e6; /* 薄い緑色 */
    padding: 40px 30px;
    text-align: center;
    flex-grow: 1; /* 中身の量に関わらず高さを揃える */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-body h3 {
    color: #438531; /* 濃い緑 */
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: bold;
}

.service-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

/* 詳細を見るボタン */
.btn-detail {
    display: inline-block;
    background-color: #438531;
    color: #fff;
    padding: 12px 60px;
    border-radius: 50px; /* 丸角 */
    font-size: 16px;
    transition: opacity 0.3s;
    margin-top: auto; /* ボタンを下端に固定 */
}

.btn-detail:hover {
    opacity: 0.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .service-grid {
        flex-direction: column;
        gap: 20px;
        background-color: transparent;
    }
    .service-body {
        padding: 30px 20px;
    }
}



/* Scene Section 全体設定 */
.scene-section {
    padding: 100px 0 150px;
    background-image: url('/wp-content/uploads/bg01.jpg');
    background-size: cover;
    background-position: center bottom;
    position: relative;
}

.scene-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* グリッドレイアウト */
.scene-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

/* 個別カード */
.scene-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 斜体の数字 */
.scene-number {
    font-family: "Georgia", serif;
    font-style: italic;
    font-size: 60px;
    color: #438531;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* カードの内側（緑のボックス） */
.scene-card-inner {
    background-color: #62a34f;
    padding: 30px 20px;
    color: #fff;
    text-align: center;
    border-radius: 0; /* デザインに合わせて直角 */
}

/* カード内の画像枠 */
.scene-img {
    width: 100%;
    margin-bottom: 20px;
    border: 5px solid rgba(255, 255, 255, 0.3); /* 白い半透明の枠 */
    box-sizing: border-box;
}

.scene-img img {
    width: 100%;
    display: block;
}

/* カード内の見出し */
.scene-card-inner h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* カード内の文章 */
.scene-card-inner p {
    font-size: 13px;
    line-height: 1.7;
    text-align: left; /* テキストは左寄せ */
}

/* スマホ対応 */
@media (max-width: 850px) {
    .scene-grid {
        flex-direction: column;
        align-items: center;
    }
    .scene-card {
        width: 100%;
        max-width: 400px;
    }
}



/* --- Safety & FAQ --- */
.info-split-section {
    padding: 80px 0;
    background-color: #fff;
}

.info-split-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 40px;
}

/* 中央のドット仕切り線 */
.info-split-inner::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    border-left: 1.5px dotted #ccc;
    transform: translateX(-50%);
}

.info-column {
    width: 45%;
    text-align: center;
}

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

.title-en {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.title-en.safety { color: #438531; } /* 緑 */
.title-en.faq { color: #57a140; }    /* やや明るい緑 */

.title-ja {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    border-bottom: 3px solid #f9da00; /* 黄色アンダーライン */
    padding-bottom: 2px;
}

.info-img-box {
    margin-bottom: 25px;
    padding: 8px;
}

.info-img-box img {
    width: 100%;
    display: block;
}

.info-text {
    font-size: 14px;
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-green {
    display: inline-block;
    background-color: #438531;
    color: #fff;
    padding: 10px 60px;
    border-radius: 50px;
    font-weight: bold;
}

/* --- Recruit --- */
.recruit-section {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* パララックス効果 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.recruit-section::before {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.3);
}

.recruit-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.recruit-title {
    margin-bottom: 40px;
}

.recruit-title .en {
    display: block;
    font-size: 70px;
    font-weight: bold;
    line-height: 1;
}

.recruit-title .ja {
    display: inline-block;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #fff;
    letter-spacing: 0.2em;
}

.recruit-text {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 40px;
	text-align: left;
}

.btn-white {
    display: inline-block;
    background-color: rgba(255,255,255,0.8);
    color: #333;
    padding: 12px 80px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-white:hover {
    background-color: #fff;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .info-split-inner {
        flex-direction: column;
        gap: 60px;
    }
    .info-split-inner::after { display: none; }
    .info-column { width: 100%; }
    .recruit-title .en { font-size: 50px; }
}

/* CONTACT Section */
.contact-section {
    background: linear-gradient(135deg, #4f9a3a 0%, #2f6f23 100%);
    padding: 60px 0 80px;
    color: #fff;
    text-align: center;
}
.section-title.white .title-en {
    font-size: 60px;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
	color: #Fff;
}

.section-title.white .title-ja {
    font-size: 16px;
    margin-bottom: 20px;
	border: unset;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-col {
    flex: 1;
}

.contact-label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-label::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: #fff;
    margin: 10px auto;
}

.contact-info {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 45px;
}

/* 白い大きなボタン */
.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 15px;
}

.btn-contact i {
    color: #438531;
    font-size: 28px;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Map */
.map-container {
    line-height: 0;
}

/* Footer Banners */
.banner-grid {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.banner-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 120px;
    display: block;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2); /* 画像を少し暗く */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.banner-overlay .en {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.banner-overlay .ja {
    font-size: 12px;
}

.banner-item:hover img {
    transform: scale(1.1);
}

/* Footer Info */
.footer {
    text-align: center;
    padding: 40px 0 0;
    border-top: 1px solid #eee;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-tel {
    font-size: 24px;
    font-weight: bold;
    color: #438531;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.copyright {
    background-color: #438531;
    color: #fff;
    padding: 15px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    .banner-grid {
        flex-direction: column;
    }
}



/* --- 下層ページ共通設定 --- */
.lower-header {
    background-color: #f4f4f4;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
	max-width: 1200px;
	margin: 0 auto;
}

.lower-header-inner i {
    font-size: 40px;
    color: #438531;
    margin-bottom: 15px;
}

.lower-header h1 {
    font-size: 32px;
    color: #333;
    margin: 0;
    letter-spacing: 0.1em;
}

.lower-header p {
    font-size: 14px;
    color: #a34e25;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 5px;
}

.lower-content {
    padding: 80px 0;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 下層セクション用レイアウト --- */
.flex-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.flex-layout.reverse {
    flex-direction: row-reverse;
}

.text-side { flex: 1; }
.image-side { flex: 1; }
.image-side img { width: 100%; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.sub-title {
    font-size: 28px;
    color: #438531;
    border-left: 5px solid #438531;
    padding-left: 15px;
    margin-bottom: 25px;
}

.contact-intro .sub-title {
    font-size: 28px;
    color: #438531;
    border-left: unset;
    padding-left: 0;
    margin-bottom: 25px;
}


.lead-txt {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

/* --- ポイント（数字付き）グリッド --- */
.point-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.point-item {
    flex: 1;
    background: #fdfdfd;
    padding: 30px 20px;
    border: 1px solid #eee;
    position: relative;
}

.point-num {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #438531;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 50%;
}

.point-item h3 { font-size: 18px; margin-bottom: 15px; color: #333; }
.point-item p { font-size: 14px; line-height: 1.6; }

/* --- 業務一覧（アイコン） --- */
.service-list-box {
    margin-top: 60px;
    background-color: #e9f5e6;
    padding: 40px;
    border-radius: 10px;
}

.box-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 40px;
    color: #438531;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-item i {
    font-size: 32px;
    color: #438531;
    margin-bottom: 15px;
}

.icon-item h5 { font-size: 17px; margin-bottom: 10px; }
.icon-item p { font-size: 13px; }

.section-divider {
    margin: 80px 0;
    border: 0;
    border-top: 1px solid #eee;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .flex-layout, .flex-layout.reverse { flex-direction: column; gap: 30px; }
    .point-grid { flex-direction: column; }
    .icon-grid { grid-template-columns: 1fr; }
.lower-content {
    padding: 30px 0 60px 0;
}
}


/* --- ケーススタディ詳細スタイル --- */
.case-detail {
    margin-bottom: 40px;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.case-num {
    font-family: "Georgia", serif;
    font-style: italic;
    font-size: 40px;
    color: #438531;
    line-height: 1;
}

.case-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
    position: relative;
}

/* チェックリスト形式の装飾 */
.check-list {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.check-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.check-list i {
    color: #438531;
    font-size: 18px;
    margin-top: 5px;
}

.check-list strong {
    display: block;
    font-size: 16px;
    color: #438531;
    margin-bottom: 3px;
}

.check-list span {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 画像サイドの調整 */
.image-side img {
    border: 8px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* モバイル調整 */
@media (max-width: 768px) {
    .case-header h2 {
        font-size: 20px;
    }
    .case-num {
        font-size: 32px;
    }
}

/* --- 盗聴器発見ページ特有スタイル --- */
.bg-gray {
    background: #f7f7f7;
    padding: 60px 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.center-title {
    text-align: center;
    font-size: 24px;
    color: #438531;
    margin-bottom: 10px;
}

.center-sub {
    text-align: center;
    font-weight: bold;
    color: #d32f2f; /* 警告色 */
    margin-bottom: 30px;
}

/* チェックリスト */
.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.check-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.check-grid i {
    color: #438531;
}

/* 料金表 */
.price-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.price-item {
    flex: 1;
    border: 2px solid #eee;
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    transition: 0.3s;
}

.price-item.featured {
    border-color: #438531;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.price-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.price-item .price {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #438531;
    margin-bottom: 15px;
}

.price-item .price span {
    font-size: 16px;
}

.price-item .desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* PDFダウンロード */
.pdf-download-box {
    margin-top: 60px;
    text-align: center;
    border-top: 2px solid #eee;
    padding-top: 40px;
}

.pdf-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.btn-pdf {
    display: inline-block;
    background: #e74c3c; /* PDFをイメージする赤 */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-pdf:hover {
    background: #c0392b;
    color: #fff;
}

@media (max-width: 768px) {
    .check-grid { grid-template-columns: 1fr; }
    .price-grid { flex-direction: column; }
    .price-item.featured { transform: none; }
    .pdf-btns { flex-direction: column; }
}

/* --- 安全への取り組み特有スタイル --- */

/* 教育カード */
.safety-education {
    display: flex;
    gap: 30px;
    margin: 40px 0 80px;
}

.safety-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 5px solid #438531;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 30px;
    border-radius: 0 0 8px 8px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header i {
    font-size: 28px;
    color: #438531;
}

.card-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.card-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* 具体的施策（ステップ形式） */
.safety-steps {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.safety-steps li {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    background: #fdfdfd;
    border: 1px solid #eee;
    margin-bottom: 20px;
    transition: 0.3s;
}

.safety-steps li:hover {
    border-color: #438531;
    background: #fff;
}

.step-num {
    font-family: 'Arial Black', sans-serif;
    font-size: 20px;
    color: #438531;
    border-bottom: 2px solid #f9da00;
    padding-bottom: 5px;
    white-space: nowrap;
}

.step-txt strong {
    display: block;
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
}

.step-txt p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .safety-education {
        flex-direction: column;
    }
    .safety-steps li {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- 採用情報ページ特有スタイル --- */

/* 募集要項テーブル */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-top: 2px solid #438531;
}

.recruit-table th, 
.recruit-table td {
    padding: 20px !important;
    border-bottom: 1px solid #eee;
    text-align: left;
    line-height: 1.6;
}

.recruit-table th {
    width: 25%;
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
    font-size: 15px;
}

.recruit-table td {
    font-size: 15px;
    color: #555;
}

.recruit-table td small {
    color: #888;
    display: block;
    margin-top: 5px;
}

/* 応募方法ボックス */
.recruit-apply-box {
    margin-top: 80px;
    background: #e9f5e6;
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
}

.recruit-apply-box h3 {
    font-size: 24px;
    color: #438531;
    margin-bottom: 15px;
}

.address-card {
    background: #fff;
    display: inline-block;
    padding: 25px 40px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
}

.address-card strong {
    color: #438531;
    display: block;
    margin-bottom: 10px;
}

.apply-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
}

.btn-apply.tel {
    background: #fff;
    color: #438531;
    border: 2px solid #438531;
}

.btn-apply.mail {
    background: #438531;
    color: #fff;
}

.btn-apply:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .recruit-table th, 
    .recruit-table td {
        display: block;
        width: 100%;
    }
    .recruit-table th {
        background-color: #f0f0f0;
        padding: 10px 20px;
    }
    .apply-btns {
        flex-direction: column;
    }
    .address-card {
        padding: 20px;
    }
}

/* フォーム全体の装飾 */
.recruit-form {
    max-width: 800px;
    margin: 40px auto;
    background: #fdfdfd;
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.form-item {
    margin-bottom: 25px;
}

.form-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

/* 必須バッジ */
.form-item .required {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: normal;
}

/* 入力フィールド */
.recruit-form input[type="text"],
.recruit-form input[type="email"],
.recruit-form input[type="tel"],
.recruit-form input[type="number"],
.recruit-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.age-input {
    display: flex;
    align-items: center;
    gap: 10px;
}
.age-input input { width: 100px !important; }

/* ラジオボタン */
.wpcf7-list-item { margin: 0 20px 0 0; }

/* 送信ボタン */
.form-submit { text-align: center; margin-top: 40px; }
.form-submit input {
    background: #438531;
    color: #fff;
    border: none;
    padding: 15px 80px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}
.form-submit input:hover { opacity: 0.8; transform: translateY(-2px); }

.form-container {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left; /* 入力項目は左寄せ */
    max-width: 800px;
    margin: 0 auto;
}

/* フォーム内の必須アイコン設定（再掲） */
.form-item .required {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: normal;
}

/* モバイル対応の調整 */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }
    .recruit-apply-box {
        padding: 40px 15px;
    }
}


/* --- 会社案内ページ特有スタイル --- */

/* 会社概要テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-top: 2px solid #438531;
    background: #fff;
}

.company-table th, 
.company-table td {
    padding: 20px !important;
    border-bottom: 1px solid #eee;
    text-align: left;
    line-height: 1.6;
}

.company-table th {
    width: 250px;
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.company-table td {
    font-size: 16px;
    color: #555;
}

/* マップエリア */
.company-map {
    margin-top: 20px;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
    line-height: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .company-table th, 
    .company-table td {
        display: block;
        width: 100%;
    }
    .company-table th {
        background-color: #f0f0f0;
        padding: 10px 20px;
    }
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.caution-txt {
    margin-top: 20px;
    font-weight: bold;
    color: #438531;
}

.caution-txt a {
    color: #438531;
    text-decoration: underline;
}

/* --- プライバシーポリシー特有スタイル --- */
.privacy-box {
    max-width: 900px;
    margin: 0 auto;
    color: #333;
    line-height: 1.8;
}

.priv_t {
    text-align: center;
    font-size: 24px;
    color: #438531;
    margin: 40px 0 30px;
    border-bottom: 2px solid #438531;
    padding-bottom: 10px;
}

.priv_section {
    margin-bottom: 30px;
}

.priv_t2 {
    font-size: 18px;
    border-left: 4px solid #f9da00;
    padding-left: 15px;
    margin-bottom: 15px;
    color: #333;
}

.priv_txt {
    font-size: 15px;
    margin-bottom: 15px;
}

.priv_list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 15px;
}

.priv_footer {
    text-align: right;
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .priv_t { font-size: 20px; }
    .priv_t2 { font-size: 16px; }
.logo img {
    height: 45px;
}
}

.privacy{
	font-size: 14px;
margin-bottom: 30px;
}

.privacy a{
    color: #666;
}


/* --- アーカイブ・投稿ページ特有スタイル --- */

/* 一覧リスト */
.archive-list {
    max-width: 900px;
    margin: 0 auto;
}

.archive-item a {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.archive-item a:hover {
    background: #f9f9f9;
}

.archive-item .date {
    font-size: 14px;
    color: #438531;
    font-weight: bold;
    margin-right: 30px;
    min-width: 100px;
}

.archive-post-title {
    flex-grow: 1;
    font-size: 16px;
    margin: 0;
    color: #333;
}

.archive-item i {
    color: #ccc;
    font-size: 12px;
}

/* ページネーション */
.pagination {
    margin-top: 50px;
    text-align: center;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pagination a, .pagination .current {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}
.pagination .current {
    background: #438531;
    color: #fff;
    border-color: #438531;
}

/* 投稿詳細 */
.entry-post {
    max-width: 800px;
    margin: 0 auto;
}

.entry-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #f9da00;
    padding-bottom: 20px;
}

.entry-header .date {
    color: #438531;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.entry-title {
    font-size: 26px;
    line-height: 1.4;
    color: #333;
}

.entry-content {
    line-height: 2;
    font-size: 16px;
    margin-bottom: 60px;
}

/* 記事内の画像や見出しの最低限の装飾 */
.entry-content h3 { color: #438531; border-left: 5px solid #438531; padding-left: 15px; margin: 40px 0 20px; }
.entry-content p { margin-bottom: 20px; }
.entry-content img { border-radius: 5px; margin-bottom: 20px; }

.btn-back {
    display: inline-block;
    padding: 10px 30px;
    background: #f4f4f4;
    color: #666;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-back:hover {
    background: #ddd;
}


/* --- ハンバーガーメニュー設定 --- */

/* 1151px以上はボタンを隠す */
.menu-trigger {
    display: none;
}

@media (max-width: 1150px) {
    /* ヘッダー調整 */
    .header-inner {
        position: relative;
    }

    /* ボタンのスタイル */
    .menu-trigger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-trigger span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #438531;
    }

    .menu-trigger span:nth-of-type(1) { top: 0; }
    .menu-trigger span:nth-of-type(2) { top: 11px; }
    .menu-trigger span:nth-of-type(3) { bottom: 0; }

    /* アクティブ時の×印 */
    .menu-trigger.active span:nth-of-type(1) { transform: translateY(11px) rotate(-45deg); }
    .menu-trigger.active span:nth-of-type(2) { opacity: 0; }
    .menu-trigger.active span:nth-of-type(3) { transform: translateY(-11px) rotate(45deg); }

    /* ナビゲーションを非表示にし、全画面で展開するように設定 */
    .nav {
        display: none; /* jQueryで制御 */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        z-index: 1000;
        padding-top: 80px;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

    .nav ul li a {
        padding: 15px 0;
        display: block;
    }


    .fixed-contact {
        width: 50px;
        padding: 10px 5px;
        font-size: 10px;
			display: none;
    }
}


/* --- レスポンシブ追加・修正CSS --- */

/* 1150px以下のハンバーガーメニュー時の共通調整 */
@media (max-width: 1150px) {
    /* お知らせセクション：タイトルとリストの並びを縦にする */
    .news-inner {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    .news-title {
        font-size: 32px; /* スマホ向けに少し小さく */
        align-self: flex-start;
    }
    .news-list {
        width: 100%;
    }

    /* 導入文（Intro）：画像とテキストの並びとサイズ */
    .intro-inner {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    .intro-text {
        text-align: center;
    }
    .intro-text h3 {
        font-size: 22px; /* 28pxから縮小 */
        margin-bottom: 20px;
    }
    .intro-text p {
        font-size: 14px;
        text-align: left; /* 長文は左寄せが読みやすい */
    }

    /* お問い合わせセクション：CONTACTの巨大な文字を調整 */
    .contact-section {
        padding: 50px 20px;
    }
    .section-title.white .title-en {
        font-size: 38px; /* 60pxから縮小 */
        margin-bottom: 10px;
    }
    /* ボタン間の距離を調整 */
    .contact-buttons {
        gap: 30px;
    }
}

/* 768px以下（スマホ）でのさらなる微調整 */
@media (max-width: 768px) {
    /* 下層共通ヘッダーのフォントサイズ */
    .lower-header {
        padding: 40px 0;
    }
    .lower-header h1 {
        font-size: 24px; /* 32pxから縮小 */
    }
    .lower-header-inner i {
        font-size: 30px;
    }

    /* 事業内容セクション：カード内のフォント */
    .service-body h3 {
        font-size: 20px;
    }
    .btn-detail {
        padding: 10px 40px;
        width: 100%; /* スマホではボタンを横いっぱいに */
        box-sizing: border-box;
    }

    /* 採用情報の巨大な英文を調整 */
    .recruit-title .en {
        font-size: 42px; /* 70px/50pxからさらに縮小 */
    }

    /* お知らせリストのスマホ表示（日付とタイトルを縦にする場合） */
    .news-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .news-list .date {
        margin-right: 0;
        min-width: unset;
        font-size: 12px;
    }
.mv-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}
}

/* 480px以下（小型スマホ） */
@media (max-width: 480px) {
    /* お問い合わせボタンのテキストサイズ */
    .btn-contact {
        font-size: 16px;
        padding: 15px;
    }
    .btn-contact i {
        font-size: 22px;
    }

}

/* --- FAQ（アコーディオン）スタイル --- */

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* カテゴリ見出し */
.faq-cat-title {
    font-size: 22px;
    color: #438531;
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #438531;
    position: relative;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* 質問エリア (Q) */
.faq-q {
    position: relative;
    padding: 20px 60px 20px 60px; /* 左側にQのスペース、右側に矢印のスペース */
    font-weight: bold;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s;
    user-select: none;
    font-size: 16px;
    line-height: 1.5;
}

.faq-q:hover {
    background-color: #f9fdf8;
}

/* 擬似要素で「Q」を表示 */
.faq-q::before {
    content: "Q";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #438531;
    font-family: "Arial Black", sans-serif;
    font-size: 24px;
    line-height: 1;
}

/* 擬似要素で「矢印」を表示 */
.faq-q::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transform: translateY(-70%) rotate(135deg); /* 下向き矢印 */
    transition: transform 0.3s;
}

/* アクティブ時の矢印回転 */
.faq-q.active::after {
    transform: translateY(-30%) rotate(-45deg); /* 上向き矢印 */
}

/* 回答エリア (A) */
.faq-a {
    display: none; /* JSで制御するため初期は非表示 */
    padding: 0 20px 25px 60px;
    background-color: #fff;
    position: relative;
}

/* 擬似要素で「A」を表示 */
.faq-a::before {
    content: "A";
    position: absolute;
    left: 20px;
    top: 0;
    color: #e67e22; /* オレンジのアクセント */
    font-family: "Arial Black", sans-serif;
    font-size: 24px;
    line-height: 1;
}

.faq-a p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .faq-q {
        padding: 15px 50px 15px 50px;
        font-size: 15px;
    }
    .faq-q::before, .faq-a::before {
        font-size: 20px;
        left: 15px;
    }
    .faq-a {
        padding-left: 50px;
    }
}