/*
Theme Name: Three Tree HP
Version: 1.0
*/

/* ヘッダー全体の固定や背景 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

header {
    background-color: #fff;
    width: 100%;
    /* 下側に薄いシャドウ（影）を入れて「浮いた」感じにする */
    box-shadow: 0 2px 10px rgba(2, 61, 14, 0.05); 
    position: sticky; /* スクロールしても上についてくる（お好みで） */
    top: 0;
    z-index: 1000;
}

/* ロゴとメニューを左右に振り分ける親箱 */
.header-box {
    display: flex;
    justify-content: space-between; /* これで左右に分かれます */
    align-items: center;            /* 上下の中央を揃える */
    max-width: 1200px;              /* サイトの最大幅 */
    margin: 0 auto;                 /* 画面中央に配置 */
    padding: 15px 20px;             /* 上下と左右の余白 */
}

/* ロゴとテキストを横並びにする */
.logo-box {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-link:focus-visible {
    outline: 2px solid #00A05C;
    outline-offset: 2px;
}

.logo-box img {
    height: 50px;                   /* ロゴの高さ（必要に応じて調整） */
    width: auto;
}

.logo-box p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 900;
    font-style: oblique;
    color: #00A05C;                 /* メインのグリーン */
    margin: 0;                      /* pタグ特有の余白を消す */
}

/* ナビゲーションメニュー */
.menu ul {
    display: flex;
    list-style: none;               /* 点を消す */
    margin: 0;
    padding: 0;
    gap: 24px;                      /* メニュー項目同士の間隔 */
}

.menu a {
    text-decoration: none;          /* 下線を消す */
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

/* マウスを乗せた時の色変化 */
.menu a:hover {
    color: #00A05C;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 90px;
}

.menu-toggle {
    display: none;
}

.js-fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js-fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.fv-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 60px 20px; /* 右端の余白なし */
    gap: 0; /* right側の空きを作らない */
}

/* 左側：タイトルエリア */
.fv-title {
    flex: 0 0 42%;
    min-width: 0; /* フレックス内でのはみ出しを防ぐ */
}

.fv-title h1 {
    font-family: "Shippori Mincho B1", serif;
    font-size: 2.8rem; /* Figmaのデザインに合わせて調整してください */
    font-weight: 900;
    line-height: 1.7;
    letter-spacing: 8px;
    color: #333;
}

.fv-title h1 span {
    display: block;
    white-space: nowrap;
}

/* 右側：画像エリア */
.fv-img {
    flex: 0 0 58%;
    min-width: 0; /* Swiper/画像が潰れて見えなくなるのを防ぐ */
}

.fv-img-swiper {
    width: 100%;
    overflow: hidden; /* はみ出し防止 */
}

.fv-img-swiper img {
    width: 100%;
    height: clamp(240px, 35vw, 460px); /* FVの高さ（低め・崩れにくい範囲） */
    object-fit: cover; /* 枠いっぱいに綺麗に収める */
    border-radius: 12px;
}

.news {
    position: relative;
    padding: 80px 0 0 0;      /* 上だけ80px余白 / 下は余白なし */
}

.news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 230px;            /* PCデザイン：緑の帯の高さ */
    background-color: #00A05C; /* ロゴのグリーン */
    z-index: -1;
}

/* 重なっている白いボックス */
.news-container {
    background-color: #ffffff;
    max-width: 1000px;         /* ボックスの横幅 */
    margin: 0 auto;            /* 中央寄せ */
    padding: 35px 60px;       /* 中の余白（高さは内容に合わせる） */
    border-radius: 20px;       /* 角丸（Figmaのデザインに合わせて調整） */
}

/* News カード内 */
.news-kicker {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color:#686D6B;
    letter-spacing: 0.06em;
    margin: 0 0 6px 0;
}

.news-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #007A46;
    margin: 0 0 18px 0;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-list li {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
}

