:root {
    --main_color: #F87E98;
    --second_color: #FCFFF1;
    --third_color: #9FC31D;
    --main_font_color: #111111;
    --main_font_size: 20px;
    --letter_spacing: 3px;
}

/* 共通 */
body {
    padding: 0;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--main_font_color);
}

h1, h2, h3, h4, h5, div, p, ul, li {
    margin: 0;
    padding: 0;
}
ul, li {
    list-style: none;
}

img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

a {
    cursor: pointer;
    text-decoration: none;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}
a:hover {
    opacity: 0.7;
}

.section {
    margin-top: 100px;
}
.inner {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
.inner_sm {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section_ttl h2 {
    position: relative;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
}
.section_ttl h2::after {
    position: absolute;
    top: 50%;
    right: -150px;
    content: '';
    width: 100px;
    height: 3px;
    background-color: var(--main_color);
}

.section_ttl2 {
    text-align: center;
}
.section_ttl2 h2 {
    position: relative;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: var(--letter_spacing);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--third_color);
}
.section_ttl2 p {
    font-size: 20px;
    letter-spacing: var(--letter_spacing);
    color: var(--third_color);
}
.section_ttl2.pink h2 {
    border-color: var(--main_color);
}
.section_ttl2.pink p {
    color: var(--main_color);
}

.link_box a {
    display: block;
    font-size: 20px;
    color: #fff;
    text-align: center;
    background-color: var(--third_color);
    padding: 10px 60px;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}
.txt_br_sp {
    display: none;
}

.anime {
    opacity: 0;
}
.fadeIn{
    -webkit-animation-name:fadeInAnime;
            animation-name:fadeInAnime;
    -webkit-animation-duration:1s;
            animation-duration:1s;
    -webkit-animation-fill-mode:forwards;
            animation-fill-mode:forwards;
    opacity:0;
}
    
@-webkit-keyframes fadeInAnime{
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
    
@keyframes fadeInAnime{
    from {
    opacity: 0;
    }

    to {
    opacity: 1;
    }
}

@media only screen and (max-width: 1024px) {
    .inner {
        max-width: 700px;
    }
    .inner_sm {
        max-width: 700px;
    }
    .section_ttl h2 {
        font-size: 20px;
    }
    .section_ttl2 h2 {
        font-size: 20px;
    }
    .section_ttl2 p {
        font-size: 16px;
    }
    .link_box a {
        width: 90%;
        font-size: 16px;
    }
    .txt_br_sp {
        display: block;
    }
    .txt_br_pc {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .inner {
        padding: 0 20px;
    }
    .inner_sm {
        padding: 0 20px;
    }
}

.kv {
    position: relative;
    text-align: center;
}
.kv_img_f {
    position: relative;
    display: inline-block;
    height: calc(100vh - 184px);
}
.kv_img_f img {
    -o-object-fit: contain;
       object-fit: contain;
}
.kv_logo_f {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 15%;
    height: auto;
}
.kv_txt_f {
    position: absolute;
    top: 35%;
    left: 5%;
    color: #fff;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
    font-size: 2.4vw;
}
.kv_txt2_f {
    position: absolute;
    bottom: 3%;
    right: 2%;
    font-family: "Noto Serif JP", serif;
    font-size: 2.4vw;
    color: #333;
}



.kv_logo {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 15%;
    height: auto;
}
.kv_txt {
    position: absolute;
    top: 35%;
    left: 5%;
    color: #fff;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
    font-size: 3vw;
}
.kv_txt2 {
    position: absolute;
    bottom: 3%;
    right: 2%;
    font-family: "Noto Serif JP", serif;
    font-size: 3.4vw;
    color: #333;
}
@media only screen and (max-width: 768px) {
    .kv_img {
        height: 100%;
    }
    .kv_img img {
        -o-object-fit: cover;
           object-fit: cover;
    }
}

/* テキストアニメーション */
.text-item {
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
    overflow: hidden;
  }
  .block--3 .text-item {
    transform: translateX(-101%);
  }
  .block--3 .is-active .text-item {
    transform: translateX(0);
    transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
    -webkit-transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
    -moz-transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
    -ms-transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
    -o-transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
  }
  .block--3 .is-active .text-item:nth-child(1) {
    transition-delay: 0s;
  }
  .block--3 .is-active .text-item:nth-child(1) > span {
    transition-delay: 0s;
  }
  .block--3 .is-active .text-item:nth-child(2) {
    transition-delay: 0.13s;
  }
  .block--3 .is-active .text-item:nth-child(2) > span {
    transition-delay: 0.13s;
  }
  .block--3 .is-active .text-item:nth-child(3) {
    transition-delay: 0.26s;
  }
  .block--3 .is-active .text-item:nth-child(3) > span {
    transition-delay: 0.26s;
  }
  .text-item > span {
    display: block;
  }
  .block--3 .text-item > span {
    transform: translateX(101%);
  }
  .block--3 .is-active .text-item > span {
    transform: translateX(0);
    transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
    -webkit-transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
    -moz-transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
    -ms-transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
    -o-transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
}
/* テキストアニメーション */

/* about */
.about {
    padding-top: 70px;
    padding-bottom: 70px;
}
.about_ttl {
    font-size: 30px;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
    margin-bottom: 30px;
}
.about_txt {
    font-size: var(--main_font_size);
}

.about2 {
    background-color: var(--second_color);
    padding-top: 50px;
    padding-bottom: 50px;
}
.about2_box {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}
.about2_box_f {
    /* align-items: center; */
}
.about2_item {
    position: relative;
    width: 46%;
    height: auto;
    padding-bottom: 50px;
    background-color: #fff;
    border: 1px solid var(--third_color);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.about2_item_txt {
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--third_color);
}
.about3_item .about2_item_txt {
    border-bottom: 1px solid #F7ECE3;
}
/* .about2_item_img_box {
    margin-bottom: 50px;
} */
.about2_item_img {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}
.about2_item_cate {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 20px;
    text-align: center;
    padding-bottom: 30px;
}

.about2_item_img_box.second {
    display: flex;
    justify-content: space-between;
}
.about2_item_img_box.second .about2_item_img {
    width: 40%;
}

.about2_link_box {
    text-align: center;
}
.about2_link_box a {
    font-size: 20px;
    color: #fff;
    text-align: center;
    background-color: var(--third_color);
    padding: 10px 60px;
}

.about3_item {
    position: relative;
    width: 46%;
    height: auto;
    padding-bottom: 30px;
    /* background-color: #F7ECE3; */
    background-color: #f7ece370;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.about3_item_txt {
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    text-align: center;
    padding-top: 30px;
}
.about3_item_cate {
    font-size: 20px;
    text-align: center;
}

.about4_box {
    margin-top: 50px;
}
.about4_ttl {
    font-size: 20px;
    text-align: center;
}
.about4_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    padding: 20px 0;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    /* border: 1px solid var(--third_color); */
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.about4_item_txt {
    font-size: 18px;
    font-weight: 200;
    margin-right: 20px;
    letter-spacing: 1px;
}
.about4_item_img {
    width: 20%;
    height: auto;
}

@media only screen and (max-width: 1024px) {
    .about2_link_box a {
        padding: 10px 40px;
    }
}

@media only screen and (max-width: 768px) {
    .about {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .about_ttl {
        font-size: 20px;
    }
    .about_txt {
        font-size: 16px;
    }

    .about2_box {
        display: block;
    }
    .about2_item {
        width: 100%;
        margin-bottom: 30px;
    }
    .about2_item:last-child {
        padding-bottom: 100px;
        margin-bottom: 0;
    }
    .about2_link_box a {
        font-size: 16px;
        padding: 10px 40px;
    }
    .about2_item_txt {
        font-size: 20px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .about2_item_cate {
        font-size: 16px;
    }
    .about3_item {
        width: 100%;
    }
    .about3_item_txt {
        font-size: 16px;
        padding-top: 15px;
    }
    .about3_item_cate {
        font-size: 16px;
    }

    .about4_box {
        margin-top: 30px;
    }
    .about4_ttl {
        font-size: 16px;
        text-align: center;
    }
    .about4_item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 0;
    }
    .about4_item_txt {
        font-size: 16px;
    }
    .about4_item_img {
        width: 20%;
        height: auto;
    }
}

/* blog */
.blog {
    padding-top: 100px;
}
.blog_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 56px;
}
.blog_list_box {
    width: 65%;
    height: auto;
}
.blog_item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ccc;
}
.blog_item_txt_box {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blog_date {
    display: inline-block;
    width: 150px;
    font-size: var(--main_font_size);
    color: var(--main_font_color);
    margin-right: 25px;
}
.blog_txt {
    font-size: var(--main_font_size);
    color: var(--main_color);
}
.arrow_img {
    width: 50px;
    height: 50px;
}
.blog_img_box {
    width: 30%;
    height: auto;
}

@media only screen and (max-width: 768px) {
    .blog {
        padding-top: 50px;
    }
    .blog_box {
        display: block;
    }
    .blog_list_box {
        width: 100%;
    }
    .blog_img_box {
        width: 100%;
    }
    .blog_item_txt_box {
        width: 80%;
    }
    .blog_item_txt_box span {
        display: block;
    }
    .blog_date {
        font-size: 16px;
    }
    .blog_txt {
        font-size: 16px;
    }
    .blog_img_box {
        margin-top: 30px;
    }
    .blog_img {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* movie */
.movie {
    padding-top: 100px;
    padding-bottom: 100px;
}
.movie_banner {
    display: block;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}
.movie_box {
    width: 450px;
    height: 255px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

@media only screen and (max-width: 768px) {
    .movie {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .movie_banner {
        width: 100%;
        margin-bottom: 30px;
    }
    .movie_box {
        width: 100%;
        height: 100%;
        margin-bottom: 30px;
    }
}

/* service */
.service {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(--second_color);
}
.service_txt {
    font-size: var(--main_font_size);
    text-align: center;
    letter-spacing: var(--letter_spacing);
    margin-top: 50px;
    margin-bottom: 50px;
}
.worries_box {
    background-color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}
.worries_ttl {
    text-align: center;
    margin-bottom: 40px;
}
.worries_ttl h3 {
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: var(--letter_spacing);
    background: linear-gradient(transparent 50%, #EEFFB1 50%);
}
.worries_list_box {
    display: flex;
    justify-content: space-between;
    max-width: 570px;
    margin-left: auto;
    margin-right: auto;
}
.worries_list {
    width: 72%;
}
.worries_item {
    display: flex;
    margin-bottom: 15px;
}
.worries_item:last-child {
    justify-content: end;
    margin-bottom: 0px;
}
.worries_item p {
    font-size: var(--main_font_size);
    letter-spacing: var(--letter_spacing);
    margin-left: 15px;
}
.worries_list_img {
    width: 21%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}

@media only screen and (max-width: 768px) {
    .service_txt {
        font-size: 16px;
        text-align: left;
    }
    .worries_ttl h3 {
        font-size: 20px;
    }
    .worries_list_box {
        display: block;
    }
    .worries_list {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
    .worries_item svg {
        width: 15px;
    }
    .worries_item p {
        font-size: 15px;
    }
    .worries_list_img {
        width: 30%;
        margin-left: auto;
        margin-right: auto;
    }
}


/* service_contents */
.service_contents {
    padding-top: 100px;
    padding-bottom: 100px;
}

.service_contents_item {
    display: flex;
    margin-bottom: 50px;
}
.service_contents_item:last-child {
    margin-bottom: 0;
}
.service_contents_item_l.txt {
    width: 55%;
    height: auto;
    background-color: #F6F6F6;
    padding: 50px;
}
.service_contents_item_r.img {
    width: 45%;
    height: auto;
}
.service_contents_item_img {
    width: 100%;
    height: 100%;
}
.service_contents_item_ttl_box {
    margin-bottom: 30px;
}
.service_contents_item_ttl_en {
    font-size: 30px;
    font-family: "Mr De Haviland", cursive;
    color: var(--main_color);
    letter-spacing: var(--letter_spacing);
    margin-bottom: 10px;
}
.service_contents_item_ttl_ja {
    position: relative;
    font-size: 28px;
    padding-bottom: 20px;
    letter-spacing: var(--letter_spacing);
}
.service_contents_item_ttl_ja::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--main_color);
}
.service_contents_item_txt {
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: var(--letter_spacing);
}
.service_contents_item_link a {
    display: block;
    width: 250px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: var(--main_font_size);
    text-align: center;
    font-weight: bold;
    letter-spacing: var(--letter_spacing);
    color: #fff;
    background-color: var(--main_color);
}

@media only screen and (max-width: 1024px) {
    .service_contents_item_l.txt {
        padding: 30px;
    }
    .service_contents_item_ttl_en {
        font-size: 24px;
    }
    .service_contents_item_ttl_ja {
        font-size: 20px;
    }
    .service_contents_item_txt {
        font-size: 16px;
    }
    .service_contents_item_link a {
        width: 200px;
        font-size: 16px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .service_contents_item_img img {
        -o-object-position: right;
           object-position: right;
    }
}
@media only screen and (max-width: 768px) {
    .service_contents_item {
        flex-direction: column;
        margin-bottom: 30px;
    }
    .service_contents_item:nth-child(2) {
        flex-direction: column-reverse;
    }
    .service_contents_item_l.txt {
        width: 100%;
        padding: 30px;
    }
    .service_contents_item_r.img {
        width: 100%;
    }
    .service_contents_item_ttl_box {
        margin-bottom: 20px;
    }
    .service_contents_item_ttl_en {
        font-size: 20px;
    }
    .service_contents_item_ttl_ja {
        font-size: 18px;
        padding-bottom: 10px;
    }
    .service_contents_item_ttl_ja::after {
        height: 3px;
    }
    .service_contents_item_txt {
        font-size: 14px;
    }
    .service_contents_item_link a {
        width: 100%;
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 16px;
    }
}

/* flow */
.flow {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(--second_color);
}
.flow_ttl_wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.flow_ttl_box {
    width: 234px;
    height: auto;
}
.flow_ttl_box h2 {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: var(--letter_spacing);
    margin-bottom: 10px;
}
.flow_ttl_box p {
    font-size: var(--main_font_size);
    letter-spacing: var(--letter_spacing);
    color: var(--third_color);
}
.flow_txt_box {
    width: calc(90% - 234px);
    font-size: var(--main_font_size);
    letter-spacing: var(--letter_spacing);
}
.flow_txt_box a {
    font-weight: bold;
    color: var(--third_color);
    text-decoration: underline;
}
.flow_list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.flow_item {
    position: relative;
    width: 20%;
    height: auto;
}
.flow_img {
    margin-bottom: 20px;
}
.flow_txt {
    font-size: var(--main_font_size);
    font-weight: bold;
    letter-spacing: var(--letter_spacing);
    text-align: center;
}
.flow_txt p a {
    color: var(--third_color);
    text-decoration: underline;
}
.flow_txt_sm {
    font-size: 16px;
    font-weight: normal;
}
.flow_arrow {
    position: absolute;
    top: 30%;
    right: -27%;
    width: 20%;
}
.flow_subtxt {
    font-size: 24px;
    letter-spacing: var(--letter_spacing);
    text-align: center;
}
.flow_subtxt p a {
    font-weight: bold;
    color: var(--third_color);
    text-decoration: underline;
}

@media only screen and (max-width: 768px) {
    .flow_ttl_wrap {
        display: block;
    }
    .flow_ttl_box {
        width: 100%;
        margin-bottom: 30px;
    }
    .flow_txt_box {
        width: 100%;
    }
    .flow_ttl_box h2 {
        font-size: 20px;
    }
    .flow_ttl_box p {
        font-size: 16px;
    }
    .flow_txt_box {
        font-size: 15px;
    }
    .flow_list {
        display: block;
    }
    .flow_item {
        width: 100%;
        margin-bottom: 30px;
    }
    .flow_img {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
    .flow_arrow {
        display: none;
    }
    .flow_subtxt {
        font-size: 15px;
    }
}

/* introduction */
.introduction {
    padding-top: 100px;
    padding-bottom: 100px;
}
.introduction_ttl {
    margin-bottom: 50px;
}
.introduction_ttl h2 {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}
.introduction_box {
    display: flex;
    justify-content: space-between;
}
.introduction_item {
    position: relative;
    width: 45%;
    height: auto;
    padding: 60px 50px 30px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.15);
}
.introduction_item::after {
    position: absolute;
    content: '';
    top: 30px;
    left: 50%;
    width: 100px;
    height: 9px;
    background-color: var(--main_color);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
}
.introduction_img {
    margin-bottom: 30px;
}
.introduction_txt {
    text-align: center;
    letter-spacing: var(--letter_spacing);
}
.introduction_txt h3 {
    font-size: 30px;
    font-weight: bold;
    color: var(--main_color);
    margin-bottom: 5px;
}
.introduction_txt p {
    font-size: var(--main_font_size);
}

@media only screen and (max-width: 768px) {
    .introduction {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .introduction_ttl {
        margin-bottom: 30px;
    }
    .introduction_ttl h2 {
        font-size: 20px;
    }
    .introduction_box {
        display: block;
    }
    .introduction_item {
        width: 100%;
        padding: 60px 30px 30px;
        margin-bottom: 30px;
    }
    .introduction_item:last-child {
        margin-bottom: 0;
    }
    .introduction_txt h3 {
        font-size: 20px;
    }
    .introduction_txt p {
        font-size: 16px;
    }
}

/* company */
.company {
    padding-bottom: 100px;
}
.company_box {
    margin-top: 50px;
}
.company_table_box {
    margin-bottom: 50px;
}
.company_table_box table {
    width: 100%;
    height: auto;
}
.company_table_box table tr {
    font-size: var(--main_font_size);
    letter-spacing: var(--letter_spacing);
    border: 1px solid #ccc;
}
.company_table_box table th {
    width: 50%;
    font-weight: bold;
    text-align: center;
    background-color: #EFEFEF;
    padding-top: 15px;
    padding-bottom: 15px;
}
.company_table_box table td {
    width: 50%;
    padding-left: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.company_map {
    width: 100%;
    height: 300px;
}

@media only screen and (max-width: 768px) {
    .company {
        padding-bottom: 50px;
    }
    .company_box {
        margin-top: 30px;
    }
    .company_table_box table tr {
        font-size: 16px;
    }
    .company_table_box table th {
        padding: 10px;
    }
    .company_table_box table td {
        padding: 10px;
    }
    .company_map {
        width: 100%;
        height: 200px;
    }
}

/* affiliated */
.affiliated {
    padding-bottom: 100px;
}
.affiliated .company_table_box {
    margin-bottom: 0;
}
.affiliated .company_table_box table th {
    width: 30%;
}
.affiliated .company_table_box table td {
    width: 70%;
}

@media only screen and (max-width: 768px) {
    .affiliated {
        padding-bottom: 50px;
    }
    
}

/* sdgs */
.sdgs {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(--second_color);
}
.sdgs_ttl {
    text-align: center;
}
.sdgs_ttl h2 {
    position: relative;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}
.sdgs_ttl h2::before {
    position: absolute;
    content: '';
    top: 50%;
    left: -150px;
    width: 100px;
    height: 3px;
    background-color: var(--third_color);
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
}
.sdgs_ttl h2::after {
    position: absolute;
    content: '';
    top: 50%;
    right: -150px;
    width: 100px;
    height: 3px;
    background-color: var(--third_color);
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
}
.sdgs_img {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}
.sdgs_txt {
    font-size: var(--main_font_size);
    text-align: center;
    letter-spacing: var(--letter_spacing);
}
.sdgs_txt a {
    font-weight: bold;
    text-decoration: underline;
    color: var(--third_color);
}

@media only screen and (max-width: 768px) {
    .sdgs_ttl h2 {
        font-size: 20px;
    }
    .sdgs_ttl h2::before {
        width: 50px;
        left: -70px;
    }
    .sdgs_ttl h2::after {
        width: 50px;
        right: -70px;
    }
    .sdgs_img {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .sdgs_txt {
        font-size: 16px;
        text-align: left;
    }
}

/* banner */
.banner {
    padding-top: 100px;
    padding-bottom: 100px;
}
.banner_box {
    display: flex;
    justify-content: space-between;
}
.banner_item {
    display: block;
    width: 30%;
}
.banner_item_img {
    margin-bottom: 15px;
}
.banner_item_txt {
    font-size: 12px;
    color: var(--main_color);
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .banner {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .banner_box {
        display: block;
    }
    .banner_item {
        width: 100%;
        margin-bottom: 30px;
    }
    .banner_item:last-child {
        margin-bottom: 0;
    }
}

/* inquiry */
.inquiry {
    padding-bottom: 100px;
}
.inquiry_txt {
    font-size: var(--main_font_size);
    text-align: center;
    letter-spacing: var(--letter_spacing);
    margin-top: 50px;
    margin-bottom: 50px;
}
.form_box {
    display: flex;
    border: 1px solid #ccc;
}
.form_label {
    display: flex;
    align-items: center;
    width: 40%;
    height: auto;
    font-size: var(--main_font_size);
    letter-spacing: var(--letter_spacing);
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 45px;
    background-color: #EFEFEF;
}
.form_label .required {
    font-size: 14px;
    letter-spacing: var(--letter_spacing);
    color: #fff;
    padding: 2px 12px;
    background-color: #CE0000;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.form_input {
    display: flex;
    align-items: center;
    width: 60%;
    padding-left: 50px;
    padding-right: 50px;
}
.form_input .form_txt {
    font-size: var(--main_font_size);
    margin-right: 10px;
}
.form_input.textarea {
    padding-top: 15px;
    padding-bottom: 15px;
}

.radio_label {
    position: relative;
    cursor: pointer;
    font-size: 16px;
    padding-left: 30px;
    margin-right: 30px;
}

.radio_label::before,
.radio_label::after {
    content: "";
    display: block; 
    position: absolute;
}

.radio_label::before {
    background-color: #fff;
    border-radius: 0%;
    border: 1px solid #ddd;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    top: 50%;
    left: 5px;
}

.radio_label::after {
    border-bottom: 2px solid var(--main_color);
    border-left: 2px solid var(--main_color);
    opacity: 0;
    height: 5px;
    width: 10px;
    transform: rotate(-45deg);
    top: 11px;
    left: 10px;
}

.radio_input:checked + .radio_label::after {
    opacity: 1;
}

.input_txt {
    width: 100%; /*親要素いっぱい広げる*/
	padding: 10px 15px; /*ボックスを大きくする*/
	font-size: 16px;
	border-radius: 3px; /*ボックス角の丸み*/
	border: 2px solid #ddd; /*枠線*/
	box-sizing: border-box; /*横幅の解釈をpadding, borderまでとする*/
}

.submit_btn_box {
    text-align: center;
    margin-top: 50px;
}
.submit_btn {
    width: 500px;
    height: auto;
    font-size: var(--main_font_size);
    letter-spacing: var(--letter_spacing);
    font-weight: bold;
    color: #fff;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 7px;
    background-color: #00142C;
}
.submit_btn:hover {
    opacity: 0.7;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

@media only screen and (max-width: 1024px) {
    .inquiry_txt {
        font-size: 18px;
    }
    .form_label {
        font-size: 16px;
        padding-left: 25px;
        padding-right: 25px;
    }
    .form_label .required {
        font-size: 12px;
    }
}
@media only screen and (max-width: 768px) {
    .inquiry {
        padding-bottom: 50px;
    }
    .inquiry_txt {
        font-size: 16px;
        margin-top: 30px;
        margin-bottom: 30px;
        text-align: left;
    }
    .form_box {
        display: block;
    }
    .form_label {
        width: 100%;
        padding-left: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 14px;
    }
    .form_input {
        width: 100%;
        padding: 20px;
        display: block;
    }
    .form_input.postcode {
        display: flex;
        align-items: center;
    }
    .radio_label {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .radio_label::after {
        top: 7px;
    }
    .form_label .required {
        font-size: 12px;
    }
    .radio_label:nth-of-type(3){
        margin-bottom: 0;
    }
    .submit_btn_box {
        margin-top: 30px;
    }
    .submit_btn {
        width: 100%;
        font-size: 16px;
    }
}