/*─────────────────────────────────────
  1. Layout
─────────────────────────────────────*/
header {
    width: 100%;
    position: absolute;
    background-color: #FFFFFF;
    z-index: 1;
}

html,
body {
    height: 100%;
    /* vhではなく、親に合わせて100%に */
}

body.no-scroll {
    overflow: hidden;
    /* iOS Safari 対策で高さ固定も入れるとより確実 */
    height: 100vh;
}

.l-container {
/*     margin: 0 64px; */
    padding: 64px 64px;
	width:100vw;
}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    padding: 0 64px;
    align-items: center;
    /* max-width: 1200px; */
    margin: 0 auto;
    height: 80px;
}

.l-header-menu__inner {
    display: flex;
    align-items: center;
}

/*─────────────────────────────────────
  2. Global Navigation
─────────────────────────────────────*/
.c-global-nav__list {
    display: flex;
}

.c-global-nav__item {
    flex: 1;
    /* すべての項目が同じ比率で伸縮 */
    text-align: center;
    /* 中央揃え */
    /* 追加：折り返さない */
    white-space: nowrap;
}

a.c-global-nav__link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

span.c-global-nav__icon img {
    width: 32px;
    height: 32px;
}

.c-global-nav__text {
    font-size: 1.2rem;
}

/*─────────────────────────────────────
  3. Headings
─────────────────────────────────────*/
.c-heading--section {
    font-size: 4.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.c-heading--sub {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/*─────────────────────────────────────
  4. Header Contact Button
─────────────────────────────────────*/
.c-header-contact,
.c-footer-contact {
    margin-left: 24px;
    font-size: 2rem;
    background-color: #3B8B89;
    padding: 8px;
    border-radius: 4px;
    color: #FFFFFF;
}

/*─────────────────────────────────────
  5. Hamburger (initial)
─────────────────────────────────────*/
.c-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.c-hamburger__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 8px auto;
    transform-origin: center center;
    /* ← opacity を追加 */
    transition: transform .3s ease, opacity .3s ease;
}

/* Responsive 内 or 同セクション：約140行目付近 */
.c-hamburger.is-active .c-hamburger__bar:nth-child(1) {
    /* 上側を右上へ回転 */
    transform: translateY(8px) rotate(45deg);
}

.c-hamburger.is-active .c-hamburger__bar:nth-child(2) {
    /* 中央をフェードアウト */
    opacity: 0;
}

.c-hamburger.is-active .c-hamburger__bar:nth-child(3) {
    /* 下側を左上へ回転 */
    transform: translateY(-8px) rotate(-45deg);
}

/*─────────────────────────────────────
  6. SP Menu
─────────────────────────────────────*/
.c-sp-menu {
    position: fixed;
    top: 44px;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 200;
    overflow-y: auto;
    display: block;
}

.c-sp-menu.is-open {
    opacity: 1;
    visibility: visible;
}



/*─────────────────────────────────────
  7. First View (p-fv)
─────────────────────────────────────*/
.p-fv__visual {
    background-color: rgba(0, 0, 0);
}

.p-fv__visual img {
    display: block;
    width: 100%;
    height: 10svh;
    object-fit: cover;
}

.p-fv__visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.p-fv__copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    z-index: 2;
}

.p-fv__title {
    font-size: 7vw;
    line-height: 1.2;
    color: #fff;
}

@media screen and (max-width: 960px) {
    .p-fv__title {
        font-size: 12vw;
    }
}

