@charset "UTF-8";

:root {
    --font-base: 'Noto Sans JP', sans-serif;
    --color-text: #333;
    --color-text-soft: #444;
    --color-text-muted: #555;
    --color-heading: #2f3e55;
    --color-heading-deep: #1f3f77;
    --color-main: #1f5fbf;
    --color-sub: #6f8fcf;
    --color-bg: #f7f9fc;
    --color-white: #fff;
    --color-border: #e3e9f3;
    --color-border-strong: #dbe3f1;
    --color-label: #6b7a90;
    --color-footer: #2f3f56;
    --color-footer-soft: #c9d3e3;
    --color-footer-copy: #aab6c8;
    --color-error: #b94a48;
    --color-error-bg: #fff7f7;
    --color-error-border: #f0c4c4;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 18px rgba(47, 62, 85, 0.06);
    --shadow-lg: 0 10px 24px rgba(47, 62, 85, 0.10);
    --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 8px 20px rgba(0, 0, 0, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    --inner-width: 90%;
    --inner-width-sp: 88%;
    --inner-max: 1200px;
    --inner-max-md: 1000px;
    --inner-max-sm: 960px;
    --inner-max-form: 900px;

    --section-padding: 100px 0 80px;
    --section-padding-tab: 80px 0 64px;
    --section-padding-sp: 64px 0 52px;

    --title-size: 3.6rem;
    --title-size-tab: 3rem;
    --title-size-sp: 2.6rem;
}

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    font-size: 1.6rem;
    line-height: 2.1;
    color: var(--color-text);
    text-align: center;
}

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

a:hover {
    opacity: 0.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: 600;
}

ul {
    margin: 0;
    padding: 0;
}

ul li,
li {
    list-style: none;
}

/* --------------------
   common
-------------------- */
#feature,
#service,
#about-feature,
#message,
#profile,
#summary,
#news {
    padding: var(--section-padding);
}

#feature,
#about-feature,
#profile,
#contact-page {
    background: var(--color-bg);
}

#service,
#message,
#summary,
#news {
    background: var(--color-white);
}

#feature .inner,
#service .inner,
#about-feature .inner,
#message .inner,
#profile .inner,
#summary .inner,
#news .inner,
#contact-page .inner,
.sub-visual-inner {
    width: var(--inner-width);
    margin: 0 auto;
}

#feature .inner,
#service .inner,
#about-feature .inner,
#message .inner,
#profile .inner,
#news .inner,
.sub-visual-inner {
    max-width: var(--inner-max);
}

#summary .inner {
    max-width: var(--inner-max-md);
}

#contact-page .inner {
    max-width: var(--inner-max-form);
}

#feature h1,
#service h1,
#about-feature h1,
#message h1,
#profile h1,
#summary h1,
#news .inner h1 {
    margin-bottom: 56px;
    font-size: var(--title-size);
    line-height: 1.4;
    font-weight: 700;
    color: var(--color-heading);
    text-align: center;
    letter-spacing: 0.06em;
    position: relative;
}

#feature h1::after,
#service h1::after,
#about-feature h1::after,
#message h1::after,
#profile h1::after,
#summary h1::after,
#news .inner h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 18px auto 0;
    background: var(--color-sub);
    border-radius: var(--radius-pill);
}

.contents-blk,
.about-feature-image,
.message-photo,
.profile-block,
.summary-table,
.price-table,
.contact-intro,
.contact-box,
.contact-example,
.contact-notes,
.confirm-table,
.form-error-box,
.thanks-box,
.contact-form {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
}

.contents-blk,
.profile-block,
.summary-table {
    border-radius: var(--radius-lg);
}

.about-feature-image,
.message-photo {
    border-radius: var(--radius-xl);
}

.price-table,
.contact-intro,
.contact-box,
.contact-example,
.contact-notes,
.confirm-table,
.form-error-box,
.thanks-box,
.contact-form {
    border-radius: var(--radius-md);
}

#feature .btn,
#service .btn,
#contact-page .btn,
.contact-submit,
.confirm-buttons .btn {
    text-align: center;
}

#feature .btn,
#service .btn,
#news .btn {
    text-align: center;
}

