#wrapper{
    background: url(../images/about/about_bg.webp) center top / cover no-repeat fixed;
}
.page-main{
    padding: 0 0 150px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.page-main__inner{
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
    height: 100%;
    position: relative;
}
.page-main__logo{
    position: absolute;
    top: 120px;
    right: 7.7%;
    width: 33%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff url(../images/about/about_main_logo.svg) center / 50% auto no-repeat;;
    z-index: 4;
    opacity: 0;
}
.page-main__circle span{
    display: block;
    width: 463px;
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    position: absolute;
    border-radius: 50%;
    opacity: 0;
}
.page-main__circle span:nth-child(1){
    z-index: 1;
    top: -42px;
    right: 7%;
}
.page-main__circle span:nth-child(2){
    z-index: 2;
    top: 138px;
    right: 17%;
}
.page-main__circle span:nth-child(3){
    z-index: 3;
    top: 289px;
    right: -2.5%;
}
.page-title{
    width: 90%;
    max-width: 1200px;
    color: #fff;
    position: relative;
    padding: 332px 0 0;
}
.page-title h2{
    font-size: 68px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    opacity: 0;
}
.page-title p{
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.67;
    letter-spacing: -0.02em;
    margin: 30px 0 0;
}
.page-message__inner,
.page-ex{
    width: 90%;
    max-width: 1200px;
}
.page-ex{
    margin: 219px 0 0;
    position: relative;
    z-index: 2;
}
.page-message{
    width: 100%;
    padding: 0 0 250px;
}
.page-message__inner{
    margin-inline: auto;
    position: relative;
    height: 100%;
}
.page-message__text{
    position: relative;
    margin-left: auto;
}
.page-message .box,
.page-ex .box{
    width: 100%;
    max-width: 890px;
    margin: 0 auto 0 0;
    background: rgba(255, 255, 255, 0.9);
    padding: clamp(30px, -0.885px + 4.021vw, 60px) clamp(25px, -0.737px + 3.351vw, 50px);
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.89;
}
.page-ex .box{
    opacity: 0;
}
.page-message .box h4,
.page-ex .box h3{
    font-weight: 600;
    font-size: clamp(18px, 7.705px + 1.34vw, 28px);
    line-height: 1.53;
    letter-spacing: -0.02em;
    color: var(--gray-text-color);
}
.page-message .box h3{
    font-weight: 400;
    font-size: 58px;
    line-height: 75px;
    letter-spacing: 0.05em;
    color: var(--gray-text-color);
}
.page-message .box h3 span{
    display: block;
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 2;
    letter-spacing: -0.02em;
    color: #000000;
}
.page-message .box h4{
    margin: clamp(25px, -0.737px + 3.351vw, 50px) 0 0;
}
.page-message .box p,
.page-ex .box p{
    margin: clamp(30px, -0.885px + 4.021vw, 60px) 0 0;
    font-family: 'yu-mincho-pr6n', serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(12px, 7.882px + 0.536vw, 16px);
    line-height: 1.89;
}
.page-message .box p.sign{
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 500;
    font-size: clamp(8px, 1.823px + 0.804vw, 14px);
    line-height: 2;
    text-align: right;
    letter-spacing: -0.02em;
    color: #000000;
}
.page-message .box p.sign span{
    font-size: 175%;
    font-weight: 700;
}
.page-message .box p.sign i{
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
    font-size: clamp(8px, 1.823px + 0.804vw, 14px);
    line-height: 1;
    color: #000000;
}
.page-message .box{
    margin: 0 0 0 auto;
}
.page-message .note{
    width: 100%;
    max-width: 890px;
    margin: clamp(20px, -1.619px + 2.815vw, 41px) 0 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    line-height: 1.71;
    color: #fff;
}


#history{
    padding: 50px 0 152px;
    background:  rgba(255,255,255,0.8);
}
.section-title{
    font-size: 58px;
    line-height: 1.25;
    letter-spacing: 0.05em;
    color: var(--gray-text-color);
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}
.section-sub-title{
    font-family: 'yu-mincho-pr6n', serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 2;
    letter-spacing: -0.02em;
    color: #000000;
    max-width: 1200px;
    width: 90%;
    margin: 13px auto 0;
}
#history .history-wrap{
    position: relative;
    max-width: 1200px;
    width: 90%;
    margin: 60px auto 0;
}
#history .history-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(30px, 14.558px + 2.011vw, 45px);
    aspect-ratio: 0.03353;
}
#history .history-list,
#history .history-intro,
#history .history-head{
    max-width: 890px;
    width: 80%;
    margin: 0px auto;
}
#history .history-head{
    gap: 40px;
    align-items: center;
}
#history .history-intro{
    gap: 40px;
    align-items: flex-start;
    margin: 80px auto 0;
}
#history .history-intro__text,
#history .history-head__text{
    width: calc(100% - 620px);
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.53;
    letter-spacing: -0.02em;
    color: var(--gray-text-color);
}
#history .history-intro__text{
    width: calc(100% - 465px);
}
#history .history-head__image{
    width: 580px;
}
#history .history-intro__image{
    width: 425px;
}
#history .history-head__ex{
    width: 100%;
    font-family: 'yu-mincho-pr6n', serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.89;
}
#history .history-intro__text h4{
    font-family: var(--font-mincho);
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.53;
    letter-spacing: -0.02em;
}
#history .history-intro__text p{
    font-size: 16px;
    line-height: 1.89;
    font-weight: 500;
    color: var(--main-text-color);
    margin: 40px 0 0;
}
#history .history-list{
    gap: 20px 40px;
    margin: 72px auto 0;
}
#history .history-list__item{
    width: calc( ( 100% - 40px ) / 2 );
    background: #fff;
    padding: 30px 30px 40px;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.25);
}
#history .history-list__item h5{
    color: var(--main-accent-color);
    text-align: center;
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.37;
    letter-spacing: 0.05em;
}
#history .history-list__text p{
    font-weight: 300;
    font-size: 16px;
    line-height: 26px;
    color: #000000;
    margin: 40px 0 0;
}
#history .history-list__image{
    margin: 25px auto 0;
    width: 90%;
}
#history .history-list__image img{
    display:  block;
    width: 100%;
    min-height: 231px;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
}
#company{
    padding: 50px 0 120px;
}
#company .section-title,
#company .section-sub-title{
    color: #fff;
}
.company-table {
    max-width: 900px;
    width: 90%;
    margin: 60px auto 0;
    background-color: #ffffff;
    padding: 60px 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.company-table table {
    width: 100%;
    border-collapse: collapse;
}
.company-table table tr {
    border-bottom: 1px solid var(--main-accent-color);
}
.company-table table tr:first-child{
    border-top: 1px solid var(--main-accent-color);
}
.company-table table td {
    padding: 25px 0;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.9;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}
.company-table table td:first-child {
    width: 120px;
    color: #333;
}
.company-table table td:last-child {
    color: #333;
    line-height: 1.8;
}
.company-table .address-cell {
    position: relative;
    padding: 25px 150px 25px 0;
}
.company-table .address-cell .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 8px;
    padding: 15px 24px;
    width: 140px;
    height: 43px;
    font-family: 'Noto Sans JP';
}