/*─────────────────────────────────────
  8. Header & Nav Responsive (≤960px)
─────────────────────────────────────*/
@media screen and (max-width: 960px) {
    header {
        position: fixed;
        z-index: 10;
        top: 0;
    }

    .l-header__nav-area,
    .js-nav {
        display: none;
    }

    .c-hamburger {
        display: block;
        position: absolute;
        right: 0;
        background-color: #3B8B89;
        width: 44px;
        height: 44px;
    }

    .js-nav.is-open {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background: #fff;
        padding: 1rem;
    }




    .l-header__inner {
        position: relative;
        overflow: visible;
        padding: 0 0 0 16px;
        height: 44px;
    }

    .c-logo img {
        height: 32px;
    }

    .c-global-nav--mobile,
    .c-header-contact--mobile {
        display: none;
        flex-direction: column;
        gap: 1rem;
    }

    .c-hamburger.is-active+.js-mobile-nav,
    .c-hamburger.is-active+.js-mobile-nav+.js-mobile-contact {
        display: flex;
    }

    .c-sp-menu.is-open {
        display: block;
    }

    .l-header-menu__inner {
        background-color: #fff;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 64px 16px 0;
    }
}

/*─────────────────────────────────────
  9. Access Navigation (c-access-nav)
─────────────────────────────────────*/
.c-access-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    background-color: #fff;
	width:100vw;
}

.c-access-nav__item {
    flex: 1 1 calc(25% - 2rem);
    min-width: 140px;
    border-right: 1px solid #C7C7C7;
    border-bottom: 1px solid #C7C7C7;
    transition: transform .3s ease-out, opacity .3s ease-out;
}

.c-access-nav__item:hover {
    opacity: 1;
    transform: translateY(0);
}

.c-access-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    transition: transform .2s ease;
}

.c-access-nav__link:hover {
    background-color: #3B8B89;
    color: #fff;
}

.c-access-nav__link:hover .c-access-nav__icon img {
    filter: brightness(0) invert(1);
}

.c-access-nav__icon {
    width: 48px;
    height: 48px;
    margin-bottom: .8rem;
}

.c-access-nav__icon img {
    display: block;
    width: 100%;
    height: auto;
}

.c-access-nav__text {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

@media screen and (max-width: 960px) {
    .c-access-nav__item {
        flex: 1 1 calc(50% - 1rem);
        min-width: 120px;
    }

    .c-access-nav__text {
        font-size: 1.2rem;
    }
}

/*─────────────────────────────────────
 10. News Section (p-news & c-news-list)
─────────────────────────────────────*/
.p-news {
    background-color: #F4EBDB;
}

.p-access>.l-container {
    padding: 0;
    margin: 0;
}

.p-news__inner {
    padding: 64px;
}

.p-news__label {
    color: #1EC37D;
}

.p-news__heading {
    font-size: 4.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.c-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex-direction: column;
}

.p-news>.l-container {
    padding: 0;
}

.c-news-list__item {
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 240px;
}

.c-news-list__date {
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.4rem;
}

.c-news-list__link {
    display: inline-block;
    font-size: 1.4rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.c-news-list__link:hover {
    color: #3B8B89;
}

.c-more {
    text-align: right;
    margin-top: 3rem;
}

.c-more .c-btn--secondary {
    background-color: transparent;
    border: 2px solid #3B8B89;
    color: #fff;
    transition: background-color .3s ease, color .3s ease;
}

.c-more .c-btn--secondary:hover {
    background-color: #3B8B89;
    color: #fff;
}

.c-more__inner {
    text-align: right;

    display: inline-block;
    border-radius: 4px;
}

.with-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 1.5em;
}

.with-arrow::after {
    content: "→";
    display: inline-block;
    margin-left: 0.5em;
    padding-left: 0.5em;
}

/*─────────────────────────────────────
 11. Wave Separator
─────────────────────────────────────*/
.news__wave,
.message__weve {
    width: 100vw;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: block;
    aspect-ratio: 1440 / 320;
    margin-bottom: -1px;
}

/*─────────────────────────────────────
 12. Message Section
─────────────────────────────────────*/
.p-message {
    background-color: #7FBDBB;
	padding-top: 64px;
}

.p-message__text {
    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
    line-height: 3;
    padding: 96px 0;
}

.p-message__slider {
    position: relative;
    overflow: hidden;
}

.p-message__slides {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
    animation: slide-loop 40s linear infinite;
    width: max-content;
    gap: 1vw;
    padding-left: 1vw;
    box-sizing: border-box;
}

.p-message__slide {
    flex: 0 0 auto;
    width: 25vw;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.p-message__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

@keyframes slide-loop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slide-loop-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.p-message__slider--bottom .p-message__slides {
    animation: slide-loop-reverse 40s linear infinite;
}

/*─────────────────────────────────────
 13. Story & Report Sections
─────────────────────────────────────*/
.p-story {
    background-color: #F4EBDB;
}

.l-story__intro__inner {
    display: flex;
    gap: 8rem;
}

.p-story__text {
    flex: 1 1 50%;
}

.p-story__image {
    flex: 1 1 50%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.p-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.p-story__interviews-cards {
    display: flex;
    gap: 2rem;
}

.p-story__interviews-card img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
}

.p-report {
    background-color: #F4EBDB;
}

.p-report__item {
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    margin: 0 1rem 0 0;
    box-sizing: border-box;
}

.p-report__image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.p-report__image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-report__item-title {
    padding: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    background-color: #fff;
}

.p-report__nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-left: 64px;
}

.p-report__nav-prev,
.p-report__nav-next {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    border: 2px solid #333;
    border-radius: 4px;
    /* width: 44px;
    height: 44px; */
    background-color: #fff;
}

.p-report__slider {
    padding-left: 64px;
    overflow: hidden;
}

/*─────────────────────────────────────
 14. Data Section
─────────────────────────────────────*/
.p-data {
    background-color: #F4EBDB;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.p-data__graph {
    width: 100%;
    background-color: #fff;
    margin: 24px auto;
    padding: 16px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 8vw;
}

.p-data__boxes-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
	margin:16px 0;
}

