/*
Theme Name: 万能型
Description: 水色とオレンジを基調にした、投稿連動NEWS付きの企業向けテーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bannnou-thema
*/

/* 基本設定 */
:root {
    --blue: #2086b8;
    --sky: #b7e5f7;
    --orange: #fa941d;
    --ink: #303538;
    --line: #d6d6d6;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Zen Maru Gothic", serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.1em;
    overflow-wrap: anywhere;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: #1688f7;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s, transform 0.2s;
}

a:hover {
    color: var(--blue);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg.icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    vertical-align: -0.15em;
}

p {
    margin: 0 0 1.4em;
}

h1,
h2,
h3 {
    line-height: 1.65;
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
}

.container {
    width: 86%;
    max-width: var(--container);
    margin-inline: auto;
}

.screen-reader-text,
.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    z-index: 200;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 10px;
    clip-path: none;
    background: #fff;
}

/* ヘッダーとロゴ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 28px 0;
    background: #fff;
}

@media (min-width: 783px) {
    .admin-bar .site-header {
        top: 32px;
    }
}

@media (min-width: 601px) and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.brand {
    display: block;
    width: 220px;
    color: #444;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0;
}

.brand-label {
    display: block;
    border-radius: 30px;
    background: #009cce;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.brand strong {
    display: block;
    padding: 3px 0 0;
    font-size: 24px;
    font-weight: 400;
    white-space: nowrap;
}

.brand-caption {
    display: flex;
    align-items: center;
    color: #7787a3;
    font-size: 9px;
    justify-content: flex-end;
}

.brand-caption::before {
    content: '';
    flex: 1;
    border-top: 1px solid #aeb7bb;
    margin-right: 5px;
}

.custom-logo {
    width: 220px;
    height: auto;
}

.desktop-nav {
    flex: 1;
}

.desktop-nav,
.desktop-nav ul {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 50px;
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.desktop-nav a {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.3em;
    font-size: 15px;
    white-space: nowrap;
}

.desktop-nav a:hover {
    color: var(--blue);
}

.desktop-nav .nav-arrow {
    display: none;
}

.menu-toggle {
    position: fixed;
    top: 12px;
    right: 10px;
    z-index: 50;
    width: 44px;
    height: 44px;
    padding: 7px;
    border: 0;
    background: transparent;
    display: none;
    flex-direction: column;
    justify-content: space-around;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: #333;
    transition: transform 0.25s, opacity 0.25s;
}

.menu-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    width: min(300px, calc(100% - 64px));
    max-width: none;
    height: 100dvh;
    max-height: none;
    overflow: visible;
    background: #fff;
    color: #163c26;
}

.menu-drawer::backdrop {
    background: rgb(0 0 0 / 20%);
}

.menu-drawer nav {
    height: 100%;
    overflow-y: auto;
}

.menu-drawer nav>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 10px 30px;
    border-bottom: 3px dotted var(--line);
    color: #163c26;
    font-size: 16px;
}

.menu-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
}

.nav-arrow {
    display: block;
    place-items: center;
    line-height: -7px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: #218faa;
    font-size: 22px;
    line-height: 18px;
    padding: 0px 8px;
}

.menu-drawer .menu-toggle {
    position: absolute;
    left: -58px;
    right: auto;
    top: 12px;
    background: var(--blue);
    border-radius: 8px;
}

.menu-drawer .menu-toggle span {
    background: #fff;
}

.menu-drawer .menu-toggle span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-drawer .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-drawer .menu-toggle span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.download-tab {
    position: fixed;
    right: 0;
    top: 155px;
    z-index: 20;
    padding: 18px 16px;
    writing-mode: vertical-rl;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 2px 12px #0002;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.download-tab:hover {
    background: #dd7804;
    color: #fff;
}

/* 共通見出し・ボタン */
.section-title {
    text-align: center;
    margin: 55px 0 60px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.section-title::after {
    content: '';
    display: block;
    width: 38px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--blue);
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 0;
    border-radius: 50px;
    background: #eee;
    color: #4c5053;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.pill>span {
    display: block;
    margin-top: -6px;
    font-size: 23px;
    line-height: 1;
}

.pill:hover {
    background: #dcebf2;
    color: var(--blue);
    transform: translateY(-2px);
}

