@charset "utf-8";

/* ===================
common
==================== */
:root {
/* color */
--primary-turquoise: #00A9B2;
--second-white: rgba(255, 255, 255, 0.8);
--base-black: #333;
--base-white: #fdfdfd;
--bese-green: #3B9F57;
--base-lightgray: #eee;
--bg-green: rgba(78, 203, 113,0.1);
--bg-yellow: #FFFAED;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family:
     "Noto Sans JP";
     font-style: normal;
     font-weight: 400;
     line-height: 1.5;
     color: var(--base-black);
     background-color: var(--base-white);
}

/* section topic */
.section__topic {
    font-size: 3rem;
    font-weight: 700;
    font-family: "Zen Kaku Gothic New";
    line-height: normal;
    color: var(--primary-turquoise);
    text-align: center;
}

.section__topic span {
    position: relative;
    display: inline-block;
}

.section__topic span::after {
    content: "";
    position: absolute;
    display: block;
    width: 90%;
    height: 2px;
    background-color: var(--primary-turquoise);
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
}

/* br */
.br--pcOnly {
    display: none;
}

@media screen and (min-width:769px) {
    .br--pcOnly {
        display: block;
    }

    .br--spOnly {
        display: none;
    }

    .section__topic {
        font-size: 3.5rem;
    }
}



/* ===================
header
==================== */
.header {
    background-color: var(--primary-turquoise);
}

.header__inner,
.nav__header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-turquoise);
}

.header__left,
.nav__header {
    margin-left: 5%;
}

.header__btn,
.nav__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.header__btn {
    position: fixed;
    top: 10px;
    right: 10px;
    transition: 1s;
    z-index: 10;
}

.header__btn.hidden {
    opacity: 0;
    visibility: hidden;
    transition: 1s;
}

.header__btn.active {
    opacity: 1;
    visibility: visible;
    border-radius: 50%;
    box-shadow: 3px 3px 3px  var(--primary-turquoise);
    transition: 1s;
}

.nav__btn {
    margin-right: 10px;
}

.header__btn:hover,
.nav__btn:hover {
    opacity: 0.7;
    transition: 0.5s;
}

.header__topic:hover,
.nav__topic:hover {
    opacity: 0.7;
}

.header__topic img {
    margin-top: 4px;
}

.header__subtopic,
.nav__subtopic {
    color: var(--base-white);
    font-family: "Zen Kaku Gothic Antique";
    font-size: 1.6rem;
    font-weight: 500;
    line-height: normal;
}

.header__tel,
.headerContact__datetime {
    display: none ;
}

/* nav */
.nav__list {
    margin-top: 65px;
    margin-left: 14%;
}

.nav__list.active{
    position: fixed;
}

.nav__item {
    color: var(--base-white);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 48px;
}

.nav__item:hover {
    opacity: 0.7;
    cursor: pointer;
}

.nav__item::before {
    content:"";
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 3px;
    background-color: var(--base-white);
}

.nav__item::before {
    margin-right: 24px;
}

.nav__list--fixed {
    display: none;
}

.nav__btn img {
    width: 60px;
}

/* nav 初期表示*/
.nav {
    background-color: var(--primary-turquoise);
    width: 100%;
    height: 100vh;
    
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: 0.4s;
    z-index: 100;
}

.nav.active {
    transform: translateX(0);
}