.p-data__boxes {
    display: flex;
    gap: 2.4rem;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.p-data__box {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background-color: #fff;
    padding: 16px;
}

.p-data__box img {
    width: 6vw;
    margin: 0 auto;
}

.p-data__graph-legend li {
    line-height: 2;
    font-size: 2rem;
}

.p-data__value {
    font-size: 4rem;
}

/*─────────────────────────────────────
 15. Partners Section
─────────────────────────────────────*/
.p-partners {
    background-color: #fff;
}

.p-partners__description {

    margin-bottom: 3rem;
}

.p-partners__list-box {
    background-color: #FAEBD7;
    padding: 64px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 4rem;
    border-radius: 8px;
}

.p-partners__list {
    list-style: none;
    padding: 0;
    flex: 1 1 20%;
    line-height: 3;
}

.p-partners__cards {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-bottom: 64px;
}

.p-partners__card {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
}

.p-partners__card-img {
    width: 100%;
    display: block;
    height: auto;
}

.p-partners__card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.p-partners__card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.p-partners__card-link {
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.p-partners__card-body {
    display: flex;
    align-items: center;
}

.p-partners__card-text {
    margin-right: 8px;
}

.p-partners__foam {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 4px;
    width: 44px;
    height: 44px;
    color: #fff;
}

/*─────────────────────────────────────
 16. Visual & Contact Sections
─────────────────────────────────────*/
.p-visual {
    width: 100%;
}

.p-visual__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.p-visual__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-contact {
    background-color: #F4EBDB;
}

.p-contact__content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.p-contact__header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.p-contact__title {
    margin-right: 16px;
}

.p-contact__foam {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    border: 2px solid #3B8B89;
    border-radius: 4px;
    width: 44px;
    height: 44px;
    color: #3B8B89;
}

/*─────────────────────────────────────
 17. Footer Wave & Footer
─────────────────────────────────────*/
.footer__weve {
    width: 100vw;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: block;
    aspect-ratio: 1440 / 320;
    margin-top: -2px;
    background-color: #F2E2C4;
}

footer {
    /* background-color: #F2E2C4; */
}

.l-footer {
    padding: 24px 64px;
    background-color: #F2E2C4;
}

.l-footer__inner {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
}

.p-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p-footer__nav-list {
    display: flex;
}

.p-footer__nav-item {
    margin-left: 16px;
}

.p-footer__menu {
    display: flex;
    align-items: center;
}

.p-footer__bottom {
    margin-top: 24px;
    border-top: 1px solid #333;
	font-size:1.4rem;
}

.p-footer__operator {
    display: block;
    text-align: right;
}

.p-footer__adress{
	text-align:right;
	font-style:unset;
}

.p-footer__tel{
	text-align:right;
}

.p-footer__copy {
    display: block;
    text-align: center;
}



/* 初期は下に20pxずらして完全に透明 */
.p-fv__copy {
    opacity: 0;
    transform: translateY(20px);
    /* 0.4秒遅延後、0.8秒かけてフェードアップ表示 */
    animation: fadeUp 0.8s ease-out 0.4s forwards;
}

/* キーフレーム定義 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 初期状態：透明・下へ20px寄せる */
.fade-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* is-visible が付いたらフェードイン */
.fade-target.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ② ラッパーに背景・パディング・丸みを付与 */
.c-hamburger-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #3B8B89;
    /* 必要ならクリック領域を広げるために padding でもOK */
}

/* ③ ボタンはバーだけを描く要素に */
.c-hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border: none;
    cursor: pointer;
}

