:root {
    --font-family-base: "Noto Sans JP", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFF1D8;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.3'/%3E%3C/svg%3E"),
        radial-gradient(circle 45rem at 90% 10rem,
            rgba(255, 224, 90, 0.3) 0%,
            transparent 35%),
        linear-gradient(90deg,
            #C8F1F3 0%,
            #E6EDE8 20%,
            #F8DFBB 40%,
            #F8DFBB 60%);
}

.main {
    overflow: hidden;
}



/* パンくずリスト */
.breadcrumb {
    width: 112rem;
    margin: 0 auto 8rem;
    padding-top: 16rem;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb__item {
    color: #1E2328;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: calc(5 / 100 * 16 / 10 * 1rem);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.breadcrumb__item::after {
    content: "";
    margin-top: 1rem;
    width: 1rem;
    height: 1rem;
    border-top: 0.2rem solid #777;
    border-right: 0.2rem solid #777;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}


.breadcrumb__item:last-child:after {
    display: none;
}


.breadcrumb__item a {
    text-decoration: none;
}

.breadcrumb__item[aria-current="page"] {
    color: #EE7B49;
}


/* ヒーローセクション */
.hero__section {
    padding: 0rem 8rem 8rem 8rem;

}

.information__title {
    font-family: var(--font-family-base);
}

.information__title p:nth-of-type(1) {
    color: #EE7B49;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: calc(15 / 100 * 20 / 10 * 1rem);
    margin-left: 3.4rem;
    position: relative
}

.information__title p:nth-of-type(1)::before {
    content: "●";
    font-size: 1.4rem;
    color: #EE7B49;
    position: absolute;
    top: 0.5rem;
    left: -3.2rem;
}

.information__title h1 {
    font-family: var(--font-family-base);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: calc(10 / 100 * 32 / 10 * 1rem);
    color: #1E2328;
}

.information__title p:nth-of-type(2) {
    color: #1E2328;
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: calc(28 / 16);
}

.information__box {
    position: relative;
}

.information__box img {
    width: 30.9rem;
    height: 30.9rem;
    object-fit: cover;
    position: absolute;
    top: -10rem;
    right: 4rem;

}

.information-box {
    display: flex;
    gap: 2rem;
}

.link {
    padding: 1rem 2rem;
    color: #EE7B49;
    background-color: #F5F5F5;
    border-radius: 3rem;
    border: solid 0.1rem #EE7B49;
    font-family: var(--font-family-base);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: calc(5 / 100 * 16 / 10 * 1rem);
    transition: 0.3s ease all;
    margin-top: 8rem;
    box-shadow: #00000040 0 0.4rem 0.4rem;
}

.link:hover {
    color: #F5F5F5;
    background-color: #EE7B49;
}


/* 企業理念 */
.philosophy__section {
    padding: 2.2rem 8rem 8rem 8rem;
}

.philosophy__title h2 {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 2.4rem;
    line-height: calc(36 / 24);
    letter-spacing: calc(15 / 100 * 24 / 10 * 1rem);
    margin-left: 4rem;
    margin-top: 2.2rem;
}

.philosophy__title {
    position: relative;
}

.philosophy__title::before {
    content: "";
    width: 0.3rem;
    height: 8rem;
    background-color: #D97757;
    position: absolute;
    top: -2.2rem;
    left: 0rem;
}

.philosophy__title p {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 3.2rem;
    letter-spacing: calc(10 / 100 * 32 / 10 * 1rem);
    margin-top: 6.2rem;
}

.philosophy__title p span {
    font-size: 4rem;
}

.no {
    font-family: var(--font-family-base);
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: calc(5 / 100 * 40 / 10 * 1rem);
    color: #EE7B49;
}

.no__title {
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: calc(10 / 100 * 24 / 10 * 1rem);
    color: #EE7B49;
}

.section__no h3 {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.no__text {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: calc(28 / 16);
    letter-spacing: calc(5 / 100 * 16 / 10 * 1rem);
    margin-top: 4rem;
    color: #1E2328;
    position: relative;
}

.no__text::after {
    content: "";
    width: 52rem;
    height: 0.1rem;
    background-color: #EE7B49;
    position: absolute;
    bottom: -5rem;
    left: 0rem;
}

.philosophy__wrap {
    margin-top: 8rem;
    display: flex;
    gap: 11.9rem;
    align-items: center;
}

.section__02,
.section__03 {
    margin-top: 8rem;
}

.philosophy__wrap img {
    width: 48rem;
    height: 60rem;
    object-fit: cover;
    object-position: 20% 0%;
}



/* 未来への約束 */

.promise__section {
    position: relative;
    margin-top: 10rem;

    height: 61.9rem;
    overflow: hidden;
}

/* 背景 */



.company__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 0 0);
    /* セクションの外にはみ出さないマジック */
    z-index: 1;
}

.company__bg-fixed {
    position: fixed;
    /* 背面で画像を固定 */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/front/company_img_bg1-quality-20261020.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.promise__box {
    width: 32rem;
    padding: 6.3rem 0 5.1rem 9rem;
    position: relative;
    z-index: 3;
}


/* コンテンツを背景より前に */
.promise__wrap {
    position: relative;
    z-index: 1;
}


.promise__title {
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: calc(10 / 100 * 28 / 10 * 1rem);
    text-align: center;
    color: #EE7B49;
    width: 98.7rem;
    margin: 0 auto 2rem;
}

.promise__wrap p {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: calc(28 / 16);
    letter-spacing: calc(5 / 100 * 28 / 10 * 1rem);
    text-align: left;
    color: #1E2328;
    width: 98.7rem;
    margin: 0 auto;
}

.president {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: calc(10 / 100 * 20 / 10 * 1rem);
    text-align: right;
    color: #1E2328;
    width: 93.7rem;
    margin: 0 auto;
}

.promise__box {
    padding: 4rem;
    background: linear-gradient(to right,
            rgba(245, 245, 245, 0.5),
            rgba(245, 245, 245, 0.3));

    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);

    width: 106.7rem;
    margin: 0 auto;
    border-radius: 1.4rem;
}

.promise__wrap {
    padding: 20rem 0;


}

/* 会社概要 */
.overview__section {
    margin-top: 8rem;
    padding: 2.2rem 8rem 8rem;
    position: relative;
}

.overview__section h2 {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 2.4rem;
    line-height: calc(36 / 24);
    letter-spacing: calc(15 / 100 * 24 / 10 * 1rem);
    margin-left: 4rem;
    margin-top: 2.2rem;
    position: relative;
}

.overview__section h2::before {
    content: "";
    width: 0.3rem;
    height: 8rem;
    background-color: #D97757;
    position: absolute;
    top: -2.2rem;
    left: -4rem;
}

.overview__section dl {
    width: 100rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10.2rem;
}

.overview__section dt {
    width: 24rem;
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: calc(5 / 100 * 20 / 10 * 1rem);
    color: #F5F5F5;
    background-color: #EE7B49;
    padding: 2rem 0rem 2rem 4rem;
    margin-bottom: 1rem;
}

.overview__section dd {
    width: 67.3rem;
    padding-left: 12rem;
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 2rem;
    line-height: calc(32 / 20);
    letter-spacing: calc(5 / 100 * 20 / 10 * 1rem);
}

.overview__section dt:nth-of-type(9) {
    padding: 3.6rem 0rem 3.6rem 4rem;
}

.overview__section dt:nth-of-type(10) {
    padding: 10rem 0rem 10rem 4rem;
    margin-bottom: 0rem;
}

.overview__section img {
    width: 30.9rem;
    height: 30.9rem;
    object-fit: cover;
    position: absolute;
    top: 26rem;
    right: 8rem;
}



/* 沿革 ここから*/
.history__section h2 {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 2.4rem;
    line-height: calc(36 / 24);
    letter-spacing: calc(15 / 100 * 24 / 10 * 1rem);
    margin-left: 4rem;
    margin-top: 2.2rem;
    position: relative;
}

.history__section h2::before {
    content: "";
    width: 0.3rem;
    height: 8rem;
    background-color: #D97757;
    position: absolute;
    top: -2.2rem;
    left: -4rem;
}

.history__section {
    padding: 2.2rem 8rem 0rem;
}

.history__section dl {
    width: 108rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10.2rem;
    margin-left: 4rem;
}

.history__section dt {
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: calc(10 / 100 * 24 / 10 * 1rem);
    width: 6.4rem;
    margin-bottom: 12.7rem;
    position: relative;
}

.history__section dt:last-of-type {
    margin-bottom: 8rem;
}

.history__section dt:after {
    content: "";
    width: 0.2rem;
    height: 9.7rem;
    background-color: #FFC2A8;
    position: absolute;
    top: 5rem;
    left: 50%;
}

.history__section dt:nth-last-of-type(1)::after {
    content: none;
}

.history__section dd {
    width: 100rem;
    display: flex;
    align-items: center;
}

.history__section dd:nth-last-of-type(1) {
    width: 100rem;
    display: flex;
    align-items: start;
}

.history__section dd:last-of-type {
    margin-top: 0.5rem;
}

.month {
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: calc(10 / 100 * 20 / 10 * 1rem);
    margin-left: 21.6rem;
    width: 5rem;
    position: relative;
}

.month::after {
    content: "";
    width: 2rem;
    height: 0.1rem;
    background-color: #1E2328;
    position: absolute;
    top: 50%;
    right: -4.4rem;

}

.history__text {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: calc(28 / 16);
    letter-spacing: calc(5 / 100 * 16 / 10 * 1rem);
    margin-left: 7.2rem;
}

.history__section dd:nth-of-type(2) {
    display: block;
}

.history__section dd div {
    display: flex;
    align-items: center;
    margin-top: 4rem;
}

/* 沿革ここまで */


/* トップページへ */
.to__top p {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 2rem;
    color: #1E2328;
    letter-spacing: calc(5 / 100 * 20 / 10 * 1rem);

}

.top-box {
    padding-bottom: 15.1rem;
}

.to__top {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 23.6rem;
    margin: 0 auto;
}

.circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #EE7B49;

    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    position: relative;
    display: inline-block;
    width: 2rem;
    height: 0.2rem;
    margin: 0;
    border-radius: 999rem;
    background-color: #F5F5F5;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    top: calc(50% - 0.1rem);
    right: 0;
    width: 1rem;
    height: 0.2rem;
    border-radius: 9999px;
    background-color: #F5F5F5;
    transform-origin: calc(100% - 1px) 50%;
}

.arrow::before {
    transform: rotate(45deg);
}

.arrow::after {
    transform: rotate(-45deg);
}

/* トップページへここまで */


#philosophy,
#overview,
#history {
    /* scroll-margin-top: 14rem; */
}

