.wp-block-image figcaption{font-size: 15px;}

.head-img img{
    height: auto;
}

/* FAQs page */
.faq {
    margin: 70px auto 98px;
    max-width: 880px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.faq > h1 {
    font-size: 23px;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: 0.2rem;
}

.faq > h1 span {
    margin-right: 1.5rem;
    font-size: 28px;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
}

.faq__body {
    position: relative;
    margin-top: 60px;
}

.faq__body > h2 {
    margin-bottom: 24px;
    font-size: 21px;
    font-size: 2.1rem;
    line-height: 1;
}

.faq__body > div {
    margin-bottom: 18px;
}

.faq__body > div:last-child {
    margin-bottom: 0;
}

.faq__body > div p,
.faq__body > div p a {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 2.0;
    text-align: justify;
}

.faq__body > div p:first-child {
    margin-bottom: 4px;
}

.faq__body > div p a {
    text-decoration: underline;
}

.question {font-weight: 600}

.question > span,
.answer > span {
    color: #ff6b0e;
    font-family: 'Spartan', sans-serif;
    font-size: 15px;
    font-size: 1.5rem;
    font-weight: 800;
}

.answer > span {
    color: #00ABE4;
}

@media screen and (max-width: 700px) {

    .faq {
        margin: 40px auto 60px;
    }

    .faq__body {
        margin-top: 30px;
    }
    
    .faq__body > h2 {
        margin-bottom: 20px;
        font-size: 19px;
    }
    
    .faq__body > div p,
    .faq__body > div p a {
        font-size: 14px;
    }
}
/* END FAQs page */


/* Privacy page */
.privacy {
    margin: 70px auto 98px;
    max-width: 768px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.privacy > h1 {
    font-size: 23px;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: 0.2rem;
}

.privacy > h1 span {
    margin-right: 1.5rem;
    font-size: 28px;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
}

.privacy__body {
    position: relative;
    margin-top: 60px;
}

.privacy__body > ol {
    counter-reset: item;
    list-style-type: none;
}

.privacy__body > ol li {
    margin-bottom: 14px;
    padding-left: 1.3rem;
    text-indent: -1.3rem;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 2.0;
    text-align: justify;
}


.privacy__body > ol li:before {
    counter-increment: item;
    content: counter(item)'.';
    color: #ff6b0e;
    font-family: 'Spartan', sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 800;
}


@media screen and (max-width: 700px) {
    
    .privacy {
        margin: 40px auto 60px;
    }
    
    .privacy > h1 span {
        display: block;
    }
    
    .privacy__body {
        margin-top: 30px;
    }
    
    .privacy__body >ol li {
        font-size: 14px;
    }
    
    
}
/* END Privacy page */


/* CSS for contact page */
.contact-form {
    margin: 70px auto 98px;
    max-width: 800px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.contact-form > h1 {
    font-size: 23px;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: 0.2rem;
}

.contact-form > h1 span {
    margin-right: 1.5rem;
    font-size: 28px;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
}

.contact-form > p:first-of-type,
.contact-form > p:first-of-type a,
.contact-form-attn,
.contact-form-attn > span {
    margin: 24px 0 0;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.8;
}

.contact-form > p:first-of-type br {display: block}

.contact-form-attn {
    margin: 0;
    position: relative;
    display: block;
}


.frm--inquiry {margin-top: 60px;}

.frm__select,
.frm--inquiry .frm__input,
.frm__textarea,
.btn {
    border-radius: 5px;
    box-sizing: border-box;
}

.frm__select,
.frm--inquiry .frm__input,
.frm__textarea {
    background-color: #e5e5e5;
    font-size: 1.4rem;
    width: 600px;
    padding: 12px 13px;
}

.frm__select,
.frm--inquiry .frm__input {
    line-height: 1;
    height: 40px;
}

.frm__select--small,
.frm--inquiry .frm__input--small {
    width: 300px;
}

.frm__textarea {
    height: 300px;
    resize: vertical;
}

.btn__outer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 100px;
}

.btn {
    background-color: #fff;
    line-height: 1;
    text-align: center;
    display: block;
    width: 200px;
    height: 50px;
    padding: 16px 0 18px;
    font-size: 16px;
    cursor: pointer;
}

.btn + .btn {
    margin-left: 200px;
}

.btn--submit {
    background-color: #ff6b0e;
    color: #fff;
    border: none;
}

.list-inquiry {
    margin-top: 60px;
}

.list--inquiry__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
}

.list--inquiry__item + .list--inquiry__item {
    margin-top: 38px;
}

.ttl--inquiry {
    line-height: 40px;
    width: 200px;
    font-size: 14px;
    font-size: 1.4rem;
}

.lbl {
    padding-left: 1px;
}

.lbl--required {
    color: #ff6b0e;
    font-size: 14px;
}

.text,
.text_s {
    margin-bottom: 60px;
}

.text {
    line-height: 1.875;
}

.text_s {
    font-size: .75rem;
    padding: 0 60px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.error {
    color: #f00;
    position: absolute;
    top: -2.5em;
    left: 200px;
}


@media screen and (max-width: 920px) {
    .frm__select,
    .frm--inquiry .frm__input,
    .frm__textarea,
    .ttl--inquiry {
        /*font-size: .6875rem;*/
    }
    
    .frm__select,
    .frm--inquiry .frm__input,
    .frm__textarea {
        width: 100%;
    }
    
    .frm__select,
    .frm--inquiry .frm__input,
    .frm__textarea,
    .btn {
        border-radius: 5px;
    }
    
    .frm__select,
    .frm--inquiry .frm__input,
    .frm__textarea {
        padding: 8px 10px 5px;
    }
    
    .frm__select,
    .frm--inquiry .frm__input {
        height: 30px;
    }
    
    .frm__select--small,
    .frm--inquiry .frm__input--small {
        width: 80%;/*184px*/
    }
    
    .frm__textarea {
        height: 160px;
    }
    
    .btn__outer {
        margin-top: 44px;
    }
    
    .btn {
        font-size: 14px;
        width: 200px;
        height: 40px;
        padding: 8px 0 8px;
    }
    
    .btn + .btn {
        margin-left: 50px;
    }
    
    .list--inquiry {
        padding: 0;
    }
    
    .list--inquiry__item {
        display: block;
    }
    
    .list--inquiry__item + .list--inquiry__item {
        margin-top: 20px;
    }
    .ttl--inquiry {
        line-height: normal;
        /*display: inline-block;*/
        width: 100%;/*auto;*/
        margin-bottom: 5px;
    }
    
    .text,
    .text_s {
        font-size: .625rem;
        line-height: 1.9;
    }
    
    .text {
        margin-bottom: 50px;
    }
    
    .text_s {
        margin-bottom: 30px;
        padding: 0 25px;
    }
    
    .error {
        font-size: .6875rem;
        display: inline-block;
        vertical-align: bottom;
        margin-bottom: 8px;
        padding-left: .5em;
        position: static;
    }
    
}

@media screen and (max-width:750px) {
    
    .contact-form {
        margin: 40px auto 60px;
    }
    
    .contact-form > h1 span {
        display: block;
        line-height: 1.4;
    }
    
    .contact-form > p:first-of-type,
    .contact-form > p:first-of-type a {
        margin: 18px 0 0;
        text-align: justify;
    }
    
    .frm--inquiry {margin-top: 30px}
    
    .btn {
        width: 70%;
    }
    
}
/* END css for contact page */


/* STYLE for page company */
.font-size32 {font-size: 3.2rem;}
.font-size26 {font-size: 2.6rem;}
.font-size66 {font-size: 6.6rem;}

@media screen and (max-width:920px) {
    
    .font-size32 {
        font-size: calc(28px + 4 * (100vw - 750px)/270);
    }
    
    .font-size26 {
        font-size: calc(22px + 4 * (100vw - 750px)/270);
    }
    
    .font-size66 {
        font-size: calc(53px + 13 * (100vw - 750px)/270);
    }
    
}


@media screen and (max-width: 750px) {
    
    .font-size32 {
        font-size: calc(27px + 5 * (100vw - 375px)/375);
    }
    
    .font-size26 {
        font-size: calc(19px + 4 * (100vw - 375px)/375);
    }
    
    .font-size66 {
        font-size: calc(33px + 3 * (100vw - 375px)/375);
    }
    
}

.story {
    margin: 70px auto 100px;
    max-width: 1000px;
}

.story > h1 {
    position: relative;
    margin-bottom: 40px;
    padding-right: 200px;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.3rem;
    line-height: 1.6;
}

.story > h1::before {
    content:'';
    position: absolute;
    top: 5px;
    right: -5px;
    width: 25.65789%;/*195px*/
    height: 37.2px;
    background: url(../images/instinct.svg)no-repeat;
    background-size: contain;
}

.story__body {
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 0.3rem;
}

.story__slogan {
    font-weight: 700;
    letter-spacing: 0.5rem;
    line-height: 1.3;
}

.company {
    margin: 0 auto 100px;
    max-width: 1000px;
}

.company__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.company__info table {
    padding-left: 3%;
    width: 70.9%;
    max-width: 709px;
    line-height: 1.8;
    display: block;
}

.company__info table th {
    width: 7.5rem;
    font-weight: 400;
    text-align: left;
}

.company__info table th,
.company__info table td {
    font-size: 15px;
}

.company__info img {
    width: 29.1%;
    max-width: 291px;
}

.w750-br {display: none}


@media screen and (max-width: 920px) {
    
    .company__info table {
        line-height: 1.6;
    }
    
    .company__info table th,
    .company__info table td {
        font-size: calc(13px + 2 * (100vw - 750px)/270);
    }  
    
}


@media screen and (max-width: 768px) {
    
    .story > h1 {
        margin-bottom: 36px;
        padding-right: 182px;
    }
    
}


@media screen and (max-width: 750px) {
    
    .story {margin: 36px auto 50px;}
    
    .story > h1 {
        margin-bottom: 68px;
        padding-right: 0;
    }
    
    .story > h1::before {
        top: 95px;
        left: 0;
        width: 136px;
    }
    
    .story__body {
        margin-bottom: 28px;
        line-height: 1.8;
        text-align: justify;
    }
    
    .story__slogan {
        line-height: 1.5;
    }
    
    .company {margin: 0 auto 64px;}
    
    .company__info table {
        padding-left: 0;
        padding: 18px 0;
        width: 100%;
    }
    
    .company__info table th {
        width: 7rem;
    }
    
    .company__info table th,
    .company__info table td {
        font-size: calc(13px + 2 * (100vw - 375px)/375);
    }
    
    .company__info img {
        display: none;
    }
    
    .w750-br {display: inline}
    .w751-br {display: none}
    
}

/* END style for page company */

/* Style for blog */
.border-line{border-bottom:1.5px solid #FF7600;font-size:1.5rem;font-weight:900;}
.circle{list-style:circle;margin-left:5%;}
.font-size29, .custom-block-section h2{font-size: 2.9rem;}
.font-size18, .custom-block-section h4{font-size: 1.8rem;}
.font-size23, .custom-block-section h3{font-size: 2.3rem;}
.font-size15, .custom-block-section p{font-size: 1.5rem;}
.list-font{font-size:1.5rem;list-style:disc;margin-left:5%;}

@media screen and (max-width:1280px) {
    
    /* メインコピー */
    .font-size29, .custom-block-section h2 {
        font-size: calc(24px + 5 * (100vw - 890px)/390);
    }
    
    /* メインコピー下の英訳&本文 */  
    .font-size18, .custom-block-section h4 {
        font-size: calc(15px + 3 * (100vw - 890px)/390);
    }
    
    /* サブタイトル */
    .font-size23, .custom-block-section h3 {
        font-size: calc(18px + 5 * (100vw - 890px)/390);
    }
    
    /* サブタイトル下の英訳 */
    .font-size15, .custom-block-section p {
        font-size: calc(13px + 2 * (100vw - 890px)/390);
    }  	
    
}
@media screen and (max-width: 768px) {
    
    /* メインコピー */
    .font-size29, .custom-block-section h2 {
        font-size: calc(15px + 5 * (100vw - 751px)/17);
    }
    
    /* メインコピー下の英訳&本文 */  
    .font-size18, .custom-block-section h4 {
        font-size: calc(12px + 2 * (100vw - 751px)/17);
    }
    
    /* サブタイトル */
    .font-size23, .custom-block-section h3 {
        font-size: calc(13px + 3 * (100vw - 751px)/17);
    }
    
    /* サブタイトル下の英訳 */
    .font-size15, .custom-block-section p {
        font-size: calc(11px + 2 * (100vw - 751px)/17);
    }  	
    
}
@media screen and (max-width: 750px) {
    
    /* メインコピー */
    .font-size29, .custom-block-section h2 {
        font-size: calc(18.5px + 5 * (100vw - 375px)/375);
    }
    
    /* メインコピー下の英訳&本文 */  
    .font-size18, .custom-block-section h4 {
        font-size: calc(14px + 1 * (100vw - 375px)/375);
    }
    
    /* サブタイトル */
    .font-size23, .custom-block-section h3 {
        font-size: calc(17px + 3 * (100vw - 375px)/375);
    }
    
    /* サブタイトル下の英訳 */
    .font-size15, .custom-block-section p {
        font-size: calc(13px + 2 * (100vw - 375px)/375);
    }  	
    
}


/* /BLOG TOP PAGE */
.image{margin:3% auto;width:40%;}
.w750-br {display: none}
.head-img {margin: 0 auto;}
.blog__page{margin-bottom:10%;}
.blog__page .blog-page-title{font-size:5rem;margin:5%;}
.blog__page .blog-box{display:flex;justify-content:center;margin:5%;}
.blog__page .blog-box .a-box{box-shadow: 1.8px 1.8px 1.8px 1.8px rgba(0,0,0,0.1);margin:1%;width:50%;}
.blog__page .blog-box .a-box .blog{margin:20px;}
.blog__page .blog-box .a-box .blog .blog__img{}
.blog__page .blog-box .a-box .blog .blog__title{font-size:3rem;}
.blog__page .blog-box .a-box .blog .blog__wording{font-size:1.8rem;}

/* /BLOG EACH PAGE */
.blog__section{margin:5% 10%; font-size: 15px;}
.blog__section .top-photo{margin-bottom:3%;}
.blog__section .blog__title{margin-bottom:3%;}
.blog__section .blog__title h2{}
.blog__section .blog__title p{}
.blog__section .blog__txt{margin-bottom:5%;}
.blog__section .blog__txt li{margin-bottom:3%;}
.blog__section .blog__txt li h3{color:#FF8000;}
.blog__section .blog__txt li a{border-bottom:1px solid #00BEFF;font-weight:900;}
.blog__section .blog__txt li p{}
.blog__section .bottom-photo{}
.blog__section p{margin-bottom: 2rem;}
.blog__section span, .blog__section strong, .blog__section{font-size: 100%;}
.blog__section ul, .blog__section ol{font-size: 1.5rem; list-style: circle; margin-left: 5%;}
.blog__section ol{list-style: decimal;}
.blog__section ul li, .blog__section ol li{margin-bottom: 3%; font-size: 100%; list-style: unset;}
.blog__section ol li{margin-bottom: 1%;}
.post-tags{display: flex; align-items: center; flex-direction: row; margin: 10px 0;}
.post-tags span{font-size: 1.3rem; margin-right: 5px; letter-spacing: 0;}
.post-tags-list{display: flex; flex-wrap: wrap; padding: 0; margin: 0 -5px;}
.post-tags-list li{margin: 0 5px;}
.post-tags-list li a{font-size: 13px; padding: 2px 1.5rem; border-radius: 2.5rem; border: 1px solid #606060; letter-spacing: 0;}
#filter-cont{margin-left: 5%; margin-right: 5%; margin-top: -3%; margin-bottom: -3%;}
#filter-cont span{}
#filter-cont li a{}

.wpcf7-not-valid-tip{ font-size: 13px; }
.wpcf7-response-output{padding: 10px;margin-top: 40px; font-size: 13px;}

@media screen and (max-width: 768px) {
    
    /* /BLOG TOP PAGE */
    .image{width:90%;}
    .blog__page .blog-page-title{font-size:4rem;margin:5%;}
    .blog__page .blog-box{display:block;}
    .blog__page .blog-box .a-box{margin:3% 0;padding:1%;width:100%;}
    .post-tags{display: block;}
    .post-tags span{margin-bottom: 10px; display: block;}
    .post-tags-list li{margin: 5px;}
    
    
    /* /BLOG EACH PAGE */
    
    
}


@media screen and (max-width: 750px) {
    
    /* /BLOG TOP PAGE */
    .w750-br {display: inline;}
    .w751-br {display: none;}
    .blog__page .blog-page-title{font-size:2.8rem;margin:5%;}
    
    
    /* /BLOG EACH PAGE */
    
    
}
/* End style for blog */