@charset "UTF-8";

/* =====================
Base
===================== */
:root {
    --header-height: 72px;
}

html {
    font-size: 62.5%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Noto Sans JP", Arial, sans-serif;
    color: #3B3D3A;
    background-color: #F2F2EE;
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1.5;
    padding-top: var(--header-height);
}

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

/*==========================
loading-gif
==========================*/
.loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #F2F2EE;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s, visibility 0.6s;
}

.loading__gif {
    width: 160px;
    height: auto;
    display: block;
}

.loading.is-hidden {
    opacity: 0;
    visibility: hidden;
}


/*==========================
header
==========================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header__inner {
    height: 112px;
    padding: 0 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
    width: 150px;
    height: auto;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 42px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__nav-item a {
    color: #6692A0;
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 2.4rem;
    letter-spacing: 0.08em;
    transition: color .4s ease;
}

/* PCではSP用パーツを非表示 */
.header__nav-head,
.hamburger {
    display: none;
}

/*==========================
SP_header
==========================*/
@media screen and (max-width: 1024px) {

    .header__inner {
        height: 72px;
        padding: 0 24px;
    }

    .header__logo img {
        width: 74.68px;
    }

/* ハンバーガー SPで表示 */
.hamburger {
    width: 22px;
    height: 16px;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #6692A0;
    transition: background-color .4s ease;
}

/* メニューが開いている間はハンバーガーを隠す */
body.is-fixed .hamburger {
    display: none;
}

/* SPメニュー本体 */
.header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 672px;
    background-color: rgba(124, 170, 186, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* メニューが開いた状態 */
.header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* SPメニュー上部 */
.header__nav-head {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

/* SPメニュー内ロゴ */
.header__nav-logo {
    margin-left: 0;
    margin-top: 0;
}

.header__nav-logo img {
    width: 74.68px;
    height: auto;
    display: block;
}

/* 閉じるボタン：CSSで×を作る */
.nav__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background-color: #fff;
    transform-origin: center;
}

.nav__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* メニューリスト */
.header__nav-list {
    display: block;
    margin: 84px 0 0;
    padding: 0;
    list-style: none;
}

.header__nav-item {
    position: relative;
    margin-bottom: 42px;
}

.header__nav-item a {
    display: block;
    padding-left: 80px;
    color: #fff;
    text-decoration: none;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: 0.06em;
    font-weight: 300;
}

    /* 左の白い線 */
    .header__nav-item.has-line::before {
        content: "";
        position: absolute;
        top: 50%;
        
        width: 64px;
        height: 2px;
        background-color: #fff;
        transform: translateY(-50%);
    }

    body.is-fixed {
        overflow: hidden;
    }
}

/*==========================
header tablet (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .header__inner {
        padding: 0 40px;
    }

    .header__nav-list {
        gap: 24px;
    }

    
}

/*==========================
header PC (min-width: 1025px) — height variable
==========================*/
@media screen and (min-width: 1025px) {
    :root {
        --header-height: 112px;
    }
}

/*==========================
header dark theme (SERVICES上で白反転)
==========================*/
.header__logo a {
    position: relative;
    display: block;
}

.header__logo-img {
    display: block;
    transition: opacity .4s ease;
}

.header__logo-img--white {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.header[data-theme="dark"] .header__logo-img--blue {
    opacity: 0;
}

.header[data-theme="dark"] .header__logo-img--white {
    opacity: 1;
}

.header[data-theme="dark"] .hamburger__line {
    background-color: #ffffff;
}

/* PCで常時表示されているナビのみが対象（.header__nav全体は対象にしない） */
@media screen and (min-width: 1025px) {
    .header[data-theme="dark"] .header__nav-list > .header__nav-item > a {
        color: #ffffff;
    }
}

/*==========================
fv
==========================*/
.fv {
    position: sticky;
    top: 0;
    width: 100%;
    height: calc(var(--vh100, 100svh) - var(--header-height));
    overflow: hidden;
    z-index: 0;
}

.fv__image {
    width: 100%;
    height: 100%;
}

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

.fv::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

.fv__content {
    position: absolute;
    left: 24px;
    top: auto;
    bottom: 200px;
    z-index: 2;
    color: #ffffff;
}

.fv__lead {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.23em;
    font-style: normal;
}

.fv__title {
    margin-bottom: 10px;
    font-size: 4.8rem;
    font-weight: 500;
    line-height: 1.1667;
    letter-spacing: 0.1875em;
}

.fv__subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.3em;
    letter-spacing: 0.23em;
    margin-bottom: 8px;
}

.fv__text {
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: 0.2em;
    font-weight: 300;
}

.fv__company {
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 0.16em;
    font-weight: 500;
}

.fv__line {
    width: 124px;
    height: 1px;
    margin-bottom: 8px;
    background-color: #ffffff;
}

/*==========================
TB_fv（768〜1024px）
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .fv__content {
        top: auto;
        bottom: 96px;
        left: 120px;
    }

    .fv__lead {
        margin-bottom: 16px;
        font-size: 1.5rem;
        letter-spacing: 0.25em;
    }

    .fv__title {
        font-size: 6.4rem;
        line-height: 1;
        letter-spacing: 0.2em;
        margin-bottom: 16px;
    }

    .fv__subtitle {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .fv__line {
        width: 140px;
        margin-bottom: 16px;
    }

    .fv__text {
        font-size: 1.5rem;
        line-height: 1.75;
        letter-spacing: 0.16em;
    }

    .fv__line-vertical {
        position: absolute;
        left: 65px;
        bottom: 0;
        height: 264px;
        width: 1px;
        background-color: #ffffff;
        z-index: 2;
    }
}

/*==========================
PC_fv
==========================*/
@media screen and (min-width: 1025px) {

    .fv {
        height: calc(100vh - var(--header-height));
        min-height: 640px;
    }

    .fv__image,
    .fv__image picture,
    .fv__image img {
        width: 100%;
        height: 100%;
    }

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

    .fv::before {
        background: rgba(0, 0, 0, 0.50);
    }

    .fv__content {
        top: auto;
        bottom: 96px;
        left: 160px;
        width: auto;
    }

    .fv__lead {
        margin-bottom: 20px;
        font-size: 1.6rem;
        line-height: 1.5;
        letter-spacing: 0.25em;
        font-weight: 300;
    }

    .fv__title {
        color: #FFF ;
        font-size: 7.2rem;
        font-style: normal;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.2em;
        margin-bottom: 20px;
    }

    .fv__subtitle {
        color: #FFF;
        font-size: 1.6rem;
        font-weight: 500;
        line-height: normal;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .fv__line {
        width: 152px;
        margin-bottom: 20px;
    }

    .fv__text {
        font-size: 1.6rem;
        line-height: 1.75;
        letter-spacing: 0.16em;
        font-weight: 400;
    }

    .fv__line-vertical {
        position: absolute;
        left: 65px;
        bottom: 0;
        height: 264px;
        width: 1px;
        background-color: #ffffff;
        z-index: 2;
    }
}

/*==========================
fv fade-in
==========================*/
.fv__lead,
.fv__title,
.fv__subtitle,
.fv__line,
.fv__text {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fv__content.is-shown .fv__lead {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.fv__content.is-shown .fv__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.fv__content.is-shown .fv__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.fv__content.is-shown .fv__line {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.fv__content.is-shown .fv__text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/*==========================
about SP
==========================*/
.about {
    position: relative;
    z-index: 1;
    padding: 48px 24px 56px;
    background-color: rgba(242, 242, 238, 0.94);
}

.about__inner {
    max-width: 327px;
    margin: 0 auto;
}

.about__label {
    margin: 0 0 4px;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #6692A0;
}

.about__title {
    margin: 0 0 28px;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #6692A0;
}

.about__lead {
    margin: 0 0 40px;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3675;
    letter-spacing: 0.03125em;
    color: #3B3D3A;
}

.about__br-pc {
    display: none;
}

.about__text {
    margin: 0 0 20px;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.03em;
    color: #3B3D3A;
}

.about__text:last-child {
    margin-bottom: 0;
}

.about__sidebar {
    display: none;
}

/*==========================
TB_about (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .about {
        padding: 80px 40px;
    }

    .about__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 27px;
        top: 0px;
        bottom: 0px;
    }

    .about__sidebar::before,
    .about__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #6692A0;
    }

    .about__sidebar-label {
        padding: 14px 0;
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #6692A0;
        letter-spacing: 0.14em;
    }

    .about__intro {
        max-width: 512px;
        margin-left: auto;
        margin-right: auto;
    }

    .about__lead {
        font-size: 1.8rem;
        line-height: 1.8;
        letter-spacing: 0.05em;
    }

    .about__text {
        font-size: 1.6rem;
        line-height: 1.5;
        font-weight: 400;
        letter-spacing: 0.05em;
    }
}

/*==========================
about PC
==========================*/
@media screen and (min-width: 1025px) {
    .about {
        position: relative;
        padding: 120px 110px;
    }

    .about__inner {
        max-width: 1120px;
    }

    .about__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 56px;
        top: 0px;
        bottom: 0px;
    }

    .about__sidebar::before,
    .about__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #6692A0;
    }

    .about__sidebar-label {
        padding: 14px 0;
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #6692A0;
        letter-spacing: 0.14em;
    }

    .about__label {
        font-size: 3.6rem;
        font-weight: 700;
        color: #6692A0;
        line-height: 1.28;
        letter-spacing: 0.13em;
    }

    .about__title {
        margin-bottom: 64px;
        font-size: 1.6rem;
        letter-spacing: 0.15em;
        font-weight: 400;
        line-height: 1.44;
    }

    .about__intro {
        max-width: 1000px;
    }

    .about__lead {
        font-size: 2.4rem;
        line-height: 1.5;
        font-weight: 600;
        letter-spacing: 0.1em;
    }

    .about__br-pc {
        display: inline;
    }

    .about__text {
        font-size: 1.8rem;
        line-height: 1.67;
        font-weight: 400;
        letter-spacing: 0.05em;
    }
}
/*==========================
strengths (SP base)
==========================*/
.strengths {
    position: relative;
    z-index: 1;
    padding: 4.8rem 2.4rem 5.6rem;
    background-color: rgba(242, 242, 238, 0.94);
    border-top: 1px solid #6692A0;
}

.strengths__sidebar {
    display: none;
}

.strengths__inner {
    max-width: 32.7rem;
    margin: 0 auto;
}

.strengths__heading-block {
    margin-bottom: 3.2rem;
}

.strengths__label {
    margin: 0 0 0.4rem;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #6692A0;
}

.strengths__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #6692A0;
}

.strengths__list {
    display: flex;
    flex-direction: column;
    gap: 4.0rem;
}

.strength-item__number {
    margin: 0 0 0.8rem;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #6692A0;
}

.strength-item__heading {
    margin: 0 0 1.6rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #3B3D3A;
}

.strength-item__image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.6rem;
    border-radius: 8px;
    border: 1px solid #6692A0;
    padding: 0.8rem;
    background-color: #F2F2EE;
    box-sizing: border-box;
}

.strength-item__image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.strength-item__text {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.03em;
    color: #3B3D3A;
}

.strengths__note {
    width: fit-content;
    margin: 4.8rem auto 0;
    padding: 0.2rem 1.2rem;
    border-left: 1px solid #6692A0;
    border-right: 1px solid #6692A0;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: #3B3D3A;
    text-align: center;
}

/*==========================
TB_strengths (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .strengths {
        padding: 8.0rem 4.0rem;
    }

    .strengths__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 2.7rem;
        top: 0;
        bottom: 0;
    }

    .strengths__sidebar::before,
    .strengths__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #6692A0;
    }

    .strengths__sidebar-label {
        padding: 1.4rem 0;
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #6692A0;
        letter-spacing: 0.14em;
    }

    .strengths__heading-block {
        margin-bottom: 4.8rem;
    }

    .strengths__title {
        font-size: 1.4rem;
        letter-spacing: 0.08em;
    }

    .strengths__list {
        gap: 6.4rem;
    }

    .strength-item__number {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.08em;
    }

    .strength-item__heading {
        font-size: 2.0rem;
        margin-bottom: 2.0rem;
        letter-spacing: 0.07em;
    }

    .strength-item__image {
        max-width: 51.2rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.0rem;
    }

    .strength-item__text {
        font-size: 1.6rem;
        line-height: 1.5;
        letter-spacing: 0.05em;
        font-weight: 400
    }

    .strengths__note {
        margin-top: 6.4rem;
        font-size: 1.4rem;
        letter-spacing: 0.035em;
    }
}

/*==========================
strengths PC
==========================*/
@media screen and (min-width: 1025px) {

    .strengths {
        position: relative;
        padding: 12rem 11rem;
    }

    .strengths__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 5.6rem;
        top: 0;
        bottom: 0;
    }

    .strengths__sidebar::before,
    .strengths__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #6692A0;
    }

    .strengths__sidebar-label {
        padding: 1.4rem 0;
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #6692A0;
        letter-spacing: 0.14em;
    }

    .strengths__inner {
        max-width: 112rem;
    }

    .strengths__heading-block {
        margin-bottom: 6.4rem;
    }

    .strengths__label {
        font-size: 3.6rem;
        letter-spacing: 0.13em;
        line-height: 1.28;
    }

    .strengths__title {
        font-size: 1.6rem;
        letter-spacing: 0.15em;
        line-height: 1.44;
    }

    .strengths__list {
        gap: 16rem;
    }

    .strength-item--odd,
    .strength-item--even {
        display: grid;
        grid-template-rows: auto auto auto;
        column-gap: 12rem;
    }

    .strength-item--odd {
        grid-template-columns: 55fr 47fr;
    }

    .strength-item--even {
        grid-template-columns: 47fr 55fr;
    }

    /* odd: image left / text right */
    .strength-item--odd .strength-item__number {
        grid-column: 2;
        grid-row: 1;
    }

    .strength-item--odd .strength-item__heading {
        grid-column: 2;
        grid-row: 2;
    }

    .strength-item--odd .strength-item__image {
        grid-column: 1;
        grid-row: 1 / span 3;
    }

    .strength-item--odd .strength-item__text {
        grid-column: 2;
        grid-row: 3;
    }

    /* even: text left / image right */
    .strength-item--even .strength-item__number {
        grid-column: 1;
        grid-row: 1;
    }

    .strength-item--even .strength-item__heading {
        grid-column: 1;
        grid-row: 2;
    }

    .strength-item--even .strength-item__image {
        grid-column: 2;
        grid-row: 1 / span 3;
    }

    .strength-item--even .strength-item__text {
        grid-column: 1;
        grid-row: 3;
    }

    .strength-item__number {
        font-size: 3.6rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.6rem;
    }

    .strength-item__heading {
        font-size: 2.4rem;
        letter-spacing: 0.1em;
        margin-bottom: 2.4rem;
    }

    .strength-item__image {
        aspect-ratio: unset;
        height: 38rem;
        margin-bottom: 0;
    }

    .strength-item__image img {
        height: 100%;
    }

    .strength-item__text {
        font-size: 1.6rem;
        line-height: 1.9;
        font-weight: 400;
    }

    .strengths__note {
        margin-top: 10rem;
        font-size: 1.4rem;
        letter-spacing: 0.05em;
    }

}