/* 上下のバーを ::before/::after で描画 */
.c-hamburger::before,
.c-hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: transform .3s ease, top .3s ease, bottom .3s ease, background-color .3s ease;
}

.c-hamburger::before {
    top: -8px;
}

.c-hamburger::after {
    bottom: -8px;
}

/* ④ active 時：ラッパーとバーをまとめて切り替え */
.c-hamburger-wrapper.is-active {
    background-color: transparent;
    /* ラッパーの背景を消したければ */
}

.c-hamburger-wrapper.is-active .c-hamburger {
    background-color: transparent;
    /* 中央バーを消す */
}

.c-hamburger-wrapper.is-active .c-hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background-color: #3B8B89;
}

.c-hamburger-wrapper.is-active .c-hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
    background-color: #3B8B89;
}

.c-sp-nav__icon img {
    width: 44px;
}

/* SPナビのリンク内でアイコンとテキストを横並びに */
.c-sp-nav__link {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    /* アイコンとテキストの間隔 */
    color: #333;
}

/* 不要なら .c-sp-nav__icon の余白設定は削除できます */
.c-sp-nav__icon {
    margin: 0;
}

.c-sp-nav__item {
    margin-bottom: 24px;
}


.c-sp-nav__contact {
    margin-top: 64px;
    font-size: 2rem;
    background-color: #3B8B89;
    padding: 8px;
    border-radius: 4px;
    color: #FFFFFF;
}

.c-hamburger-wrapper {
    display: none;
}

@media screen and (max-width: 960px) {
    .c-hamburger-wrapper {
        display: flex;
    }
}


