@charset "UTF-8";


/* フォントサイズ */

:root {
    --root-font-size: 16;
}

/* 共通設定 */

body {
    color: #000;
    font-size: calc(16 / var(--root-font-size) * 1rem);
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    font-feature-settings: "palt";
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ボタン */

.btn__center {
    display: grid;
    place-content: center;
    margin-top: 30px;

    @media(min-width: 767px) {
        margin-top: 15.34px;
    }
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    max-width: 100%;
    color: #fff;
    font-size: calc(18 / var(--root-font-size) * 1rem);
    font-weight: 700;
    line-height: 1.4;
    background-color: #017C48;
    border-radius: calc(infinity * 1px);
    padding: 7px;
    transition: opacity 0.3s;

    &:hover {
        opacity: 0.8;
    }
}

.btn--gradi {
    background: linear-gradient(90deg, #108856 0%, #00AB63 100%);
}

.btn--archive {
    display: grid;
    grid-template-columns: auto auto;
    align-self: flex-end;
    font-size: 14px;
    width: 124px;
    margin-top: 13px;
    margin-left: auto;
    padding: 4px;
}

.btn-arrow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26.1px;
    height: 26.1px;
    background-color: #fff;
    border-radius: 50%;
    margin-left: 10px;
}

.btn-arrow {
    position: relative;
    display: inline-block;
    width: 13px;
    height: 2px;
    margin: 4.5px 0;
    border-radius: 9999px;
    background-color: #108856;
}

.btn-arrow::before,
.btn-arrow::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    width: 8px;
    height: 2px;
    border-radius: 9999px;
    background-color: #108856;
    transform-origin: calc(100% - 1px) 50%;
}

.btn-arrow::before {
    transform: rotate(45deg);
}

.btn-arrow::after {
    transform: rotate(-45deg);
}

.btn-img-wrapper {
    width: 23.7px;
    aspect-ratio: 1;
}

.btn-img {
    width: 100%;
}


/* 草の装飾 */

.grass01__wrapper {
    width: max(10vw, 70px);
    position: absolute;
    top: 15vw;
    left: 0;
}

.grass02__wrapper {
    width: max(10vw, 70px);
    position: absolute;
    top: 15vw;
    right: 0;
    transform: rotateY(-180deg);
}

.grass03__wrapper {
    width: max(10vw, 70px);
    position: absolute;
    bottom: 15vw;
    left: 0;
}

.grass04__wrapper {
    width: max(10vw, 70px);
    position: absolute;
    bottom: 15vw;
    right: 0;
    transform: rotateY(-180deg);
}

.grass05__wrapper {
    width: max(10vw, 70px);
    position: absolute;
    top: 5vw;
    left: 0;
}

.grass06__wrapper {
    width: max(10vw, 70px);
    position: absolute;
    top: 5vw;
    right: 0;
}

.grass07__wrapper {
    width: max(10vw, 70px);
    position: absolute;
    bottom: 0;
    left: 0;
    transform: rotateX(180deg);
}

.grass08__wrapper {
    width: max(10vw, 70px);
    position: absolute;
    bottom: 0;
    right: 0;
    transform: rotateY(-180deg);
}

.grass__img {
    width: 100%;
    object-fit: cover;
}


/* header */

body:not(.home) .header {
	background-color: #FBFAF8;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding-top: 10px;
    padding-left: 20px;
    padding-bottom: 10px;
    padding-right: 40px;

    @media(min-width: 768px) {
        top: 0;
        align-items: flex-start;
        padding-top: 10px;
        padding-left: 34px;
        padding-bottom: 10px;
        padding-right: 60px;
    }

    @media(min-width: 1040px) {
        padding-top: 25px;
        padding-left: 34px;
        padding-bottom: 25px;
        padding-right: 90px;
    }
}