#feature .btn,
#service .btn,
#news .btn {
    margin-top: 56px;
}

#feature .btn a,
#service .btn a,
#news .btn a {
    display: inline-block;
    min-width: 220px;
    padding: 14px 32px;
    border: 1.5px solid var(--color-sub);
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color: var(--color-sub);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    transition: 0.3s;
}

#feature .btn a:hover,
#service .btn a:hover,
#news .btn a:hover {
    background: var(--color-sub);
    color: var(--color-white);
    opacity: 1;
}

/* --------------------
   header
-------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 40px;
    background: var(--color-white);
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: var(--shadow-header);
}

header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    margin: 0;
    padding: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 60px;
}

.menu-btn {
    display: none;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav li {
    margin: 0;
}

.header-nav a {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    white-space: nowrap;
}

/* --------------------
   visual
-------------------- */
#main-visual {
    width: 100%;
    aspect-ratio: 1920 / 712;
    margin-top: 80px;
    background:
        linear-gradient(90deg,
        rgba(246,247,251,0.98) 0%,
        rgba(246,247,251,0.94) 35%,
        rgba(246,247,251,0.55) 55%,
        rgba(246,247,251,0.15) 100%),
        url(./img/main-visual.png) no-repeat center / cover;
    position: relative;
    overflow: hidden;
}

.main-visual-inner {
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding-left: 20px;
}

.main-visual-copy {
    width: min(46%, 540px);
    text-align: left;
    color: #033B84;
}

.main-visual-catch {
    margin: 0;
    font-size: clamp(3.6rem, 4.2vw, 6.0rem);
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0F2F66;
    text-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.main-visual-sub {
    margin: 24px 0 0;
    font-size: clamp(1.7rem, 1.45vw, 2.2rem);
    line-height: 1.9;
    font-weight: 400;
    color: #5f6f88;
}

.main-visual-note {
    margin-top: 22px;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #6b7a90;
    letter-spacing: 0.04em;
}

#sub-visual {
    position: relative;
    width: 100%;
    height: 220px;
    margin-top: 80px;
    background: url(./img/sub-visual.png) no-repeat center center / cover;
    overflow: hidden;
}

#sub-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sub-visual-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-visual-inner h1 {
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: 0.08em;
    text-align: center;
}

/* --------------------
   feature
-------------------- */
.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.contents-blk {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 240px;
    padding: 32px 24px 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.contents-blk:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin: 0 0 22px;
}

.feature-icon img {
    display: block;
    width: 110px;
    height: 110px;
    margin: 0 auto;
    object-fit: contain;
}

.contents-blk h2 {
    margin-bottom: 18px;
    font-size: 1.9rem;
    line-height: 1.5;
    font-weight: 700;
    color: #4a5f7d;
    white-space: nowrap;
}

.contents-blk p {
    max-width: 260px;
    margin: 0 auto;
    font-size: 1.6rem;
    line-height: 2;
    color: var(--color-text-muted);
    text-align: left;
}

/* --------------------
   service
-------------------- */
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    width: calc((100% - 24px) / 2);
    padding: 24px 24px 24px 20px;
    background: var(--color-white);
    border: 1.5px solid var(--color-sub);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    opacity: 1;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}

.service-icon img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.service-text {
    flex: 1;
    min-width: 0;
}

.service-text h2 {
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-main);
}

.service-text p {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-text-soft);
}

.service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-main);
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 700;
}


/* --------------------
   news
-------------------- */
.news-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}

.news-item,
.news-loading,
.news-empty,
.news-error {
    border-bottom: 1px solid var(--color-border);
}

.news-link {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 20px;
    text-align: left;
    transition: background 0.3s;
}

.news-link:hover {
    background: var(--color-bg);
    opacity: 1;
}

.news-date {
    flex: 0 0 110px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-label);
}

.news-title {
    flex: 1;
    min-width: 0;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--color-heading);
}

.news-loading,
.news-empty,
.news-error {
    padding: 24px 20px;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--color-text-soft);
    text-align: center;
}

/* --------------------
   contact section
-------------------- */
#contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-sub) 0%, var(--color-main) 100%);
    color: var(--color-white);
    text-align: center;
}

#contact h1 {
    margin-bottom: 20px;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