/*==========================
services (SP base)
==========================*/
.services {
    background-color: rgba(104, 169, 184, 0.96);
    color: #ffffff;
    padding: 48px 24px 56px;
    position: relative;
    z-index: 1;
}

.services__sidebar {
    display: none;
}

.services__inner {
    max-width: 327px;
    margin: 0 auto;
}

.services__heading-block {
    text-align: center;
    margin-bottom: 40px;
}

.services__label {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin: 0 0 8px;
}

.services__title {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin: 0 0 24px;
}

.services__lead {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-align: left;
}

.services__visual {
    margin-bottom: 40px;
}

.services__visual img {
    width: 100%;
    max-width: 333px;
    height: auto;
    display: block;
}

.services__intro {
    margin-bottom: 40px;
}

.services__intro-title {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin: 0 0 16px;
}

.services__intro-text {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-card__image-wrap {
    width: 100%;
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #6692A0;
    padding: 0.8rem;
    background-color: #F2F2EE;
    box-sizing: border-box;
}

.service-card__image-wrap img {
    width: 100%;
    aspect-ratio: 3 / 2;
    display: block;
    object-fit: cover;
    border-radius: 6px;
}

.service-card__caption {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 12px 8px;
}

.service-card__body__top {
    border-left: 1px solid #ffffff;
    padding-left: 16px;
}

.service-card__body {
    width: 100%;
    border-left: 1px solid #ffffff;
    padding-left: 16px;
}

.service-card__title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin: 0 0 12px;
}

