/*
Theme Name: ライフ管理
Theme URI: https://lifekanri.com/
Author: 株式会社ライフ管理
Description: 株式会社ライフ管理 オリジナルWordPressテーマ
Version: 1.0.9
Text Domain: lifekanri
*/

/* ========================================
   BASE
======================================== */

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Yu Gothic",
        "Meiryo",
        sans-serif;
    color: #26352f;
    background: #fff;
    line-height: 1.9;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.section-inner,
.header-inner,
.footer-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.section-en {
    margin: 0 0 10px;
    color: #198754;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}


/* ========================================
   HEADER
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
}

body.admin-bar .site-header {
    top: 32px;
}

.header-top {
    background: #176f49;
    color: #fff;
    font-size: 12px;
}

.header-top p {
    margin: 0;
    padding: 5px 0;
}

.header-main {
    background: rgba(255,255,255,.98);
}

.header-flex {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-mark {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-text strong {
    font-size: 17px;
    letter-spacing: .03em;
    white-space: nowrap;
}

.logo-text small {
    margin-top: 3px;
    color: #77827d;
    font-size: 9px;
    letter-spacing: .22em;
}

.main-navigation {
    margin-left: auto;
    min-width: 0;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu li {
    flex-shrink: 0;
}

.main-menu a {
    position: relative;
    display: block;
    padding: 27px 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 19px;
    width: 0;
    height: 2px;
    background: #198754;
    transition: .25s;
    transform: translateX(-50%);
}

.main-menu a:hover::after {
    width: 100%;
}

.header-contact {
    padding: 11px 14px;
    border-radius: 4px;
    background: #198754;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: .2s;
}

.header-contact:hover {
    background: #126b42;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;
    height: min(680px, 72vh);
    min-height: 560px;
    overflow: hidden;
    background: #dae5de;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-color: #dae5de;
    transform: scale(1.03);
    transition: opacity 1.2s ease, transform 7s ease;
}

.hero-slide-1 {
    background-image: url("https://lifekanri.com/wp-content/uploads/2026/09/lifekanri-hero-building-final.jpg");
    background-position: center center;
}

.hero-slide-2 {
    background-image: url("https://lifekanri.com/wp-content/uploads/2026/09/lifekanri-hero-room-final.jpg");
    background-position: center center;
}

.hero-slide-3 {
    background-image: url("https://lifekanri.com/wp-content/uploads/2026/09/lifekanri-hero-entrance-final.jpg");
    background-position: center center;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,.94) 0%,
        rgba(255,255,255,.84) 36%,
        rgba(255,255,255,.30) 67%,
        rgba(255,255,255,.06) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-sub {
    margin: 0 0 16px;
    color: #198754;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
}

.hero h1 {
    margin: 0;
    color: #173a2d;
    font-size: clamp(35px, 4.2vw, 60px);
    line-height: 1.45;
    letter-spacing: .02em;
}

.hero-lead {
    margin: 25px 0 0;
    color: #41544c;
    font-size: 18px;
    font-weight: 500;
}

.hero-button {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 30px;
    border: 1px solid #198754;
    background: #198754;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.hero-button:hover {
    background: #fff;
    color: #198754;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 25px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(25,135,84,.35);
    cursor: pointer;
}

.hero-dot.active {
    background: #198754;
    transform: scale(1.3);
}


/* ========================================
   INTRODUCTION
======================================== */

.intro {
    padding: 105px 0;
    background: #fff;
}

.intro-inner {
    max-width: 1180px;
    text-align: center;
}

.intro h2 {
    margin: 0;
    color: #183c2e;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.55;
}

.intro-text {
    width: 100%;
    max-width: 900px;
    margin: 35px auto 0;
    color: #56655e;
    font-size: 16px;
    text-align: left;
}


/* ========================================
   SECTION HEADING
======================================== */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.section-heading h2 {
    margin: 0;
    color: #173a2d;
    font-size: 38px;
    line-height: 1.3;
}

.section-heading > p {
    margin: 0;
    color: #6a756f;
    font-size: 14px;
}


/* ========================================
   SERVICE
======================================== */

.service-section {
    padding: 105px 0 115px;
    background: #f3f7f4;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 380px;
    padding: 38px 29px;
    background: #fff;
    border-bottom: 3px solid transparent;
    box-shadow: 0 8px 30px rgba(22,65,45,.06);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: #198754;
    box-shadow: 0 16px 40px rgba(22,65,45,.12);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: #dce8e1;
    font-family: Georgia, serif;
    font-size: 32px;
}

.service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf6f0;
    color: #198754;
    font-size: 31px;
}