#contact h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 16px auto 0;
    background: var(--color-white);
    border-radius: var(--radius-pill);
}

#contact p {
    margin-bottom: 36px;
    font-size: 1.7rem;
    line-height: 1.8;
    color: #e6ecf5;
}

#contact .btn a {
    display: inline-block;
    min-width: 260px;
    padding: 16px 36px;
    background: var(--color-white);
    color: var(--color-main);
    font-size: 1.7rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: 0.3s;
}

#contact .btn a:hover {
    background: #f0f4fa;
    transform: translateY(-2px);
    box-shadow: var(--shadow-float);
    opacity: 1;
}

/* --------------------
   footer
-------------------- */
#footer {
    padding: 60px 0 24px;
    background: var(--color-footer);
    color: var(--color-white);
}

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

.footer-left,
.footer-nav-group {
    text-align: left;
}

.footer-left img {
    width: 250px;
    margin-bottom: 16px;
}

.footer-name {
    margin-bottom: 6px;
    font-size: 1.6rem;
    font-weight: 600;
}

.footer-address {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--color-footer-soft);
}

.footer-nav {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.footer-nav-title {
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-white);
}

/* ここを修正 */
.footer-nav-group.single {
    padding-top: 0;
}

/* 単独項目を見出しと同じ高さ・同じ大きさにする */
.footer-nav-group.single > ul > li > a {
    display: block;
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-white);
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li {
    margin-bottom: 6px;
}

.footer-nav a {
    color: var(--color-white);
    font-size: 1.4rem;
    transition: 0.2s;
}

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

.footer-copy {
    margin-top: 40px;
    font-size: 1.2rem;
    text-align: center;
    color: var(--color-footer-copy);
}

/* --------------------
   about-feature
-------------------- */
.about-feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 64px;
}

.about-feature-item:last-child {
    margin-bottom: 0;
}

.about-feature-item.reverse {
    flex-direction: row-reverse;
}

.about-feature-image {
    flex: 0 0 38%;
    padding: 32px;
    text-align: center;
}

.about-feature-image img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
}

.about-feature-text {
    flex: 1;
    text-align: left;
}

.about-feature-text h2 {
    margin-bottom: 20px;
    font-size: 2.6rem;
    line-height: 1.6;
    font-weight: 700;
    color: var(--color-main);
    position: relative;
}

.about-feature-text h2::after,
.profile-block h2::after {
    content: "";
    display: block;
    background: var(--color-sub);
    border-radius: var(--radius-pill);
}

.about-feature-text h2::after {
    width: 56px;
    height: 2px;
    margin-top: 14px;
}

.about-feature-text p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 2.1;
    color: var(--color-text-soft);
}

/* --------------------
   message
-------------------- */
.message-wrap,
.profile-wrap {
    display: flex;
    align-items: flex-start;
    gap: 56px;
}

.message-wrap {
    justify-content: space-between;
}

.message-text,
.profile-content,
.service-content {
    flex: 1;
    text-align: left;
}

.message-text p {
    margin: 0 0 20px;
    font-size: 1.6rem;
    line-height: 2.1;
    color: var(--color-text-soft);
}

.message-sign {
    margin-top: 32px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-heading);
}

.message-photo {
    flex: 0 0 320px;
    overflow: hidden;
}

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

.profile-name .title {
    display: block;
    margin-bottom: 4px;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-label);
}

.profile-name .name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-heading);
}

/* --------------------
   profile
-------------------- */
.profile-icon {
    flex: 0 0 220px;
    text-align: center;
}

.profile-icon img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
}

.profile-block {
    margin-bottom: 24px;
    padding: 28px 32px;
}

.profile-block:last-child {
    margin-bottom: 0;
}

.profile-block h2 {
    margin-bottom: 16px;
    font-size: 2.2rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-main);
    position: relative;
}

.profile-block h2::after {
    width: 48px;
    height: 2px;
    margin-top: 10px;
}

.profile-block ul,
.career-item ul {
    margin: 0;
    padding: 0;
}

.profile-block ul li,
.career-item ul li,
#service-detail > ul li {
    position: relative;
    padding-left: 18px;
    color: var(--color-text-soft);
}