.service-card__text {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: #ffffff;
    margin: 0;
}

.service-card__caption_gray {
    color: #808080;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 12px 8px;
}

/*==========================
TB_services (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .services {
        padding: 80px 40px;
    }

    .services__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 27px;
        top: 0px;
        bottom: 0px;
    }

    .services__sidebar::before,
    .services__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #ffffff;
    }

    .services__sidebar-label {
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #ffffff;
        letter-spacing: 0.14em;
        padding: 14px 0;
    }

    .services__lead {
        max-width: 512px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.8rem;
        line-height: 1.8;
        letter-spacing: 0.05em;
    }

    .services__intro {
        max-width: 512px;
        margin-left: auto;
        margin-right: auto;
    }

    .services__intro-text {
        font-size: 1.6rem;
        line-height: 1.5;
        letter-spacing: 0.05em;
    }

    .service-card {
        max-width: 512px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-card__text {
        font-size: 1.6rem;
        line-height: 1.5;
        letter-spacing: 0.05em;
    }
}

/*==========================
services PC
==========================*/
@media screen and (min-width: 1025px) {

    .services {
        position: relative;
        padding: 120px 110px;
    }

    .services__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 56px;
        top: 0px;
        bottom: 0px;
    }

    .services__sidebar::before,
    .services__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #ffffff;
    }

    .services__sidebar-label {
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #ffffff;
        letter-spacing: 0.14em;
        padding: 14px 0;
    }

    .services__inner {
        max-width: 1120px;
        margin: 0 auto;
    }

    .services__heading-block {
        text-align: center;
        margin-bottom: 16px;
    }

    .services__label {
        font-size: 3.6rem;
        font-weight: 700;
        letter-spacing: 0.13em;
        line-height: 1.28;
        margin-bottom: 8px;
    }

    .services__title {
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: 0.15em;
        line-height: 1.44;
        margin-bottom: 64px;
    }

    .services__lead {
        font-size: 1.8rem;
        line-height: 1.8;
        letter-spacing: 0.05em;
        text-align: left;
        max-width: 792px;
        margin: 0 auto;
    }

    .services__visual {
        margin-bottom: 80px;
    }

    .services__visual img {
        max-width: 100%;
        margin: 0 auto;
    }
    .services__intro {
        margin-bottom: 122px;
    }

    .services__intro-title {
        font-size: 2.4rem;
        font-weight: 500;
        letter-spacing: 0.05em;
        margin-bottom: 16px;
    }

    .services__intro-text {
        font-size: 1.6rem;
        line-height: 1.5;
        letter-spacing: 0.05em;
    }

    .services__grid {
        grid-template-columns: 1fr 1fr;
        gap: 112px 120px;
    }

    .service-card__image-wrap {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .service-card__body__top {
        border-left: 1px solid #ffffff;
        padding-left: 16px;
        width: 100%;
        max-width: 789px;
        margin: 0 auto;
    }

    .service-card__body {
        width: 100%;
    }

    .service-card__title {
        font-size: 2.4rem;
        letter-spacing: 0.05em;
        margin-bottom: 16px;
        font-weight: 400;
    }

    .service-card__text {
        font-size: 1.6rem;
        line-height: 1.5;
        letter-spacing: 0.05em;
    }

    .service-card__caption {
        font-size: 1.1rem;
    }
}

