@charset "UTF-8";

/*共通部分------------------------------------------------------------------------------------------------------------*/
html {
    font-size: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
} 
/*color設定-----------------------------------------------------------------------------------------------------------*/
:root {
    --main-color: #101E63;
    --accent-color: #E6BB00;
    --sub-color: #fff;
    --text-color: #000;
    --background-color: rgba(16,30,99,0.9);
}
/*font設定------------------------------------------------------------------------------------------------------------*/
body {
    font-family: "Zen Old Mincho","MS 明朝", "MS P明朝", serif;
    color: var(--text-color);
} 
h1 {
    font-size: 64px;
    color: var(--sub-color);
}
h2 {
    font-size: 36px;
}
h3 {
    font-size: 40px;
}
h4 {
    font-size: 24px;
}
.logo {
    font-size: 40px;
    font-weight: bold;
}
.text-number {
    font-size: 48px;
    font-weight: bold;
}
.text-small {
    font-size: 20px;
}
.text-medium {
    font-size: 24px;
}
.text-small-b {
    font-size: 20px;
    font-weight: bold;
}
.text-q {
    font-size: 36px;
    font-weight: bold;
    color: var(--main-color);
}
/*list設定------------------------------------------------------------------------------------------------------------*/
ul {
    list-style-position: inside;
    list-style-type: none;
}
/*btn設定-------------------------------------------------------------------------------------------------------------*/
.btn {
    color: var(--main-color);
    font-size: 48px;
    font-weight: bold;
    text-decoration: none;
    background-color: var(--sub-color);
    border: 3px solid var(--main-color);
    border-radius: 30px;
    width: 680px;
    text-align: center;
    padding: 10px 0;
    margin: 0 auto;
}
.btn br {
    display: none;
}
/*header-------------------------------------------------------------------------------------------------------------*/
header {
    max-width: 1200px;
    width:100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 125px;
    justify-content: center;
    align-items: center;
    height: 90px;
}
.header-nav {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;
    align-items: center;
}
header .logo {
    color: var(--main-color);
}
.header-nav a {
    text-decoration: none;
    font-size: 20px;
    color: var(--main-color);
}
.header-icon {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
.hamburger-btn {
    display: none;
}
/*電話番号表示---------------------------------------------------------------------------------------------------------------*/
.header-tel-box {
    position: relative;
}
.header-tel{
    display: none;
    width: 300px;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: var(--sub-color);
    border: 2px solid var(--main-color);
    color: var(--text-color);
    top: 77px;
    left:-100px;
    z-index: 2;
}
.header-tel.open {
    display: flex;
}
.tel-number {
    font-size: 20px;
    font-weight: bold;
}
.tel-time {
    font-size: 20px;
}


/*main---------------------------------------------------------------------------------------------------------------*/
.wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 160px;
}
.section {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
/*first-view---------------------------------------------------------------------------------------------------------*/
.first-view {
    width: 100%;
    margin: 0 auto 160px auto;
    position: relative;
    background-image: url("image/first-view.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px;
}
.first-view::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 27, 0.5);
}
.first-view h2 {
    color: var(--sub-color);
    text-align: center;
    position: relative;
    z-index: 1;
}
.first-view h1 {
    text-align: center;
    padding-top: 340px;
    position: relative;
    z-index: 1;
}
.first-view .btn {
    position: relative;
    z-index: 1;
    display: block;
    margin: 40px auto 0 auto;
}
.first-view br {
    display: none;
}
/*worry-answer-------------------------------------------------------------------------------------------------------*/
.worry-answer h3 {
    text-align: center;
    color: var(--main-color);
}
.worry-answer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 56px;
}
/*worries------------------------------------------------------------------------------------------------------------*/
.worries {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
}
.worry p {
    color: var(--sub-color);
    text-align: center;
    padding-top:10px ;
}
.worry {
    background-color: var(--background-color);
    width: 265px;
    height: 180px;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
}
.worry-b {
    gap: 20px;
}
/*arrow--------------------------------------------------------------------------------------------------------------*/
.arrow {
    position: relative;
    text-align: center;
}
.arrow::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    width: 830px;
    height: 115px;
    z-index: -1;
    margin: 0 auto;
}
.arrow h2, .arrow h4 {
    color: var(--main-color);
}
/*answers------------------------------------------------------------------------------------------------------------*/
.answers {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;
}
.answer {
    background-color:  var(--background-color);
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.answer h4 {
    color: var(--sub-color);
}
.answer-img {
    width: 60px;
    height: 70px;
}
/*reasons------------------------------------------------------------------------------------------------------------*/
.reasons {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}
.reason {
    border: 1px solid var(--main-color);
    width: 100%;
    height: 300px;
}
.reason h4 {
    background-color: var(--accent-color);
}
.reason-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    padding-top: 40px;
}
/*introduce----------------------------------------------------------------------------------------------------------*/
.introduce h3 {
    text-align: center;
    color: var(--main-color);
}
.introduce-section {
    display: flex;
    flex-direction: row;
    gap: 65px;
    justify-content: center;
}
.introduce-article {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.introduce-human {
    display: flex;
    flex-direction: row;
    gap: 45px;
}
.introduce-img {
    max-width: 300px;
    max-height: 300px;
}
.name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.name h3 {
    color: var(--text-color);
}
.name p {
    text-align: center;
}
.introduce-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 565px;
    border: 1px solid var(--main-color);
    height: 400px;
    justify-content: center;
}
.introduce-text h4 {
    text-align: center;
}
.qualification-detail {
    padding-left: 35px;
}