@media screen and (max-width:699.98px) {


    /* パンくずリスト */
    .breadcrumb {
        width: 33.5rem;
        margin: 0 auto 2rem;
        padding-top: 11.6rem;
    }

    .breadcrumb ol {
        gap: 1.2rem;
        margin-bottom: 2rem;
    }

    .breadcrumb li {
        gap: 1rem;
        font-size: 1.2rem;
        line-height: calc(100 / 100);
        letter-spacing: calc(5 / 100 * 12 / 10 * 1rem);
    }

    .breadcrumb li::after {
        width: 0.7rem;
        height: 0.7rem;
    }

    .information__title p:nth-of-type(1) {
        font-size: 1.4rem;
        margin-left: 2.8rem;
    }

    .information__title p:nth-of-type(1)::before {
        font-size: 1rem;
        top: 0.4rem;
        left: -2.8rem;
    }

    .information__title h1 {
        font-size: 2.4rem;
        margin: 1.3rem 0rem;
    }

    .information__title p:nth-of-type(2) {
        font-size: 1.4rem;
    }

    .information__box img {
        width: 18rem;
        height: 18rem;
        top: -4rem;
        right: -4.5rem;
    }

    .hero__section {
        padding: 0rem 2rem 7.2rem 2rem;
    }

    .philosophy__section {
        padding: 0rem 2rem 0rem 2rem;
    }

    .philosophy__title::before {
        height: 4rem;
        top: -0.3rem;
    }

    .philosophy__title h2 {
        margin-left: 1.6rem;
        margin-top: 0rem;
        font-size: 1.8rem;
    }

    .philosophy__title p {
        font-size: 1.6rem;
        margin-top: 2rem;
    }

    .philosophy__title p span {
        font-size: 2rem;
    }

    .philosophy__wrap {
        flex-direction: column-reverse;
        margin-top: 2rem;
        gap: 2.4rem;
    }

    .philosophy__wrap img {
        width: 33.5rem;
        height: 41.9rem;
    }



    .no {
        font-size: 2.8rem;
    }

    .no__title {
        font-size: 1.8rem;
    }

    .section__no h3 {
        gap: 1.6rem;
    }

    .no__text {
        font-size: 1.4rem;
        margin-top: 1.6rem;
    }

    .no__text::after {
        width: 33.5rem;
    }

    .promise__wrap p {
        width: 29.5rem;
        font-size: 1.4rem;
    }

    .promise__title {
        width: 100%;
        font-size: 2.2rem;
    }

    .president {
        width: 100%;
        font-size: 1.4rem;
        padding-top: 2rem;
    }

    .promise__box {
        width: 33.5rem;
        padding: 2rem;
    }

    .promise__wrap {
        padding-top: 6.9rem;
    }

    .promise__section {
        height: 50.8rem;
    }

    .overview__section {
        padding: 0rem 2rem 7.2rem;
    }

    .overview__section h2 {
        font-size: 1.8rem;
        margin-left: 1.6rem;
        margin-top: 0.6rem;
    }

    .overview__section h2::before {
        height: 4rem;
        top: -0.6rem;
        left: -2rem;
    }

    .overview__section dl {
        margin-top: 21.4rem;
        width: 100%;
    }

    .overview__section img {
        width: 18rem;
        height: 18rem;
        top: 7rem;
        right: 3rem;
    }

    .overview__section dt {
        width: 10rem;
        padding: 2rem 0rem 2rem 2rem;
        font-size: 1.4rem;
    }

    .overview__section dd {
        width: 70%;
        padding-left: 1.2rem;
        padding-bottom: 1rem;
        font-size: 1.4rem;
    }

    .overview__section dt:nth-of-type(9) {
        padding: 5.75rem 1.6rem 5.75rem 1.6rem;
    }

    .overview__section dt:nth-of-type(10) {
        padding: 14.55rem 1.6rem 14.55rem 1.6rem;
    }

    /* 沿革ここから */

    .history__section {
        padding: 0rem 2rem;
    }

    .history__section h2 {
        font-size: 1.8rem;
        margin-left: 2rem;
    }

    .history__section h2::before {
        height: 4rem;
        top: -0.6rem;
        left: -2rem;
        margin-left: 0rem;
    }

    .history__section dl {
        margin-top: 2rem;
        width: 33rem;
        margin-left: 0rem;
    }

    .history__section dt {
        font-size: 1.8rem;
        margin-bottom: 4.5rem;
    }

    .history__section dt:last-of-type {
        margin-bottom: 0rem;

    }

    .history__section dd {
        align-items: start;
    }

    .month {
        font-size: 1.4rem;
        margin-left: 0rem;
    }

    .month::after {
        right: -1.7rem;
    }

    .history__text {
        font-size: 1.3rem;
        width: 25rem;
        margin-left: 3.2rem;
    }

    .history__section dt:after {
        height: 2.4rem;
        top: 3.2rem;
        left: 40%;
    }

    .history__section dd div {
        margin-top: 0rem;
    }

    .month-top {
        margin-top: 0rem;
    }

    .history__text-top {
        margin-top: 0rem;
    }

    .history__text-bottom {
        margin-top: 1.6rem;

    }

    .month-bottom {
        margin-top: 1.6rem;
    }

    .to__top p {
        font-size: 1.6rem;
    }

    .to__top {
        width: 20rem;
    }

    .top-box {
        padding-top: 3.6rem;
        padding-bottom: 15.1rem;
    }

    /* 沿革ここまで */
    /* #philosophy,
    #overview,
    #history {

        scroll-margin-top: 2.5rem;
    } */

}

/* Decorative philosophy artwork is desktop-only. */
.philosophy__illustration {
    display: none;
}

@media screen and (min-width: 700px) {
    .philosophy__wrap {
        position: relative;
    }

    .philosophy__illustration {
        display: block;
        position: absolute;
        top: 4rem;
        right: 0;
        width: 44rem;
        margin: 0;
        pointer-events: none;
    }

    .philosophy__wrap .philosophy__illustration img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
}
