:root {
    --header-height: 90px;
}

body {
    padding-top: var(--header-height);
}

.page-title {
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-title--first {
    margin-top: calc(-1 * var(--header-height));
    padding-top: var(--header-height);
}

.page-title::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    top: calc(-1 * var(--header-height));
    height: calc(100% + var(--header-height));
    background-image:
        linear-gradient(#cdd0e3 1px, transparent 1px),
        linear-gradient(90deg, #cdd0e3 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.6;
    z-index: 0;
}

.page-title-inner {
    position: relative;
    width: 100%;
    text-align: center;
}

.page-title-en {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--subtext);
    font-family:
        "Helvetica Neue",
        Arial,
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    margin-bottom: 0;
    display: inline-block;
    transform: scaleY(1.4);
}

.page-title-ja {
    font-size: 35px;
    color: var(--text);
    font-family:
        "Yu Mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        "Hiragino Mincho Pro",
        "MS PMincho",
        serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-top: 0;
}

.page-visual {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%);
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.6) 1%,
            rgba(0, 0, 0, 1) 10%)
}

.page-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.about-section {
    padding: 100px 0;
}

.about-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-lead {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(18px, 2.1vw + 8px, 32px);
    line-height: 1.6;
    color: var(--text);
    margin-bottom: clamp(25px, 3vw, 40px);
    font-weight: 700;
    white-space: normal;
}

.about-text {
    font-size: clamp(14px, 1vw + 10px, 16px);
    line-height: 2;
    color: var(--text);
    opacity: 0.9;
}

.about-images {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 500px;
}

.about-img-item {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.about-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-01 {
    height: 85%;
}

.item-02 {
    height: 85%;
    margin-top: auto;
}

.philosophy-section {
    padding: 100px 0;
    padding: 100px 0px 10px 0px;
    background-color: var(--white);
}

.philosophy-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.philosophy-left {
    width: 40%;
}

.philosophy-right {
    width: 55%;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 0px;
}

.philosophy-ja {
    text-align: left;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(18px, 2.1vw + 8px, 32px);
    color: var(--text);
    margin-bottom: 30px;
    font-weight: 700;
}

.philosophy-lead {
    font-size: clamp(14px, 1vw + 10px, 16px);
    line-height: 2;
    color: var(--text);
    opacity: 0.9;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.philosophy-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--bg);
}

.philosophy-item:last-child {
    border-bottom: none;
}

.philosophy-item-title {
    display: flex;
    align-items: center;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(16px, 1vw + 12px, 20px);
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 700;
}

.philosophy-item-title::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            #233a5e 2px,
            #233a5e 3px);
    background-color: #dfe4ea;
    border-radius: 50%;
    flex-shrink: 0;
    transform: translateY(-1px);
}

.philosophy-item-text {
    font-size: clamp(14px, 1vw + 10px, 16px);
    line-height: 1.8;
    color: var(--text-brown);
    opacity: 0.8;
}

/*
.philosophy-item-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-brown); /* 既存の変数を使用
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 1px solid var(--text-brown);
}
*/

.philosophy-item-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(16px, 1.5vw + 10px, 22px);
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 700;
}

.philosophy-item-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    opacity: 0.8;
}

.representative-section {
    padding: 50px 0px 50px 0px;
}

.representative-inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.representative-header {
    text-align: center;
    margin-bottom: 20px;
}

.representative-ja {
    text-align: left;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(18px, 2.1vw + 8px, 32px);
    color: var(--text);
    margin-bottom: 30px;
    font-weight: 700;
}

.representative-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.representative-img {
    flex: 0 0 40%;
}

.representative-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.representative-body {
    flex: 1;
}

.message-headline {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 700;
}

.message-text {
    font-size: clamp(14px, 1vw + 10px, 16px);
    line-height: 2;
    color: var(--text);
    margin-bottom: 20px;
}

.information-section {
    padding: 30px 0px 80px 0px;
}

.information-inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.information-header {
    text-align: center;
    margin-bottom: 20px;
}

.information-ja {
    text-align: center;
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(18px, 2.1vw + 8px, 32px);
    color: var(--text);
    margin-bottom: 30px;
    font-weight: 700;
}

.notebook-box {
    background-color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 8% 70px;
    position: relative;
    border-radius: 2px;
}

.deco-group {
    position: absolute;
    top: -90px;
    right: 3%;
    display: flex;
    align-items: flex-end;
    gap: 0px;
    pointer-events: none;
}

.svg-deco {
    position: relative;
    color: var(--white);
}

.svg-deco svg {
    width: 100%;
    height: auto;
}