@media screen and (max-width: 1200px){
    .page-message{
        max-height: unset;
        aspect-ratio: 1.15;
    }
}
@media screen and (max-width: 767px){
    .page-main{
        aspect-ratio: unset;
        padding: 0;
        max-height: unset;
        /*
        background: url(../images/about/about_main.webp) center top / auto 854px no-repeat;
        */
    }
    .page-main__logo{
        top: 183px;
        width: 67.259%;
        right: 0;
    }
    .page-main__circle span{
        width: 77.6%;
    }
    .page-main__circle span:nth-child(1){
        top: 91px;
        right: 26.85px;
    }
    .page-main__circle span:nth-child(2){
        top: 193px;
        right: 95px;
    }
    .page-main__circle span:nth-child(3){
        top: 242px;
        right: -42px;
    }
    .page-title{
        padding-top: 60px;
    }
    .page-ex {
        margin: 0;
        padding-top: 523px;
        /* right: 0; */
        width: 100%;
        position: static;
    }
    .page-ex .box{
        font-size: 14px;
    }
    .page-message .box h4, .page-ex .box h3{
        font-size: 18px;
        line-height: 1.9;
    }
    .page-message{
        max-height: unset;
        aspect-ratio: unset;
        padding: 60px 0 156px;
    }
    .page-message__text,
    .page-message__inner{
        position: static;
    }
    .page-message .box h3{
        font-size: 36px;
        line-height: 40px;
    }
    .page-message .box h3 span{
        line-height: 1;
        margin: 15px 0 0;
    }
    .page-message .box h4{
        margin: 40px 0 0;
        line-height: 1.9;
    }
    .page-message .box p{
        margin: 30px 0 0;
    }
    .page-message .box p, .page-ex .box p{
        font-size: 14px;
    }
    .page-message .box p.sign{
        font-weight: 500;
        font-size: 14px;
        line-height: 1.75;
        text-align: right;
        letter-spacing: -0.02em;
    }
    .page-message .box p.sign span{
        font-size: 125%;
    }
    .page-message .note{
        font-size: 10px;
    }
    .section-title{
        font-size: 36px;
    }
    .section-sub-title{
        font-size: 16px;
        line-height: 1;
        margin: 15px auto 0;
    }
    #history{
        padding: 50px 0 80px;
    }
    #history .history-bg{
        display: none;
        top: 0px;
        z-index: 2;
    }
    #history .history-list,
    #history .history-intro,
    #history .history-head{
        width: 100%;
        position: relative;
        z-index: 5;
    }
    #history .history-intro__text h4,
    #history .history-head__text{
        font-size: 18px;
        line-height: 1.9;
    }
    #history .history-intro__text p,
    #history .history-head__ex{
        font-size: 14px;
    }
    #history .history-list{
        margin: 58px 0 0 0;
        padding: 0;
        position: relative;
    }
    #history .history-head{
        gap: 31px;
    }
    #history .history-intro{
        margin: 40px 0 0;
        gap: 25px;
    }
    #history .history-intro__text p{
        margin: 25px 0 0;
    }
    #history .history-intro__text,
    #history .history-intro__image img,
    #history .history-intro__image,
    #history .history-head__text,
    #history .history-head__image{
        width: 100%;
    }
    #history .history-list__item{
        width: 100%;
        padding: 25px;
    }
    #history .history-list__text p{
        font-size: 14px;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 400;
        line-height: 1.75;
        margin: 25px 0 0;
    }
    #history .history-list__image{
        /*
        background: #fff;
        padding: .5rem;
        border: 1px solid #ccc;
        */
        width: 100%;
    }
    #history .history-list__image img{
        width: 100%;
        height: auto;
        max-width: unset;
        min-height: unset;
        max-height: unset;
    }
    .company-table{
        padding: 40px 25px;
    }
    .company-table table,
    .company-table table tbody,
    .company-table table tr,
    .company-table table td{
        display: block;
        width: 100%;
    }
    .company-table table td{
        padding: 25px 0;
        font-size: 14px;
    }
    .company-table table td:first-child{
        padding: 25px 0 0;
    }
    .company-table .address-cell {
        position: static;
        padding: 25px 0 ;
    }
    .company-table .address-cell .btn{
        display: block;
        position: static;
        margin: 10px 0 0;
    }
    .page-title h2 {
        font-size: 44px;
    }
    .page-title p {
        font-size: 18px;
        margin-top: 35px;
    }
}
@media screen and (max-width: 376px){
    .page-main{
        aspect-ratio: unset;
    }
}
