html {
    font-size: 100%;
}
body {
    box-sizing: border-box;
    background-color: #fdf8f8;
    color: #735a40;
    line-height: 1.7;
    font-weight: 700;
    font-size: 1.5rem;
    /* font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif; */
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    overflow-x: hidden;
    /* min-width: 560px; */
}
img {
    width: 100%;
    vertical-align: bottom;
}
li {
    list-style: none;
}
a {
    color: #333;
    text-decoration: none;
}
a:hover {
    opacity: 0.7;
}

.mb-30 {
    margin-bottom: 30px;
}

.pt-30 {
    padding-top: 30px;
}

.fs-small {
    font-size: 0.8rem;
    line-height: 0;
}
/* wrapper */
.wrapper {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}
.flex {
    display: flex;
}
.pc {
    display: inline-block;
}
.sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    html {
        font-size: 2.5vw;
    }
}

/* 共通 */
.highlight {
    background: linear-gradient(transparent 60%, #fff390 80%);
}

/* mainvisual */
main {
    position: relative;
    margin-bottom: 0px;
}

main .mainvisual {
    width: 100%;
    height: 600px;
    line-height: 0;
    margin-bottom: 20px;
    /* clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); */
}

main .mainvisual .img {
    width: 100%;
    height: 100%;
    object-fit: cover ;
    object-position: 50% 70%;
}

main .text {
    font-family: "Hina Mincho", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    padding: 0 50px;
    position: absolute;
    left: 5%;
    top: 50px;
}

main .text span {
    display: inline-block;
    background-color: rgba(223, 203, 183, 0.5);
    margin-bottom: 20px;
    padding: 5px 20px;
    line-height: 40px;
}

main .wave {
    position: absolute;
    bottom: -10px;
    left: 0;
}

@media screen and (max-width: 768px) {
    main .mainvisual {
        height: 500px;
    }
    main .text {
        width: 100%;
        left: 0;
        padding: 0 10px;
        text-align: center;
    }
    main .text span {
        padding: 5px 5px;
    }
}

/* お試し */
.otameshi {
    font-size: 1.8rem;
    margin-bottom: 100px;
    position: relative;
    /* background-color: rgb(255, 230, 40); */
}
.otameshi .text {
    width: 100%;
    text-align: center;
}

.otameshi .text p {
    margin-bottom: 50px;
}
.otameshi .text p.note {
    margin-bottom: 10px;
}

.otameshi .text p strong {
    font-size: 2.4rem;
}

.otameshi .btn {
    display: block;
    width: 500px;
    background-color: #f7cf3c;
    margin: 0 auto;
    padding: 20px 20px;
    border-radius: 50px;
    text-align: center;
    position: relative;
}
.otameshi .btn::after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 100px;
    background: url(../images/check.png) no-repeat center / contain;

    position: absolute;
    top: 50px;
    right: -20px;
}

@media screen and (max-width: 768px) {
    .otameshi .btn {
        width: 80%;
    }
    .otameshi .btn.pc {
        display: none;
    }
    .otameshi .btn.sp {
        display: block;
    }
}

/* お悩み */
.wave-wrapper {
    line-height: 0;
}
.wave-wrapper .wave {
    display: block;
    left: 0;
}

/* お悩み */
.problem {
    background-color: #f3ebe0;
    position: relative;
    text-align: center;
    margin-top: 0;
    height: auto;
    padding-bottom: 100px;
    overflow-x: hidden;
}
.problem h2 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 3.125rem;
    font-weight: 700;
    letter-spacing: 10px;
    margin-bottom: 80px;
}
.problem .container {
    position: relative;
}

.problem .flex {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    row-gap: 30px;
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%; */
}

.problem .item {
    border: 2px solid rgb(115, 90, 64);
    padding: 10px;
    border-radius: 10px;
    width: 48%;
    height: 10rem;
    background-color: #fdf8f8;
    z-index: 2;
}
.problem .item-inner {
    border: 2px dashed rgb(115, 90, 64);
    padding: 15px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    justify-content: center; /* 横中央 */
    align-items: center;     /* 縦中央 */
}
.problem .img {
    width: 40%;
    position: absolute;
    right: 0;
    bottom: -50px;
    transform: translateX(45px);
    z-index: 1;
}
.problem .img img {
    display: inline-block;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
}
.triangle {
    margin: -10px auto 0;
    /* margin-bottom: -200px; */
    background-color: #f3ebe0;
    max-width: 400px;
    height: 50px;
    clip-path: polygon(50% 100%, 10% 0, 90% 0);
    /* transform: translateY(-10px); */
}
@media screen and (max-width: 768px) {
    .problem h2 {
        font-size: 2.7rem;
        margin-bottom: 30px;
    }
    .problem .item {
        width: 49%;
        padding: 5px;
    }
    .problem .container {
        padding: 0 10px;
    }
    .problem .item {
        font-size: 1.4rem;
    }
    .problem .item-inner {
        padding: 5px;
    }
    .problem .img {
        /* overflow-x: hidden; */
        width: 63%;
        bottom: -40px;
        transform: translateX(30px);
    }
    .triangle {
        max-width: 300px;
        /* margin: 0 auto; */
    }
}