.profile-block ul li {
    margin-bottom: 10px;
    font-size: 1.6rem;
    line-height: 1.9;
}

.profile-block ul li:last-child,
.career-item ul li:last-child,
#service-detail > ul li:last-child {
    margin-bottom: 0;
}

.profile-block ul li::before,
.career-item ul li::before,
#service-detail > ul li::before {
    content: "";
    position: absolute;
    left: 0;
    border-radius: 50%;
}

.profile-block ul li::before,
.career-item ul li::before {
    top: 1.1rem;
    width: 6px;
    height: 6px;
}

.profile-block ul li::before {
    background: var(--color-sub);
}

.career-item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 22px;
}

.career-item:last-child {
    margin-bottom: 0;
}

.career-item h3,
#service-detail > h3 {
    font-weight: 700;
    color: var(--color-heading);
}

.career-item h3 {
    margin-bottom: 10px;
    padding-left: 10px;
    font-size: 1.8rem;
    line-height: 1.6;
    border-left: 3px solid var(--color-sub);
}

.career-item ul li {
    margin-bottom: 8px;
    font-size: 1.6rem;
    line-height: 1.9;
}

.career-item ul li::before {
    background: #9bb2db;
}

/* --------------------
   summary
-------------------- */
.summary-table,
.price-table {
    width: 100%;
    overflow: hidden;
    border-collapse: collapse;
}

.summary-table tr,
.price-table tr {
    border-bottom: 1px solid var(--color-border);
}

.summary-table tr:last-child,
.price-table tr:last-child {
    border-bottom: none;
}

.summary-table th,
.summary-table td,
.price-table th,
.price-table td {
    font-size: 1.6rem;
}

.summary-table th,
.summary-table td {
    padding: 22px 20px;
}

.summary-table th {
    width: 28%;
    background: var(--color-bg);
    color: var(--color-heading);
    font-weight: 600;
    text-align: center;
    vertical-align: top;
}

.summary-table td {
    padding-left: 24px;
    padding-right: 24px;
    line-height: 2;
    color: var(--color-text-soft);
    text-align: left;
}

.summary-table .en {
    display: block;
    margin-top: 4px;
    font-size: 1.4rem;
    color: var(--color-label);
}

.area-title {
    margin: 8px 0 4px;
    font-weight: 700;
    color: var(--color-main);
}

.area-group {
    margin-bottom: 12px;
    padding: 14px 16px;
    background: var(--color-bg);
    border-radius: 10px;
}

.area-group:last-child {
    margin-bottom: 0;
}

.area-achievement {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e0e6f0;
}

.achievement-title {
    margin-bottom: 2px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-label);
}

/* --------------------
   service-list（1列）
-------------------- */
#service-list {
    padding: 80px 20px;
}

.service-list-inner {
    max-width: var(--inner-max-form);
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    transition: 0.3s;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-item .service-icon img {
    width: 80px;
    height: auto;
}

.service-content h3 {
    margin-bottom: 6px;
    font-size: 2.2rem;
    color: var(--color-heading-deep);
}

.service-content p {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    text-align: left;
}

/* --------------------
   contact page
-------------------- */
#contact-page {
    padding: var(--section-padding);
}

#contact-page h1 {
    margin-bottom: 50px;
    font-size: 2.8rem;
    text-align: center;
    position: relative;
}

#contact-page h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: 12px auto 0;
    background: #2f5fb3;
    border-radius: 2px;
}

#contact-page .section-title {
    margin-bottom: 50px;
}

.contact-intro,
.contact-box,
.contact-example,
.contact-notes,
.confirm-table,
.form-error-box,
.thanks-box {
    margin-bottom: 30px;
    padding: 30px;
}

#contact-page h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--color-heading-deep);
    text-align: left;
    position: relative;
}

#contact-page h2::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 8px;
    background: #2f5fb3;
}

#contact-page p,
#contact-page li {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    text-align: left;
}

#contact-page p {
    margin-bottom: 10px;
}

#contact-page ul {
    padding-left: 20px;
}

#contact-page li {
    margin-bottom: 8px;
}

#contact-page .btn {
    margin-top: 20px;
}