.pill.primary,
.pill.dark {
    min-width: 250px;
    padding: 16px 28px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.pill.primary:hover,
.pill.dark:hover {
    background: #126d9a;
}

.menu-drawer-actions .pill.primary {
    min-width: 0;
}

.menu-drawer-actions .pill.menu-drawer-line {
    gap: 8px;
    padding-inline: 12px;
}

.menu-drawer-actions .pill.menu-drawer-line::before {
    content: '';
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #fff url('assets/images/icon/line.svg') center / contain no-repeat;
}

.menu-drawer-actions .pill.footer-contact-icon-phone {
    gap: 8px;
    padding-inline: 12px;
}

.menu-drawer-actions .pill.footer-contact-icon-phone::before {
    content: '';
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: var(--contact-icon) center / contain no-repeat;
    mask: var(--contact-icon) center / contain no-repeat;
}

.button-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
}

.button-center {
    text-align: center;
    margin-top: 36px;
}

/* TOP：メイン画像・波形・サービス */
.bannnou-home .site-header {
    background: #eaf8fd;
}

.home-intro {
    position: relative;
    padding-bottom: 140px;
    background: linear-gradient(#eaf8fd 75%, #c9e9f4);
}

.hero-image {
    border: 2px solid #299acb;
    border-radius: 13px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
}

.about-block {
    padding: 0 3%;
    text-align: center;
}

.about-block .section-title {
    margin: 44px 0 50px;
    font-size: 20px;
}

.about-copy {
    margin-bottom: 30px;
    font-size: 19px;
}

.about-block p {
    font-size: 16px;
}

.intro-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    overflow: hidden;
    pointer-events: none;
}

.intro-wave-flow {
    animation: intro-wave-flow 5.5s linear infinite;
}

@keyframes intro-wave-flow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-1440px);
    }
}

.features {
    padding-top: 30px;
}

.features .section-title,
.home-news .section-title {
    font-size: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 90px 9%;
    width: 87%;
    margin: 70px auto 90px;
}

.feature-card img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
    border-radius: 12px;
}

.feature-card h3 {
    position: relative;
    width: 73%;
    margin: -30px 0 12px;
    padding: 8px 8px 0 0;
    background: #fff;
    color: var(--blue);
    border-radius: 0 12px 0 0;
    font-size: 20px;
}

.feature-card p {
    font-size: 16px;
}

.home-news {
    padding-bottom: 48px;
}

.news-brief {
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-brief li {
    padding: 20px 0;
    border-bottom: 2px dotted var(--line);
}

time {
    font-size: 16px;
}

.news-brief time,
.news-brief a {
    display: block;
}

.news-brief a {
    font-size: 20px;
    font-weight: 700;
}

/* 事業概要 */
.business-intro {
    text-align: center;
    margin: 0 auto 100px;
}

.business-intro h2 {
    font-size: 20px;
}

.business-intro p {
    font-size: 16px;
}

.service-list {
    display: grid;
    gap: 90px;
    margin-bottom: 90px;
}

.service-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 20px;
}

.service-row:nth-child(even)>img,
.service-row:nth-child(even)>.service-photo {
    order: 2;
}

.service-photo {
    overflow: hidden;
    border-radius: 14px;
    min-width: 0;
}

.service-row img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
    border-radius: 14px;
}

.service-row h2 {
    font-size: 20px;
    margin: 0 0 24px;
}

.service-row p {
    font-size: 16px;
    margin: 0;
}

/* 会社概要・採用情報 */
.company-page {
    padding-bottom: 60px;
}

.greeting {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 20px;
    width: 84%;
    margin: 0 auto;
    align-items: start;
}

.greeting img {
    border-radius: 14px;
    width: 100%;
}

.greeting-photo {
    overflow: hidden;
    border-radius: 14px;
}

.greeting p {
    line-height: 1.65;
}

.signature {
    text-align: right;
}

.company-details {
    padding-top: 12px;
}

.data-table {
    width: 70%;
    margin: 0 auto;
}

.data-table>div {
    display: grid;
    grid-template-columns: 22% 1fr;
    border-bottom: 2px dotted var(--line);
    padding: 12px 8px;
    gap: 15px;
}

.data-table dt {
    font-weight: 700;
}

.company-details .data-table dt,
.recruit-table dt {
    align-self: center;
    text-align: left;
}

.data-table dd {
    margin: 0;
}

.access {
    padding-top: 10px;
}

.access iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.recruit-page {
    padding-bottom: 48px;
}

.recruit-table {
    width: 85%;
}

.recruit-table>div {
    grid-template-columns: 140px 1fr;
    align-items: center;
    min-height: 98px;
    padding: 20px 15px;
    gap: 30px;
}