/*==========================
instagram SP
==========================*/
.instagram {
    position: relative;
    z-index: 1;
    padding: 48px 24px 56px;
    background-color: rgba(242, 242, 238, 0.94);
}

.instagram__sidebar {
    display: none;
}

.instagram__inner {
    max-width: 327px;
    margin: 0 auto;
}

.instagram__heading-block {
    text-align: center;
    margin-bottom: 24px;
}

.instagram__label {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    color: #6692A0;
    margin: 0 0 8px;
}

.instagram__title {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.14em;
    color: #6692A0;
    margin: 0;
}

.instagram__lead {
    font-size: 1.2rem;
    line-height: 2;
    letter-spacing: 0.03em;
    color: #3B3D3A;
    text-align: center;
    margin: 0 0 32px;
}

.sp-br {
    display: inline;
}

.instagram__grid {
    margin-bottom: 32px;
}

@keyframes instagram-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-1 * var(--slide-count) * (var(--slide-width) + var(--gap)))); }
}

.instagram__marquee {
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    left: 50%;
    right: 50%;
    position: relative;
    overflow: hidden;
}

.instagram__marquee-track {
    display: flex;
    gap: var(--gap);
    animation: instagram-marquee 35s linear infinite;
    --visible: 4.5;
    --gap: 0.8rem;
    --slide-width: calc(100vw / var(--visible) - var(--gap));
    --slide-count: 8;
}