body.home .header {
	background-color: #FBFAF8;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding-top: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    padding-right: 40px;

    @media(min-width: 768px) {
        top: 0;
        align-items: flex-start;
        padding-top: 20px;
        padding-left: 34px;
        padding-bottom: 20px;
        padding-right: 60px;
    }

    @media(min-width: 1040px) {
        padding-top: 25px;
        padding-left: 34px;
        padding-bottom: 25px;
        padding-right: 90px;
    }
}

.header__logo {
    width: 50%;
    z-index: 9999;

    @media(min-width: 767px) {
        width: 60%;
    }
}

.global-nav__wrapper {
    display: none;

    @media(min-width: 767px) {
        display: block;
    }
}

.global-nav {
	width: fit-content;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 30px;
    justify-self: flex-end;
	margin-left: auto;

    @media(min-width: 1040px) {
        gap: 69.75px;
    }
}

.global-nav__item--contact {
    text-align: center;
    width: 143.56px;
    max-width: 100%;
    color: #fff;
    font-weight: 700;
    background-color: #017C48;
    border-radius: calc(infinity * 1px);
}

.global-nav__link {
    font-size: calc(14.28 / var(--root-font-size) * 1rem);

    &:hover {
        opacity: 0.8;
    }
}

.global-nav__item--contact .global-nav__link {
    display: block;
    padding-top: 7.39px;
    padding-bottom: 8.55px;
}


/* ハンバーガーメニュー */

.menu-btn {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: flex-end;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 9999;

    @media(min-width: 767px) {
        display: none;
    }
}

.menu-btn__line {
    &:nth-of-type(1) {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #000;
        top: 0;
        transition: .4s;
        z-index: 9999;
    }

    &:nth-of-type(2) {
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #000;
        z-index: 9999;
    }

    &:nth-of-type(3) {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #000;
        bottom: 0;
        transition: .4s;
        z-index: 9999;
    }
}

.menu-btn.active .menu-btn__line:nth-of-type(1) {
    transform: translateY(8px) rotate(-45deg);
}

.menu-btn.active .menu-btn__line:nth-of-type(2) {
    opacity: 0;
}

.menu-btn.active .menu-btn__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}

.hamburger-nav__wrapper {
    position: fixed;
    width: 100vw;
    background-color: #fff;
    display: none;
    animation: slideDown 0.3s ease forwards;
    z-index: 9998;
    padding-top: 100px;
}

.hamburger-nav__wrapper.active {
    display: block;
}

.header.active .hamburger-nav-bg {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    inset: 0;
    z-index: 9998;
}

/* スライドダウンアニメーション */
@keyframes slideDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.hamburger-nav {
    width: 100vw;
    text-align: center;
    display: grid;
    grid-auto-flow: row;
    place-content: center;
    margin-bottom: 20px;
}

.hamburger-nav__link {
    display: block;
    width: 100vw;
    font-size: calc(14 / var(--root-font-size) * 1rem);
    border-bottom: 1px solid #7b7b7b;
    padding: 30px 0;
}

.hamburger-nav__item:first-child .hamburger-nav__link {
    border-top: 1px solid #7b7b7b;
}