#contact-page .btn a {
    display: inline-block;
    padding: 14px 36px;
    background: #2f5fb3;
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-size: 1.5rem;
    transition: 0.3s;
}

#contact-page .btn a:hover {
    background: var(--color-heading-deep);
}

.contact-form {
    padding: 32px;
    text-align: left;
}

.form-row {
    margin-bottom: 22px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-heading);
}

.form-row.required label::after {
    content: "必須";
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--color-white);
    background: #d9534f;
    border-radius: 4px;
    vertical-align: middle;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
    background: var(--color-white);
    border: 1px solid #ccd6e5;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 1.5rem;
    line-height: 1.6;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.5rem;
    line-height: 1.8;
}

.privacy-row.required label::after {
    display: none;
}

.contact-submit,
.confirm-buttons .btn {
    margin-top: 28px;
}

.contact-submit button,
.confirm-buttons button {
    display: inline-block;
    min-width: 240px;
    padding: 14px 36px;
    border: none;
    border-radius: var(--radius-pill);
    background: #2f5fb3;
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.contact-submit button:hover,
.confirm-buttons button:hover {
    background: var(--color-heading-deep);
}

.btn-back button {
    background: var(--color-white);
    color: #2f5fb3;
    border: 1.5px solid #2f5fb3;
}

.btn-back button:hover {
    background: #2f5fb3;
    color: var(--color-white);
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.form-error-box {
    border-color: var(--color-error-border);
    background: var(--color-error-bg);
}

.form-error-title {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-error) !important;
}

.form-error-box ul {
    margin: 0;
    padding-left: 20px;
}

.form-error-box li {
    list-style: disc;
    color: var(--color-error);
    font-size: 1.4rem;
    line-height: 1.8;
}

.confirm-table th,
.confirm-table td {
    text-align: left;
}

.honeypot {
    display: none !important;
}

/* --------------------
   service detail
-------------------- */
#service-detail {
    width: 90%;
    max-width: var(--inner-max-sm);
    margin: 0 auto;
    padding: var(--section-padding);
    text-align: left;
}

#service-detail > h1 {
    margin-bottom: 36px;
    font-size: 3.6rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--color-heading);
    text-align: left;
    letter-spacing: 0.05em;
    position: relative;
}

#service-detail > h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--color-main), var(--color-sub));
    border-radius: var(--radius-pill);
}

#service-detail > ul {
    margin: 0 0 56px;
    padding: 32px 36px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

#service-detail > ul li {
    margin-bottom: 14px;
    font-size: 1.7rem;
    line-height: 2;
}

#service-detail > ul li::before {
    top: 1.2rem;
    width: 7px;
    height: 7px;
    background: var(--color-sub);
}

#service-detail > h2 {
    margin: 0 0 32px;
    padding-bottom: 14px;
    font-size: 2.8rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-main);
    border-bottom: 2px solid var(--color-border-strong);
}

#service-detail > h3 {
    margin: 0 0 14px;
    padding-left: 14px;
    font-size: 2rem;
    line-height: 1.6;
    border-left: 4px solid var(--color-sub);
}

#service-detail > p {
    margin: 0 0 36px;
    padding-bottom: 0;
    font-size: 1.6rem;
    line-height: 2.1;
    color: var(--color-text-soft);
}

#service-detail p a {
    color: var(--color-main);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
    font-weight: 500;
    transition: 0.3s;
}

#service-detail p a:hover {
    color: var(--color-sub);
    opacity: 1;
}

#service-detail > p:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* シンプル箇条書き（文章用） */
#service-detail .simple-list {
    margin: 4px 0 28px 0;
    padding-left: 18px;
    background: none;
    border: none;
    box-shadow: none;
}

#service-detail .simple-list li {
    margin-bottom: 8px;
    padding-left: 0;
    font-size: 1.6rem;
    line-height: 1.9;
    color: var(--color-text-soft);
    list-style: disc;
}

#service-detail .simple-list li:last-child {
    margin-bottom: 0;
}

#service-detail .simple-list li::before {
    display: none;
}

#service-detail > h3 + .simple-list {
    margin-top: 2px;
}

/* --------------------
   news
-------------------- */

