/*
Theme Name: 福井税理士事務所LPテーマ
Theme URI: 
Author: 
Author URI: 
Description: 
Version: 1.0
License: 
License URI: 
Tags: 
Text Domain: 
*/

:root {
    --col-orange: #FFC001;
    --col-blue: #5BB6CF;
    --col-w: #fff;
    --col-black: #707070;
    --base-fz: 16px;
}

/* スクロールをスムースにする */
html {
    scroll-behavior: smooth;
}
 
body{
    margin: 0;
    font-size: var(--base-fz);
    color: var(--col-black)
}
@media screen and (min-width:920px){
    body{
        font-size: 20px;
    }
}
img {
    width: 100%;
}
a {
    text-decoration: none;
}
@media screen and (min-width:920px){
    .br-sp{
        display: none;
    }
}
 
.fz-30{
    font-size: 30px;
}
.fz-20{
    font-size: 20px;
}
.cl-blue{
    color: var(--col-blue);
}
.cl-yellow{
    color: var(--col-orange);
}
.container{
    padding-left: 37px;
    padding-right: 37px;
}
@media screen and (min-width:1100px) {
    .container{
        /* padding-left: 37px;
        padding-right: 37px; */
        max-width: 990px;
        margin: 0 auto;
    }
}
.row{
    display: flex;
    flex-direction: column;
}
.col-l,.col-r{
    width: 100%;
}
.col-3{
    width: 100%;
}
@media screen and (min-width:920px){
    .row{
        flex-direction: row;
    }
    .col-l,.col-r{
        width: 50%;
    }
    .col-3{
        width: 33.33333333%;
    }
}

.text-box{
    line-height: 2.07;
}
.button-main{
    width: 261px;
    height: 39px;
    color: var(--col-w);
    border-radius: 38px;
    margin: 56px auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFC001;
}
.button-main a{
    color: #2C2C2C;
    font-weight: bold;
    display: flex;
    width: 100%;
    justify-content: center;
}
@media screen and (min-width:920px){
    .button-main{
        width: 441px;
        height: 75px;
        margin: 68px auto 88px;
    }
    .button-main a{
        font-size: 30px;
    }
}
.button-sub{
    width: 119px;
    height: 31px;
    border-radius: 38px;
    margin: 28px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--col-blue);
}
.button-sub a{
    color: var(--col-w);
    font-weight: bold;
}

/* 文字の上に点 */
.dot-text{
    position: relative;
  }
  .dot-text::before{
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    margin: auto;
    content: "";
    padding-top: 10px;
    background: -webkit-radial-gradient(circle 10px,orange 50%,transparent 50%);
    background: radial-gradient(circle 10px,orange 50%,transparent 50%);
    background: -moz-radial-gradient(circle 10px,orange 50%,transparent 50%);
  }

  /* 文字の上に点 */
.dots {
    background-image: radial-gradient(circle at center, orange 20%, transparent 20%); /* 点の色とサイズ調整 */
    background-position: top right; /* 点の位置 */
    background-repeat: repeat-x; /* 横方向に繰り返し */
    background-size: 1em 0.3em; /* 点の間隔とサイズ調整 */
    padding-top: .4em; /* 縦方向の位置調整 */
  }

/* アニメーション */
.fade-in-right {
    animation: fadeinRight ease-in-out;
    animation-timeline: view();
    animation-range: cover;
}
@keyframes fadeinRight{
    0% {
        opacity: 0;
        transform: translateX(-100px)
    }

    50% {
        opacity: 1;
        transform: translateX(0px)
    }
}
.fade-in-left {
    animation: fadeinLeft ease-in-out;
    animation-timeline: view();
    animation-range: cover;
}
@keyframes fadeinLeft{
    0% {
        opacity: 0;
        transform: translateX(100px)
    }

    50% {
        opacity: 1;
        transform: translateX(0px)
    }
}
  
.fade-in:in-viewport {
    opacity: 1;
    transform: translateY(0);
}
/* 上方にフェードイン */
.fade-in-up {
    animation: fadeinUp ease-in-out;
    animation-timeline: view();
    animation-range: cover;
}
@keyframes fadeinUp{
    0% {
        opacity: 0;
        transform: translateY(100px)
    }

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

/* マウスオーバーで拡大 */
.mo-scale{
    transition-duration: .5s;
}
.mo-scale:hover{
    transform:scale(1.05);
}


#fv{
    height: 100vh;
}
#fv h1{
    margin: 0;
}
#fv .button-main{
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 99;
}
@media screen and (min-width:920px){
    #fv .button-main{
        bottom: -30px;
    }
}
#lead h2{
    font-size: 21px;
    font-weight: bold;
    color: var(--col-blue);
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    }
    #lead h2::before{
        content: " ";
        width: 100%;
        height: 2px;
        background-color: var(--col-orange);
        position: absolute;
        bottom: -17px;
        left: 0;
    }