.hamburger-nav__item--contact {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.hamburger-nav__item--contact .hamburger-nav__link {
    text-align: center;
    width: 250px;
    max-width: 100%;
    color: #fff;
    font-weight: 700;
    background-color: #017C48;
    border-radius: calc(infinity * 1px);
    padding: 15px 0;
}

/* footer */

.footer {
    position: relative;
}

.custom-shape-divider-bottom-1745825047 {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1745825047 svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1745825047 .shape-fill {
    fill: #FFFFFF;
}

.footer__wrapper {
    background-color: #F1EFE9;
}

.footer__container {
    display: grid;
    grid-auto-flow: row;
    justify-content: center;
    align-items: center;
    padding-top: 65px;
    padding-right: 11%;
    padding-bottom: 63px;
    padding-left: 5%;

    @media(min-width: 990px) {
        grid-auto-flow: column;
        justify-content: space-between;
        align-items: center;
    }
}

.footer__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;

    @media(min-width: 1090px) {
        gap: 60px;
    }
}

.footer__group {
    display: flex;
    flex-direction: column;
}

.footer__text {
    margin-left: 10px;
}

.footer-nav {
    display: grid;
    grid-template-columns: auto;
    gap: 20px 30px;

    @media(min-width: 767px) {
        grid-template-columns: repeat(2, auto);
    }

    @media(min-width: 1090px) {
        gap: 20px 60px;
    }
}

.footer__img-wrapper {
    width: 26.52vw;
    justify-self: center;

    @media(min-width: 990px) {
        justify-self: flex-start;
    }
}

.footer__img {
    width: 100%;
}

.decoration-img-wrapper {
    width: 100%;
}

.decoration-img {
    width: 100%;
    object-fit: cover;
}

.copyright {
    text-align: center;
    font-size: calc(15 / var(--root-font-size) * 1rem);
    padding-bottom: 7px;
}

/* top */

.fv {
    background-color: #FBFAF8;
}

.fv__inner {
    display: grid;
    grid-template-columns: repeat(2, auto);
    align-items: center;
    gap: 40px;
    padding-top: 100px;
	padding-bottom: 30px;
	@media(min-width: 767px) {
		padding-top: 150px;
	}
	@media(min-width: 1040px) {
		padding-top: 180px;
	}
}

.fv__text-group {
    display: flex;
    flex-direction: row-reverse;
    gap: 3%;
}

.fv__text {
    writing-mode: vertical-rl;
    font-size: clamp(1.25rem, 0.766rem + 2.066vw, 2.625rem);
    letter-spacing: -0.05em;
    font-weight: 500;
}

.fv__text--small {
    font-size: clamp(1rem, 0.692rem + 1.315vw, 1.875rem);
}

.fv__text--blue {
    color: #00B9EF;
}

.fv__text--green {
    color: #22AC38;
}

.fv__img-wrapper {
    width: 26.52vw;
}

.fv__img {
    width: 100%;
}

.side__btns {
    position: fixed;
    top: 350px;
    right: 0;
    z-index: 3;
}

.side-btn {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1rem, 0.956rem + 0.188vw, 1.125rem);
    background-color: #108856;
    border-top-left-radius: calc(infinity * 1px);
    border-bottom-left-radius: calc(infinity * 1px);
    padding: 1em;
    margin-left: auto;
    margin-bottom: 25px;
}

.side-btn--blue {
    background-color: #00ABDC;
}

.arrow {
    position: relative;
    display: inline-block;
    width: 19px;
    height: 2px;
    margin: 7.4px 0;
    border-radius: 9999px;
    background-color: #fff;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 13px;
    height: 2px;
    border-radius: 9999px;
    background-color: #fff;
    transform-origin: 1px 50%;
}

.arrow::before {
    transform: rotate(45deg);
}

.arrow::after {
    transform: rotate(-45deg);
}

/* セクション　見出し */

.section-heading {
    text-align: center;
    color: #956134;
    font-size: clamp(1.125rem, 1.081rem + 0.188vw, 1.25rem);
    font-weight: 600;
    text-transform: capitalize;
}

/* top about */

.about {
    position: relative;
    padding: 72px 20px 80px;
}

.about__text {
    text-align: center;
    font-size: clamp(1.25rem, 1.074rem + 0.751vw, 1.75rem);
    font-weight: 500;
    margin-top: 33px;
}

.about__inner {
    width: fit-content;
    position: relative;
    margin-inline: auto;
}

.about-img__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.about-img01__wrapper {
    width: 3.331944vw;
}

.about-img02__wrapper {
    width: max(23.336111vw, 120px);
    margin-top: -15%;

}

.speech01-img__wrapper {
    width: max(12.002777vw, 80px);
    position: absolute;
    top: 0;
    left: -85px;

    @media(min-width: 600px) {
        top: 0;
        left: -12vw;
    }
}