/* --------------------
   price table
-------------------- */
.price-table-wrap {
    margin: 0 0 36px;
    padding-left: 18px;
}

.price-table th,
.price-table td {
    padding: 18px 20px;
    line-height: 1.8;
}

.price-table th {
    width: 70%;
    background: var(--color-bg);
    color: var(--color-heading);
    font-weight: 500;
    text-align: left;
}

.price-table td {
    width: 30%;
    color: var(--color-main);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

#service-detail > h3 + .price-table-wrap {
    margin-bottom: 36px;
    padding-bottom: 28px;
}

#service-detail > .price-table-wrap:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* --------------------
   tablet
-------------------- */
@media screen and (max-width: 1024px) {
    #feature,
    #service,
    #about-feature,
    #message,
    #profile,
    #news,
    #contact,
    #service-detail {
        padding: var(--section-padding-tab);
    }

    #feature h1,
    #service h1,
    #about-feature h1,
    #message h1,
    #profile h1,
    #news .inner h1 {
        font-size: var(--title-size-tab);
        margin-bottom: 44px;
    }

    .feature-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px 24px;
    }

    .contents-blk {
        flex: none;
        width: calc((100% - 24px) / 2);
    }

    .feature-icon img {
        width: 100px;
        height: 100px;
    }

    .contents-blk h2 {
        font-size: 1.8rem;
    }

    .contents-blk p,
    .about-feature-text p,
    .message-text p,
    #service-detail > p,
    #service-detail > ul li,
    .profile-block ul li {
        font-size: 1.5rem;
    }

    .service-card {
        width: calc((100% - 24px) / 2);
        padding: 22px 20px 22px 18px;
        gap: 16px;
    }

    .service-icon {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .service-icon img {
        width: 64px;
        height: 64px;
    }

    .service-text h2 {
        font-size: 1.8rem;
    }

    .service-text p {
        font-size: 1.4rem;
    }

    #contact h1 {
        font-size: 2.8rem;
    }

    #contact p {
        font-size: 1.6rem;
    }

    .about-feature-item {
        gap: 40px;
        margin-bottom: 48px;
    }

    .about-feature-image {
        flex: 0 0 42%;
        padding: 24px;
    }

    .about-feature-text h2 {
        font-size: 2.2rem;
    }

    .message-wrap,
    .profile-wrap {
        gap: 32px;
    }

    .message-photo {
        flex: 0 0 260px;
    }

    .message-sign {
        font-size: 1.7rem;
    }

    .profile-icon {
        flex: 0 0 180px;
    }

    .profile-icon img {
        max-width: 150px;
    }

    .profile-block {
        padding: 24px;
    }

    .profile-block h2 {
        font-size: 2rem;
    }

    #service-detail > h1 {
        margin-bottom: 32px;
        font-size: 3rem;
    }

    #service-detail > ul {
        margin-bottom: 48px;
        padding: 28px;
    }

    #service-detail > h2 {
        margin-bottom: 28px;
        font-size: 2.4rem;
    }

    #service-detail > h3 {
        font-size: 1.9rem;
    }
}

