@charset "UTF-8";

/* ====================================
  リセットCSS
======================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
figure,
span,
img,
a,
table,
tr,
th,
td {
    border: 0;
    font-size: 100%;
    font-weight: normal;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

header,
footer,
main,
nav,
section,
article,
aside,
figure,
figcaption {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
    list-style-type: none;
}

/* ====================================
  初期設定
======================================= */
html {
    font-size: 62.5%;
    /* 10px */
}

body {
    background: #fff;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: sans-serif;
    color: #4D4D4D;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    box-sizing: content-box;
    border-style: none;
    vertical-align: middle;
}

a {
    text-decoration: none;
    vertical-align: baseline;
    background: transparent;
    color: inherit;
}

@media (min-width: 1025px) {
    a {
        transition: 0.3s ease-in-out;
    }

    a:hover {
        filter: brightness(100%);
    }
}

section {
    padding: 100px 0;
    text-align: center;
}

.wrap {
    max-width: 1160px;
    margin: auto;
    padding: 0 30px;
}

/*==========================
ヘッダー
===========================*/
.header {
    width: 100%;
    transition: .4s;
    z-index: 100;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*ヘッダー高さ*/
    height: 60px;
}

.header-logo {
    width: 190px;
    margin-left: 30px;
}

@media screen and (min-width: 992px) {
    .header-logo {

        margin-left: 0;
    }

    .header-wrap {
        /*ヘッダー高さ*/
        height: 100px;
        max-width: 1420px;
        margin: auto;
        padding: 0 30px;
    }
}

@media screen and (min-width: 1280px) {
    .header-logo {
        min-width: 310px;
    }
}

@media screen and (min-width: 1360px) {
    .header-logo {
        position: absolute;
        /* left: 30px; */
    }
}

/*
グローバルナビ
===========================*/
.gnav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background: #fff;
    transition: transform .25s;
    padding: 2em 0;
    text-align: center;
    z-index: 101;
}

.gnav.active {
    z-index: 101;
    transform: translateX(0);
}

.gnav-list {
    margin: 1em 0;
}

.gnav-list li a {
    display: block;
    text-align: center;
    padding: 1.5em;
    color: #333333;
    font-size: 1.4rem;
}

.header-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.header-widget a {
    margin: 15px;
}

@media screen and (min-width: 992px) {
    .gnav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        position: static;
        width: calc(100% - 150px);
        height: auto;
        margin-left: auto;
        transform: translateX(0);
        background: none;
        padding: 0;
    }

    .gnav-list {
        display: flex;
        justify-content: space-between;
        margin: 0 0.5em 0 1em;
    }

    .gnav-list li a {
        line-height: 1.2;
        padding: 0 1.2vw;
        font-size: 1.2rem;
    }

    header a:hover {
        opacity: 0.5;
    }

    .header-widget {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .header-widget a {
        margin: 10px;
    }
}

@media screen and (min-width: 1280px) {
    .gnav {
        width: calc(100% - 300px);
    }

    .gnav-list li a {
        padding: 0 1em;
    }
}

/*
ハンバーガーメニュー
===========================*/
.hamburger-wrap {
    z-index: 102;
    position: fixed;
    top: 2%;
    right: 30px;
    align-items: center;
    justify-content: center;
}

.hamburger {
    width: 40px;
    height: 23px;
    border: 0;
    background-color: transparent;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    position: relative;
}

.hamburger:focus {
    outline: none;
}

.hamburger span {
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 30px;
    height: 3px;
    background-color: #928075;
    /* border-radius: 4px; */
    transition: all .3s;
    /* filter: drop-shadow(2px 1px 2px #aaa); */
}

.hamburger span:nth-of-type(1) {
    top: 0;
}

.hamburger span:nth-of-type(2) {
    top: 10px;
}

.hamburger span:nth-of-type(3) {
    bottom: 0;
}

.hamburger.active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}

.hamburger.active span:nth-of-type(2) {
    opacity: 0;
    animation: active-bar02 .5s forwards;
}

@keyframes active-bar02 {
    100% {
        height: 0;
    }
}

.hamburger.active span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
}

@media screen and (min-width: 992px) {
    .hamburger {
        display: none;
    }
}

/*==========================
フッター
===========================*/
footer {
    background-color: #928075;
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media screen and (max-width: 767px) {
    section {
        padding: 60px 0;
    }

    .wrap {
        padding: 0 30px;
    }

    header .wrap {
        height: 50px;
    }

    header .wrap img {
        width: 120px;
    }

    footer {
        font-size: 1.3rem;
    }
}

/* ====================================
共通
======================================= */

.bg {
    background-color: #FAF8F6;
}

.grid {
    display: grid;
    place-items: center;
}

.ttl {
    margin-bottom: 75px;
}

@media screen and (max-width: 767px) {
    .ttl {
        margin-bottom: 50px;
    }
}

/* ====================================
  個別
======================================= */
.mv {
    margin-top: 100px;
}

@media screen and (max-width: 991px) {
    .mv {
        margin-top: 60px;
    }
}

.teian .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

@media screen and (max-width: 767px) {
    .teian .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin-top: 30px;
    }

    .teian .grid img:nth-of-type(3) {
        order: 4;
    }

    .teian .grid img:nth-of-type(4) {
        order: 3;
    }

    .teian .grid img:nth-of-type(5) {
        order: 5;
    }

    .teian .grid img:nth-of-type(6) {
        order: 6;
    }
}