.speech02-img__wrapper {
    width: max(11.380555vw, 80px);
    position: absolute;
    top: 0;
    right: -80px;

    @media(min-width: 600px) {
        top: 0;
        right: -11vw;
    }
}

.speech03-img__wrapper {
    width: max(15.374305vw, 80px);
    position: absolute;
    top: 50px;
    left: -80px;

    @media(min-width: 600px) {
        top: 10vw;
        left: -15vw;
    }
}

.speech04-img__wrapper {
    width: max(12.631944vw, 80px);
    position: absolute;
    top: 50px;
    right: -80px;

    @media(min-width: 600px) {
        top: 10vw;
        right: -15vw;
    }
}

.speech05-img__wrapper {
    width: max(12.59375vw, 80px);
    position: absolute;
    top: 100px;
    left: -65px;

    @media(min-width: 600px) {
        top: 20vw;
        left: -11vw;
    }
}

.speech06-img__wrapper {
    width: max(12.334027vw, 80px);
    position: absolute;
    top: 98px;
    right: -70px;

    @media(min-width: 600px) {
        top: 20vw;
        right: -11vw;
    }
}

.speech-img {
    width: 100%;
}

/* mission */

.mission {
    position: relative;
    background-color: #F1EFE9;
    padding: 100px 20px;
}

/* 境界線上部 */

.custom-shape-divider-top-1745915583 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top-1745915583 svg {
    display: block;
    width: calc(126% + 1.3px);
    height: 40px;
}

.custom-shape-divider-top-1745915583 .shape-fill {
    fill: #FFFFFF;
}

/* 境界線下部 */

.custom-shape-divider-bottom-1745915765 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1745915765 svg {
    display: block;
    width: calc(126% + 1.3px);
    height: 40px;
}

.custom-shape-divider-bottom-1745915765 .shape-fill {
    fill: #FFFFFF;
}

.mission__list {
    display: grid;
    grid-template-columns: auto;
	justify-content: center;
	align-items: center;
    gap: 40px;
    margin-top: 50px;

    @media(min-width: 1040px) {
        grid-template-columns: repeat(3, auto);
        margin-top: 72px;
    }
}

.mission__item {
    text-align: center;
}

.mission__number {
    color: rgba(0, 0, 0, 0.5);
    font-size: clamp(1rem, 0.912rem + 0.376vw, 1.25rem);
    font-weight: 600;
}

.mission__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.mission__text {
    width: fit-content;
    font-size: clamp(1.563rem, 1.496rem + 0.282vw, 1.75rem);
    font-weight: 500;
    background-color: #fff;
    margin-inline: auto;
}

.mission__text--small {
    font-size: clamp(1rem, 0.912rem + 0.376vw, 1.25rem);
}

/* business */

.business {
    padding: 80px 20px;
    position: relative;
}

.business__list {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 80px;

    @media(min-width: 767px) {
        grid-template-columns: repeat(2, auto);
        gap: 33px;
    }
}

.business__item {
    width: 100%;
    max-width: 450px;
    position: relative;

    &:hover {
        opacity: 0.8;
    }

    &::after {
        content: '';
        display: inline-block;
        width: 70px;
        height: 70px;
        background-color: #108856;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
        border-bottom-right-radius: 10px;
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 1;
    }
}

.business__item:first-of-type {
    justify-self: flex-end;
}

.business__img {
    filter: brightness(0.8);
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.business__text {
    width: max-content;
    color: #fff;
    font-size: 90%;
    font-weight: 700;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 2;
}

.business__arrow-wrapper {
    position: absolute;
    right: 10px;
    bottom: 8px;
}

.business__arrow {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 2px;
    margin: 6.4px 0;
    border-radius: 9999px;
    background-color: #fff;
    z-index: 2;
    transform: rotate(45deg);

}

.business__arrow::before,
.business__arrow::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    width: 11px;
    height: 2px;
    border-radius: 9999px;
    background-color: #fff;
    transform-origin: calc(100% - 1px) 50%;
    z-index: 2;
}