.qualification li {
    font-size: 20px;
}
.introduce-p {
    width: 500px;
    margin: 0 auto;
}
.introduce-text br {
    display: none;
}
/*price-plan---------------------------------------------------------------------------------------------------------*/
.price-plan h3 {
    text-align: center;
    color: var(--main-color);
}
.plan-article {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.plans {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}
.plan {
    border: 1px solid var(--main-color);
    width: 370px;
    height: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--text-color);
}
.plan h4 {
    background-color: var(--accent-color);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.plan-p {
    border: 1px solid var(--main-color);
    width: 350px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.main-plan h4 {
    font-size: 28px;
}
.common {
    border: 1px solid var(--main-color);
    max-width: 1200px;
    width:100%;
    height: 140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    text-align: center;
}
.price h3 {
    color: var(--text-color);
}
.text-small-x {
    padding-left: 15px;
}
/*review-------------------------------------------------------------------------------------------------------------*/
.review h3 {
    text-align: center;
    color: var(--main-color);
}
.comments {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.comment {
    background-color: var(--background-color);
    width: 370px;
    height: 460px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.comment-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 340px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 20px;
    padding: 20px 0;
    color: var(--main-color);
}
.comment-detail .text-small {
    width: 320px;
    margin:0 auto;
    text-align: left;
}
.comment-name {
    color: var(--sub-color);
}
/*faq----------------------------------------------------------------------------------------------------------------*/
.faq h3 {
    text-align: center;
    color: var(--main-color);
}
.q-a-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.q-a-part {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.plus {
    font-size: 36px;
    font-weight: bold;
    color: var(--main-color);
}
.question-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    border: none;
    background-color: transparent;
    padding: 0;
    text-align: left;
}
.faq-question .text-q, .faq-answer .text-a  {
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--main-color);
    font-size: 36px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.faq-question .text-q {
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
    color: var(--main-color);
}
.faq-answer .text-a {
    border: 1px solid var(--background-color);
    background-color: var(--background-color);
    color: var(--accent-color);
}
.faq-question, .faq-answer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    border: 1px solid var(--main-color);
    width: 100%;
    padding: 24px;
}
.faq-question button {
    color: var(--text-color);
}
/*アコーディオン表示---------------------------------------------------------------------------------------------------------------*/
    .faq-answer {
        display: none;
    }
    .faq-answer.open {
        display: flex;
    }
    
/*flow---------------------------------------------------------------------------------------------------------------*/
.flow h3 {
    text-align: center;
    color: var(--main-color);
}
.flows {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.flow-details {
    display: flex;
    flex-direction: row;
    gap: 80px;
    justify-content: center;
    align-items: center;
}
.step {
    background-color: var(--background-color);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}
.flow-detail {
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 930px;
    padding: 25px;
}
.service {
    background-color: var(--accent-color);
    width: 730px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.flow-btn {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
.btn-flow {
    width: 520px;
}
/*access-------------------------------------------------------------------------------------------------------------*/
.access h3{
    text-align: center;
    color: var(--main-color);
}
.access-detail {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 56px;
    width: 100%;
}
table {
    border-collapse: collapse;
}
th,td {
    font-size: 24px;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 1px solid var(--text-color);
}
.access-img {
    width: 520px;
    height: 510px;
}
/*footer-------------------------------------------------------------------------------------------------------------*/
footer {
    background-color: var(--background-color);
    height: 200px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    margin-top: 160px;
}
.footer-nav {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}
.footer-nav-detail {
    display: flex;
    flex-direction: row;
    width: 560px;
    justify-content: space-between;
    align-items: center;
}
footer a {
    text-decoration: none;
    color: var(--sub-color);
}
.footer-nav-detail a {
    font-size: 20px;
}
small {
    font-size: 16px;
    color: var(--sub-color);
    text-align: center;
}
/*電話番号表示---------------------------------------------------------------------------------------------------------------*/
.sp-only {
    display: none;
}
.pc-only {
    display: block;
}
.footer-tel-box {
    position: relative;
}
.footer-tel {
    display: none;
    width: 300px;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: var(--background-color);
    border: 2px solid var(--sub-color);
    color: var(--text-color);
    top: -190px;
    left:-120px;
    z-index: 2;
}
.footer-tel.open{
    display: flex;
}
.footer-tel p{
    color: var(--sub-color);
}

/*mobile版-----------------------*/
@media (max-width: 1199px){

/*font設定------------------------------------------------------------------------------------------------------------*/ 
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 24px;
    }
    .text-medium {
        font-size: 16px;
    }
    .logo {
        font-size: 36px;
    }
/*btn設定-------------------------------------------------------------------------------------------------------------*/
    .btn {
        color: var(--main-color);
        font-size: 24px;
        width: 280px;
    }
    .btn br {
        display: block;
    }
/*header-------------------------------------------------------------------------------------------------------------*/
    header {
        width: 100%;
        gap: 0;
        justify-content: space-between;
        padding: 0 20px;
    }
    .header-nav {
        display: none;
    }
    .header-icon {
        display: none;
    }
/*電話番号表示---------------------------------------------------------------------------------------------------------------*/
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }
/*main---------------------------------------------------------------------------------------------------------------*/
    .wrapper {
        max-width: 330px;
        gap: 80px;
    }
    .section {
        gap: 40px;
    }
    /*ハンバーガーメニュー表示-------------------------------------------------------------------------------------------------------*/
    .hamburger-btn {
        display: block;
    }
    .menu-btn {
        display: flex;
        flex-direction: column;
        gap: 0;
        width:30px;
    }
    .menu-btn span {
        display: block;
        border-top: 5px solid var(--main-color);
        height: 10px;
    }
    .batu-btn {
        color: var(--sub-color);
        font-size: 40px;
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .hamburger-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--main-color);
        padding: 40px;
        z-index: 3;
        height: 100dvh;
        overflow-y: auto;
    }
    .hamburger-menu.open {
        display: block;
    }
    .hamburger-nav a,  .hamburger-icon a{
        color: var(--sub-color);
        font-size: 20px;
        font-weight: bold;
        text-decoration: none;
    }
    .hamburger-nav {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 48px 0;
    }
    .hamburger-icon {
        display: flex;
        flex-direction: row;
        gap:32px;
    }
    .hamburger-icon .icon {
        width: 50px;
        height: 50px;
    }
    /*first-view---------------------------------------------------------------------------------------------------------*/
    .first-view {
        margin: 0 auto 80px auto;
        height: 560px;
        padding: 20px;
        text-align: center;
    }
    .first-view h1 {
        padding-top: 210px;
    }
    .first-view .btn {
        margin: 20px auto 0 auto;
    }
    .first-view br {
        display: block;
    }
    /*worry-answer-------------------------------------------------------------------------------------------------------*/
    .worry-answer-wrapper {
        gap: 32px;
    }
    /*worries------------------------------------------------------------------------------------------------------------*/
    .worries {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    /*arrow--------------------------------------------------------------------------------------------------------------*/
    .arrow::before{
        width: 300px;
        height: 80px;
    }
    .arrow h4 {
        font-size: 16px;
    }
    .arrow h2 {
        padding-top: 5px;
    }
    /*answers------------------------------------------------------------------------------------------------------------*/
    .answers {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    /*reasons------------------------------------------------------------------------------------------------------------*/
    .reasons {
        gap: 24px;
    }
    .reason {
        width: 330px;
        height: 200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }
    .reason h4 {
        font-size: 16px;
    }
    .reason-text {
        gap: 16px;
        padding-top: 0px;
        justify-content: center;
        flex:1;
    }
    .reason-text p br {
        display: none;
    }
    .reason-text p {
        width: 280px;
        text-align: left;
    }
    /*introduce----------------------------------------------------------------------------------------------------------*/
    .introduce-section {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    .introduce-article {
        gap: 24px;
        align-items: center;
    }
    .introduce-human {
        flex-direction: column;
        gap: 24px;
    }
    .introduce-img {
        max-width: 220px;
    }
    .introduce-text {
        gap: 16px;
        width: 330px;
        height: 380px;
    }
    .introduce-text h4 {
        font-size: 20px;
    }
    .qualification-detail {
        padding-left: 20px;
    }

    .qualification li {
        font-size: 16px;
    }
    .introduce-p {
        width: 300px;
        font-size: 16px;
    }
    .introduce-text br {
        display: block;
    }
    .name p {
        font-size: 16px;
    }
    /*price-plan---------------------------------------------------------------------------------------------------------*/
    .plan-article {
        gap: 24px;
    }
    .plans {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .plan {
        width: 330px;
        gap: 24px;
    }
    .plan-p {
        width: 310px;
    }
    .price h3 {
        font-size: 40px;
    }
    .common {
        width: 330px;
        height: 120px;
    }
    .common h4 {
        font-size: 20px;
    }
    .common p {
        width: 300px;
        margin: 0 auto;
        text-align: center;
    }
    /*review-------------------------------------------------------------------------------------------------------------*/
    .comments {
        flex-direction: column;
        gap: 24px;
        justify-content: center;
        align-items: center;
    }
    .comment {
        width: 330px;
        height: auto;
        gap: 16px;
        padding: 24px 0;
    }
    .comment-detail {
        width: 310px;
        padding: 16px 0;
    }
    .comment-detail .text-small {
        width: 290px;
    }
    .comment-detail .text-small-b {
        font-size: 18px;
    }
    /*faq----------------------------------------------------------------------------------------------------------------*/
    .q-a-section {
        gap: 24px;
    }
    .q-a-part {
        gap: 16px;
    }
    .faq-question .text-q, .faq-answer .text-a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .faq-question {
        gap: 16px;
        padding: 16px;
    }
    .faq-answer {
        gap: 16px;
        padding: 16px 18px 16px 16px;
    }
    .faq-question .text-small, .faq-answer .text-small {
        width: auto;
        flex:1;
        font-size: 16px;
    }
    .plus {
        font-size: 20px;
    }
    .faq-question .text-small {
        color: var(--text-color);
    }
    /*flow---------------------------------------------------------------------------------------------------------------*/
    .flows {
        gap: 24px;
    }
    .step {
        display: none;
    }
    .flow-detail {
        gap: 10px;
        width: 330px;
        padding: 25px;
    }
    .flow-detail br {
        display: none;
    }
    .service {
        width: 330px;
        height: 110px;
        border-radius: 20px;
    }
    .flow-btn {
        gap: 24px;
    }
    .btn-flow {
        width: 280px;
    }
    .flow-detail h2 {
        text-align: center;
    }
    .service h4 {
        font-size: 20px;
    }
    .service p {
        width: 290px;
    }
    /*access-------------------------------------------------------------------------------------------------------------*/
    .access-detail {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    th,td {
        font-size: 14px;
        text-align: left;
        padding : 20px 10px 10px 10px;
    }
    .access-img {
        width: 300px;
        height: 300px;
    }
    /*footer-------------------------------------------------------------------------------------------------------------*/
    footer {
        height: 330px;
        gap: 24px;
        margin-top: 80px;
        padding: 0 20px;
    }
    .footer-nav {
        flex-direction: column;
        width: 330px;
        justify-content: center;
        align-items: flex-start;
        gap: 24px;
    }
    .footer-nav-detail {
        flex-direction: column;
        width: 330px;
        justify-content: center;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-nav-detail a {
        font-size: 16px;
    }
    small {
        font-size: 12px;
    }
    .footer-icon {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
    }
    .icon-f {
        width: 40px;
        height: 40px;
    }
}