.instagram__marquee:hover .instagram__marquee-track {
    animation-play-state: paused;
}

.instagram__marquee-item {
    flex-shrink: 0;
    width: var(--slide-width);
    height: var(--slide-width);
}

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

.instagram__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 28px;
    border: 1px solid #6692A0;
    border-radius: 8px;
    color: #6692A0;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* ホバー時：背景を塗って文字を反転 */
.instagram__btn:hover {
    background-color: #6692A0;
    color: #ffffff;
}

/*==========================
TB_instagram (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .instagram {
        padding: 80px 40px;
    }

    .instagram__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 27px;
        top: 0px;
        bottom: 0px;
        z-index: 999;
    }

    .instagram__sidebar::before,
    .instagram__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #6692A0;
    }

    .instagram__sidebar-label {
        padding: 14px 0;
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #6692A0;
        letter-spacing: 0.14em;
    }

    .instagram__lead {
        max-width: 512px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.6rem;
        line-height: 1.8;
        letter-spacing: 0.05em;
    }

    .instagram__marquee-track {
        --visible: 5;
        --gap: 1.6rem;
    }
}

/*==========================
instagram PC
==========================*/
@media screen and (min-width: 1025px) {
    .instagram {
        position: relative;
        padding: 120px 110px;
    }

    .instagram__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 56px;
        top: 0px;
        bottom: 0px;
        z-index: 999;
    }

    .instagram__sidebar::before,
    .instagram__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #6692A0;
    }

    .instagram__sidebar-label {
        padding: 14px 0;
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #6692A0;
        letter-spacing: 0.14em;
    }

    .instagram__inner {
        max-width: 1120px;
    }

    .instagram__heading-block {
        margin-bottom: 40px;
    }

    .instagram__label {
        font-size: 3.6rem;
        letter-spacing: 0.13em;
        line-height: 1.28;
        font-weight: 700;
    }

    .instagram__title {
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: 0.15em;
        line-height: 1.44;
    }

    .instagram__lead {
        font-size: 1.6rem;
        margin-bottom: 56px;
        line-height: 1.5;
        letter-spacing: 0.05em;
        font-weight: 400;
    }

    .sp-br {
        display: none;
    }

    .instagram__grid {
        margin-bottom: 56px;
    }

    .instagram__marquee-track {
        --visible: 5;
        --gap: 4rem;
    }

    .instagram__btn {
        font-size: 1.6rem;
        padding: 16px 40px;
    }
}

