@charset "utf-8";

.header_img {
    background-image: none;
    text-align: center;
}

.header_img h2 {
    display: none;
}

/* ここからスライドショーのコーディング含む。 */
.slider {
    position:relative;
    z-index: 1;
    /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
    height: 70vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

.slider-item01 {
    background:url(../img/menu_banner2.jpg);
}

.slider-item02 {
    background:url(../img/menu_header04.jpg);
}

.slider-item03 {
    background:url(../img/Instagram-Post-Mockup.jpg);
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: contain;/*背景画像が.slider-item全体を覆い表示*/
}

.slider-item {
    width: 100vw;
    height: 90vh;
}

.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  position: relative;
  z-index: 3;
  text-align:center;
  margin: 30px 0 0 0;
}

.slick-dots li {
    display:inline-block;
  margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

/*========= レイアウトのためのCSS ===============*/
/* header ul{
  margin:0;
  padding: 0;
  list-style: none;
}

header a{
  color: #fff;
} */

/* a:hover,
a:active{
  text-decoration: none;
} */

.container{
  position: relative;
}

.menu_header {
    margin-top: 100px;
}

.menu_header h3 {
    color: rgb(223, 23, 23);
    font-size: 28px;
    margin-bottom: 50px;
}


.menu_header > :first-child {
    margin: 0 auto;
    text-align: center;
}

.figure_box {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

figure img {
    width: 260px;
    border-radius: 130px;
}

figcaption {
    margin-top: 20px;
    line-height: 2em;
    font-weight: bold;
    text-align: center;
}

figcaption span {
    font-size: 22px;
}

.sub_bottom {
    margin:100px auto 0 ;
    text-align: center;
}

.img_box {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.img_box img {
    width: 260px;
    border-radius: 130px;
}

.sub_bottom p {
    font-size: 24px;
    font-weight: bold;
    margin:50px 0 5px;
}

.sub_bottom small {
    font-weight: bold;
}

/* ここからプラン */

.menu_plan {
    margin-top: 150px;
}

.section_title {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 28px;
    align-items: center;
}

.section_title::before,.section_title::after {
    content: '';
    flex-grow: 0.15;/* 余白を分け与える */
    height: 3px;
    background: #000;
}

.section_title::before {
    margin-right: 30px;
}

.section_title::after {
    margin-left: 30px;
}

.first_box {
    margin-top: 100px;
}

.first_box a  {
    width: 800px;
    display: block;
    margin: 0 auto;
    text-decoration: none;
    color: #000;
    transition: .3s ease; 
}

.first_box a:hover {
    opacity: 0.7;
    transform: scale(1.02);
}

.first_box section {
    width: 800px;
    margin: 50px auto;
    display: flex;
    border-radius: 20px;
    box-shadow: 10px 10px 5px rgb(140, 130, 130);
}

.first_box section img {
    width: 40%;
    border-radius: 20px 0 0 20px;
}

.first_box section .text_contents {
    width: 60%;
    margin: 2% 5%;
}

.text_contents {
    text-align: center;
    font-weight: bold;
}

.text_contents h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

.text_contents p {
    font-size: 22px;
}

.first_box .price img {
    width: 50px;
}

.first_box .price {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.frist_btn button {
    display: block;
    width: 120px;
    /* height: 30px; */
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    background-color: #0071ad;
    color: #fff;
    border-radius: 20px;
    font-size: 18px;
    transition: transform 0.5s ease;
    padding: 10px 0;
    border: none;
}

.frist_btn button:hover {
    opacity: 0.7;
    transform: scale(1.02);
}

#none_box {
    display: none;
}

.up {
    display: block;
}

.tel_contents {
    text-align: center;
}

.tel_contents p{
    color: red;
    font-size: 20px;
    font-weight: bold;
    margin: 20px;
}

.tel_contents p a {
    display: block;
    margin: 0 auto;
    width: 200px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    background-color: #0071ad;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.tel_contents p a:hover {
    opacity: 0.7;
    transform: scale(1.02);
}

.flow {
    margin-top: 100px;
}

.flow h2 {
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 28px;
    align-items: center;
}

.flow_flex {
    width: 800px;
    margin: 50px auto ;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flow_flex p:nth-child(1) {
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-align: center;
    line-height: 80px;
    background-color: #fff;
    border: 2px solid #000;
}

.flow_flex p:nth-child(1) span{
    color: #000;
    display: inline-block;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    line-height: 75px;
    background-color: #0cb6e0;
    font-weight: bold;
}

.flow_flex p:last-child {
    font-size: 18px;
}

.flow_flex p:last-child {
    font-weight: bold;
}

.arrow_02 {
    display: block;
    width: 60px;
    margin: 0 auto;
}

/* q&A */

#q_box {
    margin-top: 150px;
    margin-bottom: 150px;
}

.qa-list {
    width: 50%;
    margin: 100px auto 0;
}

.qa-list dt {
    font-size: 22px;
    color: #05019e;
}

.qa-list dl {
    position: relative;
    margin: 30px 0 0;
    cursor: pointer;
    border: 1px solid #DDD;
}
.qa-list dl:first-child {
  margin-top: 0;
}
.qa-list dl::after {
    position: absolute;
    top: 27px;
    right: 26px;
    display: block;
    width: 7px;
    height: 7px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    border-top: 2px solid #000;
    border-right: 2px solid #000;
}
.qa-list .open::after {
    transform: rotate(-45deg);
}
.qa-list dl dt {
    position: relative;
    margin: 0;
    padding: 20px 20px 20px 60px;
    font-weight: bold;
    background: #fbf6d8;
    text-align: center;
}
.qa-list dl dt::before {
    font-size: 30px;
    /* line-height: 1; */
    position: absolute;
    top: 10px;
    left: 30px;
    display: block;
    content: 'Q.';
    color: #000;
}
.qa-list dl dd::before {
    font-size: 30px;
    line-height: 1;
    position: absolute;
    top: 30px;
    left: 30px;
    display: block;
    content: 'A.';
    font-weight: bold;
    color: #3285bf;
}
.qa-list dl dd {
    position: relative;
    margin: 0;
    padding: 40px 20px 20px 60px;
    text-align: center;
}
.qa-list dl dd p {
    margin: 30px 0 30px 50px ;
    text-align: left;
    font-weight: bold;
}

.qa-list dl dd p .red {
    color: red;
    border-bottom: 1px solid red;
}

.qa-list dl dd p:first-child{
    margin-top: 0;
}

@media screen and (max-width: 959px) {

    .slider {
        height: 30vh;
    }

    .container {
        height: 450px;
    }

    .slider-item {
        width: 100vw;
        height: 50vh;
    }

    .slick-arrow {
        top: 70%;
    }

    h2 {
        font-size: 20px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    p {
        font-size: 14px !important;
    }

    .menu_header {
        margin-top: 30px;
    }

    figure img {
        width: 150px;
    }
    
    .figure_box {
        width: 90%;
        /* display: flex;
        flex-flow: column; */
    }
    
    .figure_box figure{
        margin: 0 auto;
    }

    .figure_box figcaption {
        font-size: 14px;
    }

    .figure_box figcaption span{
        font-size: 18px;
    }

    .img_box {
        width: 60%;
    }

    .img_box img {
        width: 150px;
    }

    .sub_bottom p {
        font-size: 18px !important;
    }

    .sub_bottom small {
        color: orange;
    }

    .first_box section {
        width: 600px;
    }

    .tel_contents {
        margin-top: 50px;
    }

    .tel_contents p {
        font-size: 16px !important;
    }

    .tel_contents a {
        font-size: 14px !important;
        padding: 10px 0;
    }

    .flow_flex {
        width: 95%;
        justify-content: center;
    }

    .flow_flex p:first-child {
        margin-right: 50px;
    }

    .arrow_02 {
        width: 40px;
    }

    .qa-list {
        width: 80%;
    }

    .qa dt {
        font-size: 16px;
    }

    .qa-list dl dt::before {
        font-size: 22px;
        top: 15px;
    }

    .qa-list dl dd::before {
        font-size: 22px;
    }

}

@media screen and (max-width: 480px) {

    header {
        background-image: none;
    }

    .slider-item {
        height: 45vh;
    }

    
    .container {
        height: 350px;
    }

    .figure_box {
        flex-flow: column;
        justify-content: space-around;
    }

    .figure_box figure:nth-of-type(2),
    .figure_box figure:nth-of-type(3) {
        margin-top: 50px;
    }

    .img_box {
        display: block;
    }

    .img_box img:last-child {
        margin-top: 50px;
    }

    .first_box a {
        width: 80%;
    }

    .first_box section {
        width: 100%;
        flex-flow: column;
        align-items: center;
        border-top: 1px solid rgba(207, 202, 202);
        border-left: 1px solid rgba(207, 202, 202);;
    }

    .first_box section img {
        width: 100%;
        height: 250px;
        border-radius: 20px;
    }

    .text_contents h3 {
        margin-top: 20px;
        font-size: 16px !important;
    }

    .text_contents p {
        font-size: 16px !important;
    }

    .text_contents p:nth-of-type(2) {
        margin-top: 20px;
    }

    .first_box section .text_contents {
        width: 80%;
        letter-spacing: 0.1em;
        vertical-align: center;
    }


    .first_box .price img {
        width: 30px;
        height: 30px;
    }

    .price {
        margin-bottom: 30px;
    }

    .flow_flex {
        flex-flow: column;
        align-items: center;
    }

    .flow_flex p:first-child {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .flow_flex p:nth-of-type(2) {
        width: 80%;
        line-height: 2em;
    }

    #q_box {
        margin-bottom: 100px;
    }

    .qa-list dl dt {
        text-align: left;
        line-height: 2em;
    }

    .qa-list dl dt::before {
        left: 20px;
    }

    .qa-list dl::after {
        right: 16px;
    }

    .qa-list dl dd p:first-child {
        margin: 0;
        line-height: 2em;
    }

    .qa-list dl dd::before {
        left: 20px;
    }


}