:root {
    --header-height: 100px;
    --header-inset: clamp(24px, 5vw, 88px);
    color-scheme: light;
    --background: #E7DBC5;
    --text: #2F2A24;
    --orange: #E26A2C;
    --blue: #3A5A78;
    --input-background: #FAF6EE;
    --border: #B2A58F;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text);
    background: var(--background);
    font-synthesis: none;
}

html { scroll-padding-top: var(--header-height); }
[id] { scroll-margin-top: 16px; }
* { box-sizing: border-box; }
body {
    min-width: 320px;
    padding-top: var(--header-height);
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--background);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 21px;
    z-index: 30;
    padding: 8px 16px;
    background: var(--input-background);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    height: var(--header-height);
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px var(--header-inset);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}
.site-logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.site-logo img { display: block; width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 38px; }
.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
}
.contact-main {
    width: 100%;
    max-width: 1200px;
    flex: 1;
    margin: 0 auto;
    padding: 67px 34px 112px;
}
.contact-content { width: 100%; max-width: 700px; }
.page-label { margin: 0 0 24px; font-size: 12px; letter-spacing: .06em; }
h1 {
    margin: 0;
    color: var(--orange);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .015em;
}
.page-intro { margin: 27px 0 0; font-size: 14px; line-height: 2; }
.contact-form { margin-top: 49px; }
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.form-field { margin-bottom: 24px; }
.form-field label { display: block; margin-bottom: 9px; font-size: 13px; }
.field-requirement { margin-left: 10px; font-size: 11px; }
.field-help { margin: -2px 0 10px; font-size: 12px; }
.form-field input,
.form-field textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 12px 14px;
    background: var(--input-background);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    box-shadow: none;
}
.form-field input { min-height: 51px; }
.form-field textarea { min-height: 174px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--blue);
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.button-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    min-width: 174px;
    padding: 13px 26px;
    border: 1px solid var(--blue);
    border-radius: 2px;
    background: var(--blue);
    color: var(--input-background);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.button-primary:hover { background: #2D4963; }
.contact-form > .button-primary { margin-top: 8px; }
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 34px 25px;
    font-size: 10px;
    letter-spacing: .03em;
}
.site-footer p { margin: 0; }
.thanks-main { padding-bottom: 140px; }
.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    margin-top: 44px;
}
.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.section-more { display: inline-flex; gap: 32px; align-items: center; min-height: 48px; border-bottom: 1px solid var(--border); padding-bottom: 5px; text-decoration: none; font-size: 14px; }
.section-more > span { font-size: 25px; }
.section-more:hover { color: var(--blue); }
.about-copy { max-width: 590px; margin-top: 35px; font-size: 14px; line-height: 2.1; }
.about-copy p { margin: 0 0 22px; text-wrap: pretty; }
.about-copy .about-opening { margin-bottom: 30px; font-size: 16px; }
.about-copy .about-last { max-width: 510px; margin-top: 38px; }
.name-origin { max-width: 390px; margin: 52px 0 0 auto; font-size: 12px; line-height: 2; }
.member-section { margin-top: 88px; }
.section-label { margin: 0 0 32px; font-size: 12px; font-weight: 400; letter-spacing: .06em; }
.member-list { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 52px 65px; }
.member-note h3 { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: .06em; }
.member-note-second { margin-top: 73px; }
.member-note-third { margin-left: 45px; }
.member-note-fourth { margin-top: 54px; }
.member-role { margin: 4px 0 26px; font-size: 11px; }
.member-interest { margin: 0 0 12px; font-size: 11px; }
.member-thought { max-width: 460px; margin: 0; font-size: 15px; line-height: 2; text-wrap: pretty; }
.member-placeholder { margin: 0; font-size: 13px; }
.profile-section { margin-top: 88px; scroll-margin-top: 32px; }
.profile-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; align-items: start; }
.profile-portrait { display: block; width: 100%; height: auto; margin-top: 7px; }
.profile-body h2 { margin: 0; font-size: 24px; font-weight: 400; letter-spacing: .06em; }
.profile-role { margin: 4px 0 27px; font-size: 11px; }
.profile-bio { font-size: 14px; line-height: 2.1; }
.profile-bio p { margin: 0 0 21px; text-wrap: pretty; }
.profile-bio p:last-child { margin-bottom: 0; }
.profile-personal { margin: 25px 0 0; font-size: 12px; }
.company-details { margin-top: 86px; padding-top: 25px; border-top: 1px solid var(--border); }
.company-details h2 { margin: 0 0 23px; font-size: 14px; font-weight: 400; }
.company-details dl { margin: 0; font-size: 12px; }
.company-details dl > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; margin-top: 12px; }
.company-details dt, .company-details dd { margin: 0; }
.about-contact { margin-top: 39px; }
@media (max-width: 700px) {
    :root { --header-height: 80px; }
    .site-header { gap: 14px; padding-top: 18px; padding-bottom: 18px; }
    .site-logo img { width: 118px; }
    .site-nav { gap: 22px; }
    .site-nav a { font-size: 12px; }
}
@media (max-width: 600px) {
    .contact-main { padding: 52px 21px 78px; }
    h1 { font-size: 27px; }
    .page-label { margin-bottom: 20px; }
    .page-intro { margin-top: 24px; font-size: 13px; }
    .contact-form { margin-top: 39px; }
    .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .form-field { margin-bottom: 22px; }
    .contact-form > .button-primary { width: 100%; }
    .site-footer { padding: 20px 21px 24px; }
    .thanks-main { padding-bottom: 110px; }
    .about-copy { margin-top: 30px; font-size: 13px; }
    .about-copy .about-opening { font-size: 15px; }
    .name-origin { max-width: 290px; margin-top: 40px; }
    .member-section { margin-top: 67px; }
    .member-list { grid-template-columns: minmax(0, 1fr); gap: 43px; }
    .member-note-second, .member-note-third, .member-note-fourth { margin: 0; }
    .member-thought { font-size: 14px; }
    .profile-section { margin-top: 67px; }
    .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .profile-portrait { width: 148px; margin-top: 0; }
    .profile-body h2 { font-size: 22px; }
    .profile-role { margin-bottom: 23px; }
    .profile-bio { font-size: 13px; }
    .company-details { margin-top: 65px; }
}
@media (max-width: 359px) {
    .site-logo img { width: 104px; }
    .site-nav { gap: 14px; }
    h1 { font-size: 24px; }
}