.dot-text{
    position: relative;
  }
  .dot-text::before{
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    margin: auto;
    content: "";
    padding-top: 16px;
    background: -webkit-radial-gradient(circle 5px, var(--col-orange) 50%,transparent 50%);
    background: radial-gradient(circle 5px, var(--col-orange) 50%,transparent 50%);
    background: -moz-radial-gradient(circle 5px, var(--col-orange) 50%,transparent 50%);
  }

#lead h3{
    font-size: 18px;
    font-weight: bold;
    line-height: 1.72;
    margin-bottom: 38px;
}

#lead .text-box{
    margin-bottom: 69px;
}
#lead .text-blue{
    color: var(--col-blue);
    margin-bottom: 0;
}
#p_01c{
    display: block;
    width: 213px;
    margin: 0 auto;
}
#lead ul{
    font-weight: bold;
    width: 236px;
    margin: 0 auto 50px;
}
@media screen and (min-width:920px){
    #lead h2{
        font-size: 63px;
        margin-bottom: 96px;
    }
    #lead h2::before{
        height: 6px;
    }
    #lead .row .imgbox img{
        width: 403px;
    }
    #lead .row h3{
        margin-top: 0;
        font-size: 25px;
    }
    #lead h3.fz-60{
        font-size: 60px;
        text-align: center;
    }
    #lead .row .imgbox{
        margin-right: 52px;
    }
    #lead .row.difficult{
        align-items: center;
    }
    #lead .row.difficult ul{
        margin-left: 0;
        font-size: 35px;
        width: 100%;
        line-height: 1.7;
    }
}

#must{
    padding-top: 91px;
}
#must h2{
    color: var(--col-blue);
    text-align:center;
    font-weight: bold;
    margin-bottom: 42px;
}
#must ul{
    font-size: 16px;
    padding-inline-start: 20px;
    font-weight: bold;
    margin-bottom: 42px;
}
#must .row.need{
    align-items: flex-start;
    margin-bottom: 40px;
    flex-direction: row;
}
#must .row.need p{
    font-weight: bold;
    margin-top: 0;
    font-size: 22px;
    margin-right: 11px;
}
#must .row.need .imgbox{
    width: 100px;
}
#must h3{
    position: relative;
    margin-top: 0;
    text-align: center;
    color: var(--col-blue);
    font-weight: bold;
}
#must h3::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: var(--col-blue);
    display: block;
    position: absolute;
    top: -24px;
    left: 0;
}
#must .black-text{
    font-size: 24px;
    font-weight: bold;
    transform: translateX(-10px);
}
#must .black-text.graduate{
    text-align: center;
    transform: translateX(-40px);
    margin-bottom: 0;
}
#must .text-box{
    border: 3px solid var(--col-blue);
    padding: 24px 12px;

}
#must .text-box p{
    font-size: var(--base-fz);
    font-weight: bold;
}
#must .text-box p span{
    color: var(--col-blue);
    font-size: 18px;
}
@media screen and (min-width:920px){
    #must h2{
        font-size: 50px;
        margin-bottom: 75px;
    }
    #must .container{
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        align-items: center;
    }
    #must ul{
        font-size: 35px;
        line-height: 1.7;
    }
    #must .row.need{
        margin-bottom: 100px;
    }
    #must .row.need p{
        font-size: 50px;
    }
    #must .row.need .imgbox{
        width: 230px;
    }
    #must h3{
        width: 100%;
        font-size: 24px;
    }
    #must .imgbox{
        width: 100%;
    }
    #must .row.investigation{
        margin-top: 72px;
    }
    #must .row.investigation .col-l{
        padding-right: 88px;
    }
    #must .row.investigation p{
        font-size: 24px;
    }
    #must .row.investigation .col-r .text-box p{
        font-size: 18px;
    }
}
#case h2{
    text-align: center;
    font-size: 22px;
    margin-bottom: 50px;
}
#case h3{
    background-color: var(--col-blue);
    color: var(--col-w);
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 22px;
    margin-bottom: 35px;
}
#case ul{
    font-weight: bold;
    padding-inline-start: 16px;
    line-height: 2.1;
    margin-bottom: 56px;
}
@media screen and (min-width:920px){
    #case h2{
        font-size: 50px;
    }
    #case h3{
        font-size: 50px;
    }
    #case .ul-wrap{
        display: flex;
        justify-content:center;
    }
    #case ul{
        font-size: 24px;
    }
}