.service-card h3 {
    min-height: 64px;
    margin: 0 0 20px;
    color: #1d3f32;
    font-size: 20px;
    line-height: 1.55;
}

.service-card p {
    margin: 0;
    color: #68766f;
    font-size: 14px;
}


/* ========================================
   MESSAGE / PRESIDENT
======================================== */

.company-section {
    padding: 115px 0;
    background: #fff;
}

.company-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 85px;
}

.president-area {
    display: flex;
    justify-content: center;
}

.president-placeholder,
.president-image {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4 / 5;
}

.president-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #edf3ef, #dfe9e3);
    border: 1px solid #d8e4dc;
    color: #6d7d74;
    text-align: center;
}

.president-placeholder span {
    color: #198754;
    font-family: Georgia, serif;
    font-size: 30px;
    font-style: italic;
}

.president-placeholder p {
    margin: 12px 0 0;
    font-size: 14px;
}

.president-image {
    position: relative;
    overflow: hidden;
    background: #f3f6f4;
}

.president-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(255,255,255,.65),
        rgba(255,255,255,0)
    );
}

.president-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.company-message h2 {
    margin: 0 0 35px;
    color: #173a2d;
    font-size: clamp(30px, 3.5vw, 45px);
    line-height: 1.55;
}

.company-message > p:not(.section-en) {
    margin: 0 0 20px;
    color: #5c6b64;
    font-size: 15px;
}

.president-name {
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid #e2e8e4;
}

.president-name span,
.president-name strong {
    display: block;
}

.president-name span {
    color: #65726c;
    font-size: 13px;
}

.president-name strong {
    margin-top: 5px;
    color: #263b32;
    font-size: 16px;
}


/* ========================================
   COMPANY PROFILE
======================================== */

.company-profile-section {
    padding: 110px 0 120px;
    background: #f4f7f5;
}

.company-profile-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 70px;
    align-items: start;
}

.company-profile-table {
    background: #fff;
    border-top: 3px solid #198754;
    box-shadow: 0 8px 30px rgba(22,65,45,.05);
}

.company-profile-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    margin: 0;
    border-bottom: 1px solid #e2e9e5;
}

.company-profile-row dt,
.company-profile-row dd {
    margin: 0;
    padding: 19px 24px;
}

.company-profile-row dt {
    display: flex;
    align-items: center;
    background: #edf4ef;
    color: #244c3b;
    font-size: 14px;
    font-weight: 700;
}

.company-profile-row dd {
    color: #56655e;
    font-size: 14px;
}

.office-guide {
    padding: 34px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(22,65,45,.05);
}

.office-guide h3 {
    margin: 0 0 25px;
    color: #173a2d;
    font-size: 26px;
}

.office-photo {
    overflow: hidden;
    background: #edf2ef;
}

.office-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.office-caption {
    margin: 22px 0 0;
    color: #66746d;
    font-size: 14px;
}


/* ========================================
   ACCESS
======================================== */

.access-section {
    padding: 110px 0 120px;
    background: #fff;
}

.access-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 55px;
    align-items: stretch;
}

.access-info {
    padding: 38px 35px;
    background: #173a2d;
    color: #fff;
}

.access-info h3 {
    margin: 0 0 25px;
    font-size: 23px;
}

.access-info p {
    margin: 0 0 22px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
}