.deco-tree-large {
    width: 65px;
}

.deco-tree-small {
    top: -10px;
    width: 55px;
    margin-left: -15px;
}

.svg-deco svg path {
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.deco-sofa {
    position: absolute;
    left: -120px;
    bottom: 20px;
    width: 140px;
}

.info-list {
    display: flex;
    flex-direction: column;
}

.info-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #e0d8cc;
    align-items: flex-start;
}

.info-row dt {
    width: 30%;
    color: var(--text);
    font-weight: bold;
    font-size: clamp(14px, 1vw + 10px, 16px);
}

.info-row dd {
    width: 70%;
    color: var(--text);
    font-size: 1rem;
    font-size: clamp(14px, 1vw + 10px, 16px);
}

.staff-section {
    padding: 30px 0px 100px 0px;
}

.staff-inner {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.staff-card {
    background-color: var(--text);
    display: flex;
    align-items: center;
    padding: 50px;
    gap: 40px;
    position: relative;
}

.staff-content {
    flex: 1;
    color: #fff;
}

.staff-main-title {
    font-size: clamp(18px, 2.1vw + 8px, 30px);
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.staff-role {
    font-size: clamp(14px, 1vw + 10px, 16px);
    color: #dbe4f6;
    font-weight: bold;
    margin-bottom: 10px;
}

.staff-border {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 15px 0 25px;
    width: 100%;
}

.staff-text {
    font-size: clamp(14px, 1vw + 10px, 16px);
    line-height: 2;
    letter-spacing: 0.02em;
}

.staff-image {
    flex: 0 0 40%;
}

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

.cta-home-margin {
    margin-bottom: 100px;
}

.privacy-section {
    padding: 0px 0 90px 0;
}

.privacy-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
}

.privacy-intro {
    font-size: clamp(14px, 1vw + 10px, 16px);
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 10px;
}

.privacy-item {
    width: 100%;
}

.privacy-item-title {
    background-color: #b6c3d5;
    color: var(--text);
    padding: 10px 20px;
    font-family: "Shippori Mincho", serif;
    font-size: clamp(16px, 1.5vw + 10px, 22px);
    border-bottom: 2px solid var(--text);
    margin-bottom: 5px;
}

.privacy-item-text p {
    font-size: clamp(14px, 1vw + 10px, 16px);
    line-height: 2;
    color: var(--w);
}

.contact-section {
    padding: 100px 0;
    padding: 30px 0px 80px 0px;
    background-color: var(--white);
}

.contact-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    text-align: center;
}

.contact-lead {
    font-size: clamp(14px, 1vw + 10px, 16px);
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
    text-align: center;
}

@media screen and (min-width: 650px) {
    .pc-only {
        display: none;
    }
}

.contact-badge-box {
    display: inline-block;
    background-color: var(--text);
    color: var(--white);
    padding: 15px 25px;
    font-size: clamp(13px, 1vw + 10px, 15px);
    font-weight: bold;
    margin-bottom: 50px;
}

.contact-form-wrapper {
    flex: 1.2;
    background-color: var(--bg);
    padding: 50px;
    border-radius: 4px;
}

.form-item {
    margin-bottom: 25px;
}

.form-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: clamp(14px, 1vw + 10px, 16px);
    display: flex;
    align-items: center;
}

.badge {
    font-size: 11px;
    padding: 2px 8px;
    margin-left: 10px;
    border-radius: 2px;
    color: #fff;
}

.badge.required {
    background-color: var(--text);
}

.badge.optional {
    background-color: #9bafcd;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    height: 150px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    margin-top: 10px;
}

.radio-group label {
    font-weight: normal;
    cursor: pointer;
}

.form-agreement {
    text-align: center;
    margin-top: 30px;
    font-size: clamp(14px, 1vw + 10px, 16px);
}