/* --------------------
   smartphone
-------------------- */
@media screen and (max-width: 767px) {
    #sub-visual {
        height: 160px;
    }

    .sub-visual-inner h1 {
        font-size: 3rem;
    }

    #feature,
    #service,
    #about-feature,
    #message,
    #profile,
    #summary,
    #news,
    #contact,
    #contact-page,
    #service-detail {
        padding: var(--section-padding-sp);
    }

    #feature .inner,
    #service .inner,
    #about-feature .inner,
    #message .inner,
    #profile .inner,
    #summary .inner,
    #news .inner,
    #contact-page .inner,
    #service-detail {
        width: var(--inner-width-sp);
    }

    #feature h1,
    #service h1,
    #about-feature h1,
    #message h1,
    #profile h1,
    #summary h1,
    #news .inner h1 {
        margin-bottom: 36px;
        font-size: var(--title-size-sp);
    }

    .feature-list {
        gap: 24px;
    }

    .contents-blk {
        width: 100%;
        padding: 28px 20px 24px;
    }

    .feature-icon {
        margin-bottom: 18px;
    }

    .feature-icon img {
        width: 92px;
        height: 92px;
    }

    .contents-blk h2 {
        margin-bottom: 14px;
        font-size: 1.9rem;
        white-space: normal;
    }

    .contents-blk p,
    .about-feature-text p,
    .message-text p,
    .profile-block ul li,
    .summary-table td,
    #service-detail > p {
        font-size: 1.5rem;
        line-height: 1.9;
    }

    #feature .btn,
    #service .btn {
        margin-top: 40px;
    }

    #feature .btn a,
    #service .btn a {
        min-width: 200px;
        padding: 12px 24px;
        font-size: 1.5rem;
    }

    .service-list {
        gap: 16px;
    }

    .service-card {
        width: 100%;
        padding: 18px 16px;
        gap: 14px;
        border-radius: 14px;
    }

    .service-icon {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
    }

    .service-icon img {
        width: 56px;
        height: 56px;
    }

    .service-text h2 {
        margin-bottom: 6px;
        font-size: 1.7rem;
    }

    .service-text p {
        font-size: 1.4rem;
        line-height: 1.7;
    }

    .service-arrow {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        font-size: 1.6rem;
    }

    #contact h1 {
        font-size: 2.4rem;
    }

    #contact p {
        margin-bottom: 28px;
        font-size: 1.5rem;
    }

    #contact .btn a {
        min-width: 220px;
        padding: 14px 28px;
        font-size: 1.6rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-left {
        text-align: center;
    }

    .footer-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .about-feature-item,
    .about-feature-item.reverse,
    .profile-wrap {
        flex-direction: column;
        gap: 24px;
    }

    .about-feature-item {
        margin-bottom: 40px;
    }

    .about-feature-image {
        width: 100%;
        padding: 20px;
        border-radius: var(--radius-lg);
    }

    .about-feature-image img {
        max-width: 200px;
    }

    .about-feature-text h2 {
        margin-bottom: 16px;
        font-size: 2rem;
    }

    .message-wrap {
        flex-direction: column-reverse;
        gap: 24px;
    }

    .message-photo {
        flex: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        border-radius: var(--radius-lg);
    }

    .message-sign {
        margin-top: 24px;
        font-size: 1.6rem;
        text-align: right;
    }

    .profile-icon {
        flex: none;
        width: 100%;
    }

    .profile-icon img {
        max-width: 120px;
    }

    .profile-block {
        padding: 20px;
        border-radius: 14px;
    }

    .profile-block h2 {
        margin-bottom: 14px;
        font-size: 1.9rem;
    }

    .summary-table,
    .summary-table tr,
    .summary-table th,
    .summary-table td {
        display: block;
        width: 100%;
    }

    .summary-table th {
        padding: 16px 0 4px;
        background: none;
        font-size: 1.5rem;
        color: var(--color-main);
    }

    .summary-table td {
        padding: 0 0 16px;
    }

    .summary-table tr {
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .contact-form,
    .contact-intro,
    .contact-box,
    .contact-example,
    .contact-notes,
    .confirm-table,
    .form-error-box,
    .thanks-box {
        padding: 22px 18px;
    }

    .contact-submit button,
    .confirm-buttons button {
        width: 100%;
        min-width: 200px;
    }

    #service-detail > h1 {
        margin-bottom: 28px;
        font-size: 2.6rem;
    }

    #service-detail > ul {
        margin-bottom: 40px;
        padding: 22px 18px;
        border-radius: 14px;
    }

    #service-detail > ul li {
        padding-left: 18px;
        font-size: 1.5rem;
        line-height: 1.9;
    }

    #service-detail > h2 {
        margin-bottom: 24px;
        padding-bottom: 12px;
        font-size: 2.1rem;
    }

    #service-detail > h3 {
        padding-left: 12px;
        font-size: 1.7rem;
    }

    #service-detail > p {
        margin-bottom: 28px;
    }

    #service-detail > h3 + .simple-list {
        margin-top: 2px;
        margin-bottom: 22px;
        padding-left: 18px;
    }

    #service-detail .simple-list li {
        font-size: 1.5rem;
        line-height: 1.9;
    }

    .price-table-wrap {
        margin-bottom: 28px;
        padding-left: 14px;
    }

    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 16px;
    }

    .price-table th {
        border-bottom: 1px solid var(--color-border);
    }

    .price-table td {
        text-align: left;
    }

    #service-detail > h3 + .price-table-wrap {
        margin-bottom: 28px;
        padding-bottom: 22px;
    }
}


