/*
Theme Name: seitai_template
Author: seitai_template
Author URI: https://mgblife.com/seitai/
Description: 整体サイトテンプレートテーマ
Version: 1.0
*/

@charset "UTF-8";

/* --------------------------------
 * fv
 * -------------------------------- */
/* pc */
.fv_area {
    position: relative;
    width: 100vw;
    margin-bottom: 40px;
}

.fv_area img {
    margin: 0 auto;
}

.fv_img {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 1100px;
    height: auto;
    object-fit: cover;
}

.fv_area h2 {
    position: absolute;
    bottom: 60px;
    left: 80px;
    width: calc(100% - 40px);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

/* tab */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
}

/* sp */
@media screen and (max-width: 767px) {
    .fv_area {
        margin-bottom: 20px;
    }

    .fv_area h2 {
        left: 20px;
    }
}

/* --------------------------------
 * expert_parts
 * -------------------------------- */
 /* pc */
.expert_img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

 .expert_balloon {
    position: relative;
    background-color: #fff;
    border: solid 2px #F3D3C2;
    padding: 16px;
    margin-top: 6px;
}
.expert_balloon:before,
.expert_balloon:after {
    content: "";
    position: absolute;
    top: -30px; 
}
.expert_balloon:before {
    border: solid 10px transparent;
    border-bottom: solid 20px #F3D3C2;
    right: 40px;
}
.expert_balloon:after {
    border: solid 14px transparent;
    border-bottom: solid 28px #fff;
    right: 36px;
}
.expert_balloon p {
    margin: 0;
    padding: 0;
}

 /* tab */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
}

 /* sp */
@media screen and (max-width: 767px) {
    
}

/* --------------------------------
 * list
 * -------------------------------- */
 /* pc */
 .main_list {
     margin-top: 20px;
     padding: 24px 16px;
     background-color: #F6F4F0;
     border: 1px solid #1A2A46;
 }

 .main_list ul li {
     display: flex;
     align-items: center;
     margin-top: 10px;
 }

 .main_list ul li:first-of-type {
     margin-top: 0;
 }

 .main_list ul li::before {
     content: "";
     margin-right: 8px;
     padding-right: 16px;
     height: 16px;
     background-size: cover;
     background-image: url(img/common/list_dot.svg);
 }

 .two_column_list {
    display: flex;
    align-items: center;
    margin: 20px 16px 0;
}

.two_column_list ul {
    width: 50%;
}

.two_column_list ul li {
    margin-top: 10px;
}

 /* tab */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
}

 /* sp */
@media screen and (max-width: 767px) {
    
}

/* --------------------------------
 * big_triangle
 * -------------------------------- */
 /* pc */
.big_triangle {
    margin: 20px auto 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 36px 90px 0 90px;
    border-color: #1A2A46 transparent transparent transparent;
}

 /* tab */
 @media screen and (min-width: 768px) and (max-width: 1024px) {
    
}

 /* sp */
@media screen and (max-width: 767px) {
    
}

/* --------------------------------
 * ボックス
 * -------------------------------- */
 /* pc */
 .gray_bg_01 {
    margin-top: 20px;
    padding: 10px 16px 16px;
    background-color: #F6F4F0;
}

.gray_bg_01 h2,
.gray_bg_01 h3,
.gray_bg_01 h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.gray_bg_01 p {
    padding: 0;
}

.navy_bg_01 {
    display: block;
    margin-top: 20px;
    padding: 40px 25px;
    background-color: #1A2A46;
    color: #fff;
}

.navy_bg_01 p {
    padding: 0;
}

.border_box_01 {
    margin: 20px 16px 0;
    padding: 20px 16px;
    border: 1px solid #1A2A46;
}

.border_box_01 p {
    padding: 0;
}

.navy_bg_01 .button_01,
.navy_bg_01 .button_02,
.navy_bg_01 .button_03
.border_box_01 .button_01,
.border_box_01 .button_02,
.border_box_01 .button_03 {
    margin-left: 0;
    margin-right: 0;
}

.border_box_01 h2,
.border_box_01 h3,
.border_box_01 h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.two_column_headingimg_box {
    display: flex;
    margin: 20px 16px 0;
}

.two_column_headingimg_box p {
    padding: 0;
}

.two_column_headingimg_box_item h2,
.two_column_headingimg_box_item h3,
.two_column_headingimg_box_item h4 {
    margin-top: 0;
}

.two_column_headingimg_box_item {
    width: calc(50% - 5px);
    margin-right: 5px;
}

.two_column_headingimg_box_item:nth-of-type(2n) {
    margin-right: 0;
    margin-left: 5px;
}

.divide_border {
    display: block;
    margin-top: 5px;
    width: 100%;
    height: 1px;
}

.two_column_border_box {
    display: flex;
    margin: 20px 16px 0;
}

.two_column_border_box_item {
    padding: 12px;
    width: calc(100% - 5px);
    margin-right: 5px;
    border: 2px solid #1A2A46;
    border-radius: 10px;
}

.two_column_border_box_item p {
    margin-top: 15px;
    padding: 0;
}

.two_column_border_box_item:nth-of-type(2n) {
    margin-right: 0;
    margin-left: 5px;
}

 /* tab */
 @media screen and (min-width: 768px) and (max-width: 1024px) {
    
}

 /* sp */
