@charset "utf-8";
/*=========================
header
=========================*/
/* .header PC 360 -  */

.header {
    position: fixed;        
    width: 100%;
    height: 60px;
    background-color: var(--primary-white, #FFFFFF);
    top: 0;
    left: 0;
    z-index: 100;
}

/* .nav初期表示 */
.nav {
    opacity: 0.96;
    background-color: var(--primary-pastelblue-full, #49BDF0);
    width: 100%;
    height: 200vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

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

.header__waku {
    display: flex;
    flex-direction: row;
}

.nav__header {
    display: flex;
    align-items: flex-end;
}

.header__logo0,
.nav__logo0 {
    display: flex;
    padding: 19px 0 0 16px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.header__logo,
.nav__logo {
    width: 48px;
    height: 26px;
    max-width: 100%;
    display: block;
}

.header__topic {
    display: none;
}

.header__title0,
.nav__title0 {
    display: flex;
    padding: 27px 0 0 18px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.header__title,
.nav__title {
    width: 211px;
    height: 18px;
    max-width: 100%;
    display: block; 
    padding-bottom: 5px;   
}

.header__btn0,
.nav__btn0 {
    position: absolute;
    top: 25px;
    right: 8%;
}

.header__btn,
.nav__btn {
    display: block;    
    width: 30px;
    height: 20px;
    cursor: pointer;    
}

.nav__hr{
        display: block;
        border-top: 1px solid var(--primary-black, #000000); 
        margin-top: 15px;
    }

.nav__list {
    display: flex;
    padding-top: 34px;
    padding-left: 40px;
    gap: 32px;
}

.nav1__list,
.nav2__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nav1__list {
    padding-top: 6px;
}

.nav1__item1 {
    width: 32px;
    height: 36px;
}

.nav1__item2 {
    width: 36px;
    height: 31px;
}

.nav1__item3 {
    width: 35px;
    height: 35px;
}

.nav1__item4 {
    width: 36px;
    height: 30px;
    padding-top: 2px;
}

.nav1__item5 {
    width: 36px;
    height: 30px;
}

.nav2__item {
    color: var(--primary-darkblue, #09579E);
    font-family: "Noto Serif JP";
    font-size: 3.2rem;
    font-weight: 700;
    line-height: normal;
    height: 32px;
}

/* --------------------------------------------------------------------- */
/* .header pc 1025 - */
@media screen and (min-width: 1025px) {
    .header {
        height: 120px;
    }  

    .header__waku {
        display: flex;
        flex-direction: row;
        /* margin-top: 10px; */
        align-items: center;  
        width: 86%;                
    }  

    .header__item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 0 9.8% 0 0;        
    }

    .header__logo0,
    .nav__logo0 {
        margin: 0 0 0 14.7%;
    }

    .header__logo,
    .nav__logo {
        width: unset;
        height: unset;
    } 

    .header__topic {
        display: inline;
        color: var(--primary-raddishbrown, #772B01);
        font-family: "Noto Serif JP";
        font-size: 1.6rem;
        font-weight: 700;
        line-height: normal;
    }

    .header__title0,
    .nav__title0 {
        padding: 30px 0 10px 35px;
        gap: 10px;
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    .header__title,
    .nav__title {
        width: 498px;
        height: 31px;
    }

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

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translate(0);
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        width: 440px;
        gap: 4px;     
    }


    .nav1__list {
        flex-direction: row;
        gap: 40px;
    }

    .nav2__list {
        flex-direction: row;
        gap: 20px;
    }

    .nav1__item1 {
        width: 24px;
        height: 27px;
        margin-left: 10px;
    }

    .nav1__item2 {
        width: 28px;
        height: 24px;
        margin-left: 6px;
    }

    .nav1__item3 {
        width: 29px;
        height: 29px;
        margin-left: 6px;        
    }

    .nav1__item4 {
        width: 25px;
        height: 20px;
        margin-left: 20px;          
    }

    .nav1__item5 {
        width: 27px;
        height: 22px;
        margin-left: 36px;          
    }

    .nav2__item {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: normal;
    }
}

/*=========================
main
=========================*/
.main {
    background: var(--primary-lightyellow, #FFFFFA);
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;    
    box-sizing: border-box;
}

.airticle {
    position: relative;
}

.mainTitle__lp {
    display: none;
}

.mainTitle__sp {
    width: calc(100% - 32px); 
    height: 53px;
    top: 80px;
    margin: 0 16px;
    position: absolute;
    z-index: 10;
}

.mainTitle__name {
    display: flex;
    width: 100%;
    justify-content: center;
    color: var(--primary-darkblue, #09579E);
    font-size: 2rem;
    font-weight: 700;
    line-height: normal;
    position: absolute;
    top: 90px;
    z-index: 20;
}

.mainTopics {
    padding-bottom: 380px;
}

.inquiry__form {
    width: 100%;
}

.inquiry {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 32px);    
    background: var(--primary-pastelblue, rgba(73, 189, 240, 0.20));
    position: relative;
    top: 165px;
    left: 16px;
}

.inquiry__topic1 {
    display: flex;
    flex-direction: row;
    gap: 42px;    
    padding: 32px 0 0 10px;  
}

.inquiry__topic2,
.inquiry__topic3,
.inquiry__topic4 {
    display: flex;
    flex-direction: row;
    gap: 42px;    
    padding: 20px 0 0 10px;  
}

.inquiry__topic5 {
    display: flex;
    flex-direction: row;
    gap: 42px;    
    padding: 15px 0 0 10px;  
}

.inquiry__topic6 {
    display: flex;
    flex-direction: row;
    gap: 42px;    
    padding: 30px 0 0 10px;  
}

.inquiry__input1,
.inquiry__input2,
.inquiry__input3,
.inquiry__input4 {
    width: 93.8%;
    height: 24px;
    background: var(--primary-white, #FFFFFF);
    margin: 10px 0 0 11px;
    padding-left: 8px;
}

.inquiry__input5 {
    width: 93.8%;
    height: 118px;
    background: var(--primary-white, #FFFFFF);
    margin: 10px 0 0 11px;
    padding-left: 8px;
}

/*  お問い合わせの選択　*/
.custom-select {
    width: 93.8%;
    height: 24px;
    position: relative;
    font-family: "Noto Serif JP"; 
    font-size: 1.2rem;   
    font-weight: 300;
    line-height: normal;      
    margin: 10px 0 0 11px;
}

.custom-select::after {
  content: "〈";              /* ここでマークを変更 */
  font-size: 1.4rem;
  color: var(--primary-black, #000000);
  position: absolute;
  right: 10px;
  top: 65%;
  transform: translateY(-50%) rotate(270deg); /* 90度回転 */
  pointer-events: none;       /* クリックに干渉しない */
}

.custom-select .selected {
    background: var(--primary-white, #FFFFFF);
    height: 24px;
    padding: 3px 8px;
    cursor: pointer;
}

.custom-select .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #aaa;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.custom-select .options div {
  padding: 8px;
  cursor: pointer;
}

.custom-select .options div:hover {
  background: #cce5ff; /* ホバー時の色 */
}

.inquiry__message {
    color: var(--primary-black, #000000);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: normal;  
}

.markWaku {
    display: flex;
    width: 40px;
    height: 16px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: var(--primary-red, #FF0000);
    margin-top: 4px;
}

.mark {
    color: var(--primary-white, #FFFFFF);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 2.2px;   
    padding: 0 0 2px 2px; 
}

.scroll__waku {
    width: 93.5%;
    height: 200px;
    background-color: var(--primary-white, #FFFFFF);
    margin: 10px 0 0 11px;  
    position: relative;      
}

.scroll__container {
    display: flex;
    width: 100%;
    height: 200px;    
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
    position: absolute;
}

.scroll__content {
  flex: 1;
  width: calc(100% - 20px); /* スクロールバー用に少し幅を削る */
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  padding-right: 16px;
}

.inner {
    color: var(--primary-black, #000000);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: normal;    
}

.scroll__content::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.scroll__btn {
  background: none;
  border: none;
  cursor: pointer;
}

.scroll__btn.up {
  padding: 0 3px 0 0;       
}

.scroll__btn.down {
  padding: 0 3px 6px 0;       
}

.scroll__btn img {
  width: 8px;
  height: 8px;
}

/* カスタムスクロールバー */
.scrollbar {
  position: absolute;
  top: 19px; /* 上ボタンの下 */
  bottom: 20px; /* 下ボタンの上 */
  right: 3px;
  width: 8px;
  background-color: var(--primary-gray, #D9D9D9);
}

.thumb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px; /* 初期サイズ（後で計算で調整可） */
  background: #888;
  cursor: grab;
}

.policy__waku {
    padding-top: 30px;
}

.agree__box {
    box-sizing: border-box;
    display: inline-block;
    padding: 0 0 3px 30px;
    position: relative;
    width: auto;
    opacity: 0.4;
    cursor: not-allowed;
    color: var(--primary-black, #000000);
    font-family: "Noto Serif JP";
    font-size: 1.5rem;
    font-weight: 500;
    line-height: normal;        
}

.agree__boxOn {
    box-sizing: border-box;
    display: inline-block;
    padding: 0 0 3px 30px;
    position: relative;
    width: auto;
    opacity: 1;
    cursor: pointer;
    color: var(--primary-black, #000000);
    font-family: "Noto Serif JP";
    font-size: 1.5rem;
    font-weight: 500;
    line-height: normal;         
}

.agree__box::before, 
.agree__boxOn::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}

.agree__box::after,
.agree__boxOn::after {
    border-right: 3px solid #00cccc;
    border-bottom: 3px solid #00cccc;
    content: '';
    display: block;
    height: 20px;
    left: 9px;
    margin-top: -16px;
    opacity: 0;
    position: absolute;
    top: 45%;
    transform: rotate(45deg);
    width: 9px;
}

input[type=checkbox]:checked + .agree__boxOn::before {
    border-color: #666;
}

input[type=checkbox]:checked + .agree__boxOn::after {
    opacity: 1;
}

.icon__image {
    width: 220px;
    height: 40px;
    border-radius: 50px;
}

.send__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    padding: 32px 0;
}

.submitBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------- */
/* .header pc */
@media screen and (min-width: 1025px) {

    .airticle {
        box-sizing: border-box;
        width: 100%;
        max-width: 1440px;
        margin: 0 auto; 
        position: relative;              
    }

    .mainTitle__sp {
        display: none;
    }

    .mainTitle__lp {
        display: flex;
        width: 80.5%;
        height: 106px;
        top: 160px;
        margin: 0 9.8%;
        position: relative;
        z-index: 10;
    }

    .mainTitle__name {
        font-size: 4.8rem;
        top: 170px;
        z-index: 20;
    }  

    .mainTopics {
        padding-bottom: 454px;
    }

    .inquiry {
        width: 80.5%;
        padding: 60px 1.7% 90px 3.1%;
        margin: 0 9.8%;
        top: 220px;
        left: unset;
    }  

    .input__form {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .input__form1,
    .input__form2,
    .input__form3,
    .input__form4,
    .input__form5 {
        display: flex;
        flex-direction: row;
    }

    .inquiry__message {
        width: 264px;
        font-size: 2.4rem;
        font-weight: 700;
    }

    .markWaku {
        display: flex;
        width: 53px;
        height: 21px;
        border-radius: 5px;
        background: var(--primary-red, #FF0000);
        margin-top: 4px;
    }

    .mark {
        font-size: 1.4rem;
        letter-spacing: 2.8px;   
        padding: 0 0 2px 2px; 
    }

    .inquiry__topic1,
    .inquiry__topic2,
    .inquiry__topic3,
    .inquiry__topic4 {
        gap: 80px;    
        padding: unset;
    }

    .inquiry__topic5 {
        padding: unset;
    }

    .inquiry__topic1,
    .inquiry__topic2,
    .inquiry__topic3,
    .inquiry__topic4,
    .inquiry__topic5 {
        padding-top: 18px;
    }

    .inquiry__topic6 {
        display: flex;
        flex-direction: row;
        gap: 42px;    
        padding: 40px 0 0 0;  
    }

    .inquiry__input1,
    .inquiry__input2,
    .inquiry__input3,
    .inquiry__input4 {
        width: 62.5%;
        height: 50px;
        margin: 10px 0 0 12px;
    }

    /*  お問い合わせの選択　*/
    .custom-select {
        width: 62.5%;
        height: 50px;
        font-size: 1.6rem;   
        font-weight: 400;
        margin: 10px 0 0 12px;
    }

    .custom-select::after {
        font-size: 1.6rem;
        right: 21px;
    }

    .custom-select .selected {
        height: 50px;
        padding: 15px 23px;
    }

    .custom-select .options div {
        padding: 10px 0 10px 23px;
        cursor: pointer;
    }

    .custom-select .options div:hover {
    background: #cce5ff; /* ホバー時の色 */
    }

    .inquiry__input5 {
        width: 62.5%;
        height: 194px;
        margin: 10px 0 0 140px;
    }

    .scroll__waku {
        width: 100%;
        height: 400px;
        margin: 30px 0 0 0;  
    }

    .scroll__container {
        display: flex;
        width:  100%;
        height: 400px;    
    }    


    .inner {
        font-size: 2.4rem;
        font-weight: 500;
    }

    .scroll__content {
        flex: 1;
        width: calc(100% - 40px); /* スクロールバー用に少し幅を削る */
        padding-right: 40px;
    }

    .scroll__btn img {
        width: 16px;
        height: 16px;
    }

    .scroll__btn.up {
        padding: 3px 3px 0 0;       
    }

    .scroll__btn.down {
        padding: 0 3px 8px 0;       
    }

    /* カスタムスクロールバー */
    .scrollbar {
        top: 26px; /* 上ボタンの下 */
        bottom: 22px; /* 下ボタンの上 */
        right: 3px;
        width: 16px;
        height: 340px;
    }
    
    .policy__waku {
        padding-top: 60px;
    }

    .agree__box {
        padding: 0 0 3px 50px;
        font-size: 2.4rem;
        font-weight: 500;
        letter-spacing: 2.4px;         
    }

    .agree__boxOn {
        padding: 0 0 3px 50px;
        font-size: 2.4rem;
        font-weight: 500;
        letter-spacing: 2.4px;        
    }

    .agree__box::before, 
    .agree__boxOn::before {
        border-radius: 6px;
        height: 32px;
        left: 5px;
        margin-top: -8px;
        top: 35%;
        width: 32px;
    }

    .agree__box::after,
    .agree__boxOn::after {
        border-right: 6px solid #00cccc;
        border-bottom: 6px solid #00cccc;
        height: 36px;
        left: 14px;
        top: 15%;
        width: 20px;
    }

    .send__btn {
        padding: 120px 0 0 0;
    }

    .icon__image {
        width: 380px;
        height: 80px;
        border-radius: 50px;
    }
}

/*=========================
footer
=========================*/
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 153px;
    background-color: var(--primary-white, #FFFFFF);
    z-index: 100;
}

.service__group,
.fee__group {
    width: 60px;
    height: 83px;
    flex-shrink: 0;
}

.serviceIcon {
    width: 36px;
    height: 31px;
    flex-shrink: 0;
    aspect-ratio: 36/31;
}

.service__button {
    width: 60px;
    height: 60px;
    padding: 12px 9px 11px 9px;
    flex-shrink: 0;
    border-radius: 9px;
    border: 3px solid var(--primary-darkblue, #09579E);
}

.icon__name1 {
    display: flex;
    color: var(--primary-darkblue, #09579E);
    font-family: "Noto Serif JP";
    font-size: 1.4rem;
    font-weight: 700;
    line-height: normal;
    padding: 6px 0 0 4px;
}

.feeIcon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.fee__button {
    width: 60px;
    height: 60px;
    padding: 8px 10px 11px 9px;
    flex-shrink: 0;
    border-radius: 9px;
    border: 3px solid var(--primary-darkblue, #09579E);
}

.icon__name2 {
    display: flex;
    color: var(--primary-darkblue, #09579E);
    font-family: "Noto Serif JP";
    font-size: 1.4rem;
    font-weight: 700;
    line-height: normal;
    padding: 6px 12.5px 0 12.5px;
}

.contact__group {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
}

.contactIcon {
    width: 36px;
    height: 30px;
    flex-shrink: 0;
}

.contact__button0 {
    padding: 0 12px;    
}

.contact__button {
    width: 60px;
    height: 60px;
    padding: 12px 9px 0 9px;
    flex-shrink: 0;
    border-radius: 9px;
    border: 3px solid var(--primary-darkblue, #09579E);
}

.icon__name3 {
    display: flex;
    width: 84px;
    color: var(--primary-darkblue, #09579E);
    font-family: "Noto Serif JP";
    font-size: 1.4rem;
    font-weight: 700;
    line-height: normal;
    padding-top:  7px;
}

.footer__iconSp {
    display: flex;
    padding: 19px 45.5px 0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 29px;
}

.footer__icon1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 41px;
}

.footer__name {
    display: flex;
    height: 50px;
    padding: 15px 0 16px 0;
    justify-content: center;
    align-items: center;
    color: var(--primary-black, #000000);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: normal;
}

.footer__iconLp {
    display: none;
}

/* --------------------------------------------------------------------- */
/* .header pc */
@media screen and (min-width: 1025px) {

    .footer {
        height: 109px;
    }

    .footer__iconSp {
        display: none;
    }

    .footer__iconLp {
        display: flex;
        flex-direction: column;
        padding: 20px 140px;
    }
    .footer__iconLp__waku {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .footer__iconLp__title {
        display: flex;
        width: 100px;
        height: 16px;
        flex-direction: column;
        justify-content: center;
        color: var(--primary-black, #000000);
        text-align: center;
        font-size: 1.4rem;
        font-weight: 500;
        line-height: normal;
    }

    .footer__name {
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--primary-black, #000000);
        text-align: center;
        font-size: 1.6rem;
        font-weight: 500;
        line-height: normal;
    }
}

/* Scrool Top */
.pagetop {
  position: fixed;
  right: 4px;
  bottom: 155px;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 300;
  cursor: pointer;
}

.pagetop__image {
    width: 30px;
    height: 90px;
}

@media screen and (min-width: 1025px) {
    .pagetop {
        bottom: 111px;
    }
}


