/*セミナー参加フォーム*/

body{
    font-family: "Noto Sans JP", sans-serif;
}
h1.has-text-align-center.wp-block-post-title{
    font-family:Cardo,sans-serif;
}
@media (max-width:599px){
    h1.has-text-align-center.wp-block-post-title{
        font-size:26px;
    }
}

.main_seminar{
    width:100%;
    max-width:1080px!important;
    margin:0 auto;
}
.gap{
    margin-bottom:100px;

}
@media (max-width:500px){
    .gap{
       margin-bottom:60px; 
    }
}
h2{
    text-align:center;
    font-family: Cardo,sans-serif;
}
@media (max-width:599px){
    h2{
        font-size:22px;
    }
}
.content img{
    /*width:100%;*/
    display:block;
}
.content_img1{
    width:80%;
    margin:0 auto;
    margin-bottom:50px;
}
.content_img2{
    width:70%;
    margin:0 auto;
    margin-bottom:50px;
}
.content_img3{
    width:150px;
    margin:0 auto;
}
.content_img4{
    width:75%;
    margin:0 auto;
    margin-bottom:30px;
}
@media (max-width:767px){
    .content_img1{
        width:90%;
        margin-bottom:30px;
    }
    .content_img2{
        width:80%;
        margin-bottom:30px;
    }
    .content_img3{
        margin:0 auto;
    }
    .content_img4{
        width:80%;
        margin-bottom:25px;
    }
}
@media (max-width:500px){
    .content_img1{
        width:100%;
        margin-bottom:25px;
    }
    .content_img2{
        width:100%;
        margin-bottom:30px;
    }
    .content_img3{
        margin:0 auto;
    }
    .content_img4{
        width:100%;
        margin-bottom:25px;
    }
}
.content_text{
    display:table;
    margin:0 auto;
    border:10px #b38e6f double;
    border-radius:30px;
    padding:45px 25px 25px;
    width:calc(80% - 70px);
    max-width:700px;
}
.text-item{
    display:flex;
    width:100%;
    max-width:750px;
    font-size:18px;
    margin:0 auto;
    margin-bottom:15px;
}
.text-item-title{
    font-weight:bold;
    width:20%;
    text-align:center;
    font-size:20px;
}
.text-item-text{
    width:80%;
    display:block;
    margin:0 auto;
}
.text-item-text>p{
    margin-top:0;
    margin-bottom:0;
}

span.solid{
    text-decoration:underline;
}
span.inline-block{
    position:relative;
    text-decoration:none!important;
}
span.inline-block::before{
    content:'　';
    position:relative;
    left:0;
    top:0;
}
span.marker{
    background: linear-gradient(transparent 55%, #f5c193 45%);

}
@media (max-width:767px){
    .content_text{
        border:7px #b38e6f double;
        padding:45px 15px 25px;
        width:calc(90% - 70px);
    }
    .text-item{
        display:flex;
        width:100%;
        max-width:750px;
        font-size:16px;
        margin:0 auto;
        margin-bottom:15px;
    }
    .text-item-title{
        font-weight:bold;
        width:20%;
        text-align:center;
        font-size:18px;
    }
}
@media (max-width:599px){
    .content_text{
        padding:25px 15px 10px;
        width:calc(90% - 44px);
    }
    .text-item{
        display:block;
        width:100%;
        font-size:16px;

    }
    .text-item-title{
        font-weight:bold;
        width:100%;
        text-align:left;
        font-size:18px;
    }
    .text-item-text{
        width:100%;
        display:block;
        margin:0 auto;
    }

}
@media (max-width:500px){
    .content_text{
        width:calc(100% - 44px);
    }
    .text-item{
        font-size:14px;
    }
    .text-item-title{
        font-size:16px;
    }
    span.inline-block{
        display:grid;
    }

    span.inline-block::before{
        content:'';
    }
}









.profile{
    border:3px solid #b38e6f;
    padding:45px 25px 25px;
    border-radius:30px;
    position: relative;
}
.profile h2{
    position:absolute;
    top:0;
    left:50%;
    padding: 0 15px;
    margin:0;
    background-color:#f9f9f9;
    transform: translateY(-50%) translateX(-50%);
}
@media (max-width:400px){
    .profile h2{
        width:55%;
    }
}

.profile_content{
    display:flex;
    width:100%;
    margin:0 auto;
    align-items:center;
}
.profile_left{
    width:70%;
}
.profile_left h3{
    display:inline-block;
    position:relative;
    left:50%;
    transform:translateX(-50%);
    margin:0 auto;
    color:#ff8c00;
    font-family:serif, sans-serif;
    font-weight:500;
    /*border-top:2px solid #bda393;
    border-bottom:2px solid #bda393;
    padding: 8px 15px;*/
}
.profile p{
    padding-right:10px;
}
@media (max-width:767px){
    .profile p{
        padding-right:0;
    }
}
@media (max-width:599px){
    .profile{
        padding:35px 20px 15px;
    }
    .profile_left h3{
        font-size:20px;
    }
    .profile p{
        font-size:14px;
    }
}
@media (max-width:400px){
    .profile_left h3{
        font-size:18px;
    }
}
.profile_span{
    display:block;
    text-align:right;
    color:#000;
}
.profile_right{
    width:30%;
    max-width:233px;
}
.profile_right img{
    width:100%;
}
@media (max-width:767px){
    .profile_content{
        display:block;
    }
    .profile_left{
        width:100%;
    }
    .profile_right{
        width:100%;
        max-width:350px;
        margin:0 auto;
    }
}

input#your-name,
input#your-kana,
input#your-job,
input#tel,
input#your-email,
textarea#your-message{
    width:calc(100% - 12px); /*paddingとborderの1pxを抜かしたらちょうどいい*/
    margin:0 auto;
    padding:10px 5px;
    border:1px solid gray;
    font-size:16px;
}