@media screen and (max-width: 767px) {
    .navy_bg_01 {
        display: block;
        width: calc(100% + 20px);
        margin-left: -10px;
        padding: 40px 25px;
        background-color: #1A2A46;
        color: #fff;
    }
}


/* --------------------------------
 * 表
 * -------------------------------- */
 /* pc */
 .table_01,
 .table_02 {
     margin: 20px 16px 0;
 }

.table_two_column {
    display: flex;
    align-items: center;

}

.table_heading,
.table_item {
     padding: 10px;
     width: 50%;
     text-align: center;
}

 .table_01 .table_heading {
     border: 1px solid #1A2A46;
 }

 .table_01 .table_item {
    border-top: 1px solid #1A2A46;
    border-bottom: 1px solid #1A2A46;
    border-right: 1px solid #1A2A46;
 }

 .table_02 {
    border: 3px solid #1A2A46;
    background-color: #fff;
 }

 .table_02_item {
     border-bottom: 1px solid #E5E5E5;
 }

 .table_one_column {
    padding: 10px;
    text-align: center;
 }

 /* tab */
 @media screen and (min-width: 768px) and (max-width: 1024px) {
    
}

 /* sp */
@media screen and (max-width: 767px) {
    
}

/* --------------------------------
 * voice_parts
 * -------------------------------- */
 /* pc */
 .voice_item {
     margin-top: 20px;
     padding: 20px 16px 24px;
     width: 100%;
     border: 1px solid #266ACC;
     background-color: #F6F4F0;
 }

 .voice_item h2,
 .voice_item h3,
 .voice_item h4 {
     margin: 0;
 }

 .voice_item .balloon_heading_01 {
     margin-left: 0;
     margin-right: 0;
 }

 .voice_item img {
     margin-top: 10px;
 }

 .voice_item p {
     margin-top: 20px;
 }

 /* tab */
 @media screen and (min-width: 768px) and (max-width: 1024px) {
    
}

 /* sp */
@media screen and (max-width: 767px) {
    
}

/* --------------------------------
 * 投稿系
 * -------------------------------- */
 /* pc */
 .symptoms_parts_area,
 .news_parts_area {
    padding: 40px 16px 24px;
    width: 100%;
}

.symptoms_item {
    margin-top: 15px;
}

.symptoms_item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #FE46B3;
    color: #FE46B3;
}

.symptoms_item a::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #FE46B3;
}

.news_item {
    border-bottom: 1px solid #999;
    width: 80%;
}

.news_item:first-of-type {
    border-top: 1px solid #999;
}

.news_item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    line-height: 1.5;
    font-size: 20px;
    color: #000;
}

.news_item a::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #000;
}

/* tab */
@media screen and (min-width: 768px) and (max-width: 1024px) {
   
}

/* sp */
@media screen and (max-width: 767px) {
    .symptoms_item {
        margin-top: 10px;
    }
    
    .symptoms_item a {
        width: 100%;
        font-size: 16px;
        padding: 10px;
    }
    
    .news_item a {
        width: 100%;
        padding: 10px 0;
        font-size: 16px;
    }
}

/* --------------------------------
 * contact_area
 * -------------------------------- */
/* pc */
.contact_content {
    padding-top: 20px;
}

.form_item {
    margin-top: 40px;
    padding: 0 16px;
}

.form_item p {
    padding: 0;
    margin-top: 10px;
}

.form_label {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.required {
    display: block;
    margin-left: 20px;
    padding: 4px 10px 5px;
    font-size: 12px;
    font-weight: 700;
    background-color: #F41EEB;
    color: #fff;
}

input[type=text],
input[type="email"],
input[type="tel"],
select,
textarea {
    margin-top: 20px;
    padding: 10px 16px;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    background-color: #FAFAFA;
    border: 1px solid #707070;
}

input[type=text]:focus,
textarea:focus {
    border: 1px solid #FFB331;
}

textarea {
    height: 200px;
}

input[type=submit] {
    margin-top: 60px;
}

.month_date_area {
    align-items: end;
}

.month_date_area + .month_date_area {
    margin-left: 10px;
}

.date_title {
    margin-top: 15px;
}

.date_sub_tx {
    margin-left: 5px;
}

select {
    margin-left: 10px;
    width: 120px;
}

.month_date input[type=text] {
    margin-top: 10px;
    width: 60px;
}

input[type=submit] {
    display: block;
    margin: 20px auto 0;
    padding: 15px;
    width: 300px;
    border-radius: 5px;
    background-color: #FE46B3;
    color: #fff;
}

/* tab */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
}

/* sp */
@media screen and (max-width:767px) {
    .form_item {
        display: block;
        margin-top: 20px;
    }
    
    .required {
        padding: 4px 10px;
        font-size: 1.05rem;
    }
    
    input[type=text],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        margin-top: 10px;
        padding: 10px 12px;
        font-size: 16px;
    }
    
    textarea {
        height: 120px;
    }

    input[type=submit] {
        margin: 20px auto 0;
        padding: 8px;
        width: 180px;
        border-radius: 5px;
        background-color: #FE46B3;
        color: #fff;
    }
}