.map-button {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 12px 19px;
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.map-button:hover {
    background: #fff;
    color: #176f49;
}

.access-map {
    min-height: 390px;
    overflow: hidden;
    background: #edf2ef;
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
}


/* ========================================
   NEWS
======================================== */

.news-section {
    padding: 100px 0;
    background: #f7f9f7;
}

.news-box {
    border-top: 1px solid #d9e1dc;
}

.news-item {
    min-height: 75px;
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 18px 12px;
    border-bottom: 1px solid #d9e1dc;
    transition: background .2s;
}

a.news-item:hover {
    background: #fff;
}

.news-item time {
    flex: 0 0 110px;
    color: #198754;
    font-size: 13px;
    font-weight: 700;
}

.news-item span {
    color: #44544c;
    font-size: 14px;
}


/* ========================================
   SUB PAGE
======================================== */

.subpage-hero {
    padding: 75px 0 70px;
    background: linear-gradient(
        135deg,
        #eef6f1 0%,
        #f8faf9 100%
    );
    border-bottom: 1px solid #e0e9e3;
}

.subpage-hero h1 {
    margin: 0;
    color: #173a2d;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.35;
}

.subpage-lead {
    margin: 18px 0 0;
    color: #607068;
    font-size: 15px;
}


/* ========================================
   RECRUIT
======================================== */

.recruit-content-section {
    padding: 90px 0 110px;
    background: #fff;
}

.recruit-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 60px;
    background: #fff;
    border-top: 3px solid #198754;
    box-shadow: 0 10px 35px rgba(22,65,45,.08);
    color: #56655e;
}

.recruit-content > *:first-child {
    margin-top: 0;
}

.recruit-content h2 {
    margin: 45px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dfe7e2;
    color: #173a2d;
    font-size: 26px;
}

.recruit-content h3 {
    margin: 35px 0 15px;
    color: #244c3b;
    font-size: 20px;
}

.recruit-content p {
    margin: 0 0 22px;
}

.recruit-content strong {
    color: #244c3b;
}

.recruit-content ul,
.recruit-content ol {
    padding-left: 1.5em;
}


/* ========================================
   RELATED LINKS
======================================== */

.related-links-section {
    padding: 90px 0 110px;
    background: #f5f8f6;
}

.related-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.related-link-card {
    overflow: hidden;
    background: #fff;
    border-top: 3px solid #198754;
    box-shadow: 0 8px 30px rgba(22,65,45,.07);
    transition: transform .25s, box-shadow .25s;
}

.related-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 38px rgba(22,65,45,.12);
}

.related-link-image {
    height: 200px;
    overflow: hidden;
    background: #eef3f0;
}

.related-link-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.related-link-content {
    padding: 30px;
}

.related-link-content h2 {
    margin: 0 0 15px;
    color: #173a2d;
    font-size: 22px;
    line-height: 1.5;
}

.related-link-description {
    color: #64726b;
    font-size: 14px;
}

.related-link-description p {
    margin: 0 0 15px;
}

.related-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 18px;
    padding: 11px 18px;
    border: 1px solid #198754;
    color: #198754;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.related-link-button:hover {
    background: #198754;
    color: #fff;
}

.related-links-empty {
    grid-column: 1 / -1;
    padding: 45px;
    background: #fff;
    border-top: 3px solid #198754;
    text-align: center;
    color: #66746d;
}

.related-links-empty p {
    margin: 0;
}


/* ========================================
   NEWS DETAIL
======================================== */

.news-detail-section {
    padding: 90px 0 110px;
    background: #f5f8f6;
}

.news-detail {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 65px;
    background: #fff;
    border-top: 3px solid #198754;
    box-shadow: 0 10px 35px rgba(22,65,45,.08);
}

.news-detail-date {
    display: block;
    margin-bottom: 10px;
    color: #198754;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
}

.news-detail-title {
    margin: 0;
    padding-bottom: 25px;
    border-bottom: 1px solid #dfe7e2;
    color: #173a2d;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.5;
}

.news-detail-image {
    margin: 35px 0;
    overflow: hidden;
    background: #f1f4f2;
}

.news-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

.news-detail-content {
    margin-top: 35px;
    color: #56655e;
    font-size: 15px;
}

.news-detail-content p {
    margin: 0 0 22px;
}

.news-detail-content h2 {
    margin: 45px 0 20px;
    color: #173a2d;
    font-size: 26px;
}