#your-age{
    padding:10px 5px!important;
    border:1px solid gray;
    font-size:16px;
    border-radius:0;
    background-color:#fff;
    color:#000;
    appearance: none;
-webkit-appearance: none;
max-width:100px;
text-align:right;

}
input.wpcf7-form-control.wpcf7-submit.has-spinner{
    display:block;
    margin:0 auto;
    font-size:20px;
    font-weight:bold;
    padding:7px 25px;
    background-color:#eedcb3;
    border:1px solid gray;
    border-radius:5px;
    cursor:pointer;
    color:#000;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover{
    background-color:#f4a460;
    transition-duration:.5s;
    transition-timing-function:ease;
}
.contact_form{
    display:block;
    margin:0 auto;
    width:80%;
}
@media (max-width:599px){
    .contact_form{
        width:100%;
    }
}
.contact_form span.hissu{
    color:red;

}
.contact_form label{
    font-weight:bold;
}


/*header*/
/*
header.wp-block-template-part {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: 0px 10px 10px -5px rgba(0,0,0,0.5);
}
*/
:where(.wp-site-blocks) > * {
    margin-block-start:0;
}

header{
    display:none!important;
}
.map iframe{
    width:100%;
    height:400px!important;
}
@media (max-width:500px){
    .map iframe{
        height:250px!important;
    }
}


/*矢印*/
.top-button-box{
    opacity:1;
    padding: 10px 15px;
    border: solid 2px #d4d4d4;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    /*opacity: 0;*/
    transition: all 0.4s;
}

.top-button {
    display: block;
    position: fixed;
    bottom: 12%;/*7%*/
    right: 2%;/*5%*/
    z-index: 10;
    cursor: pointer;
}

.top-button-box i {
    margin: 0;
    font-size: 15px;
    color: #fff;
}
.fa-solid{
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-weight: 900;
}
.fa-chevron-up:before{
    content: "\f077";
}

/*20240319追加*/
.thanks_back{
/*
    color:#1e90ff!important;
    font-size:20px;
    font-weight:600;
*/
    display:block;
    width:200px;
    margin:0 auto;
    font-size:20px;
    font-weight: bold;
    padding: 7px 25px;
    background-color: #eedcb3;
    border: solid 1px gray;
    border-radius: 5px;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}
.thanks_pd{
    padding:20px;
    font-size:19px;
    width:auto;
}
@media (max-width:767px){
    .thanks_pd{
        font-size:16px;
    }
}
@media (max-width:500px){
    .thanks_pd{
        padding:10px;
    }
}
:where(body .is-layout-flow) > * {
    margin-block-start: 0;
}