/*==========================
company (base)
==========================*/
.company {
    position: relative;
    z-index: 1;
    padding: 48px 24px 56px;
    overflow: hidden;
    border-top: 1px solid #6692A0;
    background-color: #F2F2EE;
}

.company::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/company_back_sp.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.company__sidebar {
    display: none;
}

.company__inner {
    position: relative;
    z-index: 1;
    max-width: 327px;
    margin: 0 auto;
}

.company__heading-block {
    text-align: center;
    margin-bottom: 32px;
}

.company__label {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.13em;
    color: #6692A0;
    margin: 0 0 8px;
}

.company__title {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.14em;
    color: #6692A0;
    margin: 0;
}

.company__table {
    width: 100%;
}

.company__row {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #d3d3d3;
}

.company__term {
    flex-shrink: 0;
    width: 88px;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #3B3D3A;
}

.company__desc {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #3B3D3A;
}

/*==========================
TB_company (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .company {
        padding: 80px 40px;
    }

    .company__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 27px;
        top: 0px;
        bottom: 0px;
        z-index: 1;
    }

    .company__sidebar::before,
    .company__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #6692A0;
    }

    .company__sidebar-label {
        padding: 14px 0;
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #6692A0;
        letter-spacing: 0.14em;
    }
}

/*==========================
company PC
==========================*/
@media screen and (min-width: 1025px) {
    .company {
        padding: 120px 110px 200px;
    }

    .company::before {
        background-image: url('../images/company_back_pc.png');
        background-size: 100% auto;
        background-position: center;
    }

    .company__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 56px;
        top: 0px;
        bottom: 0px;
        z-index: 1;
    }

    .company__sidebar::before,
    .company__sidebar::after {
        content: "";
        width: 1px;
        flex: 1;
        background-color: #6692A0;
    }

    .company__sidebar-label {
        padding: 14px 0;
        writing-mode: vertical-rl;
        font-size: 1.2rem;
        font-weight: 400;
        color: #6692A0;
        letter-spacing: 0.14em;
    }

    .company__inner {
        max-width: 480px;
        margin: 0 auto;
    }

    .company__heading-block {
        margin-bottom: 56px;
    }

    .company__label {
        font-size: 3.6rem;
        letter-spacing: 0.13em;
        line-height: 1.28;
    }

    .company__title {
        font-size: 1.6rem;
        color: #6692A0;
        letter-spacing: 0.15em;
        line-height: 1.44;
    }

    .company__row {
        gap: 40px;
        padding: 24px 0;
        border-bottom-color: #d3d3d3;
    }

    .company__term {
        width: 120px;
        font-size: 1.4rem;
        color: #3B3D3A;
    }

    .company__desc {
        font-size: 1.4rem;
        color: #3B3D3A;
    }
}