.news-detail-content h3 {
    margin: 35px 0 15px;
    color: #244c3b;
    font-size: 21px;
}

.news-detail-content ul,
.news-detail-content ol {
    padding-left: 1.6em;
}

.news-detail-content a {
    color: #198754;
    text-decoration: underline;
}

.news-detail-back {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #dfe7e2;
}

.news-detail-back a {
    display: inline-block;
    color: #198754;
    font-size: 14px;
    font-weight: 700;
}

.news-detail-back a:hover {
    text-decoration: underline;
}


/* ========================================
   CONTACT
======================================== */

.contact-section {
    padding: 110px 0;
    background: linear-gradient(135deg, #145d3e 0%, #198754 100%);
    color: #fff;
}

.contact-inner {
    text-align: center;
}

.contact-section .section-en {
    color: #c8ead8;
}

.contact-section h2 {
    margin: 0;
    font-size: clamp(29px, 3.6vw, 44px);
    line-height: 1.55;
}

.contact-section p:not(.section-en) {
    margin: 25px 0 0;
    color: rgba(255,255,255,.85);
}

.contact-button {
    min-width: 270px;
    margin-top: 35px;
    padding: 16px 27px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: #fff;
    color: #176f49;
    font-weight: 700;
    transition: .2s;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}




/* ========================================
   CONTACT PAGE / CONTACT FORM 7
======================================== */

body.page-slug-contact .entry-content,
body.page-id-0 .entry-content {
    max-width: 900px;
    margin: 0 auto;
}

.wpcf7 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 55px;
    background: #fff;
    border-top: 3px solid #198754;
    box-shadow: 0 10px 35px rgba(22,65,45,.08);
}

.wpcf7 form > p {
    margin: 0;
}

.wpcf7 label {
    display: block;
    margin-bottom: 25px;
    color: #244c3b;
    font-size: 14px;
    font-weight: 700;
}

.wpcf7 .required {
    display: inline-block;
    margin-left: 7px;
    padding: 1px 7px;
    border-radius: 3px;
    background: #198754;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    vertical-align: 1px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    margin-top: 8px;
    padding: 13px 14px;
    border: 1px solid #cfdad4;
    border-radius: 3px;
    background: #fafcfb;
    color: #26352f;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.wpcf7 select {
    min-height: 50px;
}

.wpcf7 textarea {
    min-height: 210px;
    resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #198754;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(25,135,84,.10);
}

.wpcf7 input[type="submit"] {
    min-width: 230px;
    padding: 14px 30px;
    border: 1px solid #198754;
    border-radius: 3px;
    background: #198754;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}

.wpcf7 input[type="submit"]:hover {
    background: #fff;
    color: #198754;
    transform: translateY(-2px);
}

.wpcf7 .wpcf7-spinner {
    margin-left: 12px;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #b42318;
    font-size: 12px;
    font-weight: 500;
}

.wpcf7 form .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 12px 15px;
    border-width: 1px;
    font-size: 13px;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    background: #173a2d;
    color: #fff;
}

.footer-main {
    padding: 55px 0;
}

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

.footer-company {
    display: flex;
    flex-direction: column;
}

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

.footer-company span {
    margin-top: 3px;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    letter-spacing: .18em;
}

.footer-navigation {
    display: flex;
    gap: 25px;
    font-size: 13px;
}

.footer-navigation a {
    color: rgba(255,255,255,.8);
}

.footer-navigation a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom .footer-inner {
    min-height: 55px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,.45);
    font-size: 11px;
}


/* ========================================
   STANDARD PAGE
======================================== */

.site-main {
    min-height: 500px;
}