.recruit-table dt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    text-align: center;
    gap: 8px;
}

.recruit-table dt>span {
    width: 100%;
}

/* NEWS一覧・記事・通常ページ */
.news-list-page {
    padding-bottom: 40px;
}

.news-list {
    padding: 20px 9% 36px;
}

.news-card {
    display: grid;
    grid-template-columns: 30% 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.news-card:last-child {
    margin-bottom: 0;
}

.news-image img,
.no-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.no-image {
    display: grid;
    place-items: center;
    background: #eaf8fd;
    color: var(--blue);
    font-size: 22px;
}

.news-card h2 {
    font-size: 25px;
    margin: 0 0 8px;
}

.news-excerpt p {
    margin: 0;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 2px dotted var(--line);
}

.page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 30px;
    border: 1px solid var(--blue);
    color: var(--blue);
    letter-spacing: 0;
}

.page-numbers.current,
a.page-numbers:hover {
    background: var(--blue);
    color: #fff;
}

.page-numbers.dots {
    border-color: transparent;
}

.empty-news {
    padding: 30px 0;
}

.single-news {
    max-width: 1000px;
    padding: 50px 0;
}

.article-header {
    border-bottom: 2px dotted var(--line);
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 25px;
    margin: 8px 0 0;
}

.article-image {
    width: 92%;
    margin: 30px auto;
}

.article-image img {
    width: 100%;
}

.entry-content {
    line-height: 1.9;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-content iframe {
    max-width: 100%;
}

.entry-content figure {
    max-width: 100%;
    margin-inline: 0;
}

.entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: 12px;
    border: 1px solid var(--line);
}

.entry-content pre {
    overflow-x: auto;
    padding: 20px;
    background: #f5f5f5;
}

.page-extra {
    margin: 50px 0;
}

.generic-page {
    min-height: 45vh;
    padding-bottom: 60px;
}

.download-page {
    text-align: center;
    min-height: 35vh;
    padding-bottom: 60px;
}

/* お問い合わせ：入力・確認 */
.contact-wrap {
    padding-bottom: 70px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 24% 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-row>label {
    padding-top: 6px;
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 2px;
    background: #aaa;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
}

.badge.required {
    background: #e94f12;
}

.form-row input:not([type='hidden']),
.form-row select,
.form-row textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
}

.form-row textarea {
    resize: vertical;
    min-height: 400px;
}

.form-row select {
    min-height: 40px;
    padding: 5px 12px;
}

.form-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 50px;
}

.confirmed-value {
    padding: 6px 0 14px;
    margin: 0;
    border-bottom: 1px dotted var(--line);
}

.form-notice,
.form-errors {
    padding: 24px;
    margin-bottom: 30px;
    background: #eff8fc;
}

.form-errors {
    color: #a42f0b;
    border-left: 3px solid #e94f12;
}

.confirm-heading {
    font-size: 22px;
}

/* フッター */
.site-footer {
    border-radius: 36px 36px 0 0;
    background: var(--sky);
    padding: 60px 0 55px;
}

.footer-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6%;
    margin-bottom: 50px;
}

.footer-contacts > .footer-contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 16px;
    background: #fff;
    padding: 35px 15px;
    color: var(--ink);
    line-height: 1.5;
}

.footer-contacts>a:hover {
    transform: translateY(-3px);
}

.footer-contacts strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--blue);
    font-size: clamp(20px, 2.2vw, 30px);
}

.footer-contacts span {
    font-size: 12px;
    font-weight: 700;
}

.footer-contacts .footer-contact-icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    font-size: inherit;
    background-color: currentColor;
    -webkit-mask: var(--contact-icon) center / contain no-repeat;
    mask: var(--contact-icon) center / contain no-repeat;
}

.footer-contact-icon-phone {
    --contact-icon: url("assets/images/icon/phone.svg");
}

.footer-contact-icon-mail {
    --contact-icon: url("assets/images/icon/mail.svg");
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6%;
}

.footer-company .brand,
.footer-company .custom-logo {
    width: 310px;
    max-width: 100%;
}

.footer-company .brand strong {
    font-size: 33px;
}

.footer-company .brand-label {
    font-size: 14px;
}

.footer-company .brand-caption {
    font-size: 12px;
}

.footer-address {
    margin: 12px 0 20px;
    font-size: 13px;
}

.footer-download .social-links {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 9px;
}

.social-links>* {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #fff;
}