#seminar h2,
#seminar h3{
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 37px;
    color: var(--col-blue);
}
#seminar span{
    font-weight: bold;
}
#seminar .text-box{
    margin-bottom: 80px;
}
#seminar .card{
    border: 3px solid var(--col-blue);
    border-radius: 5%;
    padding: 23px;
    position: relative;
    margin-bottom: 22px;
}
#seminar .card.yuuryou-seminar{
    margin-top: 76px;
}
#seminar .card .label{
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
    color: var(--col-w);
    background-color: var(--col-blue);
    padding: 9px 26px;
    border-radius: 40%;
}
#seminar .card h4{
    font-size: 17px;
    font-weight: bold;
    color: var(--col-blue);
    text-align: center;
    margin: 17px 0;
}
#seminar .card .text-box{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}
#seminar .button-main{
    margin-top: 0;
    width: 150px;
    height: 46px;
    margin-bottom: 56px;
}
#seminar .button-main a{
    font-size: 17px;
}
@media screen and (min-width:920px){
    #seminar{
        padding-bottom: 75px;
    }
    #seminar .h-wrap{
        width: 690px;
        margin: 0 auto;
    }
    #seminar h2{
        font-size: 40px;
        text-align-last: left;
    }
    #seminar .h-wrap .text-box{
        margin-bottom: 174px;
    }
    #seminar h3{
        font-size: 50px;
        margin-bottom: 70px;
    }
    #seminar .row .col-l{
        padding-right: 50px;
    }
    #seminar .row .col-r{
        padding-left: 50px;
    }
    #seminar .card.yuuryou-seminar {
        margin-top: 0px;
    }
    #seminar .card .label{
        font-size: 24px;
        top: -57px;
    }
    #seminar .card h4{
        font-size: 24px;
    }
    #seminar .card .text-box{
        font-size: 18px;
    }
    #seminar .button-main{
        width: 207px;
        height: 63px;
    }
    #seminar .button-main a {
        font-size: 23px;
    }
}
#summary{
    position: relative;
}
#summary h2{
    position: absolute;
    top: 27px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--col-w);
    font-size: 30px;
    font-weight: bold;
    margin: 0;
}
#summary .winer{
    background-color: #F0F0F0;
    padding-top: 49px;
    padding-bottom: 56px;
}
#summary .lead-text{
    margin-bottom: 14px;
}
#summary h3{
    font-weight: bold;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 34px;
    color: var(--col-blue);
}
#summary h4{
    font-size: 24px;
    padding: 15px 31px;
    background-color: #5bb6cf45;
    border-bottom: 1px solid #000;
    position: relative;
}
#summary h4::before{
    content: " ";
    display: block;
    width: 11px;
    height: 100%;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
}
#summary ul{
    padding-inline-start: 13px;
    font-size: 13px;
    line-height: 1.9;
}
#summary .special{
    color: var(--col-blue);
    font-weight: bold;
}
#summary .winer{
    background-color: #F0F0F0;
    padding-top: 49px;
    padding-bottom: 56px;
}