.entry-content {
    color: #4d5c55;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1100px) {

    .header-flex {
        flex-wrap: wrap;
        padding: 10px 0 0;
        gap: 10px;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        margin-left: 0;
        border-top: 1px solid #edf0ee;
    }

    .main-menu {
        justify-content: center;
        gap: 22px;
    }

    .main-menu a {
        padding: 11px 0;
    }

    .main-menu a::after {
        bottom: 4px;
    }

    .header-contact {
        margin-left: auto;
    }

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


@media (max-width: 960px) {

    .hero {
        min-height: 540px;
        height: 65vh;
    }

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

    .company-grid {
        gap: 50px;
    }

    .company-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .office-guide {
        max-width: 650px;
        margin: 0 auto;
    }

    .access-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .access-map {
        min-height: 380px;
    }
}


@media (max-width: 782px) {

    body.admin-bar .site-header {
        top: 46px;
    }
}


/* ========================================
   MOBILE
======================================== */

.sp-only {
    display: none;
}


@media (max-width: 680px) {

    html {
        scroll-padding-top: 145px;
    }

    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-content {
        width: min(100% - 34px, 1180px);
    }

    .header-top {
        display: none;
    }

    .header-flex {
        min-height: auto;
        gap: 10px;
        padding-top: 9px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        font-size: 23px;
    }

    .logo-text strong {
        font-size: 15px;
    }

    .logo-text small {
        font-size: 8px;
    }

    .header-contact {
        padding: 9px 10px;
        font-size: 11px;
    }

    .main-navigation {
        width: 100%;
    }

    .main-menu {
        gap: 18px;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .main-menu a {
        padding: 10px 0;
        white-space: nowrap;
        font-size: 12px;
    }

    .hero {
        height: 580px;
        min-height: 580px;
    }

    .hero-slide {
        background-size: cover;
        background-position: center center;
        background-color: #dae5de;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,.90) 0%,
            rgba(255,255,255,.78) 28%,
            rgba(255,255,255,.55) 58%,
            rgba(255,255,255,.76) 82%,
            rgba(255,255,255,.92) 100%
        );
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.5;
    }

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

    .sp-only {
        display: block;
    }

    .intro,
    .service-section,
    .company-section,
    .company-profile-section,
    .access-section,
    .news-section {
        padding: 75px 0;
    }

    .intro h2 {
        font-size: 27px;
    }

    .intro-text {
        width: 100%;
        max-width: none;
        text-align: left;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .section-heading > p {
        margin-top: 15px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-card h3 {
        min-height: 0;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .president-placeholder,
    .president-image {
        max-width: 350px;
    }

    .company-message h2 {
        font-size: 30px;
    }

    .company-profile-grid {
        gap: 30px;
    }

    .company-profile-row {
        grid-template-columns: 105px 1fr;
    }

    .company-profile-row dt,
    .company-profile-row dd {
        padding: 15px 13px;
        font-size: 13px;
    }

    .office-guide {
        padding: 24px;
    }

    .office-guide h3 {
        font-size: 23px;
    }

    .access-info {
        padding: 30px 25px;
    }

    .access-map,
    .access-map iframe {
        min-height: 330px;
    }

    .news-item {
        display: block;
        padding: 17px 5px;
    }

    .news-item time,
    .news-item span {
        display: block;
    }

    .news-item span {
        margin-top: 5px;
    }

    .subpage-hero {
        padding: 55px 0 50px;
    }

    .subpage-hero h1 {
        font-size: 34px;
    }

    .recruit-content-section,
    .related-links-section,
    .news-detail-section {
        padding: 55px 0 70px;
    }

    .recruit-content {
        padding: 32px 22px;
    }

    .recruit-content h2 {
        font-size: 23px;
    }

    .related-links-grid {
        grid-template-columns: 1fr;
    }

    .related-link-content {
        padding: 25px 22px;
    }

    .related-link-image {
        height: 170px;
    }

    .news-detail {
        padding: 32px 22px;
    }

    .news-detail-title {
        font-size: 27px;
        padding-bottom: 20px;
    }

    .news-detail-content {
        margin-top: 28px;
    }

    .news-detail-content h2 {
        font-size: 23px;
    }

    .contact-section {
        padding: 80px 0;
    }


    .wpcf7 {
        padding: 30px 20px;
    }

    .wpcf7 label {
        margin-bottom: 20px;
    }

    .wpcf7 textarea {
        min-height: 180px;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
        min-width: 0;
    }

    .footer-inner {
        display: block;
        text-align: center;
    }

    .footer-navigation {
        margin-top: 25px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom .footer-inner {
        display: flex;
        justify-content: center;
    }
}