.social-links .social-icon-image {
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-links .social-instagram .social-icon-image {
    width: 29px;
    height: 29px;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #fff;
}

.social-x {
    background: #101820;
}

.social-facebook {
    background: #3b609b;
}

.social-line {
    background: #64bd00;
}

.social-instagram {
    background: linear-gradient(135deg, #7269d8, #f4377a);
}

.social-youtube {
    background: #df0028;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    border-radius: 40px;
    background: var(--orange);
    color: #fff;
    font-size: 15px;
}

.download-button:hover {
    background: #dc7908;
    color: #fff;
    transform: translateY(-2px);
}

.download-button .icon {
    width: 26px;
    height: 26px;
}

.back-top {
    display: block;
    width: 40px;
    margin: 15px 3% 0 auto;
    text-align: center;
    color: #356477;
    font-size: 24px;
}

/* 動き：JavaScriptが使えない場合も本文を表示 */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* 見出しは柔らかく浮かび、下線が中央から広がる。 */
.reveal-ready [data-reveal="title"] {
    transform: translateY(18px) scale(0.97);
    filter: blur(2px);
    transition: opacity 0.9s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1s ease;
}

.reveal-ready [data-reveal="title"].is-visible {
    transform: none;
    filter: none;
}

.reveal-ready [data-reveal="title"]::after {
    transform: scaleX(0);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.reveal-ready [data-reveal="title"].is-visible::after {
    transform: scaleX(1);
}

/* <br class="br-sp">: SP（600px以下）でのみ改行 */
.br-sp {
    display: none;
}

/* トップ・代表挨拶・事業概要：写真と本文を別々の動きで表示。 */
@media (prefers-reduced-motion: no-preference) {
    .reveal-ready [data-reveal="hero"] {
        transform: translateY(16px);
        clip-path: inset(4% 3% round 28px);
        transition: opacity 1s ease,
            transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
            clip-path 1.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal-ready [data-reveal="hero"].is-visible {
        transform: none;
        clip-path: inset(0 round 0px);
    }

    .reveal-ready .hero-image img {
        transform: scale(1.045);
        transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal-ready .hero-image.is-visible img {
        transform: scale(1);
    }

    .reveal-ready [data-reveal="greeting-photo"],
    .reveal-ready [data-reveal="service-photo"] {
        transform: none;
        clip-path: inset(0 100% 0 0 round 14px);
        transition: opacity 0.5s ease,
            clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal-ready [data-reveal="greeting-photo"].is-visible,
    .reveal-ready [data-reveal="service-photo"].is-visible {
        clip-path: inset(0 round 14px);
    }

    .reveal-ready .greeting-photo img,
    .reveal-ready .service-photo img {
        transform: scale(1.12);
        transition: transform 1.9s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal-ready .greeting-photo.is-visible img,
    .reveal-ready .service-photo.is-visible img {
        transform: scale(1);
    }

    .reveal-ready [data-reveal="greeting-copy"],
    .reveal-ready [data-reveal="service-copy"] {
        transform: translateY(32px);
        transition: opacity 1s ease 160ms,
            transform 1.3s cubic-bezier(0.22, 1, 0.36, 1) 160ms;
    }

    .reveal-ready [data-reveal="greeting-signature"] {
        transform: translateY(12px);
        transition: opacity 1.1s ease 300ms,
            transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 300ms;
    }

    .reveal-ready .feature-card p[data-reveal],
    .reveal-ready .about-block p[data-reveal] {
        transition-delay: 280ms;
    }

    .reveal-ready [data-reveal="greeting-copy"].is-visible,
    .reveal-ready [data-reveal="service-copy"].is-visible,
    .reveal-ready [data-reveal="greeting-signature"].is-visible {
        transform: none;
    }
}

/* タブレット */
@media (max-width: 1000px) {
    .menu-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .site-header {
        padding: 22px 0;
    }

    .header-inner {
        padding-right: 30px;
    }

    .service-list {
        gap: 65px;
    }

    .greeting {
        width: 95%;
    }

    .data-table {
        width: 85%;
    }

    .footer-contacts strong {
        font-size: 21px;
    }

    .footer-company .brand strong {
        font-size: 28px;
    }

    .footer-company .brand {
        width: 270px;
    }
}

/* スマートフォン */
@media (max-width: 600px) {

    .br-sp {
        display: inline;
    }

    .br-pc {
        display: none;
    }

    .container {
        width: 90%;
    }

    .brand {
        width: 200px;
    }

    .brand strong {
        font-size: 22px;
    }

    .menu-toggle {
        top: 20px;
        right: 12px;
    }

    .menu-drawer nav>a {
        padding: 10px 20px;
        font-size: 15px;
        min-height: 60px;
    }

    .download-tab {
        display: none;
    }

    .section-title {
        margin: 35px 0 38px;
        font-size: 21px;
    }

    .home-intro {
        padding-bottom: 85px;
    }

    .hero-image {
        border-radius: 8px;
    }

    .about-block .section-title {
        margin: 32px 0;
        font-size: 18px;
    }

    .about-copy {
        font-size: 16px;
    }


    .intro-wave {
        height: 45px;
    }

    .features {
        padding-top: 10px;
    }

    .feature-grid {
        width: 95%;
        grid-template-columns: 1fr;
        gap: 35px;
        margin: 40px auto;
    }

    .feature-card h3 {
        font-size: 17px;
    }

    .home-news {
        padding-bottom: 38px;
    }

    .business-intro {
        margin-bottom: 45px;
    }

    /* .business-intro h2 {
        font-size: 17px;
    }

    .business-intro p {
        font-size: 12px;
    } */

    .service-list {
        gap: 45px;
        margin-bottom: 50px;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-row:nth-child(even)>img,
    .service-row:nth-child(even)>.service-photo {
        order: 0;
    }

    .service-row h2 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .greeting {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .data-table {
        width: 100%;
    }

    .data-table>div {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px 10px;
        gap: 22px;
    }

    .data-table dt {
        font-size: 18px;
    }

    .company-details .data-table dt {
        width: 100%;
    }

    .data-table dd {
        font-size: 16px;
    }

    .access iframe {
        height: 330px;
    }

    .recruit-table>div {
        grid-template-columns: minmax(0, 1fr);
        min-height: 138px;
        padding: 20px 16px;
        gap: 10px;
    }

    .recruit-table dt {
        width: 100%;
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
        gap: 10px;
    }

    .news-list {
        padding: 0 0 30px;
    }

    .news-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .news-card h2 {
        font-size: 20px;
    }

    .news-image img,
    .no-image {
        max-height: 260px;
    }

    .single-news {
        padding-top: 30px;
    }

    .article-image {
        width: 100%;
    }

    .article-header h1 {
        font-size: 22px;
    }

    .contact-intro {
        text-align: left;
        margin-bottom: 36px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-bottom: 20px;
    }

    .form-row input:not([type='hidden']),
    .form-row textarea,
    .form-row select {
        font-size: 16px;
    }

    .form-row textarea {
        min-height: 260px;
    }

    .form-actions {
        margin-top: 30px;
    }

    .site-footer {
        padding: 35px 0 40px;
        border-radius: 25px 25px 0 0;
    }

    .footer-contacts {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 32px;
    }

    .footer-contacts > .footer-contact-card {
        padding: 23px 12px;
    }

    .footer-contacts strong {
        font-size: 24px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-address {
        font-size: 12px;
    }

    .download-button {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .reveal-ready [data-reveal="title"] {
        filter: none;
    }

    .reveal-ready [data-reveal="title"]::after {
        transform: none;
    }
}

/* Contact Form 7: retain the theme's contact layout. */
.contact-wrap .wpcf7-form-control-wrap {
    display: block;
}

.contact-wrap .form-row>div {
    min-width: 0;
}

.contact-wrap .wpcf7-not-valid {
    border-color: #c22 !important;
}

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

.contact-wrap .wpcf7-submit {
    cursor: pointer;
}

.contact-wrap .wpcf7-form.submitting .wpcf7-submit {
    opacity: .6;
    pointer-events: none;
}

.contact-wrap .wpcf7-response-output {
    padding: 16px;
}

/* 星野ガーデン：既存テンプレートの連絡カードを3件で配置 */
.footer-contacts { column-gap: 6%; row-gap: 30px; }
.footer-line { grid-column: 1 / -1; width: 47%; justify-self: center; }
.footer-line strong img { flex-shrink: 0; }
.footer-bottom { grid-template-columns: 1fr; }
.work-example-title { color: var(--blue); font-weight: 700; }
.contact-wrap [hidden] { display: none !important; }
.contact-confirmation dd { margin: 0; white-space: pre-wrap; }
.contact-confirmation h2 { text-align: center; font-size: 22px; }
@media (max-width: 600px) {
    .footer-line { width: 100%; }
    .footer-contacts { row-gap: 18px; }
}