/* メッセージ */
.message {
    padding-bottom: 10px;
    margin-top: -20px;
    margin-bottom: 50px;
    /* background-color: #fff8dd; */
    background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url(../images/whitepaint.jpg) repeat;
}

.message p {
    text-align: center;
}

.message h2 {
    font-family: "Zen Maru Gothic", sans-serif;
    
    text-align: center;
    height: 170px;
    background-image: linear-gradient( 135deg, #ec6060 20%, #e60012 100%);
    color: white;
    font-size: 50px;
    font-weight: 700;
    line-height: 70px;
    padding-top: 15px;

    margin-bottom: 70px;
}

.message .wrapper {
}

.message .wrapper .question {
    text-align: center;
    background-image: url(../images/wave.png), url(../images/wave.png);
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 40px 0;
}

.message .wrapper .question h3{
    font-size: 50px;
    font-weight: 700;
}

.message .text-wrapper {
    margin: 0 auto;
    margin-bottom: 50px;
    width: 80%;
    padding-top: 50px;
}
.message .text-wrapper .oshitemeal-text {
    letter-spacing: 2px;
    line-height: 3rem;
}

@media screen and (max-width: 768px) {
    .message .wrapper .question h3{
        font-size: 2.7rem;
    }
    .message h2 {
        font-size: 2.7rem;
        height: 10rem;
        line-height: 4rem;
    }
    .message .text-wrapper {
        width: 100%;
    }
    .message .text-wrapper .oshitemeal-text {
        font-size: 1.6rem;
        letter-spacing: 0.8px;
        line-height: 3rem;
    }
}

/* こだわり */
.kodawari {
    margin-bottom: 100px;
}
.kodawari h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 10px;
    margin: 0 auto;
    text-align: center;
    max-width: 400px;
    background-image: url(../images/zigzag.svg), url(../images/zigzag.svg);
    background-position: 50% 0, 100% 100%;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 20px 0;

    margin-bottom: 80px;
}

.kodawari .wrapper .item {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.kodawari .wrapper .item li{
    width: 30%;
    margin-right: 5%;
    border: 1px dashed #735a40;
    padding: 5px;
}
.kodawari .wrapper .item li:last-child{
    margin-right: 0;
}

.kodawari .wrapper .item .title {
    height: 100px;
    line-height: 100px;
    text-align: center;
    position: relative;
}
.kodawari .wrapper .item .title::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: url(../images/circle.png) no-repeat center / contain;
    opacity: 0.5;
    z-index: -10;
}

.kodawari .wrapper .item .text {
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .kodawari h2 {
        margin-bottom: 50px;
        font-size: 2.7rem;
    }
    .kodawari .wrapper .item {
        font-size: 2rem;
        display: block;
        padding: 0 20px;
    }
    .kodawari .wrapper .item li{
        width: 100%;
        margin-bottom: 30px;
        border: none;
    }
    .kodawari .wrapper .item .text {
        line-height: 3rem;
        font-size: 1.8rem;
    }
}

/* コース */
.course {
    margin-bottom: 100px;
}
.course h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 10px;
    margin: 0 auto;
    text-align: center;
    max-width: 600px;
    background-image: url(../images/zigzag.svg), url(../images/zigzag.svg);
    background-position: 50% 0, 100% 100%;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 30px 0;

    margin-bottom: 80px;
}
.course h2 span{
    display: inline-block;
    position: relative;
}
.course h2 span::after {
    content: '';
    position: absolute;
    top: -2rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    background: url(../images/strong.png) no-repeat center / contain;
    transform: rotate(-10deg);
}