.news-list span {
    display: inline-block;
    width: 100px;
    color: #007A46;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* services セクション */
.services {
    padding: 180px 0 60px;
    margin-top: 80px;
    background-color: #F3F8F6;
}

.services-inner {
    max-width: none;
    margin: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;          /* 左右の余白なし */
}

.services-image {
    width: 600px;        /* 少し小さめ */
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-card {
    background-color: #ffffff;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    max-width: 500px;
    position: absolute;
    top: 80%;            /* 画像の中央付近を基準に揃える */
    transform: translateY(-40%); /* 中心より少し下にずらして均等な重なりに */
}
/* 2枚目カード用の余白調整 */
.services-inner + .services-inner {
    margin-top: 80px;
}

.services-inner--right {
    flex-direction: row-reverse;
}

.services-inner--left .services-card {
    left: 360px;
}

.services-inner--right .services-card {
    right: 360px;
}

.services-kicker {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #007A46;
    margin: 0 0 6px 0;
}

.services-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #007A46;
    margin: 0 0 12px 0;
}

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

/* about セクション */
.about {
    padding: 35px 0 100px; /* margin相殺を避けて上から連続させる */
    background: linear-gradient(to bottom, #F3F8F6 0, #F3F8F6 210px, transparent 210px);
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(217, 217, 217, 0.5); /* 50%透過 */
    border-radius: 16px;
    padding: 28px 30px 36px;
}

.about-kicker {
    font-size: 14px;
    color: #686D6B;
    margin: 0 0 4px 0;
}

.about-title {
    color: #007A46;
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 14px 0;
}

.about-subtitle {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin: 0 0 14px 0;
}

.about-lead {
    font-size: 20px;
    margin: 0 0 30px 0;
    color: #333;
}

.about-profile {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.about-profile-image {
    width: 130px;
    flex-shrink: 0;
}

.about-profile-image img {
    width: 100%;
    border-radius: 6px;
}

.about-profile-caption {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #333;
}

.about-profile-text h4 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.about-profile-text p {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.about-philosophy h4 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #007A46;
}

.about-philosophy-main {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #333;
}

.about-philosophy p {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.about-link {
    font-size: 24px;
    font-weight: 900;
}

.about-link a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.about-link a:hover {
    color: #00A05C;
}

.about-contact {
    display: flex;
    justify-content: center;
    margin-top: 44px; /* もう少し下へ */
}

.about-contact-btn {
    display: inline-block;
    min-width: 160px;
    text-align: center;
    background: linear-gradient(135deg, #8FD14F 0%, #3FAE63 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    padding: 14px 24px;
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(63, 174, 99, 0.35);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}

.about-contact-btn:hover {
    background: linear-gradient(135deg, #00A05C 0%, #007A46 100%);
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(63, 174, 99, 0.42);
}

/* recruit セクション */
.recruit {
    position: relative;
    padding: 90px 0 0;
}

.recruit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 170px;
    background-color: #00A05C;
    z-index: -1;
}

.recruit-panel {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 28px 28px 42px;
    text-align: left;
}

.recruit-kicker {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #686D6B;
}

.recruit-title {
    margin: 0;
    font-size: 32px;
    color: #007A46;
    font-weight: 900;
}

.recruit-subtitle {
    margin: 8px 0 18px 0;
    font-size: 24px;
    color: #007A46;
    font-weight: 800;
}

.recruit-text {
    margin: 0 0 24px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.recruit-catch {
    margin: 0 0 28px 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.45;
    color: #333;
    text-align: center;
}

.recruit-btn {
    display: block;
    width: fit-content;
    min-width: 160px;
    margin: 80px auto; /* 上下80pxの余白 */
    background: linear-gradient(135deg, #8FD14F 0%, #3FAE63 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 14px 24px;
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(63, 174, 99, 0.35);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.recruit-btn:hover {
    background: linear-gradient(135deg, #00A05C 0%, #007A46 100%);
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(63, 174, 99, 0.42);
}

.recruit-image {
    width: 100%;
    height: 320px; /* 高さを約半分に */
    overflow: hidden;
}

.recruit-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 0;
}

/* access セクション */
.access {
    padding: 70px 0 80px;
    background-color: #fff;
}

.access-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.access-kicker {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #686D6B;
}

.access-title {
    margin: 0 0 14px 0;
    font-size: 32px;
    color: #007A46;
    font-weight: 900;
}

.access-address {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.access-map {
    width: 100%;
    overflow: hidden;
}

.access-map iframe {
    display: block;
    width: 100%;
    border: none;
}

/* footer */
footer {
    background-color: #00A05C;
    color: #fff;
    padding: 24px 0 16px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-logo img {
    width: 44px;
    height: 44px;
}

.footer-logo p {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
}

.footer-address,
.footer-tel {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-nav ul {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer-nav a:hover {
    opacity: 0.82;
}

.footer-copy {
    margin: 18px 0 0;
    text-align: center;
    font-size: 10px;
}

.footer-copy a {
    color: inherit;
    text-decoration: none;
}

.footer-copy a:hover {
    opacity: 0.85;
}

/* about.html */
.about-page-main {
    background-color: #fff;
    padding: 60px 0 0;
}

.about-page-hero {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 0;
}

.about-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    height: 170px;
    background-color: #00A05C;
    border-radius: 0;
    z-index: 0;
}

.about-page-card {
    position: relative;
    z-index: 1;
    background-color: #fff;
    border-radius: 20px;
    padding: 44px 42px 46px;
}

.news-container,
.about-inner,
.recruit-panel,
.about-page-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.about-page-kicker {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    color: #007A46;
    letter-spacing: 0.03em;
}

.about-page-subkicker {
    margin: 6px 0 24px;
    font-size: 20px;
    font-weight: 800;
    color: #686D6B;
}

.about-page-lead {
    margin: 0 0 32px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
    color: #333;
}

.about-page-block + .about-page-block {
    margin-top: 30px;
}

.about-page-block h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
    color: #00A05C;
}

.about-page-block p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.about-page-closing {
    margin: 34px 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.9;
    color: #333;
    text-align: center;
}


.about-guideline {
    background-color: #F3F8F6;
    padding: 80px 0;
}

.about-guideline-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-guideline-title {
    margin: 0 0 26px;
    font-size: 24px;
    font-weight: 900;
    color: #007A46;
}

.about-guideline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 34px;
}

.about-guideline-card {
    position: relative;
    background-color: #fff;
    border: 1px solid #d9dedb;
    border-radius: 10px;
    padding: 22px 18px 22px 22px;
    min-height: 246px;
    overflow: hidden;
}

.about-guideline-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-right: 9px solid rgba(0, 160, 92, 0.92);
    border-bottom: 9px solid rgba(0, 160, 92, 0.92);
    border-radius: 0 0 14px 0;
    filter: blur(0.8px);
    pointer-events: none;
}

.about-guideline-en {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #9ca5a0;
    line-height: 1.2;
}

.about-guideline-card h3 {
    margin: 2px 0 14px;
    font-size: 20px;
    font-weight: 900;
    color: #007A46;
}

.about-guideline-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.company-profile {
    background-color: #fff;
    padding: 80px 0;
}

.company-profile-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.company-profile-title {
    margin: 0 0 30px;
    font-size: 24px;
    font-weight: 900;
    color: #007A46;
}

.company-profile-table {
    margin: 0;
    border-top: 1px solid #e3e8e6;
}

.company-profile-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    column-gap: 26px;
    border-bottom: 1px solid #e3e8e6;
    padding: 8px 0;
}

.company-profile-row dt {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #F3F8F6;
    border-radius: 2px;
    padding: 8px 14px;
    line-height: 1.4;
    align-self: center;
}

.company-profile-row dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.company-profile-row ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.company-profile-row li {
    margin: 0;
    line-height: 1.9;
}

.company-profile-row li::before {
    content: "■ ";
}

.prefooter-visual {
    width: 100%;
}

.prefooter-visual img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

/* service.html */
.service-page-main {
    background-color: #FFFFFF;
    padding: 60px 0 100px;
}

.service-page-hero {
    position: relative;
}

.service-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 170px;
    background-color: #00A05C;
}

.service-page-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 0;
}

.service-card {
    background-color: #fff;
    border-radius: 18px;
    padding: 42px 40px 56px;
}

.service-kicker,
.recruit-page-kicker {
    margin: 0;
    color: #8e9894;
    font-size: 13px;
    font-weight: 700;
}

.service-title {
    margin: 2px 0 22px;
    color: #007A46;
    font-size: 32px;
    font-weight: 900;
}

.service-lead {
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
}

.service-points {
    list-style: none;
    margin: 38px 0 0;
    padding: 0;
}

.service-points li {
    display: flex;
    gap: 14px;
}

.service-points li + li {
    margin-top: 26px;
}

.service-icon {
    width: 34px;
    height: 34px;
    border: 2px solid #00A05C;
    border-radius: 6px;
    background-color: #f3f8f6;
    color: #00A05C;
    font-size: 20px;
    font-weight: 900;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-glyph {
    font-size: 20px;
    line-height: 1;
    color: #00A05C;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.service-points h2 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 900;
}

.service-points p {
    margin: 4px 0 0;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
}

.service-steps {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 22px;
}

.service-steps section {
    position: relative;
    background-color: #F3F8F6;
    padding: 30px 20px 26px;
}

.service-steps section h3 {
    position: absolute;
    top: 0;
    left: 20px;
    transform: translateY(-50%);
    margin: 0;
    color: #00A05C;
    font-size: 20px;
    font-weight: 900;
}

.service-steps section h4 {
    margin: 16px 0 10px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.service-steps section p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
}

.service-actions {
    margin-top: 96px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.service-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #8FD14F 0%, #3FAE63 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(63, 174, 99, 0.35);
    transition: opacity 0.3s;
}

.service-action-btn:hover {
    background: linear-gradient(135deg, #00A05C 0%, #007A46 100%);
    opacity: 0.92;
}

.service-faq {
    margin-top: 90px;
    background-color: #F3F8F6;
    padding: 86px 0 90px;
}

.service-faq-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.service-faq-title {
    margin: 0 0 36px;
    color: #007A46;
    font-size: 32px;
    font-weight: 900;
}

.service-faq-list {
    margin: 0;
}

.service-faq-item + .service-faq-item {
    margin-top: 18px;
}

.service-faq-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.service-faq-question {
    margin: 0;
    list-style: none;
    cursor: pointer;
    padding: 22px 58px 22px 24px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
    position: relative;
}

.service-faq-question::-webkit-details-marker {
    display: none;
}

.service-faq-question::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: #00A05C;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.service-faq-item[open] .service-faq-question::after {
    content: "−";
}

.service-faq-answer {
    margin: 0;
    padding: 0 24px 22px;
    color: #333;
    font-size: 16px;
    line-height: 1.9;
}

/* recruit.html */
.recruit-page-main {
    background-color: #fff;
    padding: 60px 0 0;
}

.recruit-page-hero {
    position: relative;
}

.recruit-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 170px;
    background-color: #00A05C;
}

.recruit-page-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 0;
}

.recruit-page-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 34px 34px 40px;
}

.recruit-page-title {
    margin: 2px 0 20px;
    color: #007A46;
    font-size: 32px;
    font-weight: 900;
}

.recruit-page-subtitle {
    margin: 0 0 20px;
    color: #007A46;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.35;
}

.recruit-page-text {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.recruit-page-points {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.recruit-page-points li {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recruit-page-points li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: #00A05C;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recruit-page-catch {
    margin: 30px 0 0;
    color: #333;
    font-size:24px;
    font-weight: 900;
    line-height: 1.45;
    text-align: center;
}

.recruit-page-catch span {
    color: #00A05C;
}

.recruit-page-visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recruit-page-visual img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.recruit-page-openings {
    background-color: #fff;
    padding: 74px 0 0;
}

.recruit-page-openings-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.recruit-opening-card {
    background-color: #f4f4f4;
    border-radius: 14px;
    padding: 24px 24px 20px;
}

.recruit-opening-card + .recruit-opening-card {
    margin-top: 18px;
}

.recruit-opening-card h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recruit-opening-card h3 .material-symbols-outlined {
    color: #00A05C;
    font-size: 42px;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.recruit-opening-card ul {
    list-style: none;
    margin: 18px 0 12px;
    padding: 0;
}

.recruit-opening-card li {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.recruit-opening-card li::before {
    content: "■ ";
}

.recruit-opening-card p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
}

.recruit-opening-note {
    margin: 42px 0 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.85;
}

.recruit-opening-action {
    margin: 88px 0;
    text-align: center;
}

.recruit-opening-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #8FD14F 0%, #3FAE63 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(63, 174, 99, 0.35);
    transition: opacity 0.3s;
}

.recruit-opening-btn:hover {
    background: linear-gradient(135deg, #00A05C 0%, #007A46 100%);
    opacity: 0.92;
}

/* contact.html */
.contact-page-main {
    background-color: #f5f7f6;
    padding: 60px 0 100px;
}

.contact-page-hero {
    position: relative;
}

.contact-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 170px;
    background-color: #00A05C;
}

.contact-page-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 0;
}

.contact-page-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 36px 36px 40px;
}

.contact-page-kicker {
    margin: 0;
    color: #8e9894;
    font-size: 14px;
    font-weight: 700;
}

.contact-page-title {
    margin: 2px 0 18px;
    color: #007A46;
    font-size: 32px;
    font-weight: 900;
}

.contact-page-lead {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

.contact-form {
    margin-top: 42px;
}

.contact-form p {
    margin: 0;
}

.contact-form label {
    display: block;
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.contact-form label + label {
    margin-top: 42px;
}

.contact-form .contact-form-row + .contact-form-row {
    margin-top: 42px;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #d4dbd8;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-required {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background-color: #e85454;
    border-radius: 3px;
    padding: 1px 6px;
    vertical-align: middle;
}

.contact-agree {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.contact-agree input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #00A05C;
}

.contact-agree a {
    color: #007A46;
    text-decoration: underline;
}

.contact-submit-wrap {
    margin-top: 28px;
    text-align: center;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #8FD14F 0%, #3FAE63 100%);
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(63, 174, 99, 0.35);
    cursor: pointer;
    transition: opacity 0.3s;
}

.contact-form input.contact-submit-btn,
.contact-form .wpcf7-submit.contact-submit-btn {
    color: #fff !important;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #00A05C 0%, #007A46 100%);
    opacity: 0.92;
}

.contact-form .wpcf7 form .wpcf7-response-output,
.contact-form .wpcf7-response-output {
    margin: 16px 0 0;
    border-radius: 6px;
    font-size: 13px;
}

.contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 12px;
}

/* privacy.html */
.privacy-page-main {
    background-color: #f5f7f6;
    padding: 60px 0 100px;
}

.privacy-page-hero {
    position: relative;
}

.privacy-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 170px;
    background-color: #00A05C;
}

.privacy-page-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 0;
}

.privacy-page-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 36px 36px 40px;
}

.privacy-page-kicker {
    margin: 0;
    color: #8e9894;
    font-size: 13px;
    font-weight: 700;
}

.privacy-page-title {
    margin: 2px 0 20px;
    color: #007A46;
    font-size: 32px;
    font-weight: 900;
}

.privacy-page-card h2 {
    margin: 26px 0 8px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

.privacy-page-card p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.85;
}

.privacy-page-card a {
    color: #007A46;
}

/* thanks.html */
.thanks-page-main {
    background-color: #f5f7f6;
    padding: 60px 0 100px;
}

.thanks-page-hero {
    position: relative;
}

.thanks-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: transparent;
}