/*==========================
scroll fade-up
==========================*/
.js-fadeup {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-fadeup.is-shown {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js-fadeup {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/*==========================
footer (base)
==========================*/
.footer {
    background-color: #7CAABA;
    padding: 32px 24px 24px;
}

.footer__inner {
    margin: 0 auto;
}

.footer__top {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.footer__logo img {
    width: 120px;
    height: auto;
}

.footer__nav {
    display: none;
}

.footer__copy {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 200;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin: 0;
}

/*==========================
footer PC
==========================*/
@media screen and (min-width: 1025px) {
    .footer {
        padding: 40px 110px 24px;
    }

    .footer__top {
        justify-content: space-between;
        align-items: center;
        margin-bottom: 32px;
    }

    .footer__logo img {
        width: 150px;
    }

    .footer__nav {
        display: block;
    }

    .footer__nav-list {
        display: flex;
        align-items: center;
        gap: 48px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .footer__nav-item a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.6rem;
        font-weight: 300;
        line-height: 1.5;
        letter-spacing: 0.08em;
    }
}

/*==========================
footer tablet (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .footer {
        padding: 40px 40px 24px;
    }

    .footer__nav-list {
        gap: 24px;
    }
}

/*==========================
TB_sections inner width (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .about__inner {
        max-width: 512px;
    }

    .strengths__inner {
        max-width: 512px;
    }

    .services__inner {
        max-width: 680px;
    }

    .instagram__inner {
        max-width: 680px;
    }

    .company__inner {
        max-width: 480px;
    }
}

/*==========================
TB_services visual width (768px–1024px)
==========================*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .services__visual img {
        max-width: 512px;
        height: auto;
        margin: 0 auto;
    }
}