.business__arrow::before {
    transform: rotate(45deg);
}

.business__arrow::after {
    transform: rotate(-45deg);
}

/* achievements */

.achievements {
    position: relative;
    background-color: #F1EFE9;
    padding: 100px 0;
}

.achievements__inner {
    padding: 0 20px;
}

.achievements__list {
    display: grid;
    grid-template-columns: 60%;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;

    @media(min-width: 767px) {
        grid-template-columns: repeat(3, auto);
        gap: 40px;
    }
}

.achievements__item {
    text-align: center;
}

.achievements__head {
    display: flex;
    align-items: center;
    font-size: calc(13.44 / var(--root-font-size) * 1rem);
    font-weight: 600;
    padding: 0 10px;
}

.achievements__head::before,
.achievements__head::after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #000;
}

.achievements__head::before {
    margin-right: 1rem;
}

.achievements__head::after {
    margin-left: 1rem;
}

.achievements__text {
    font-size: calc(12.88 / var(--root-font-size) * 1rem);
    font-weight: 900;
    background-color: #fff;
    border-radius: 15.65px;
    margin-top: 15px;
    padding: 11px;
}

.achievements__img-wrapper {
    width: 133.32px;
    margin-top: 42.55px;
    margin-inline: auto;
}

.achievements__text {
    position: relative;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
}

.achievements__text::before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: rotate(225deg);
    right: 50px;
    bottom: -19px;
    border-left: 20px solid #fff;
    border-top: 20px solid #fff;
    border-right: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.achievements__text::after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: rotate(225deg);
    right: 64px;
    bottom: -20px;
    border-left: 20px solid #F1EFE9;
    border-top: 20px solid #F1EFE9;
    border-right: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

/* 境界線　上部 */

.custom-shape-divider-top-1745935794 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top-1745935794 svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 63px;
}

.custom-shape-divider-top-1745935794 .shape-fill {
    fill: #FFFFFF;
}

/* 境界線　下部 */

.custom-shape-divider-bottom-1745936053 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1745936053 svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 63px;
}

.custom-shape-divider-bottom-1745936053 .shape-fill {
    fill: #FFFFFF;
}

/* blog */

.blog-area {
    position: relative;
    padding: 100px 0;
}

.blog__inner {
    padding: 0 20px;
}

.blog__list {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 80px;

    @media(min-width: 767px) {
        grid-template-columns: repeat(2, auto);
        gap: 33px;
    }
}

.blog__item {
    width: 100%;
    max-width: 450px;
    position: relative;

    &:hover {
        opacity: 0.8;
    }

    &::after {
        content: '';
        display: inline-block;
        width: 70px;
        height: 70px;
        background-color: #108856;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
        border-bottom-right-radius: 10px;
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 1;
    }
}

.blog__item:first-of-type {
    justify-self: flex-end;
}

.blog__img {
    filter: brightness(0.8);
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.blog__text {
    width: max-content;
    color: #fff;
    font-size: 90%;
    font-weight: 700;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 2;
}

.blog__arrow-wrapper {
    position: absolute;
    right: 10px;
    bottom: 8px;
}

.blog__arrow {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 2px;
    margin: 6.4px 0;
    border-radius: 9999px;
    background-color: #fff;
    z-index: 2;
    transform: rotate(45deg);

}

.blog__arrow::before,
.blog__arrow::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    width: 11px;
    height: 2px;
    border-radius: 9999px;
    background-color: #fff;
    transform-origin: calc(100% - 1px) 50%;
    z-index: 2;
}

.blog__arrow::before {
    transform: rotate(45deg);
}

.blog__arrow::after {
    transform: rotate(-45deg);
}

/* 固定ページ */

.contents-area {
    margin-top: 100px;
    margin-bottom: 73px;

    @media(min-width: 767px) {
        margin-top: 165px;
    }
}

.page-thumbnail {
	width: 100%;
	height: 150px;
	border-top: 1px solid transparent;
	margin-top: 30px;
	@media(min-width: 767px) {
		height: 362px;
	}
}