.thanks-page-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 0;
}

.thanks-page-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 44px 36px 48px;
    text-align: center;
}

.thanks-page-kicker {
    margin: 0;
    color: #8e9894;
    font-size: 13px;
    font-weight: 700;
}

.thanks-page-title {
    margin: 2px 0 20px;
    color: #007A46;
    font-size: 42px;
    font-weight: 900;
}

.thanks-page-message {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

.thanks-page-actions {
    margin-top: 36px;
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.thanks-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #8FD14F 0%, #3FAE63 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-radius: 2px;
    box-shadow: 0 8px 18px rgba(63, 174, 99, 0.35);
    transition: opacity 0.3s;
}

.thanks-page-btn:hover {
    background: linear-gradient(135deg, #00A05C 0%, #007A46 100%);
    opacity: 0.92;
}

.thanks-page-btn--ghost {
    background: #fff;
    border: 1px solid #00A05C;
    color: #007A46;
    box-shadow: none;
}

.thanks-page-btn--ghost:hover {
    background: #f3f8f6;
}

@media (max-width: 1024px) and (min-width: 1025px) {
    body {
        font-size: 14px;
    }

    .header-box {
        padding: 12px 32px;
    }

    .logo-box img {
        height: 42px;
    }

    .logo-box p {
        font-size: 22px;
    }

    .menu ul {
        gap: 14px;
    }

    .menu a {
        font-size: 12px;
    }

    .fv-title h1 {
        font-size: 2.1rem;
        letter-spacing: 5px;
    }

    .news-container,
    .about-inner,
    .recruit-panel,
    .access-inner,
    .about-page-hero,
    .about-guideline-inner,
    .company-profile-inner,
    .service-page-inner,
    .service-faq-inner,
    .recruit-page-inner,
    .recruit-page-openings-inner,
    .contact-page-inner,
    .privacy-page-inner,
    .thanks-page-inner {
        padding-left: 32px;
        padding-right: 32px;
    }

    .footer-inner,
    .news-container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .fv-container {
        padding: 44px 32px;
    }

    .service-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services {
        padding: 120px 32px 56px;
        margin-top: 56px;
    }

    .services-inner,
    .services-inner--right {
        max-width: 900px;
        margin: 0 auto;
        flex-direction: column;
        gap: 16px;
    }

    .services-inner + .services-inner {
        margin-top: 36px;
    }

    .services-image {
        width: 100%;
        height: 260px;
    }

    .services-card {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 20px 24px;
    }

    .news-container,
    .about-inner,
    .recruit-panel,
    .about-page-card,
    .service-card,
    .recruit-page-card,
    .contact-page-card,
    .privacy-page-card,
    .thanks-page-card {
        width: calc(100% - 64px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1024px) {
    .fv-title h1 {
        font-size: 1.9rem;
        letter-spacing: 3px;
        line-height: 1.5;
    }

    .header-box {
        position: relative;
        flex-wrap: wrap;
        gap: 8px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: auto;
        border: 1px solid #d2d9d6;
        border-radius: 6px;
        background: #fff;
        color: #007A46;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .menu {
        display: none;
        width: 100%;
        order: 3;
    }

    .menu.is-open {
        display: block;
    }

    .menu ul {
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #e3e8e6;
        margin-top: 6px;
    }

    .menu li + li {
        border-top: 1px solid #e3e8e6;
    }

    .menu a {
        display: block;
        padding: 12px 4px;
    }

    .news {
        padding: 50px 0 0 0;
    }

    .news::before {
        height: 200px;
    }

    .news-container {
        height: auto;
        min-height: 320px;
        overflow: visible;
        padding: 24px 16px;
        border-radius: 16px;
        max-width: none;
        margin: 0 16px;
    }

    .news-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .news-list span {
        display: block;
        width: auto;
        margin-bottom: 6px;
    }

    .services {
        padding: 60px 16px;
    }

    .services-inner {
        max-width: 100%;
        flex-direction: column;
        padding: 0;
        gap: 20px;
    }

    .services-image {
        width: 100%;
        height: 220px;
    }

    .services-card {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 16px 14px;
    }

    .services-title {
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .about {
        padding: 24px 0 70px;
    }

    .about-inner {
        padding: 20px 16px 24px;
    }

    .about-title {
        font-size: 34px;
    }

    .about-subtitle {
        font-size: 30px;
    }

    .about-lead {
        font-size: 16px;
        line-height: 1.6;
    }

    .about-profile {
        flex-direction: column;
    }

    .about-profile-image {
        width: 110px;
    }

    .about-profile-text h4 {
        font-size: 26px;
    }

    .about-profile-text p,
    .about-philosophy p {
        font-size: 14px;
    }

    .about-philosophy h4 {
        font-size: 28px;
    }

    .about-philosophy-main {
        font-size: 28px;
        line-height: 1.4;
    }

    .about-link {
        font-size: 26px;
    }

    .about-contact {
        margin-top: 28px;
    }

    .recruit {
        padding-top: 70px;
    }

    .recruit::before {
        height: 130px;
    }

    .recruit-panel {
        margin: 0 16px;
        padding: 20px 16px 28px;
    }

    .recruit-title {
        font-size: 34px;
    }

    .recruit-subtitle {
        font-size: 28px;
    }

    .recruit-catch {
        font-size: 24px;
        text-align: left;
    }

    .recruit-image {
        height: 220px;
    }

    .access {
        padding: 50px 16px 60px;
    }

    .access-title {
        font-size: 34px;
    }

    .access-address {
        font-size: 16px;
        line-height: 1.5;
    }

    .access-map iframe {
        height: 280px;
    }

    footer {
        padding: 24px 0 14px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
    }

    .footer-logo p {
        font-size: 26px;
    }

    .footer-address,
    .footer-tel {
        font-size: 14px;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        gap: 12px 16px;
        margin-top: 4px;
    }

    .footer-nav a,
    .footer-copy {
        font-size: 13px;
    }

    .about-page-main {
        padding: 34px 0 0;
    }

    .about-page-hero {
        padding: 42px 16px 0;
    }

    .about-page-hero::before {
        height: 120px;
        border-radius: 0;
    }

    .about-page-card {
        padding: 24px 18px 30px;
        border-radius: 14px;
    }

    .about-page-kicker {
        font-size: 26px;
    }

    .about-page-subkicker {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .about-page-lead {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .about-page-block h3 {
        font-size: 24px;
    }

    .about-page-block p,
    .about-page-closing,
    .about-guideline-card p {
        font-size: 15px;
        line-height: 1.85;
    }

    .about-guideline {
        margin-top: 0;
        padding: 80px 0;
    }

    .about-guideline-inner {
        padding: 0 16px;
    }

    .about-guideline-title {
        font-size: 26px;
    }

    .about-guideline-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-guideline-card {
        min-height: auto;
        border-radius: 8px;
        padding: 16px 14px 16px 16px;
    }

    .about-guideline-card::after {
        border-right-width: 7px;
        border-bottom-width: 7px;
        border-radius: 0 0 10px 0;
        filter: blur(0.6px);
    }

    .about-guideline-en {
        font-size: 12px;
    }

    .about-guideline-card h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .company-profile {
        padding: 80px 0;
    }

    .company-profile-inner {
        padding: 0 16px;
    }

    .company-profile-title {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .company-profile-row {
        grid-template-columns: 1fr;
        row-gap: 6px;
        padding: 8px 0;
    }

    .company-profile-row dt,
    .company-profile-row dd {
        font-size: 15px;
        line-height: 1.8;
    }

    .service-page-main {
        padding: 34px 0 70px;
    }

    .service-page-hero::before {
        height: 120px;
    }

    .service-page-inner {
        padding: 36px 16px 0;
    }

    .service-card {
        border-radius: 14px;
        padding: 26px 18px 34px;
    }

    .service-title {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .service-lead {
        font-size: 16px;
    }

    .service-points {
        margin-top: 28px;
    }

    .service-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .service-icon-glyph {
        font-size: 16px;
    }

    .service-points h2 {
        font-size: 16px;
    }

    .service-points p {
        font-size: 14px;
    }

    .service-steps {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 36px;
    }

    .service-steps section h3 {
        left: 16px;
        font-size: 24px;
    }

    .service-steps section h4 {
        font-size: 20px;
    }

    .service-actions {
        margin-top: 64px;
    }

    .service-action-btn {
        min-width: 160px;
        font-size: 14px;
        padding: 14px 24px;
    }

    .service-faq {
        margin-top: 64px;
        padding: 56px 0 64px;
    }

    .service-faq-inner {
        padding: 0 16px;
    }

    .service-faq-title {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .service-faq-item + .service-faq-item {
        margin-top: 12px;
    }

    .service-faq-question {
        font-size: 16px;
        padding: 16px 46px 16px 14px;
    }

    .service-faq-question::after {
        right: 14px;
        font-size: 22px;
    }

    .service-faq-answer {
        font-size: 14px;
        line-height: 1.8;
        padding: 0 14px 16px;
    }

    .recruit-page-main {
        padding-top: 34px;
    }

    .recruit-page-hero::before {
        height: 120px;
    }

    .recruit-page-inner {
        padding: 36px 16px 0;
    }

    .recruit-page-card {
        border-radius: 14px;
        padding: 22px 16px 26px;
    }

    .recruit-page-title {
        font-size: 34px;
        margin-bottom: 16px;
    }

    .recruit-page-subtitle {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .recruit-page-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .recruit-page-points li {
        font-size: 18px;
    }

    .recruit-page-points li::before {
        width: 20px;
        height: 20px;
        font-size: 14px;
        border-radius: 3px;
    }

    .recruit-page-catch {
        font-size: 26px;
        margin-top: 22px;
    }

    .recruit-page-visual img {
        height: 220px;
    }

    .recruit-page-openings {
        padding: 48px 0 0;
    }

    .recruit-page-openings-inner {
        padding: 0 16px;
    }

    .recruit-opening-card {
        border-radius: 10px;
        padding: 16px 14px 14px;
    }

    .recruit-opening-card h3 {
        font-size: 22px;
        align-items: flex-start;
    }

    .recruit-opening-card h3 .material-symbols-outlined {
        font-size: 30px;
    }

    .recruit-opening-card ul {
        margin: 10px 0 8px;
    }

    .recruit-opening-card li {
        font-size: 14px;
        line-height: 1.7;
    }

    .recruit-opening-card p {
        font-size: 13px;
        line-height: 1.7;
    }

    .recruit-opening-note {
        margin-top: 28px;
        font-size: 14px;
        line-height: 1.8;
    }

    .recruit-opening-action {
        margin: 56px 0;
    }

    .contact-page-main {
        padding: 34px 0 70px;
    }

    .contact-page-hero::before {
        height: 120px;
    }

    .contact-page-inner {
        padding: 36px 16px 0;
    }

    .contact-page-card {
        border-radius: 14px;
        padding: 22px 16px 26px;
    }

    .contact-page-title {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .contact-page-lead {
        font-size: 14px;
        line-height: 1.75;
    }

    .contact-form {
        margin-top: 20px;
    }

    .contact-form label {
        font-size: 13px;
    }

    .contact-form label + label {
        margin-top: 16px;
    }

    .contact-form .contact-form-row + .contact-form-row {
        margin-top: 16px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 13px;
        padding: 10px 12px;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .contact-required {
        font-size: 10px;
        padding: 1px 5px;
    }

    .contact-agree {
        margin-top: 16px;
        font-size: 12px;
        gap: 6px;
    }

    .contact-submit-wrap {
        margin-top: 22px;
    }

    .privacy-page-main {
        padding: 34px 0 70px;
    }

    .privacy-page-hero::before {
        height: 120px;
    }

    .privacy-page-inner {
        padding: 36px 16px 0;
    }

    .privacy-page-card {
        border-radius: 14px;
        padding: 22px 16px 26px;
    }

    .privacy-page-title {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .privacy-page-card h2 {
        font-size: 16px;
        margin-top: 20px;
    }

    .privacy-page-card p {
        font-size: 14px;
        line-height: 1.8;
    }

    .thanks-page-main {
        padding: 34px 0 70px;
    }

    .thanks-page-hero::before {
        height: 0;
    }

    .thanks-page-inner {
        padding: 36px 16px 0;
    }

    .thanks-page-card {
        border-radius: 14px;
        padding: 28px 16px 32px;
    }

    .thanks-page-title {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .thanks-page-message {
        font-size: 14px;
        line-height: 1.75;
    }

    .thanks-page-actions {
        margin-top: 24px;
        display: flex;
        gap: 10px;
    }

    .thanks-page-btn {
        min-width: 140px;
        padding: 12px 16px;
        font-size: 13px;
    }

    .news-title,
    .about-title,
    .recruit-title,
    .access-title,
    .about-guideline-title,
    .company-profile-title,
    .contact-page-title,
    .privacy-page-title,
    .thanks-page-title,
    .recruit-page-title {
        font-size: 28px;
        line-height: 1.3;
    }


    .about-subtitle,
    .recruit-subtitle,
    .about-page-block h3,
    .about-guideline-card h3,
    .service-steps section h3,
    .recruit-page-subtitle,
    .recruit-opening-card h3 {
        font-size: 24px;
        line-height: 1.4;
    }

    .about-profile-text h4,
    .about-philosophy h4,
    .service-steps section h4 {
        font-size: 18px;
        line-height: 1.5;
    }
}

@media (max-width: 430px) {
    body {
        font-size: 13px;
    }

    .header-box {
        padding: 10px 12px;
    }

    .logo-box img {
        height: 38px;
    }

    .logo-box p {
        font-size: 20px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .fv-container {
        padding: 34px 0 34px 12px;
    }

    .fv-title h1 {
        font-size: 1.55rem;
        letter-spacing: 2px;
        line-height: 1.5;
    }

    .service-title,
    .news-title,
    .about-title,
    .recruit-title,
    .access-title,
    .about-guideline-title,
    .company-profile-title,
    .contact-page-title,
    .privacy-page-title,
    .thanks-page-title,
    .recruit-page-title {
        font-size: 30px;
    }

    .recruit-page-subtitle {
        font-size: 22px;
    }

    .recruit-catch {
        font-size: 16px;
        line-height: 1.6;
    }

    .about-subtitle,
    .recruit-subtitle,
    .about-page-block h3,
    .about-guideline-card h3,
    .service-steps section h3,
    .recruit-page-subtitle,
    .recruit-opening-card h3 {
        font-size: 20px;
    }

    .about-profile-text h4,
    .about-philosophy h4,
    .service-steps section h4 {
        font-size: 16px;
    }

    .thanks-page-actions {
        flex-direction: column;
        align-items: center;
    }

    .thanks-page-btn {
        width: 100%;
        max-width: 220px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header-box {
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: none;
    }

    .menu {
        display: block !important;
        width: auto;
        order: initial;
    }

    .menu ul {
        flex-direction: row;
        gap: 12px;
        border-top: none;
        margin-top: 0;
    }

    .menu li + li {
        border-top: none;
    }

    .menu a {
        display: inline;
        padding: 0;
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    body {
        font-size: 12px;
    }

    .header-box {
        padding: 8px 10px;
    }

    .logo-box img {
        height: 34px;
    }

    .logo-box p {
        font-size: 18px;
    }

    .menu-toggle {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .menu a {
        padding: 10px 2px;
        font-size: 13px;
    }

    .fv-title h1 {
        font-size: 1.35rem;
        letter-spacing: 1px;
        line-height: 1.45;
    }

    .service-title,
    .news-title,
    .about-title,
    .recruit-title,
    .access-title,
    .about-guideline-title,
    .company-profile-title,
    .contact-page-title,
    .privacy-page-title,
    .thanks-page-title,
    .recruit-page-title {
        font-size: 28px;
    }

    .recruit-page-subtitle {
        font-size: 20px;
    }

    .recruit-catch {
        font-size: 16px;
    }

    .about-subtitle,
    .recruit-subtitle,
    .about-page-block h3,
    .about-guideline-card h3,
    .service-steps section h3,
    .recruit-page-subtitle,
    .recruit-opening-card h3 {
        font-size: 18px;
    }

    .about-profile-text h4,
    .about-philosophy h4,
    .service-steps section h4 {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .fv-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
        padding: 26px 16px 30px;
    }

    .fv-title,
    .fv-img {
        flex: 0 0 auto;
        width: 100%;
    }

    .fv-title h1 {
        line-height: 1.7;
    }

    .fv-img-swiper img {
        height: clamp(150px, 48vw, 220px);
    }

    .services-title {
        font-size: 16px;
        line-height: 1.6;
    }

    .recruit-subtitle {
        font-size: 20px;
        line-height: 1.4;
    }

    .company-profile-row dt {
        justify-content: flex-start;
        text-align: left;
        align-self: flex-start;
        width: auto;
        padding: 4px 10px;
        font-size: 13px;
        line-height: 1.5;
    }

    .prefooter-visual img {
        height: 200px;
    }
}