@media screen and (max-width: 960px) {
    .l-container {
        margin: 0 16px;
        padding: 32px 0;
		width:auto;
    }

    .p-news__inner {
        padding: 16px 0;
    }

    .p-news__label {
        font-size: 1.4rem;
    }

    .c-heading--section {
        font-size: 2rem;
        margin-bottom: 0;
        line-height: 2;
    }

    .c-news-list__date {
        margin-bottom: 0;
    }

    .c-more {
        margin-top: 64px;
    }

    .c-more__inner {

        font-size: 1.2rem;
    }


    .p-message__slider--top {
        padding-top: 64px;
    }

    .p-message__slider--bottom {
        padding-bottom: 64px;
    }

    .p-message__slides {
        gap: 4vw;

    }


    .p-message__slide {
        width: 60vw;
    }

    .l-story__intro__inner {
        flex-direction: column;
        gap: 1.6rem;
    }

    .p-story__interviews {
        margin-top: 32px;
    }

    .p-data__graph {
        flex-direction: column;
    }

    .c-heading--sub {
        font-size: 1.6rem;
    }

    .p-report__slider {
        padding-left: 16px;
    }

    .p-report__item {
        width: 200px;
    }

    .p-report__nav {
        margin-left: 16px;
    }



    .p-data__graph-legend li {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .p-data__boxes {
        gap: 2%;
    }

    .p-data__box {
        min-width: unset;
        padding: 2%;
    }

    .p-data__label {
        font-size: 1rem;
    }

    .p-data__value {
        font-size:clamp(2rem, 4vw, 3.2rem);
    }

    .p-data__box img {
        width: 10vw;
    }

    .p-partners__list-box {
        padding: 16px
    }

    .p-partners__list {
        flex: 1 1 20%;
        line-height: 3;
    }

}

/* CSS: UL要素に直接グリッドを適用 */
.p-partners__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* PC: 4列 */
    gap: 24px;
    /* アイテム間の余白 */
    padding: 0;
    margin: 0 auto;
    /* 中央寄せ */
    list-style: none;
    /* デフォルトのマーカーを削除 */
    box-sizing: border-box;
    text-align: center;
}

/* スマホ表示: ULを2列に切り替え */
@media screen and (max-width: 960px) {
    .p-partners__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}


@media screen and (max-width: 768px) {
    .p-report__item {
        margin: 0;
    }
}




@media screen and (max-width: 960px) {
    .p-partners__cards {
        flex-direction: column;
    }

    .u-btn-square {
        /* width: 32px;
        height: 32px; */
        padding: 8px;
    }

    .p-contact__content {
        padding: 32px;
    }

    .p-data__graph img {
        padding: 0 2vw;
    }

    .l-footer {
        padding: 16px;
    }

    .l-footer__inner {
        flex-direction: column;

    }

    .p-footer {
        flex-direction: column;
        align-items: unset;
    }

    .p-footer__menu {
        flex-direction: column;
        align-items: baseline;
    }
	


    .p-footer__logo {
        margin-bottom: 24px;
    }

    .p-footer__nav-list {
        flex-direction: column;
        margin: 24px 0;
        gap: 16px;
    }

    .c-footer-contact {
        margin: 0 auto;
    }

    header.is-hidden {
        translate: translateY(0);
    }


}

header {
    transition: all 0.3s ease;
    /* スムーズに切り替え */
}

/* スクロールで.p-story以下に来たら付与されるクラス */
header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
    z-index: 1000;
}



.c-global-nav__item,
.c-global-nav__link img {
    flex-shrink: 0;
}


/* --------------------------------------------------
   1. u-btn-square 共通定義
-------------------------------------------------- */
.u-btn-square {
    display: inline-block;
    /* width: 48px;
    height: 48px; */
    /* line-height: 48px; */
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;

    /* Base colors */
    color: #3B8B89;
    background-color: #fff;
    border: 1px solid #3B8B89;
    transition: color 0.5s ease;
    padding: 16px;
}

.u-btn-square::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3B8B89;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: 0;
}

.u-btn-square .text,
.u-btn-square .p-contact__arrow,
.u-btn-square .icon {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

.u-btn-square:hover {
    color: #fff;
}

.u-btn-square:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

@media screen and (max-width: 960px) {
    .u-btn-square {
        /* width: 32px;
        height: 32px; */
        padding: 8px;
        font-size: 1.6rem;
    }
}


/* --------------------------------------------------
   2. button.p-partners__foam.u-btn-square 上書き
-------------------------------------------------- */
button.p-partners__foam.u-btn-square {
    background-color: unset;
    border: 2px solid #fff;
    color: #fff;
}

/* --------------------------------------------------
   3. 親要素ホバーでのトリガー（カード＆お問い合わせ）
-------------------------------------------------- */
.p-partners__card-body:hover .u-btn-square::before,
.p-contact__header:hover .u-btn-square::before {
    transform: scaleX(1);
    transform-origin: left;
}

.p-partners__card-body:hover .u-btn-square,
.p-contact__header:hover .u-btn-square {
    color: #fff;
}

/* --------------------------------------------------
   4. p-report__nav-prev.u-btn-square（未変更）
-------------------------------------------------- */
.p-report__nav-prev.u-btn-square {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #3B8B89;
    /* Icon/text default color */
    border: 1px solid #3B8B89;
    /* Default border */
    background-color: #fff;
    transition: color 0.5s ease;
}

.p-report__nav-prev.u-btn-square::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3B8B89;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: 0;
    /* Behind icon/text */
}