.page-thumbnail img {
	width: 100%;
	max-height: 100%;
	object-fit: cover;
}

.contents-area__inner {
	padding: 0 20px;
	margin-top: 80px;
	
	@media(min-width: 767px) {
		margin-top: 100px;
	}
}

.page__title {
	font-size: clamp(1.25rem, 1.140rem + 0.469vw, 1.563rem);
	font-weight: 500;
}

.page__text-area {
	margin-top: 80px;
	@media(min-width: 767px) {
		margin-top: 120px;
	}
}

.page__text-area:nth-of-type(2) .page__title-sub:nth-of-type(2) {
	margin-top: 30px;
	@media(min-width: 767px) {
		margin-top: 80px;
	}
}

.page__title-sub {
	font-size: clamp(1.75rem, 1.552rem + 0.845vw, 2.313rem);
}

.page__text {
	font-size: clamp(1rem, 0.912rem + 0.376vw, 1.25rem);
}

.page__list {
	display: grid;
	justify-self: center;
	gap: 20px;
	margin-top: 25px;
	@media(min-width: 767px) {
		gap: 48px;
		margin-top: 37px;
	}
}

/* 企業理念 */

.philosophy__heading {
	font-size: clamp(1.25rem, 1.140rem + 0.469vw, 1.563rem);
	font-weight: 700;
	line-height: 1;
}

.philosophy__text {
	font-size: clamp(1.563rem, 1.474rem + 0.376vw, 1.813rem);
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: -0.03em;
	margin-top: 30px;
	@media(min-width: 767px) {
		margin-top: 49px;
	}
}

.philosophy__heading-sub {
	font-size: clamp(1.25rem, 1.140rem + 0.469vw, 1.563rem);
	font-weight: 500;
	margin-top: 150px;
	scroll-margin-top: 200px;
	@media(min-width: 767px) {
		margin-top: 227px;
	}
}

/* 会社概要 */

.company__list {
	width: min(100%, 700px);
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 30px;
	margin-inline: auto;
	@media(min-width: 767px) {
		margin-top: 60px;
		gap: 28px;
	}
}

.company__item {
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto auto;
	gap: 10px;
	border-bottom: 1px solid #000;
	padding-bottom: 15px;
	@media(min-width: 767px) {
		grid-template-columns: 20% 80%;
		grid-template-rows: auto;
		padding-bottom: 33px;
	}
}

/* お問い合わせ */

.form__inner {
    width: min(100% - 40px, 660px);
    margin-inline: auto;
}

.form__heading {
    text-align: center;
    font-size: clamp(1.563rem, 1.298rem + 1.127vw, 2.313rem);
    font-weight: 600;
}

.form__item {
    display: grid;
    grid-template-columns: auto;
    gap: 5px;

    @media(min-width: 767px) {
        grid-template-columns: 27% 1fr;

    }

    &:nth-of-type(1) {
        margin-top: 30px;

        @media(min-width: 767px) {
            margin-top: 50px;
        }
    }

    &:not(:last-of-type) {
        margin-bottom: 20px;
    }
}

.form__item--check {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-left: 30px;
}

.form__item--check>.form__title {
    margin-top: 0;
}


input[type="checkbox"] {
    appearance: auto;
    transform: scale(1.5);
}

.form__title {
    font-size: calc(19 / var(--root-font-size) * 1rem);
    font-weight: 400;
    margin-top: 10px;
}

.label-required {
    display: inline-block;
    color: #F24822;
    font-size: calc(14 / var(--root-font-size) * 1rem);
    font-weight: 400;
    line-height: 1.2;
    background-color: #FFE7D3;
    padding-top: 2px;
    padding-right: 7px;
    padding-bottom: 2px;
    padding-left: 7px;
}

.label-required--not {
    color: #474747;
    background-color: #EDEDED;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    height: 60px;
    background-color: #F5F5F5;
    padding: 10px;
}