/* header 769px~ */
@media screen and (min-width:769px) {
    .header {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .header:has(.active){
        padding-bottom: 62px;
    }

    .header__inner {
        height: 130px; 
        min-width: 769px;
    }

    .header__subtopic {
        font-size: 1.8rem;
        margin-left: 30px;
    }
    
    .header__topic img {
        width: 350px;
        margin-top: 8px;
    }

    .header__btn,
    .nav__header, 
    .nav__btn {
        display: none;
    }

    .header__contact {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-right: 4%;
    }

    /* .headerContact__wrapper {
        display: flex;
        align-items: center;
    } */

    .header__tel {
        display: flex;
        justify-content: center;
        /* align-items: flex-end; */
        align-items: center;
        gap: 10px;
        background-color: var(--base-white);
        width: fit-content;
        border-radius: 12px;
        padding: 6px 10px;
    }

    .header__tel p {
        color: #00A9B2;
        font-family: "Zen Kaku Gothic Antique";
        font-size: 2.4rem;
        line-height: 1;
        vertical-align: bottom;
        margin-top: 2%;
    }

    .header__tel img {
        height: 20px;
    }

    .headerContact__datetime {
        display: flex;
        flex-wrap: wrap;
        width: 185px;
        margin: 0 auto;
    }

    .headerContact__datetime dt,
    .headerContact__datetime dd {
        color: var(--base-white);
        font-size: 1.8rem;
    }

    .headerContact__datetime dt {
        width: 75px;
        font-weight: 400; 
    }

    .headerContact__datetime dd {
        width: calc(100% - 75px );
    }

    .headerContact__datetime dd::before {
        content: "：";
    }
}


    /* nav 769px~ */
@media  screen and (min-width:769px) {
    .nav {
        background-color: var(--base-white);
        height: unset; 
        position: static;
        transform: none;

    }
    
    .nav__list {
        margin: 0;
        padding: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        /* nav__list-- メニュー動き */
        z-index: 100;
        width: 100%;
        top: -65px;
        transition: top 0.5s ease;
    }

    .nav__list.active {
        background-color: var(--base-lightgray);
        box-shadow: 1px 1px 1px #ccc;
        position: fixed;
        top: 0;
    }

    .nav__item {
        color: var(--base-black);
        margin: 0;
        font-size: 1.6rem;
        font-weight: 400;
        padding: 10px 15px;
        position: relative;
    }

    .nav__item:hover {
        opacity: 1;
    }
    
    /* nav__item　枠線動き */
    .nav__item::before {
        position: absolute;
        background-color: var(--primary-turquoise);
        width: 0;
        height: 2px;
        transition: all 0.2s linear;
    }

    .nav__item::before {
        right: 0;
        bottom: 0;
        margin-right: 0;
    }

    .nav__item span {
        display: block;
    }

    .nav__item span::before,
    .nav__item span::after {
        content: "";
        position: absolute;
        background-color: var(--primary-turquoise);
        width: 2px;
        height: 0;
        transition: all 0.1s linear;
    }

    .nav__item span::before {
        left: 0;
        bottom: 0;
    }

    .nav__item span::after {
        right: 0;
        top: 0;
    }

    .nav__item:hover::before,
    .nav__item:hover::after {
        width: 100%;
    }

    .nav__item:hover::after {
        transition-delay: 0s;
    }

    .nav__item:hover::before {
        transition-delay: 0.3s;
    }

    .nav__item:hover span::before,
    .nav__item:hover span::after {
        height: 100%;
    }

    .nav__item:hover span::before {
        transition-delay: 0.5s;
    }

    .nav__item:hover span::after {
        transition-delay: 0.2s;
    }
}

/* header  940px~ */
@media screen and (min-width:940px) {
    .header__inner{
        max-width: 1200px;
        width: 100%;
    }

    .header__contact {
        flex-direction: row;
        gap: 20px;
    }
    
    .header__tel {
        height: 64px;
        border-radius: 12px;
    }

    .header__tel img {
        height: 28px;
    }

    .header__tel p {
        font-size: 3.2rem;
    }

    .nav__item {
        font-size: 1.8rem;
    }
}

/* header  1280px~ */
@media screen and (min-width:1280px) {
    .header__left {
        margin-left: 0;
    }

    .header__contact {
        margin-right: 0;
    }
}
/* ===================
main
==================== */

/*=============
 mainviual
 =============  */
.mainVisual {
    max-width: 1200px;
    margin: 0 auto;
}

.sliser-item {
    position: relative;
    z-index: 10;
}

.slider-item::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
}

/* 背景色を追加したい場合 */
.slider-item.has-background::after {
    background-color: #000;
    opacity: 0.15;
}

.slider-item h2 {
    font-size: 5vw;
    color: var(--base-white);
    letter-spacing: 1.8px;
    line-height: 1.6;
    text-shadow: rgb(10, 10, 10) 1px 0 10px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    z-index: 12;
}

.slider-item h3 {
    font-size: 3.5vw;
    color: var(--base-white);
    letter-spacing: 1.2px;
    line-height: 1.4;
    text-shadow: rgb(10, 10, 10) 1px 0 8px;
    text-align: center; 
    width: 100%;
    max-width: 100%;
    z-index: 12;
    margin-top: 0.3em;
    background-color: rgba(255,165,0);
    padding: 0.3em 0.5em;
    display: inline-block;
}