.p-report__nav-prev.u-btn-square .icon,
.p-report__nav-prev.u-btn-square .text {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

/* Hover: reveal green background and switch icon/text to white */
.p-report__nav-prev.u-btn-square:hover::before {
    transform: scaleX(1);
}

.p-report__nav-prev.u-btn-square:hover {
    color: #fff;
}

.p-report__nav-prev.u-btn-square:not(:hover)::before {
    transform-origin: left;
    transform: scaleX(0);
}


.c-btn.with-arrow {
    /* 左半分を元の色、右半分を流したい色に設定 */
    background: linear-gradient(90deg,
            #3B8B89 50%,
            #fff 50%) no-repeat right;
    background-size: 200% 100%;
    transition: background-position 0.4s ease;
}

/* ホバーで背景位置を左へ動かし、右→左にスライド */
.c-btn.with-arrow:hover {
    background-position: left;
    color: #fff;
}

.c-btn.c-btn--secondary.with-arrow:hover {
    color: #fff;

}


.c-btn.c-btn--secondary.with-arrow {
    color: #333;
    padding: 16px;
    border-radius: 4px;
}





@media screen and (max-width: 960px) {
    .c-btn.c-btn--secondary.with-arrow {
        padding: 8px;
    }

    .p-story__interviews-description {
        margin-bottom: 32px;
    }

    .c-section-title img {
        margin-bottom: 24px;
    }
}

/* トランジションをかけて滑らかに */
.slider .slick-slide {
    transition: transform .3s ease, opacity .3s ease;
}

/* 中央以外を80％に */
.slider .slick-slide:not(.slick-center) {
    transform: scale(0.8);
    opacity: 0.6;
    /* お好みで透明度も落とすと差が出ます */
}

.c-btn.with-arrow {
    position: relative;
    overflow: hidden;
}

.c-btn.with-arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3B8B89;
    transform: translateX(-100%);
    transition: transform .4s ease;
    z-index: -1;
}

/* タッチ（is-hover）時に背景をスライドイン */
.c-btn.with-arrow.is-hover::before {
    transform: translateX(0);
}

.c-section-title img {
    align-items: center;
    margin: 0 auto;
    opacity: .8;
    margin-bottom: 32px;
}


@media screen and (max-width: 960px) {


    .c-section-title img {
        margin-bottom: 24px;
    }
}




.c-more__inner .c-btn.with-arrow {
    position: relative;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    color: #3B8B89;
    background-color: #fff;
    border: 1px solid #3B8B89;
    transition: color 0.5s ease;
    z-index: 0;
    width: 320px;
    text-align: left;
}

@media screen and (max-width: 560px) {

    .c-more__inner .c-btn.with-arrow {
        width: 180px;
    }
}

.c-more__inner .c-btn.with-arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3B8B89;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.c-more__inner .c-btn.with-arrow:hover {
    color: #fff;
}

.c-more__inner .c-btn.with-arrow:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}



.c-btn.with-arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3B8B89;

    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}



.c-btn.with-arrow {
    background-color: #FFFFFF;
}


.c-btn.with-arrow .c-btn.with-arrow:hover {
    color: #fff;
}

.c-btn .c-btn--secondary .with-arrow:hover {
    color: #FFFFFF;
}

/* タッチ（is-hover）時に背景をスライドイン */
.c-btn.with-arrow.is-hover::before {
    transform: scaleX(1);
    transform-origin: left;
    color: #fff;
}