textarea {
    height: 250px;
}

.form__btn-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form__btn {
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: calc(21 / var(--root-font-size) * 1rem);
    line-height: 1.2;
    background: #108856;
    padding: 34px 10px;
    margin-top: 50px;
    margin-inline: auto;

    &:hover {
        opacity: 0.7;
    }
}

.privacy__link {
	text-decoration: underline !important;
	&:hover {
		opacity: 0.5;
	}
}

/* 一覧ページ */

.archive__wrapper {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

.archive__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.875rem, 1.325rem + 2.347vw, 3.438rem);
    font-weight: 600;
}

.archive__list {
    display: grid;
    grid-template-columns: auto;
    gap: 33px;
    margin-top: 50px;

    @media(min-width: 767px) {
        grid-template-columns: repeat(2, auto);
        margin-top: 95px;
    }

    @media(min-width: 1040px) {
        grid-template-columns: repeat(3, auto);
    }
}

.archive__item {
    box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.1);
    padding: 30px 30px 15px;

    &:hover {
        opacity: 0.8;
    }
}

.archive__link {
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    height: 100%;
}

.archive__img-wrapper {
    width: 100%;
}

.archive__img-wrapper img {
    width: 100%;
    object-fit: cover;
}

.archive__heading {
    font-size: clamp(1.125rem, 1.081rem + 0.188vw, 1.25rem);
    font-weight: 600;
    margin-top: 10px;
}

.archive__excerpt {
    margin-top: 10px;
}

/* ページネーション */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 94px;
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 22px;
}

a.page-numbers,
span.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    background-color: #fff;
    border: 1px solid #000;
    width: 40px;
    height: 40px;
}


/* 詳細ページ */

.detail__inner {
    width: min(100% - 40px, 900px);
    margin-inline: auto;
}

.deital__title {
    font-size: calc(19 / var(--root-font-size) * 1rem);
    font-weight: 700;
}

.detail-thumbnail {
    width: 100%;
}

.detail-thumbnail img {
    width: 100%;
    object-fit: cover;
    margin-top: 30px;
}

.detail-content {
    margin-top: 30px;
}

.detail-navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 100px;
}

/* パンくずリスト */

.breadcrumbs {
    padding: 15px 0;
}

/* 2カラムレイアウト */

.column-layout {
    display: grid;
    grid-template-columns: auto;
	grid-template-rows: auto auto;
    gap: 20px;
	@media(min-width: 767px) {
		grid-template-columns: 65% 35%;
		grid-template-rows: auto;
	}
}

/* サイドバー */

.widget-area {
	display: flex;
	flex-direction: column;
	gap: 30px;
    width: 100%;
	padding: 0 20px;
    margin-top: 0;
	@media(min-width: 767px) {
		flex-direction: column;
		padding: 0 20px;
		margin-top: 250px;
	}
}

/* サイドバー　タイトル */

.popular-posts>h2,
.yarpp-related>h3,
.archive-area>h2{
	width: fit-content;
	font-size: clamp(1.125rem, 1.081rem + 0.188vw, 1.25rem);
	font-weight: 600;
	border-left: 5px solid #108856;
	padding: 0 0 0 5px !important;
	margin-bottom: 15px;
}

/* サイドバー 関連記事 */

.yarpp-thumbnails-horizontal {
	display: flex;
	flex-direction: column;
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail {
	display: flex !important;
	width: 100% !important;
	height: 100% !important;
	border: none !important;
}

.yarpp-related a {
    font-weight: 400;
}

.yarpp-thumbnail > img {
	max-width: 100px !important;
    width: 100% !important;
    max-height: 100px !important;
    height: 100% !important;
}

.yarpp-related .yarpp-thumbnail-title {
	font-weight: 400 !important;
}

.widget>.yarpp>ol {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* サイドバー アーカイブリンク */

.archive-area select {
	width: 100%;
	max-width: 200px;
    border: 1px solid #000;
    padding: 3px;
}