.course .wrapper .item {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.course .wrapper .item li{
    width: 50%;
    border-right: 1px solid #735a40;
    padding: 5px;
}
.course .wrapper .item li:last-child{
    border-right: none;
}

.course .wrapper .item li .oshitemeal {
    font-size: 18px;
    text-align: center;
    letter-spacing: 10px;
}
.course .wrapper .item li .title {
    font-size: 40px;
    text-align: center;
    letter-spacing: 10px;
    margin-bottom: 40px;

    position: relative;
}

.course .wrapper .item li.basic .oshitemeal {
    color: #C26A3D;
}
.course .wrapper .item li.quick .oshitemeal {
    color: #05c52b
}
.course .wrapper .item li.basic .title {
    color: #C26A3D;
}
.course .wrapper .item li.quick .title {
    color: #05c52b
}

.course .item .video-wrapper {
    width: 60%;
    padding: 10px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.course .item video {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    border-radius: 5px;
    position: relative;
}

.course .plan-table {
    width: 100%;
    padding-bottom: 5px;
}

.course .plan-table .table {
    width: 90%;
    margin: 0 auto;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 20px;
}

.course .table th {
    border-bottom: solid 2px rgb(241, 142, 105);
    padding: 10px;
}

.course .table td {
    border-bottom: solid 1px rgb(120, 113, 104, 0.3);
    padding: 10px;
}

.course .table th:first-child {
    width: 110px;
}

.course .table tbody td {
    text-align: center;
}

.course .item .title::after {
    font-size: 60px;
    opacity: 0.2;
    color: #707070;
    top: 10px;
    right:50px;
    transform: rotate(-10deg);
    z-index: 2;
    position: absolute;
    font-style: italic;
}
.course li:nth-child(1) .title::after {
    content: 'Basic';
}
.course li:nth-child(2) .title::after {
    content: 'Quick';
}

@media screen and (max-width: 768px) {
    .course h2 {
        margin-bottom: 30px;
        font-size: 2.7rem;
    }
    .course .wrapper .item {
        display: block;
    }
    .course .wrapper .item li{
        width: 100%;
        border-right: none;
        padding: 0 10px;
    }
    .course .wrapper .item li .title {
        margin-bottom: 20px;
    }
    .course .item .title::after {
        top: -10px;
    }
    .course .wrapper .item li.basic {
        margin-bottom: 50px;
    }
    .course .item .video-wrapper {
        margin-bottom: 10px;
    }
    .course .item .video-wrapper {
        margin: 0 auto;
        width: 70%;
    }
    .course .plan-table .table {
        font-size: 1.4rem;
    }
    .course .table th:first-child {
        width: 130px;
    }
}

/* サービス */
.service {
    margin-top: -20px;
    margin-bottom: 50px;
    /* background-color: #fff8dd; */
}

.service .wrapper p {
    text-align: center;
}

.service h2 {
    position: relative;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    height: 150px;
    background-image: linear-gradient( 135deg, #ec6060 20%, #e60012 100%);
    color: white;
    font-size: 50px;
    font-weight: 700;
    line-height: 150px;
    padding-top: 15px;

    margin-bottom: 80px;
}
.service h2 span{
    display: inline-block;
    position: relative;
}
.service h2 span::after {
    content: '';
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    background: url(../images/strong.png) no-repeat center / contain;
    transform: rotate(-10deg);
}

.service .wrapper p strong {
    font-size: 2rem;
}

.service .text-wrapper {
    margin: 0 auto;
    margin-bottom: 150px;
    width: 80%;
    padding-top: 50px;
}
.service .text-wrapper .oshitemeal-text {
    text-align: left;
    letter-spacing: 2px;
    line-height: 3rem;
}

.service .item .flex {
    align-items: center;
    margin-bottom: 50px;
}

.service .item p {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 5px;
    text-align: center;
}

.service .wrapper-item {
    display: flex;
    justify-content: space-between;
    padding: 0px 20px;
}

.service .menu_item {
    width: 33%;
    max-width: 300px;
}

.service .menu_item .img_wrap {
    position: relative;
    aspect-ratio: 1 / 1;   /* 正方形 */
    margin-bottom: 10px;
}
.service .menu_item .img_wrap::before {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    left: -15px;
    bottom: -15px;
    background-image: url(../images/tomato.png);
    background-size: contain;
    border-radius: 50%;
}
.service .menu_item .img_wrap::after {
    position: absolute;
    color: rgb(255, 248, 221);
    left: -4px;
    bottom: -17px;
    font-size: 26px;
    font-weight: 700;
}
.service .menu_item:nth-child(1) .img_wrap::after {
    content: "月";
}
.service .menu_item:nth-child(2) .img_wrap::after {
    content: "火";
}
.service .menu_item:nth-child(3) .img_wrap::after {
    content: "水";
}

.service .menu_item img {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.service .menu_item p {
    font-size: 18px;
    text-align: left;
    letter-spacing: 0;

    border-top: 1px dotted rgb(241, 142, 105);
    border-bottom: 1px dotted rgb(241, 142, 105);

    line-height: 1.5;
    height: calc(1.5em * 2);
}

.service .menu_item .text {
    font-size: 14px;
    font-weight: 700;
    padding: 5px;
}

@media screen and (max-width: 768px) {
    .service .wrapper {
        /* overflow-x: hidden; */
    }
    .service h2 {
        font-size: 2.7rem;
        height: 10rem;
        line-height: 4rem;
        
        margin-bottom: 40px;
    }
    .service .wrapper-item {
        padding: 0px 10px;
    }
    .service .item p {
        font-size: 1.3rem;
    }
    .service .menu_item .text {
        font-size: 1rem;
    }
}

/* 手続き */
.otameshi-step {
    margin-bottom: 50px;
}
.otameshi-step h2 {
    text-align: center;
    height: 100px;
    background-image: linear-gradient( 135deg, #ec6060 20%, #e60012 100%);
    color: white;
    font-size: 50px;
    font-weight: 700;
    line-height: 70px;
    padding-top: 15px;

    margin-bottom: 80px;
}

.otameshi-step .step h3 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    line-height: 70px;
    padding-top: 15px;
    margin-bottom: 30px;
}
.otameshi-step .step h3::after {
    content: "";
    display: block;
    width: 300px;
    height: 3px;
    background-color: #735a40;
    margin: 0 auto;
}

.otameshi-step .inner {
    background-color: #e7edde;
    position: relative  ;
    padding: 15px;
}

.otameshi-step .btn {
    display: block;
    width: 500px;
    background-color: #f7cf3c;
    margin: 0 auto;
    padding: 20px 20px;
    border-radius: 50px;
    text-align: center;

    font-size: 1.8rem;
}

.otameshi-step .step .text {
    padding: 20px 150px;
    font-size: 24px;
}
.otameshi-step .step .text p {
    margin-bottom: 20px;
    font-weight: 700;
}
.otameshi-step .step .text p:last-child {
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .otameshi-step .step h3 {
        font-size: 2.7rem;
    }
    .otameshi-step .step .text {
        padding: 20px 50px;
        font-size: 1.6rem;
    }
    .otameshi-step .btn {
        width: 80%;
    }
}

/* 注意事項 */
.otameshi-notes {
    margin-bottom: 50px;
}

.otameshi-notes .remarks h3 {
    font-size: 24px;
    text-align: center;
    letter-spacing: 5px;
    margin-bottom: 30px;
    /* border-bottom: 2px solid #f0d5b4; */
}

.otameshi-notes .remarks .text {
    font-size: 24px;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .otameshi-notes .remarks h3 {
        font-size: 1.7rem;
    }
    .otameshi-notes .remarks .text {
        padding: 0 30px;
        font-size: 1.4rem;
    }
}

/* タブ */
.tab-wrapper {
    height: auto;
    overflow: visible;
}
#tab-container {
    padding-top: 50px;
    /* overflow-x: hidden; */
    position: relative;
    z-index: 10;
}
#tab-container::after {
	content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    border-bottom: 2px solid rgb(241, 142, 105);
    transform: translateX(-50%);
}
.tabcontent {
	padding: 10px;
}
.tab {
    padding: 5px;
    letter-spacing: 2px;
    border-radius: 10px 10px 0 0;
    border: 2px solid rgb(241, 142, 105);
    border-bottom: 0px;	
    display: inline-block; 
    color: rgb(115, 90, 64);;
    cursor: pointer;
}
.current-tab { 
    background: gold;
    color: rgb(115, 90, 64);;
    border-bottom-color: transparent;
}
#tab-content {
	overflow: hidden;
	position: relative;
}

.tabcontent {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-webkit-transform: translateY(-100%);
}
.tabcontent:first-child {
	position: relative;	
}
.tabcontent.tab-active {
    color: rgb(115, 90, 64);
    display: block;
    transform: translateY(0%);
    -moz-transform: translateY(0%);
    -webkit-transform: translateY(0%);
}

/* アニメーション */
.fadein {
    transform: translate(0, 50px);
    opacity: 0;
    transition: all 1.8s
}
.fadein.scroll {
    opacity: 1;
    transform: translate(0, 0)
}