#summary .workshop{
    background-color: #f6edd2;
    padding-top: 49px;
    padding-bottom: 56px;
}
#summary .workshop .button-sub{
    background-color: #6BC728;
}
#summary .workshop .corce{
    font-weight: bold;
    color: #000;
}
@media screen and (min-width:920px){
    #summary h2{
        font-size: 50px;
    }
    #summary h3{
        font-size: 35px;
    }
    #summary ul{
        font-size: 20px;
    }
    #summary .button-sub{
        margin: 34px 29px;
        width: 119px;
        height: 47px;
    }
    #summary .button-sub a{
        font-size: 24px;
    }
    #summary .row .special{
        margin-top:  44px;
    }
    #summary .workshop {
        background-color: #F0F0F0;
        padding-bottom: 104px;
    }
    #summary .row .corce{
        margin-top: 44px;
    }
}
#voice{
    position: relative;
    padding-top: 61px;
    padding-bottom: 33px;
}
#voice::before,
#gallery::before{
    content: "";
    width: 100%;
    height: 310px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--col-blue);
    z-index: -1;
}
#voice h2,
#gallery h2{
    font-size: 24px;
    color: var(--col-w);
    text-align: center;
    margin: 0;
}
#voice .en,
#gallery .en{
    text-align: center;
    color: var(--col-w);
    font-weight: bold;
    margin-top: 0;
}
#voice .card{
    background-color: var(--col-w);
    border: 3px solid var(--col-blue);
    border-radius: 5%;
    padding: 28px;
    margin-top: 25px;
    margin-bottom: 48px;
}
#voice .row.inner-row{
    border-bottom: 1px solid var(--col-black);
    padding-bottom: 24px;
    margin-bottom: 20px;
    flex-direction: row;
}
#voice .card img{
    width: 63px;
    height: 63px;
    margin-right: 21px;
}
#voice .card .info p:nth-child(1){
    color: var(--col-blue);
    font-weight: bold;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 6px;
}
#voice .card .info p:nth-child(2){
    color: #000;
    font-size: 15px;
    margin: 0;
}
#voice .card .info p:nth-child(2) span{
    font-size: 23px;
    color: var(--col-black);
}

#lecturer{
    padding-bottom: 94px;
}
#lecturer h2{
    font-size: 24px;
    color: var(--col-blue);
    font-weight: bold;
    margin: 0;
    text-align: center;
}
#lecturer .en{
    color: #000;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 29px;
}
#lecturer .imgbox{
    margin-bottom: 40px;
}
#lecturer h3{
    color: #000;
    font-weight: bold;
    font-size: 24px;
    margin-top: 36px;
    margin-bottom: 40px;
}
#lecturer h3 span{
    font-size: var(--base-fz);
}
#lecturer .text-box{
    border-top: 1px solid var(--col-black);
    padding-top: 36px;
}

#gallery{
    position: relative;
    padding-top: 57px;
    padding-bottom: 74px;
}
#gallery .imgbox{
    margin-top: 36px;
}
@media screen and (min-width:920px){
    #voice{
        padding-bottom: 110px;
    }
    #voice::before,
    #gallery::before{
        height: 491px;
    }
    #voice h2,
    #lecturer h2,
    #gallery h2{
        font-size: 50px;
    }
    #voice .en,
    #lecturer .en,
    #gallery .en{
        font-size: 30px;
        margin-bottom: 66px;
    }
    #voice .card-row .col-l{
        padding-right: 40px;
    }
    #voice .card-row .col-r{
        padding-left: 40px;
    }
    #voice .card{
        min-height: 359px;
    }
    #voice .card img {
        width: 87px;
        height: 87px;
        margin-right: 29px;
    }
    #voice .card .info p:nth-child(1) {
        font-size: 24px;
    }
    #lecturer .col-l{
        padding-right: 32px;
    }
    #lecturer .col-r{
        padding-left: 32px;
    }
    #lecturer h3{
        font-size: 35px;
    }
    #lecturer h3 span{
        font-size: 20px;
        margin-left: 42px;
    }
    #gallery::before {
        height: 329px;
    }
    #gallery h2,
    #gallery .en{
        text-align-last: left;
    }
    #gallery .col-3{
        padding: 0 13px;
    }
    #gallery .col-3 .imgbox{
        margin-top: 0;
    }
}
footer{
    background-color: var(--col-blue);
    padding-top: 27px;
    padding-bottom: 21px;
    color: var(--col-w);
}
/* footer ul{
    list-style-type: none;
    padding-inline-start: 0;
    margin-bottom: 59px;
    font-size: 13px;
} */
footer .ul-wrap{
    display: flex;
    justify-content: center;
    margin-bottom: 59px;
    font-size: 13px;
}
footer .cr{
    font-size: 12px;
    text-align: center;
    margin-bottom: 0;
}
@media screen and (min-width:920px){
    footer .imgbox{
        width: 329px;
        margin: 0 auto;
    }
    footer .ul-wrap{
        font-size: 18px;
        text-align: center;
        margin-bottom: 90px;
    }
    footer span{
        margin-left: 18px;
    }
    footer .cr{
        font-size: 18px;
    }
}
/* トップに戻るボタン */
#totop{
    width: 40px;
    position: fixed;
    top: 80px;
    left: 30px;
    display: none;
}