.c-section-title img {
    align-items: center;
    margin: 0 auto;
    opacity: .8;
    margin-bottom: 32px;
}

.c-btn.with-arrow {
    background: linear-gradient(90deg,
            #fff 50%,
            #3B8B89 50%) no-repeat left;
    background-size: 200% 100%;
    transition: background-position 0.4s ease;
}


.p-report__item-date {
    padding: 0 1rem 0.5rem;
    display: block;
    font-size: 1.2rem;
    color: #666;
}

.c-btn.with-arrow {
    position: relative;
    /* これが必要 */
    padding-right: 24px;
    /* 矢印用に右余白を少し取る */
}

.c-btn.with-arrow::after {
    content: '→';
    position: absolute;
    right: 16px;
    /* 右端に配置 */
    top: 50%;
    transform: translateY(-50%);
}

.u-btn-square {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    color: #3B8B89;
    background-color: #fff;
    border: 1px solid #3B8B89;
    transition: color 0.5s ease;
    position: relative;
    overflow: hidden;
    padding: 16px;
}

@media screen and (max-width: 960px) {

    .u-btn-square {
        padding: 8px;
    }
}


html,
body {
    height: 100%;
}

.p-fv__visual {
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
}

.p-fv__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

html,
body {
    height: 100%;
    /* vhではなく、親に合わせて100%に */
}

html,
body {
    height: 100%;
    background-color: #F4EBDB;
}

.p-fv__visual {
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
}

.p-fv__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.p-fv__visual {
    position: relative;
    overflow: hidden;
    /* heightは指定なしでもOK、必要ならauto */
}

.p-fv__visual img {
    width: 100%;
    object-fit: cover;
    display: block;
    /* JSでheightが入るのでここでheightは指定不要 */
}

.l-mainContent__inner {
    margin: 64px 0;
}

@media screen and (max-width: 960px) {

    .l-mainContent__inner {
        margin: 32px 16px;
    }
}

/* フォーム全体の幅を調整 */
.wpcf7-form {
    /* max-width: 480px; */
    margin: 0 auto;
    padding: 32px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* テキスト・メール・電話番号・テキストエリア共通 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.6rem;
    background: #f9f9f9;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-color: #3B8B89;
    outline: none;
}

/* テキストエリア */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ラベルの余白・文字サイズ */
.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.4rem;
    color: #333;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    background: #3B8B89;
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 4px;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
    display: inline-block;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    background: #2a6664;
}

/* エラーメッセージ・必須マーク */
.wpcf7-not-valid-tip {
    color: #e22;
    font-size: 1.3rem;
    margin-top: -12px;
    margin-bottom: 8px;
    display: block;
}

/* 完了メッセージ */
.wpcf7-mail-sent-ok {
    background: #e0f6f2;
    color: #117869;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* 失敗メッセージ */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #fbeaea;
    color: #b30b0b;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* 必須マークに色をつけたい場合 */
span.wpcf7-form-control-wrap:after {
    content: '';
}

span.required {
    color: #e22;
    font-weight: bold;
    margin-left: 4px;
}

html, body {
    height: 100%;
    min-height: 100vh;
    /* 念のため追加 */
    overflow-x: hidden;
}

.p-fv__visual {
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;  /* ←追加してみて！ */
    max-height: 100dvh; /* 新しいSafari/iOSなら有効 */
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
    will-change: transform;
    background-color: #fff;
}

.p-fv__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.p-report__item a {
    display: block;
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 8px;  /* SWELL風に揃えるなら */
    /* お好みで background: #fff; もOK */
}

.p-report__item a:hover,
.p-report__item a:focus {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1;
}
.c-sp-nav__contact,
.c-header-contact {
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}

.c-sp-nav__contact:hover,
.c-header-contact:hover,
.c-sp-nav__contact:focus,
.c-header-contact:focus {
  opacity: 0.7;   /* 0.7〜0.8だと背景がしっかり薄くなります */
}
