:root {
    --white: #fff;
    --bg: #fffded;
    --base1: #fffadb;
    --yellow__lite: #fbffd3;
    --yellow__heavy: #f1eaa7;
    --yellow__bg: #f5eeb8;
    --green__lite: #fbffd3;
    --green1: #ccdcae;
    --green2: #ccdc91;
    --green3: #c3d58d;
    --green4: #83a991;
    --green5: #4a957e;
    --green__con: #004500;
    --orange: #ea4f18;
    --orange__lite: #ff9777;
    --font__color: #3d3125;
    --box__shadow: rgba(0, 0, 0, 0.1);
    --button__gradient: linear-gradient(135deg, #fed395 0%, #ea4f18 40%, #ea4f18 100%);
    --gray: #585858;
    --line__green: #06c755;
}

body {
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    margin: 0;
    color: var(--font__color);
    background: var(--bg);
}

#continewm__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

#contact__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

h1 {
    font-size: clamp(1.476rem, 0.927rem + 2.75vw, 2.986rem);
}

h2 {
    font-size: clamp(1.383rem, 0.981rem + 2.01vw, 2.488rem);
}

h3 {
    font-size: clamp(1.296rem, 1.013rem + 1.41vw, 2.074rem);
}

h4 {
    font-size: clamp(1.215rem, 1.028rem + 0.93vw, 1.728rem);
}

h5 {
    font-size: clamp(1.138rem, 1.028rem + 0.55vw, 1.44rem);
}

h6 {
    font-size: clamp(1.067rem, 1.019rem + 0.24vw, 1.2rem);
}

p {
    font-size: clamp(1rem, 0.964rem + 0.18vw, 1.1rem);
    line-height: 1.6em;
}

.small {
    font-size: 0.833em;
}

.bold {
    font-weight: 600;
}

em {
    font-weight: 800;
    color: var(--orange);
    font-style: normal;
}

hr {
    border-width: 0 0 8px;
    border-style: solid;
    border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 1"><circle fill="hsl(54, 73%, 80%)" cx="1" cy="0.5" r="0.5"/></svg>') 0 0 100% repeat;
    width: 100%;
}

.pc__hidden {
    display: none;
}

.sp__hidden {
    display: block;
}

.link__text {
    text-decoration: underline;
}

.link__text:visited {
    color: var(--gray);
}

@media screen and (max-width: 768px) {
    .pc__hidden {
        display: block;
    }

    .sp__hidden {
        display: none;
    }
}

/* スクロールアニメーション */

.fade__up {
    opacity: 0;
    transform: translateY(50px);
}

.fade__up__animation {
    animation: fade__up 0.5s forwards;
}

@keyframes fade__up {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

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

.fade {
    opacity: 0;
}

.fade__animation {
    animation: fade 0.5s forwards;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade__left {
    opacity: 0;
    transform: translateX(-200px);
}

.fade__left__animation {
    animation: fade__left 0.5s forwards;
}

@keyframes fade__left {
    0% {
        opacity: 0;
        transform: translateX(-200px);
    }

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

.fade__right {
    opacity: 0;
    transform: translateX(-200px);
}


.fade__right__animation {
    animation: fade__right 0.5s forwards;
}

@keyframes fade__right {
    0% {
        opacity: 0;
        transform: translateX(200px);
    }

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

.fade__down {
    opacity: 0;
    transform: translateY(-200px);
}


.fade__down__animation {
    animation: fade__down 0.5s forwards;
}

@keyframes fade__down {
    0% {
        opacity: 0;
        transform: translateY(-200px);
    }

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

/* header＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.header__button__wrap {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 15;
    padding: 1em;
    display: flex;
    justify-content: space-between;
}

header .logo {
    width: fit-content;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.5em;
    padding: 0.2em 0.5em;
}

header .logo img {
    width: 100%;
    max-width: 250px;
}

.header__logo__hidden {
    opacity: 0;
}

.header__open__button {
    background: var(--orange__lite);
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    position: relative;
}

.header__open__button div {
    width: 38px;
    height: 4px;
    background: var(--white);
    position: absolute;
    left: 5px;
    border-radius: 2px;
    transition: all 0.3s;
}

.header__open__button div:nth-child(1) {
    top: 10px;
}

.header__open__button div:nth-child(2) {
    top: 22px;
}

.header__open__button div:nth-child(3) {
    top: 34px;
}

.header__contact__button {
    width: fit-content;
    background: var(--button__gradient);
    padding: 0.3em 2em;
    font-size: clamp(1.2rem, 1.055rem + 0.73vw, 1.6rem);
    letter-spacing: 0.05em;
    border-radius: 0.5em;
    box-shadow: 0px 0px 10px var(--box__shadow);
    display: flex;
    gap: 0.5em;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--white);
    position: relative;
}

.header__contact__button .button__arrow {
    width: 2rem;
    position: absolute;
    top: 0;
    right: -1rem;
    bottom: 0;
    margin: auto 0;
    animation: arrow 1s ease-in-out infinite;
    transition: all 0.3s;
}

.header__contact__button:hover {
    box-shadow: none;
    color: var(--bg);
}

.header__contact__button:hover .button__arrow {
    animation: none;
}

@keyframes arrow {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateX(-0.2rem);
    }

    75% {
        transform: translateX(0.2rem);
    }

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

.header__inner__wrap {
    width: 100%;
    position: fixed;
    top: calc(-100% - 200px);
    left: 0;
    z-index: 10;
    transition: all 0.3s;
}

.header__inner {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    background: var(--base1);
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    padding: 2rem;
    margin: 0 auto;
    margin-bottom: -0.5rem;
    overflow-y: scroll;
}

.header__inner ul {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    background: var(--green1);
    border-radius: 3em;
    padding: 0.8em 2em;
    align-items: center;
    justify-content: center;
}

.header__inner ul li {
    font-size: clamp(1.067rem, 1.019rem + 0.24vw, 1.2rem);
    background: var(--white);
    padding: 0.5em 1em;
    border-radius: 0.5em;
    transition: all 0.3s;
}

.header__inner ul li:hover {
    background: var(--yellow__lite);
}

.header__inner .contact__info {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}

.header__contact__contents {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    padding: 1em;
    border-radius: 1rem;
}

.header__contact__contents h5 {
    letter-spacing: 0.1em;
    padding-left: 0.8em;
    position: relative;
}

.header__contact__contents h5::before {
    content: "";
    background: var(--orange);
    width: 0.5em;
    height: 1em;
    position: absolute;
    top: 0.1em;
    left: 0;
}

.header__contact__contents a {
    display: flex;
    gap: 0.5em;
    align-items: center;
    font-size: clamp(1.2rem, 0.982rem + 1.09vw, 1.8rem);
    color: var(--orange);
}

.header__contact__contents a .tel__number {
    letter-spacing: 0.1em;
}

.header__contact__contents a .tel__icon {
    color: var(--white);
    background: var(--green3);
    font-size: 0.8em;
    padding: 0.3em;
    border-radius: 2em;
}

.header__inner .contact__line {
    width: 100%;
    max-width: 500px;
}

.header__bg {
    transform: rotate(180deg);
}

/* メニュー表示 */

.header__nav__open {
    top: 0;
}

.header__button__open div:nth-child(1) {
    transform: rotate(45deg);
    top: 22px;
}

.header__button__open div:nth-child(2) {
    transform: rotate(-45deg);
}

.header__button__open div:nth-child(3) {
    display: none;
}

/* footer＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

footer {
    width: 100%;
    background: var(--green1);
}

.footer__inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.footer__inner h2 {
    width: fit-content;
    background: var(--white);
    border-radius: 0.5rem;
    padding: 0.2em 1em;
}

.footer__inner h2 img {
    width: 100%;
    max-width: 300px;
}

.footer__internal__links {
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    background: var(--base1);
    border-radius: 0.5em;
    padding: 0.5em 2em;
}

.footer__internal__links li {
    font-size: clamp(1.067rem, 1.019rem + 0.24vw, 1.2rem);
    background: var(--bg);
    padding: 0.5em 1em;
    border-radius: 0.5em;
    transition: all 0.3s;
}

.footer__internal__links li:hover {
    background: var(--green2);
}

.partner__banner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.partner__banner img {
    width: 100%;
}

.footer__group__sites {
    display: flex;

}

.footer__group__sites {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__group__sites__caption {
    font-size: clamp(1.2rem, 0.982rem + 1.09vw, 1.8rem);
    position: relative;
    padding-left: 1rem;
}

.footer__group__sites__caption::before {
    content: "";
    background: var(--orange);
    width: 0.5rem;
    height: 1em;
    position: absolute;
    top: 0.1em;
    left: 0;
}

.footer__group__sites ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 3rem;
}

.footer__group__sites ul a{
    transition:all 0.3s;
    font-size: clamp(1rem, 0.964rem + 0.18vw, 1.1rem);
}

.footer__group__sites ul a:hover{
    color: var(--orange);
}

.copy {
    text-align: center;
    padding: 0.5em;
}

/* スクロールボタン */

.scroll__top {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0.5em 1em;
    text-align: right;
    position: sticky;
    bottom: 1rem;
    z-index: 9;
}

.scroll__top img {
    width: 120px;
}

/* 共通(タイトル・リンク） ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.section__title1 {
    width: fit-content;
    margin: 0 auto 2rem auto;
    background: var(--yellow__lite);
    padding: 0.2em 2em;
    position: relative;
}

.section__title1 h2 {
    letter-spacing: 0.1em;
}

.section__title1 img {
    position: absolute;
    width: 60%;
    bottom: -50%;
    left: 0;
    right: 0;
    margin: auto;
}

.section__title1::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0.5rem;
    left: 0.5rem;
    width: 100%;
    height: 100%;
    background: var(--yellow__heavy);
}

.section__title2 {
    font-size: clamp(1.2rem, 0.909rem + 1.45vw, 2rem);
    background: var(--green5);
    width: fit-content;
    padding: 0.2em 1em;
    letter-spacing: 0.05em;
    line-height: 1.4em;
    color: var(--white);
    margin-left: -1rem;
    border-radius: 0 4em 4em 0;
}

.info__caption {
    width: fit-content;
    border-radius: 2em;
    background: var(--yellow__heavy);
    padding: 0.2em 1em;
    letter-spacing: 0.1em;
    line-height: 1.4em;
    font-weight: 500;
    font-size: clamp(1.1rem, 0.845rem + 1.27vw, 1.8rem);
    text-align: center;
}

/* リンク */
.link__to__detail {
    width: calc(100% - 2rem);
    max-width: 800px;
    margin: 2em auto 0 auto;
    background: var(--green4);
    border-radius: 1rem;
    box-shadow: 0px 0px 10px var(--box__shadow);
    position: relative;
    transition: all 0.3s;
}

.link__to__detail:hover {
    box-shadow: none;
}

.link__to__detail .link__caption {
    width: fit-content;
    margin: -0.6em auto 0 auto;
    background: var(--yellow__heavy);
    padding: 0.1em 1em;
    color: var(--orange);
    border-radius: 2em;
    font-size: clamp(1.2rem, 0.982rem + 1.09vw, 1.8rem);
    letter-spacing: 0.1em;
}

.link__to__detail h4 {
    background: var(--green4);
    text-align: center;
    color: var(--white);
    letter-spacing: 0.1em;
    font-weight: 500;
    padding: 0.2em 2em 0.5em 2em;
    position: relative;
}

.link__to__detail h4 i {
    color: var(--orange);
    font-size: 2.5em;
    transform: rotate(-15deg);
    -webkit-text-stroke: 0.1em var(--green4);
    paint-order: stroke;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: question 1s ease-in-out infinite;
}

.link__to__detail:hover h4 i {
    animation: none;
}

@keyframes question {
    0% {
        transform: rotate(-15deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(-20deg);
    }

    100% {
        transform: rotate(-15deg);
    }
}

.link__to__detail .link__images {
    width: 100%;
    background: var(--green2);
    padding: 1rem;
    display: flex;
    gap: 1em;
    border-radius: 0 0 1rem 1rem;
}

.link__to__detail .link__images img {
    width: 100%;
    transition: all 0.3s;
}

.link__to__detail .link__images .img__wrap {
    overflow: hidden;
    width: 100%;
    border-radius: 1rem;
    ;
}

.link__to__detail:hover .link__images img {
    transform: scale(1.1);
}

.link__to__detail .button__arrow {
    width: 2.5rem;
    position: absolute;
    top: 2.5rem;
    right: -1.4rem;
    animation: arrow 1s ease-in-out infinite;
}

.link__to__detail:hover .button__arrow {
    animation: none;
}

@keyframes arrow {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateX(-0.2rem);
    }

    75% {
        transform: translateX(0.2rem);
    }

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

/* メインビジュアル部分＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.hidden__contents {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mv {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

.mv img {
    width: 100%;
}

.contact__button {
    width: fit-content;
    background: var(--button__gradient);
    padding: 0.3em 2em;
    font-size: clamp(1.2rem, 1.055rem + 0.73vw, 1.6rem);
    letter-spacing: 0.05em;
    border-radius: 0.5em;
    box-shadow: 0px 0px 10px var(--box__shadow);
    display: flex;
    gap: 0.5em;
    align-items: center;
    position: absolute;
    bottom: 1em;
    right: 1em;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--white);
}

.contact__button .button__arrow {
    width: 2rem;
    position: absolute;
    top: 0;
    right: -1rem;
    bottom: 0;
    margin: auto 0;
    animation: arrow 1s ease-in-out infinite;
}

.contact__button:hover {
    box-shadow: none;
    color: var(--gray);
}

.contact__button:hover .button__arrow {
    animation: none;
}

@keyframes arrow {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateX(-0.2rem);
    }

    75% {
        transform: translateX(0.2rem);
    }

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

/* お問い合わせ・見積もり */

.contact__line {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* コンティニュームのお問い合わせ */

.continewm__form__wrap {
    width: 100%;
    max-width: 800px;
    background: var(--base1);
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: 0px 0px 10px var(--box__shadow);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.continewm__form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
}

.continewm__form .orange {
    color: var(--orange);
}

.continewm__form__caption {
    background: var(--green__con);
    color: var(--white);
    margin: 0 auto;
}

.continewm__form__caption2 {
    width: fit-content;
    color: var(--orange);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.1em;
    background: var(--white);
    padding: 0.2em 1em;
    border-radius: 2em;
    margin: 0 auto;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    background: var(--white);
    padding: 0.5em;
    border-radius: 0.2em;
    margin-bottom: 0.5em;
}

.select__wrap {
    position: relative;
}

.select__wrap i {
    font-size: 2rem;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0.5em;
    margin: auto;
}

.submit__button {
    width: fit-content;
    padding: 0.2em 1em;
    background: var(--button__gradient);
    font-size: clamp(1.2rem, 1.055rem + 0.73vw, 1.6rem);
    letter-spacing: 0.1em;
    border-radius: 2em;
    box-shadow: 0px 0px 10px var(--box__shadow);
    margin: 0 auto;
    transition: all 0.3s;
    color: var(--white);
}

.submit__button:hover {
    color: var(--gray);
    box-shadow: none;
}

/* 送信結果のモーダル */

.contact__dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.contact__dialog__content {
    width: 100%;
    max-width: 800px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

.close__dialog {
    width: fit-content;
    margin: 0 auto;
    padding: 8px 16px;
    border: none;
    background: var(--green5);
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.close__dialog:hover {
    background: var(--green3);
}


/* お問い合わせのポップアップ */
.contact__pop {
    width: fit-content;
    max-width: 500px;
    margin: 0 auto;
    padding: 0.5em 2em;
    background: var(--white);
    border-radius: 10em;
    box-shadow: 0 0 10px var(--box__shadow);
    flex-direction: column;
    gap: 0.5rem;
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 9999;
    text-align: center;
    display: none;
    transition: all 0.3s;
}

.contact__pop__active {
    display: flex;
}

.contact__pop__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
}

.contact__pop i {
    font-size: clamp(2rem, 1.855rem + 0.73vw, 2.4rem);
}

.contact__pop i.phone {
    font-size: clamp(1.8rem, 1.691rem + 0.55vw, 2.1rem);
    transform: translateY(0.05em);
    color: var(--orange);
}

.contact__pop i.line {
    color: var(--line__green);
}

.contact__pop i.mail {
    color: var(--orange__lite);
}

/* レスポンシブ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

@media screen and (max-width: 768px) {
    .scroll__top img {
        width: 90px;
    }

    header .logo {
        padding: 1rem;
    }

    header .logo__header {
        opacity: 0;
    }

    header .logo img {
        width: 100px;
    }

    .header__inner {
        padding: 1rem;
    }

    .header__inner ul {
        flex-direction: column;
        border-radius: 1rem;
    }

    .header__inner ul li {
        width: 100%;
        text-align: center;
    }

    .footer__inner h2 img {
        width: 100%;
        max-width: 200px;
    }

    .section__title2 {
        padding: 0.2em 2em 0.2em 1em;
    }

    /* お問い合わせボタン */

    .contact__pop {
        left: 1rem;
        bottom: 1.5rem;
        margin: 0;
    }
}