.strength .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media screen and (max-width: 767px) {
    .strength .grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        margin: auto;
    }
}

.case {
    margin-bottom: 170px;
}

.case:last-of-type {
    margin-bottom: 100px;
}

@media screen and (max-width: 767px) {
    .case {
        margin-bottom: 70px;
    }

    .case:last-of-type {
        margin-bottom: 40px;
    }
}

.cv {
    padding: 70px 0;
    background-image: url(../img/cv_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.cv .ttl {
    max-width: 778px;
    width: 100%;
    margin-bottom: 0;
}

.cv .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.cv a:hover {
    filter: brightness(120%);
}

@media screen and (max-width: 767px) {
    .cv {
        padding: 40px 0;
    }

    .cv .grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.charm {
    background-image: url(../img/charm_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.charm img:nth-child(n+2) {
    margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
    .charm {
        background-image: url(../img/charm_bg_sp.jpg);
    }

    .charm img:nth-child(n+2) {
        margin-bottom: 30px;
    }
}

.faq img:nth-child(n+2) {
    margin-bottom: 50px;
}

.faq picture:last-child img {
    margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
    .faq img:nth-child(n+2) {
        margin-bottom: 30px;
    }
}

/*==========================

お問い合わせ

===========================*/
.form-area {
    background-color: #FAF8F6;
    margin-top: 70px;
    padding: 60px 0 0;
    font-size: 16px;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .form-area {
        margin-top: 30px;
        padding: 23px 0 0;
    }
}

.form-area h2 {
    width: 600px;
    height: 40px;
    background-color: #928075;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: #fff;
    letter-spacing: 0.15em;
}

@media screen and (max-width: 767px) {
    .form-area h2 {
        width: 230px;
        height: 25px;
        font-size: 16px;
    }
}


form#mail_form .name-input input[type=text] {
    width: 250px;
}

form#mail_form .mid input {
    max-width: 450px;
}

form#mail_form input[name=postal] {
    width: 150px;
    margin-bottom: 10px
}


form#mail_form dl dd span {
    min-width: 2.5em;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    color: #808080;
}

form#mail_form dl dd .col {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

form#mail_form dl dd .col div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

form#mail_form dl dd .col.howto li {
    width: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

form#mail_form dl dd .radio {
    padding-top: 5px;
}


form#mail_form dl dd .col.howto li:first-child {
    width: 150px;
}

form#mail_form dl dd .col.howto li:nth-child(2) {
    width: 120px;
}

form#mail_form dl dd .col.howto li:last-child {
    min-width: 340px;
}

form#mail_form .other {
    width: 245px;
    position: relative;
    top: -88px;
    right: 59px;
    margin-right: 0;
}

form#mail_form .other dt {
    display: none;
}

form#mail_form .other dd {
    width: 100%;
}

input::placeholder {
    color: #E6E6E6;
}

form#mail_form select {
    width: 200px;
    height: 40px;
    line-height: 30px;
    padding: 0 50px 0 10px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../img/select_arrow.svg), #fff;
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: right 0 center;
    color: #4D4D4D;
    border-radius: 0;
    cursor: pointer;
}

select::-ms-expand {
    display: none;
}

form#mail_form #form_submit span {
    position: relative;
}

form#mail_form #form_submit span::before {
    content: "";
    width: 12px;
    height: 18px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25px;
    margin: auto;
    background: url(../img/btn_arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


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

    form#mail_form,
    form#mail_form input[type=text],
    form#mail_form input[type=email],
    form#mail_form input[type=tel],
    form#mail_form textarea {
        font-size: 16px;
    }

    form#mail_form .name-input input[type=text] {
        width: 100%;
    }


    form#mail_form dl dd .col {
        display: block;
        justify-content: space-between;
        align-items: center;
    }

    form#mail_form dl dd .col div {
        margin-bottom: 10px;
    }

    form#mail_form dl dd .col.howto li:first-child,
    form#mail_form dl dd .col.howto li:nth-child(2) {
        width: 100%;
    }

    form#mail_form dl dd .col.howto li:last-child {
        width: 100%;
        min-width: inherit;
    }

    form#mail_form .howto-row span.error_blank {
        position: absolute;
        max-width: 19em;
    }

    form#mail_form .other {
        width: 189px;
        position: relative;
        top: -47px;
        right: 0;
        left: calc(70px + 10vw);
        margin-left: auto;
        margin-left: 0;
    }

    form#mail_form #form_submit span::before {
        content: "";
        width: 8px;
        height: 18px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 15px;
    }

}

/*==========================

サンクスページ

===========================*/
.thanks-page {
    background-color: #FAF8F6;
    position: relative;
    color: #928075;
}

#thanks {
    text-align: center;
    padding: 200px 20px 0;
}

#thanks h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5em;
}

#thanks a {
    display: block;
    width: 290px;
    margin: 30px auto;
    border: 1px solid;
    padding: 15px;
    background-color: #928075;
    color: #fff;
}

@media (min-width: 768px) {
    #thanks {
        font-size: 1.6rem;
    }

    #thanks h1 {
        font-size: 3.6rem;
    }
}