/**
 * page-about.php Styles
 */

/* ==========================================================================
   Page MV
   ========================================================================== */
.page-mv {
    position: relative;
    width: 100%;
    height: 60rem; /* 固定高さまたは調整可 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-mv .mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-mv .mv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 背景を少し暗くする場合 */
.page-mv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.page-mv .inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 120rem;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

.page-mv .text.boxstyle {
    background: linear-gradient(to right, transparent, rgba(65, 39, 20, 0.7), transparent);
    padding: 6rem 0;
    text-align: center;
    color: #fff;
    width: 100%;
}

.page-mv h1 {
    margin: 0;
}

.page-mv h1 strong {
    display: block;
    font-size: 4.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.page-mv h1 strong span {
    font-size: 6.4rem;
}

.page-mv h1 .sub {
    display: block;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    font-family: var(--base-font);
    opacity: 0.9;
}

/* ==========================================================================
   Introduction
   ========================================================================== */
.introduction {
    background-color: var(--base-beige);
    padding: 6.4rem 0;
    display: block;
}

.introduction .kei,
.introduction .kei:before,
.introduction .kei:after{
    background-color: var(--base-brown);    ;
}



.introduction .inner {
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 4rem;
}

.introduction .text {
    text-align: center;
    color: var(--base-brown);
    margin-bottom: 6.4rem;
}

.introduction h2.title-with-lines {
    line-height: 1.8;
    margin-bottom: 6rem;
    letter-spacing: 0.05em;
}

.introduction p {
    font-size: 2.2rem;
    line-height: 2.4;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.title-with-lines strong{
    white-space: nowrap;
}
.ceo-pic {
    position: relative;
    margin-top: 15rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    max-width:1200px;
    margin:0 auto
}

.ceo-pic figure {
    position: relative;
    width: 55%;
    margin: 0;
}

.ceo-pic figure img {
    width: 100%;
    display: block;
}

.ceo-pic figcaption {
    position: absolute;
    bottom: 2rem;
    right: -40rem;
    background: rgba(245, 241, 235, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--base-brown);
    padding: 2.4rem 5rem;
    width: 55rem;
    z-index: 10;
    text-align: left;
}

.ceo-pic figcaption i {
    display: block;
    font-style: normal;
    font-size: 1.6rem;
    margin-bottom: 0;
    color: var(--base-brown);
    font-family: var(--base-font);
    font-weight: 500;
}

.ceo-pic figcaption strong {
    display: flex;
    align-items: baseline;
    font-size: 4rem;
    color: var(--base-brown);
    font-family: var(--min);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.ceo-pic figcaption strong .sub {
    font-size: 1.8rem;
    font-weight: 500;
    margin-left: 2.5rem;
    font-family: var(--base-font);
    letter-spacing: 0.05em;
}

/* Secondary Image Overlay */
.ceo-pic .dec {
    position: absolute;
    top: -4rem;
    right: 0;
    width: 35rem;
    z-index: 5;
}

.ceo-pic .dec img {
    width: 100%;
    aspect-ratio: 1.3 / 1;
    object-fit: cover;
    clip-path: polygon(
        15% 0%, 85% 0%, 100% 30%, 100% 70%, 85% 100%, 15% 100%, 0% 70%, 0% 30%
    ); /* Simple organic approximation if mask-image is not available, but border-radius is better */
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
}


/* ==========================================================================
   Ayumi (History)
   ========================================================================== */
.ayumi {
    padding: 0;
}

.ayumi h2 {
    background-color: var(--base-gold);
    color: #fff;
    text-align: center;
    padding: 4.8rem 0;
    margin: 0;
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}
.ayumi h2 i{
    font-size: 4.8rem;
}

.ayumi .inner {
    background-image: url(../images/bg_ayumi.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 12rem 0;
    width: 100%;
    max-width: 100% !important;
}

.ayumi .timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
}

.ayumi .timeline::after {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: auto;
    width: 1px;
    height: calc(100% - 3rem);
    background-color: var(--base-brown);
}

.ayumi .item {
    position: relative;
    padding-left: 6rem;
    margin-bottom: 8rem;
}

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

.ayumi .item::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: -0.4rem;
    width: 0.9rem;
    height: 0.9rem;
    background-color: var(--base-brown);
    border-radius: 50%;
}

.ayumi .year {
    font-size: 4.8rem;
    color: var(--base-gold);
    margin-bottom: 1.6rem;
    line-height: 1;
}

.ayumi .year span {
    font-size: 2.4rem;
    margin-left: 0.4rem;
}

.ayumi .item p {
    font-size: 2.2rem;
    line-height: 1.6;
    color: var(--base-brown);
    font-weight: 500;
}


/* ==========================================================================
   Rinen (Philosophy)
   ========================================================================== */
.rinen {
    padding: 10rem 0;
    background-color: #fff;
}

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

.rinen .section-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8rem;
}

.rinen .section-title .decor{
    height: 3rem;
    width: 100%;
    position: absolute;
}

.rinen .section-title strong {
    border: 2px solid var(--base-gold);
    border-radius: 5rem;
    padding: 1.2rem 6.4rem;
    font-size: 3.2rem;
    color: var(--base-brown);
    font-weight: 500;
    letter-spacing: 0.15em;
    white-space: nowrap;
    position: relative;
    background-color: #ffffff;
    z-index: 1;
}

.rinen-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rinen-list li {
    background-color: #f5f1eb;
    border: 1px solid var(--base-brown);
    padding: 4rem;
    text-align: center;
    flex: 0 0 calc(28% - 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}


.rinen-list .icon {
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.4rem;
}

.rinen-list .icon img {
    height: 100%;
    width: auto;
}

.rinen-list h3 {
    font-size: 2.8rem;
    color: var(--base-brown);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 2rem;
    line-height: 1.2;
    width:100%
}

.rinen-list h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: var(--base-brown);
    display: block;
}

.rinen-list p {
    font-size: 1.8rem;
    line-height: 2;
    color: var(--base-brown);
    margin: 0;
    font-weight: 500;
}






















/* ==========================================================================
   Team
   ========================================================================== */
.team {
    padding: 12rem 0;
    background-image: url(../images/bg_team.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.team .inner {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.team .section-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8rem;
}

.team .section-title .decor {
    height: 3rem;
    width: 100%;
    position: absolute;
}

.team .section-title .decor img {
    width: 100%;
    height: auto;
}

.team .section-title strong {
    border: 2px solid var(--base-brown);
    border-radius: 5rem;
    padding: 1.2rem 6.4rem;
    font-size: 3.2rem;
    color: var(--base-brown);
    font-weight: 500;
    letter-spacing: 0.15em;
    white-space: nowrap;
    position: relative;
    background-color: #ffffff;
    z-index: 1;
}

.team-list {
    display: flex;
    justify-content: center;
    gap: 6.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-list li {
    flex: 0 1 35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-list .staff-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #d9d9d9;
    margin-bottom: 1.6rem;
    position: relative;
}

.team-list .staff-img::after {
    content: "";
    position: absolute;
    bottom: -1.6rem;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--base-brown);
}

.team-list .staff-info {
    text-align: center;
    margin-top: 1.2rem;
}

.team-list .role {
    font-size: 1.8rem;
    color: var(--base-brown);
    font-weight: 700;
}

.team-list .name {
    font-size: 3.2rem;
    color: var(--base-brown);
    font-family: var(--min);
    font-weight: 700;
}


/* ==========================================================================
   Facility
   ========================================================================== */
.facility {
    padding: 2.4rem 0;
    background-color: var(--base-beige);
}

.facility .inner {
    padding:6rem 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.facility .title-with-lines {
    margin-bottom: 8rem;
}
.facility .title-with-lines .sub,
.facility .title-with-lines strong{
    display: block;
    text-align: center;
    color: var(--base-brown);
}
.title-with-lines .kei,
.title-with-lines .kei:before,
.title-with-lines .kei:after{
    background-color: var(--base-brown);
}

.facility-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-list li {
    flex: 0 1 calc(50% - 2.4rem);
}

.facility-list figure {
    background-color: #fff;
    padding: 2.4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 0;
}

.facility-list img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.facility-list figcaption {
    text-align: center;
    padding-top: 2.4rem;
    font-size: 2.2rem;
    color: var(--base-brown);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Company
   ========================================================================== */
.company {
    padding: 2.4rem 0;
}

.company .inner {
    padding:6rem 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.company .title-with-lines {
    margin-bottom: 8rem;
}
.company .title-with-lines .sub,
.company .title-with-lines strong{
    display: block;
    text-align: center;
    color: var(--base-brown);
}
.company .title-with-lines .kei,
.company .title-with-lines .kei:before,
.company .title-with-lines .kei:after{
    background-color: var(--base-brown);
}

.footer-dec img{ width:100%}







/* ==========================================================================
   Company info table
   ========================================================================== */
.company-info {
    max-width: 100rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.company-info .row {
    display: flex;
    align-items: stretch;
    gap: 1.6rem;
}

.company-info dt {
    background-color: var(--base-gold);
    color: #fff;
    width: 20rem;
    padding: 1.2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.company-info dd {
    background-color: #f9f5f0;
    color: var(--base-brown);
    margin: 0;
    padding: 1.2rem 2.4rem;
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6;
}

/* ==========================================================================
   Media Queries (SP)
   ========================================================================== */
@media screen and (max-width: 1000px) {
    .page-mv {
        height: 50rem;
    }
    .page-mv .text.boxstyle {
        padding: 4rem 6rem;
    }
    .page-mv h1 strong {
        font-size: 6rem;
    }
    .title-with-lines strong{
        white-space: wrap;
    }

    .ceo-pic {
        flex-direction: column;
        align-items: center;
        margin-top: 10rem;
    }
    .ceo-pic figure {
        width: 100%;
    }
    .ceo-pic figcaption {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -5rem;
        width: 90%;
        padding: 3rem;
    }
    .ceo-pic .dec {
        width: 25rem;
        top: -12rem;
        right: -2rem;
    }
}


/* ==========================================================================
   About Footer
   ========================================================================== */
.about-footer {
    background-color: var(--base-brown);
    color: #fff;
    padding: 10rem 0;
    text-align: center;
}

.about-footer .footer-msg {
    font-size: 3.2rem;
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
}

.about-footer .footer-msg i{
    font-size:4.8rem
}

.about-footer .footer-decor {
    margin: 0 auto 4rem;
    width: 90%;
    max-width: 1200px;
}

.about-footer .footer-logo {
    font-size: 3.6rem;
    margin-bottom: 10rem;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.about-footer .copyright {
    font-size: 1.4rem;
    opacity: 0.8;
}

.footer-decor .kei{ 
  display: block; 
  width: 100%; 
  height: 1px; 
  background-color: #fff;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.2rem 0;
}
.footer-decor .kei:before,
.footer-decor .kei:after{ 
  content: "";
  display: block; 
  width: 1.8rem; 
  height:1.2rem; 
  background-color: #fff;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  position: absolute;
}
.footer-decor .kei:after{
  right:0
}
















@media screen and (max-width: 760px) {
    .page-mv {
        height: 60vh;
    }
    .page-mv .text.boxstyle {
        padding: 4rem 2rem;
        width: 90%;
    }
    .page-mv h1 strong {
        font-size: 10vw;
    }
    .page-mv h1 strong span {
        font-size: 1.1em;
    }
    .page-mv h1 .sub {
        font-size: 3.5vw;
        letter-spacing: 0.2em;
    }
    .introduction {
        padding: 8rem 0;
    }
    .introduction h2.title-accent {
        font-size: 6vw;
    }
    .introduction p {
        font-size: 4vw;
        text-align: justify;
    }

    .ceo-pic {
        margin-top: 8rem;
        width:90%; margin:0 auto
    }
    .ceo-pic figcaption {
        width: 100%;
        padding: 3rem 2rem;
    }
    .ceo-pic figcaption strong {
        font-size: 8vw;
    }
    .ceo-pic figcaption strong .sub {
        font-size: 4vw;
        margin-left: 1.5rem;
    }
    .ceo-pic .dec {
        width: 20rem;
        top: -8rem;
    }

    .ayumi h2 {
        font-size: 2.4rem;
        padding: 3.2rem 0;
    }
    .ayumi .inner {
        padding: 8rem 0;
    }
    .ayumi .timeline {
        padding: 0 4rem;
    }
    .ayumi .year {
        font-size: 4rem;
    }
    .ayumi .year span {
        font-size: 1.8rem;
    }
    .ayumi .item p {
        font-size: 1.8rem;
    }

    .rinen-list{
        flex-direction: column;
    }

    .team-list{
        flex-direction: column;
        width:72%;
        margin:0 auto;
    }

    .facility {
        padding: 8rem 0;
    }
    .facility-list {
        flex-direction: column;
        gap: 4rem;
    }
    .facility-list li {
        width: 100%;
    }
    .facility-list figure {
        padding: 1.6rem;
    }
    .facility-list figcaption {
        font-size: 1.8rem;
        padding-top: 1.6rem;
    }

    .company-info .row {
        flex-direction: column;
        gap: 0;
    }
    .company-info dt {
        width: 100%;
        padding: 0.8rem 0;
        font-size: 1.6rem;
    }
    .company-info dd {
        width: 100%;
        padding: 1.6rem;
        font-size: 1.6rem;
        justify-content: center;
        text-align: center;
    }

    .about-footer {
        padding: 8rem 0;
    }
    .about-footer .footer-msg {
        font-size: 4.5vw;
        margin-bottom: 2.4rem;
    }
    .about-footer .footer-logo {
        font-size: 6vw;
        margin-bottom: 8rem;
    }
}