.slider-item--01  {
    position: relative;
}

.slider-item--02 {
    position: relative;
}

.slider-item--03 {
    position: relative;
}

.slider-item--01 h2 {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
}

.slider-item--01 h3 {
    position: absolute;
    top: 65%; 
    left: 50%;
    transform: translateX(-50%);
}

.slider-item--02 h2 {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
}

.soudannin img {
    display: block;
    width: 100%;
    max-width: 170px;
    padding: 10px;
    position: absolute;
    right: 5%;
    bottom: 5%;
    background-color: rgba(255,255,255,0.7);
    z-index: 12;
}

 /* スライダー */
.slider {
    display: none;
}

.slider.slick-initialized {
    display: block;
}

.slick-slider {
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.slide-dots {
    margin: 8px 0;
    padding: 0;
    text-align: center;
}

.slide-dots li {
    display: inline-block;
    margin: 0 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #969494;
    color: transparent;
}

.slide-dots li button:focus-visible {
    outline: none;
}

.slide-dots li:hover {
    opacity: 0.7;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

.slide-dots .slick-active  {
    background-color: #00A9B2;
}


.slider__img--pc {
    display: none!important;
}

.slider__img--sp {
    width: 100%;
}


/* mainVisual 769px~ */
@media screen and (min-width:769px) {
    .slider__img--sp {
        display: none!important;
    }

    .slider__img--pc {
        display: block!important;
        width: 100%;
        max-width: 1200px;
    }

    .slider-item h2 {
        width: unset;
        font-size: clamp(2rem, 0.108rem + 1.86vw, 3.2rem);
        text-align: center;
    }
        
    .slider-item--01 h2 {
        text-align: left;
        top: 10%;
        left: 5%;
        transform: unset;
    }

    .slider-item h3 {
        width: unset;
        font-size: 1.3vw;
        text-align: center;
        margin-top: 0.3em;
    }

    .slider-item--01 h3 {
        position: absolute;
        top: 43%;
        left: 5%;
        transform: unset;
    }
}
    .slider-item--02 h2 {
        text-align: right;
        top: 10%;
        right: 5%;
        left: unset;
        transform: unset;
    }

    .soudannin img {
        width: 20%;
        max-width: 240px;
        right: 3%;
        bottom: 5%;
    }


/* impNews */
.maker,
.campaign {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.maker {
    gap: 40px;
}

.maker img {
    width: 100%;
    max-height: 38px;
}

.campaign {
    gap: 20px;
    flex-direction: column;
    margin-bottom: 48px;
}

.campaign img {
    width: 100%;
    max-width: 343px;
}

.campaign img:hover {
    cursor: pointer;
    opacity: 0.7;
}

/* impNews 769px~ */
@media screen and (min-width:769px) {
    .impNews {
        width: 100%;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
    }

    .campaign {
        flex-direction: row;
        justify-content: space-between;
    }

    .campaign img {
        max-width: 579px;
    }
}

/*==============
 worry
 ============== */
.section--worry {
    background-color: var(--bg-green);
    padding: 48px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.worry__img--pc {
    display: none;
}

.worry__img--sp {
    padding: 24px 8px;
    max-width: 520px;
}

.panel--worry {
    width: 92%;
    max-width: 343px;
    margin: 0 auto;
}

.worry__topic {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    color: var(--base-white);
    background-color: var(--primary-turquoise);
    height: 94px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    vertical-align: middle;
    line-height: 37px;
    padding: 10px 0;
}

.worry__img {
    text-align: center;
    margin: 24px 0;
}

.worry__img img {
    width: 100%;
}

.panel--worry {
    display: none;
    text-align: center;
    background-color: var(--base-white);
}

.panel--worry.active {
    display: block;
}

.worry__desc {
    padding: 20px;
}

.worry__desc img {
    width: 100%;
    max-width: 303px;
}

.worry__txt {
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0.9px;
    text-align: left;
    padding-top: 20px;
}

    /* tab */
.tabArea--worry {
    display: flex;
    gap: 10px;
    margin: 34px auto 0;
    justify-content: center;
}

.tab--worry {
    padding: 5px;
    text-align: center;
    font-size: 1.8rem;
    line-height: normal;
    letter-spacing: 1.8px;
    color: var(--primary-turquoise);
    width: 100px;
    border: 2px solid var(--primary-turquoise);
    border-radius: 8px;
    justify-content: center;
    cursor: pointer;
}

.tab--worry:hover {
    opacity: 0.7;
}

.tab--worry.active {
    background-color: var(--primary-turquoise);
    color: var(--base-white);
}

/* worry 769px~ */
@media screen and (min-width:769px) {
    .section--worry {
        padding: 96px 0;
    }

    .wrapper--worry {
        max-width: 1200px;
    }

    .worry__img--pc {
        display: block;
        margin-top: 48px;
    }

    .worry__img--sp {
        display: none;
    }

    .worry__topic {
        height: 128px;
        display: flex;
        justify-content: center;
        align-items: center;      
    }

    .worry__img img {
        width: 80%;
    }
}

/* worry 1000px~ */
@media screen and (min-width:1000px) {
    .panelArea--worry {
        display: flex;
        gap: 30px;
        margin: 0 20px;
    }

    .panel--worry {
        display: block;
        flex: 1;
        width: auto;
    }

    .tabArea--worry {
        display: none;
    }
}


/*============
 service
 ============ */
.section--service {
    background-color: var(--bg-yellow);
    padding: 48px 0;
}

.section__subTopic--service {
    text-align: center;
    font-family: "Zen Kaku Gothic New";
    font-size: 2rem;
    font-weight: 700;
    line-height: normal;
    margin-top: 12px;
}

.clickGuide {
    text-align: center;
    font-family: "Zen Kaku Gothic New";
    font-size: 1.4rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.4px;
    margin-top: 36px;
}

.clickGuide::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top: 15px solid var(--primary-turquoise);
    opacity: 0.52;
    border-bottom: 0;
    margin-left: 10px;
}

/* タブ×スクロール */
.tabArea__group--service {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
}

.tabArea--service {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tab--service {
    padding: 4px;
    border: 1px solid var(--primary-turquoise);
    background-color: var(--base-white);
    cursor: pointer;
    border-radius: 22px;
    outline: none;
    width: 100px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 2px -1px #888;
}

.tab--service:hover {
    opacity: 0.7;
}

.tab--service.active {
    background-color: var(--primary-turquoise);
    color: var(--base-white);
}

.tab--service.active  {
    box-shadow: unset;
}

.tab--service.active img {
    box-shadow: unset;
}

.tab--service img {
    display: none;
}

.scroll-wrapper {
    overflow-x: auto;
    text-align: center;
}

.scroll-container {
    display: inline-flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    gap:20px;
}

.scroll-item {
    flex: 0 0 auto;
    width: 343px;
    border: 3px solid var(--bese-green);
    border-radius: 14px;
    background-color: var(--base-white);
    padding: 14px 24px 24px;
    display: flex;
    flex-direction: column;
}

.scroll-item figure {
    margin-top: 8px;
}

.scroll__itemImg {
    border-radius: 9.55px;
}

.scroll-item.active {
    display: flex;
}

.scroll-item.hidden {
    display: none;
}

.service__contents {
    padding-bottom: 24px;
}
.service__message {
    margin-top: auto;
    font-size: 1.6rem;
    padding: 12px 18px;
    background-color: var(--base-lightgray);
    text-align: center;
}

.service__info {
    margin-top: auto;
    /* text-align: center; */
}

/* テーブル */
.service__table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.service__table th, .service__table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.service__table thead th {
    text-align: center;
}

.service__table th {
    background-color: var(--base-lightgray);
    font-weight: bold;
    font-size: 1.4rem;
}

.service__table td {
    font-size: 1.4rem;
}

.table__cost,
.table__size,
.table__time {
    text-align: left;
}

.service__topic {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.service__topic figure {
    margin-top: 0;
}

.service__topic img {
    width: 42px;
    height: 34px;
}

.service__topic--exterior img {
    width: 46px;
    height: 36px;
}

.service__topic--others img {
    width: 32px;
    height: 36px;
}

.service__topic h4 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: normal;
}

.service__txt {
    font-size:1.6rem;
    line-height: 1.7;
    letter-spacing: 0.8px;
    text-align: justify;
    margin-top: 16px;
}

.service__bikou {
    margin: 8px 0 0 8px;
    font-size: 1.2rem;
    text-align: left;

}

.service__bikou span {
    text-decoration: underline;
}

.service__table--bathroom td {
    width: 50%;
}

.service__group {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.service__before,
.service__after  {
    position: relative;
}

.service__before,
.service__after {
    flex: 1;
}

.service__before p,
.service__after p {
    font-size: 1.2rem;
    color: var(--base-white);
    text-align: center;
    line-height: normal;
    letter-spacing: 0.6px;
    padding: 2px 13px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--primary-turquoise);
    border-top-right-radius: 9.55px;
    border-bottom-left-radius: 9.55px;
}

.service__group figure {
    display: flex;
}

.service__txt--center {
    font-size: 1.6rem;
    text-align: center;
    margin-top: 16px;
}

.service__txt:nth-of-type(2) {
    margin-top: 24px;
}

.service__txt--listed {
    margin-left: 24px;
}

.service__txt--listed li {
    position: relative;
}

.service__txt--listed li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    background-color: var(--base-black);
    top:12px;
    position: absolute;
    left:-12px;
    top: 50%;
    transform: translateY(-50%);
}

.scroll__itemImg {
    width: 100%;
}

.scroll__itemImg--BA {
    max-width: 142px;
    width: 100%;
    height: 141.25px;
    border-radius: 9.55px;
}

.scroll__itemImg--banner {
    text-align: center;
    margin-top: 48px;
    max-width: 218px;
    display: inline-block;
    cursor: pointer;
}

.scroll__itemImg--banner:hover {
    opacity: 0.7;
}

/* service 769px~ */
@media screen and (min-width:769px) {
    .section--service {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 96px 0;
    }

    .wrapper--service {
        max-width: 1200px;
        margin: 0 50px;
    }

    .section__subTopic--service {
        font-size: 2.5rem;
        margin-top: 20px;
    }

    .tab--service {
        border: none;
        width: unset;
        background-color: unset;
        box-shadow: none;
    }

    .tab--service span {
        display: none;
    }

    .tab--service.active {
        background-color: unset;
        color: unset;
    }

    .tab--service.active .off{
        display: none;
    }

    .tab--service .on{
        display: none;
    }

    .tab--service.active .on{
        display: block;
    }

    .tab--service img {
        display: inline-block;
        width: 100%;
        max-width: 100px;
        border: solid 3px var(--primary-turquoise);
        border-radius: 12px;
        box-shadow: 1px 2px 2px 1px #888;
    }

    .tab--service.active img {
        border-radius: 20px;
        background-color: var(--primary-turquoise);
    }

    .tabArea__group--service {
        max-width: unset;
    }

    .tabArea--service {
        flex-wrap: nowrap;
    }

}

/*============
 flow
 =========== */
.section--flow {
    background-color: var(--bg-green);
    padding: 48px 0;
}

.flow__list {
    margin: 40px auto 0; 
    width: 100%;
    max-width: 260px;
}

.flow__item {
    width: 100%;
    margin-top: 28px;
    gap: 30px;
    position: relative;
    padding-bottom: 50px;
}

.flow__item:last-of-type {
    padding-bottom: 0;
}

.flow__topic {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    font-size: 2rem;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 4px;
}

.flow__topic::before {
    content: "";
    display: inline-block;
    background-color: var(--primary-turquoise);
    width: 42px;
    height: 42px;
    font-size: 2.4rem;
    line-height: 1.75;
    font-weight: 500;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    color: var(--base-white);
    margin-right: 26px; 
}

.flow__topic--01::before {
    content: "1";
}

.flow__topic--02::before {
    content: "2";
}

.flow__topic--03::before {
    content: "3";
}

.flow__topic--04::before {
    content: "4";
}

.flow__topic--05::before {
    content: "5";
}

.flow__topic--06::before {
    content: "6";
}

.flow__item::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border: 17.5px solid transparent;
    border-top: 24px solid var(--primary-turquoise);
    opacity: 0.52;
    border-bottom: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.flow__item:last-of-type::after {
    display: none;
}

.flow__txt {
    font-size: 1.6rem;
    letter-spacing: 0.9px;
    margin-top: 20px;
}

.flow__spObj {
    display: block;
}

.flow__spObj img {
    width: 100%;
}

.flow__pcObj {
    display: none;
}



/* flow 769px~ */
@media screen and (min-width:769px) {
    .section--flow {
        padding: 96px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .wrapper--flow {
        max-width: 1200px;
        margin: 0 auto;
    }

    .flow__list {
        max-width: 580px;
    }

    .flow__item {
        display: flex;
        padding-bottom: 65px;
    }

    .flow__spContents {
        width: calc(100% - 260px - 30px)
    }

    .flow__spObj {
        display: none;
    }

    .flow__pcObj {
        display: block;
    }

    .flow__pcObj img {
        width: 260px;
    }

}

/*==============
 contact
 =============== */
.section--contact {
    background-color: var(--bg-yellow);
    padding: 48px 0;
}

.section__subtopic--contact {
    text-align: center;
    color: var(--primary-turquoise);
    font-family: "Zen Kaku Gothic New";
    font-size: 2rem;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 12px;
}

.contact__datetime {
    width: 200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    margin-top: 52px;
}

.contact__datetime dt {
    width: 65px;
    font-size: 1.6rem;
    font-weight: 400;
}

.contact__datetime dt:last-of-type {
    letter-spacing: 5px;
}

.contact__datetime dd {
    width: calc(100% - 65px);
    font-size: 1.6rem;
}

.contact__datetime dd::before {
    content:"：";
}

.telBtn,
.contact__form {
    display: flex;
    justify-content: center;
    background-color: var(--base-white);
    
    max-width: 260px;
    padding: 20px 10px;
    margin: 8px auto 0;
    border: 3px solid var(--bese-green);
    border-radius: 12px;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.contact__form {
    margin-top: 48px;
    cursor: pointer;
}

.telBtn:hover,
.contact__form:hover {
    opacity: 0.7;
}

.telBtn img {
    width: 20px;
    height: 20px;
}

.telNumber,
.contact__form p {
    font-size: 2rem;
    font-weight: 700;
    line-height: normal;
    margin-left: 10px;
}

.contact__form img {
    width: 20px; 
    height: 20px;
}

.contact__form figure,
.telBtn figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* contact 769px~ */
@media screen and (min-width:769px) {
    .section--contact {
        padding: 96px 0;
    }
}


/* contact 850px~ */
@media screen and (min-width:850px) {
    .contact__group {
        display: flex;
        gap: 60px;
        justify-content: center;
        align-items: center;
        margin-top: 64px
    }

    .contact__form,
    .contact__tel {
        margin: 0;
        width: 100%;
        max-width: 400px;
    }

    .telBtn {
        max-width: 400px;
        background-color: unset;
        width: 100%;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
    }

    .telNumber {
        font-size: 4rem;
    }

    .contact__datetime {
        margin: 0 auto;
        flex-wrap: nowrap;
        width: fit-content;
    }

    .contact__datetime dt:last-of-type {
        margin-left: 10px;
        letter-spacing: 0 ;
    }

    .contact__datetime dt,
    .contact__datetime dd {
        width: auto;
    }

    .telBtn img {
        width: 40px;
        height: 40px;
    }
    
    .contact__datetime dd::before {
        width: fit-content;
    }

    .contact__form p {
        font-size: 3rem;
    }
    
    .contact__form img {
        width: 40px; 
        height: 40px;
    }
}


/*============
 news
 ============ */
.section--news {
    background-color: var(--base-white);
    padding: 48px 0;
}

.news__list {
    width: 85%;
    max-width: 450px;
    margin: 48px auto 0;
}

.news__date {
    font-size: 1.4rem;
    line-height: normal;
    font-weight: 400;
    color: gray;
    margin-top: 16px;
}

.news__txt {
    font-size: 1.6rem;
    line-height: normal;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--primary-turquoise);
}

/* news 769px~ */
@media screen and (min-width:769px) {
    .section--news {
        padding: 96px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .wrapper--news {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .news__list {
        max-width: 700px;
        display: flex;
        flex-wrap: wrap;
    }

    .news__date {
        width: 140px;
        padding: 24px;
        margin: 0;
        border-bottom: 1px solid var(--primary-turquoise);
        font-size: 1.6rem;
    }

    .news__txt {
        display: inline-block;
        width: calc(100% - 140px);
        padding: 24px;
        font-size: 1.8rem;
    }
}



/*============
 company
 ============= */
.section--company {
    background-color: var(--base-white);
    padding: 0 0 48px;
}

.section--company img {
    display: block;
    padding: 0 16px;
    margin: 54px auto 24px;
    width: 100%;
    max-width: 400px;
}


.section--company dl {
    width: 85%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
}

.section--company dt {
    width: 25%;
    margin: 0;
    padding: 1em 1em 1em 0;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.6rem;
    display: flex;
    align-items: center;
}

.section--company dd {
    width: 75%;
    margin: 0;
    padding: 1em 1em 1em 0;
    border-bottom: 1px solid #ccc;
    line-height: 1.8;
    font-size: 1.8rem;
}

.Daiki-Axis {
    text-align: center;
    margin-top: 48px;
}

.Daiki-Axis img {
    width: 100%;
    max-width: 155px;
    display: inline-block;
    margin: 0 0 10px 0;
}

.Daiki-Axis p {
    font-size: 1.8rem;
    text-align: center;
}

/* company 769px~ */
@media screen and (min-width:769px) {
    .section--company {
        padding: 0 0 96px;
    }

    .Daiki-Axis img {
        max-width: 200px;
    }

    .Daiki-Axis {
        margin-top: 64px;
    }
}

/* ===================
ボタン
==================== */
.button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0 0;
}

/* ボタンのデザイン */
.btn,
a.btn {
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
    border: 1px solid #3b9f57;
    background: #fff;
    transition: all 0.3s;
}

a.btn:hover {
    color: #fff;
    background: #3b9f57;
}

p.btn_txt {
    font-size: 1.6rem;
    line-height: 1.7;
    letter-spacing: 0.8px;
    text-align: center;
    margin-top: 12px;
}

/* ===================
footer
==================== */
.footer {
    padding: 24px 0;
    background-color: var(--primary-turquoise);
    color: var(--base-white);
} 

.footer--hagio p,
.footer--hagio small {
    text-align: center;
    font-size: 1.6rem;
    line-height: 24px;
}
/* topBtn  contactBtn*/
.topBtn,
.contactBtn--sp {
    display: inline-block;
    position: fixed;
    bottom: 1.4%;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: 1s;
}

.topBtn {
    right: 0;
}

.contactBtn--sp {
    left: 1.4%;
}

.contactBtn--sp img {
    height: 60px;
}

.topBtn.active,
.contactBtn--sp.active {
    opacity: 1;
    visibility: visible;
    transition: 1s;
}

.topBtn.active:hover,
.contactBtn--sp.active:hover {
    opacity: 0.7;
    transition: 0.5s;
}

.contactBtn--pc {
    display: none;
}
/* footer 769px~ */
@media screen and (min-width:769px) {
    .footer--hagio div {
        display: flex;
        justify-content: center;
        gap: 24px;
    }
}

/* contactBtn--sp 1360px~ */
@media screen and (min-width: 1360px) {
    .contactBtn--sp {
        display: none;
    }

    .contactBtn--pc {
        display: inline-block;
        height: fit-content;
        position: fixed;
        bottom: 1.4%;
        cursor: pointer;
        z-index: 10;
        opacity: 0;
        visibility: hidden;
        transition: 1s;
        top: 20%;
        right: 0;
    }

    .contactBtn--pc.active {
        opacity: 1;
        visibility: visible;
        transition: 1s;
    }

    .contactBtn--pc.active:hover {
        opacity: 0.7;
        transition: 0.5s;
    }

    .contactBtn--pc img {
        width: 80px;
    }
}

/* モーダル　問い合わせ */
.modal {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* 背景を半透明に */
}

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

/* モーダルコンテンツのスタイル */
.modal__content {
    position: relative;
    background-color: #fdfdfd;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
}

/* 閉じるボタンのスタイル */
.closeBtn {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

.closeBtn:hover,
.closeBtn:focus {
    color: #000;
    cursor: pointer;
}

.modal .section__topic--contact {
    font-size: 2.4rem;
}

.modal .section__subtopic--contact {
    font-size: 1.6rem;
}

/* modal 850px~ */
@media screen and (min-width:850px) {
    .modal .section__topic--contact {
        font-size: 3rem;
    }    
    
    .modal .section__subtopic--contact {
        font-size: 2rem;
    }

    .modal .contact__group {
        flex-direction: column;
    }

    .modal .contact__form p {
        font-size: 3rem;
    }
}

/* modal 1000px~ */
@media screen and (min-width:1000px) {
    .modal .contact__group {
        flex-direction: row;
    }
}