.form-agreement a {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 15px 60px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.form-submit button:hover {
    background-color: #d1d6ec;
    color: var(--primary) !important;
}

.form-submit .arrow {
    margin-left: 10px;
}



@media (max-width: 850px) {
    .philosophy-header {
        margin-bottom: 20px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: 60px;
    }

    .philosophy-header {
        margin-bottom: 40px;
    }

    .philosophy-content {
        flex-direction: column;
        gap: 20px;
    }

    .philosophy-left,
    .philosophy-right {
        width: 100%;
    }

    .philosophy-left {
        margin-bottom: 10px;
    }

    .deco-group {
        right: 2%;
    }

    .privacy-section {
        padding: 0px 0 50px 0;
    }

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

    .contact-container {
        flex-direction: column;
        gap: 0px;
    }

    .contact-lead {
        margin-bottom: 5px;
    }

    .contact-badge-box {
        margin-bottom: 40px;
    }

    .contact-info {
        width: 100%;
    }

    .contact-badge-box {
        display: block;
        text-align: center;
    }

    .contact-form-wrapper {
        width: 100%;
        box-sizing: border-box;
        padding: 40px 20px;
    }

    .contact-illustration {
        text-align: center;
        margin: 20px auto 0;
    }
}



@media (max-width: 600px) {
    :root {
        --header-height: 75px;
    }

    .page-title {
        height: 85px;
    }

    .page-title-en {
        font-size: 13px;
    }

    .page-title-ja {
        font-size: 24px;
    }

    .page-visual {
        height: 250px;
    }

    .page-visual img {
        object-fit: cover;
        object-position: center;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-inner {
        flex-direction: column;
        gap: 0;
    }

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

    .about-text {
        font-size: 13px;
    }

    .about-images {
        width: 100%;
        height: auto;
        display: block;
    }

    .about-img-item {
        width: 85%;
        height: 120px;
    }

    .item-01 {
        margin-right: auto;
        margin-left: 0;
        margin-bottom: 10px;
    }

    .item-02 {
        margin-left: auto;
        margin-right: 0;
        margin-top: 0;
    }

    .philosophy-section {
        padding: 30px 0 15px 0;
    }

    .philosophy-header {
        margin-bottom: 0px;
    }

    .philosophy-ja {
        font-size: 20px;
        margin-bottom: 0;
    }

    .philosophy-content {
        gap: 0px;
    }

    .philosophy-lead {
        font-size: 13px;
    }

    .philosophy-item {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .philosophy-item-title {
        margin-bottom: 10px;
    }

    .philosophy-item-title::before {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .philosophy-item-text {
        font-size: 13px;

    }

    .representative-section {
        padding: 25px 0 20px 0;
    }

    .representative-ja {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .representative-content {
        flex-direction: column;
        gap: 5px;
    }

    .representative-img {
        width: 100%;
        max-width: 400px;
    }

    .representative-img img {
        height: 300px;
    }

    .representative-body {
        width: 100%;
    }

    .message-headline {
        margin-bottom: 5px;
        font-size: 18px;
    }

    .message-text {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .information-ja {
        font-size: 19px;
    }

    .information-section {
        padding: 15px 0 40px 0;
    }

    .notebook-box {
        padding: 10px 8% 20px;
    }

    .deco-group {
        right: 2px;
        top: -60px;
    }

    .deco-tree-large {
        width: 40px;
    }

    .deco-tree-small {
        top: 0;
        width: 35px;
        margin-left: -10px;
    }

    .information-header {
        margin-bottom: -10px;
    }

    .info-row {
        padding: 5px 0;
    }

    .info-row dt,
    .info-row dd {
        font-size: 13px;
    }

    .staff-section {
        padding: 0px 0px 50px 0px;
    }

    .staff-card {
        flex-direction: column;
        padding: 15px 20px;
        gap: 0px;
    }

    .staff-main-title {
        font-size: 20px;
        margin-bottom: 0px;
    }

    .staff-role {
        font-size: 12px;
        margin-bottom: 0px;
    }

    .staff-border {
        margin: 5px 0px 0px;
    }

    .staff-text {
        font-size: 13px;
        line-height: 1.5;
        letter-spacing: 0em;
    }

    .staff-image {
        flex: none;
        width: 100%;
        height: 280px;
        overflow: hidden;
    }

    .staff-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .cta-home-margin {
        margin-bottom: 50px;
    }

    .privacy-section {
        padding: 0px 0 30px 0;
    }

    .privacy-item-title {
        padding: 5px 15px;
    }

    .privacy-intro {
        font-size: 13px;
    }

    .privacy-item-text p {
        font-size: 13px;
        line-height: 1.5;
    }

    .contact-section {
        padding: 10px 0px 30px 0px;
    }

    .contact-lead {
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.5;
    }

    .contact-badge-box {
        font-size: 13px;
        padding: 8px 10px;
        margin-bottom: 25px
    }

    .contact-form-wrapper {
        padding: 20px 20px;
    }

    .form-item {
        margin-bottom: 10px;
    }

    .form-item label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: 5px 5px;
    }

    .radio-group {
        gap: 1px 10px;
    }

    .form-agreement {
        margin-top: 10px;
        font-size: 13px;
    }

    .form-submit {
        margin-top: 15px;
    }

    .form-submit button {
        padding: 10px 70px;
        font-size: 18px;
    }

    .form-submit .arrow {
        margin-left: 8px;
    }
}