@media screen and (max-width: 767px) {
    .news-link {
        display: block;
        padding: 20px 16px;
    }

    .news-date {
        display: block;
        margin-bottom: 6px;
        font-size: 1.4rem;
    }

    .news-title {
        display: block;
        font-size: 1.6rem;
        line-height: 1.7;
    }
}


/* --------------------
   responsive header / hamburger menu
-------------------- */
body.menu-open {
    overflow: hidden;
}

.menu-btn {
    position: relative;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: none;
    z-index: 1101;
}

.menu-btn span {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 2px;
    background: var(--color-heading);
    border-radius: var(--radius-pill);
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.menu-btn span:nth-child(1) {
    top: 16px;
}

.menu-btn span:nth-child(2) {
    top: 23px;
}

.menu-btn span:nth-child(3) {
    top: 30px;
}

header.menu-open .menu-btn span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}

header.menu-open .menu-btn span:nth-child(2) {
    opacity: 0;
}

header.menu-open .menu-btn span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
}

@media screen and (max-width: 1024px) {
    header {
        height: 72px;
        padding: 0 20px;
    }

    .logo img {
        height: 52px;
    }

    #main-visual {
        margin-top: 72px;
        min-height: 520px;
        background-position: 68% center;
    }

    .main-visual-inner {
        width: 92%;
    }

    .main-visual-copy {
        width: min(52%, 500px);
    }

    .main-visual-catch {
        font-size: clamp(3.2rem, 4.8vw, 5.0rem);
    }

    .main-visual-sub {
        margin-top: 20px;
        font-size: clamp(1.6rem, 1.8vw, 2.0rem);
        line-height: 1.8;
    }

    #sub-visual {
        margin-top: 72px;
    }
}

@media screen and (max-width: 767px) {
    header {
        height: 64px;
        padding: 0 16px;
    }

    header .inner {
        position: relative;
    }

    .logo img {
        height: 46px;
    }

    .menu-btn {
        display: inline-block;
    }

    .header-nav {
        position: fixed;
        top: 64px;
        right: 0;
        width: min(78vw, 320px);
        height: calc(100vh - 64px);
        padding: 24px 20px 32px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -8px 0 24px rgba(47, 62, 85, 0.12);
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        z-index: 1100;
    }

    header.menu-open .header-nav {
        transform: translateX(0);
    }

    .header-nav ul {
        display: block;
    }

    .header-nav li + li {
        margin-top: 10px;
    }

    .header-nav a {
        padding: 12px 6px;
        font-size: 1.7rem;
        line-height: 1.6;
        border-bottom: 1px solid var(--color-border);
    }

    header::after {
        content: "";
        position: fixed;
        inset: 64px 0 0 0;
        background: rgba(47, 62, 85, 0.28);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        pointer-events: none;
    }

    header.menu-open::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #main-visual {
        margin-top: 64px;
        aspect-ratio: auto;
        min-height: 520px;
        background:
            linear-gradient(180deg, rgba(246, 247, 251, 0.95) 0%, rgba(246, 247, 251, 0.88) 45%, rgba(246, 247, 251, 0.52) 100%),
            #f6f7fb url(./img/main-visual.png) no-repeat 72% bottom / cover;
    }

    .main-visual-inner {
        width: 88%;
        align-items: flex-start;
        padding-top: 56px;
    }

    .main-visual-copy {
        width: 100%;
        max-width: none;
    }

    .main-visual-catch {
        font-size: clamp(2.8rem, 8vw, 4.0rem);
        line-height: 1.45;
        letter-spacing: 0.03em;
    }

    .main-visual-sub {
        margin-top: 16px;
        font-size: 1.6rem;
        line-height: 1.8;
    }

    #sub-visual {
        height: 140px;
        margin-top: 64px;
    }

    .footer-left img {
        max-width: min(100%, 260px);
        height: auto;
    }

    .footer-address {
        word-break: break-word;
    }
}
