@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

img {
    width: 100%;
    vertical-align: bottom;
}

body {
    overflow-x: hidden;
}

/* header */
.header__inner {
    padding: 0 20px; /*左右の余白確保*/
    display: flex; /*ロゴとハンバーガーメニューを横に並べる*/
    align-items: center;
    justify-content: space-between;
    height: inherit; /*親要素の高さを継承*/
    position: relative;
}
/* ヘッダーのロゴ部分 */
.header__title {
    width: 150px;
}

@media screen and (min-width: 767px) {
    .header__title {
        width: 200px;
    }
}

.header__title img {
    display: block;
    width: 100%;
    height: 100%;
}

/* ヘッダーのナビ部分 */
.header__nav {
    position: fixed; /* absoluteからfixedに変更 */
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: #fff;
    transition: ease 0.4s;
    z-index: 9999;
    visibility: hidden;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
    visibility: visible;
}

@media screen and (min-width: 767px) {
    .header__nav {
        position: static;
        transform: initial;
        background-color: inherit;
        height: inherit;
        display: flex;
        justify-content: end;
        width: 50%;
        visibility: visible;
    }
}

/* ハンバーガーメニュー */
.header__hamburger {
    width: 48px;
    height: 100%;
}

.hamburger {
    background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    z-index: 9999;
}

@media screen and (min-width: 767px) {
    /*PC時非表示にする*/
    .hamburger {
        display: none;
    }
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease 0.4s;
    display: block;
}

/* デフォルト状態:三本線 */
.hamburger span:nth-child(1) {
    top: 0;
    transform: rotate(0deg);
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
    opacity: 1;
}

.hamburger span:nth-child(3) {
    top: 0;
    transform: rotate(0deg);
}

/* クリック後の状態:×印 */
.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    margin: 8px 0;
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}

/*PC時のナビゲーションメニュー、横並びにする*/
@media screen and (min-width: 767px) {
    .nav__items {
        width: 85%;
        display: flex;
        align-items: baseline;
        height: initial;
        justify-content: space-between;
    }
}

.nav-items {
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 767px) {
    .nav-items {
        position: inherit;
        top: 0;
        left: 0;
        transform: translate(0, 0);
    }
}

/* ナビのリンク */
.nav-items_item a {
    color: #000;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
}

@media screen and (min-width: 767px) {
    .nav-items_item a {
        margin-bottom: 0;
    }
}

.nav-items_item:last-child a {
    margin-bottom: 0;
}

/* main */
h2 {
    text-align: center;
    margin-bottom: 10px;
    font-family: sans-serif;
}
form {
    width: 90%;
    margin: 0 auto;
}

@media screen and (min-width: 767px) {
    form {
        width: 60%;
    }

    h2 {
        margin: 50px 0;
        font-size: 1.8em;
    }
}

p.captionRed {
    margin-bottom: 18px;
    color: red;
}

dt.required::before {
    content: "*";
    color: red;
}
.required {
    margin-bottom: 5px;
}

.agreement-text {
    font-size: 1rem;
    line-height: 1.5;
    height: 20rem;
    overflow: scroll;
    overflow-x: hidden;
    width: 100%;
    border: 1px solid #bababa;
    padding: 1rem;
    margin-bottom: 12px;
}

div p span {
    margin-top: 12px;
    display: block;
    padding: 1.5rem;
    background: #eeeeef;
}

div a {
    color: #000;
    cursor: pointer;
    transition: all 1s;
}

form dl.agreement {
    margin-bottom: 18px;
}

form dl.agreement dd div p {
    margin: 18px auto 0;
}

form dl.agreement dd div p.info {
    margin: 0;
}

label {
    background: #eeeeef;
    padding: 10px;
}

label input {
    width: 18px;
    height: 18px;
    margin-top: 20px;
    margin-right: 10px;
    margin-bottom: 20px;
}

label span {
    vertical-align: text-top;
    font-size: 1rem;
    line-height: 18px;
}

dd span {
    margin-right: 10px;
}

form dl dd input[type="text"] {
    padding: 2px 10px;
    margin-right: 12px;
    margin-bottom: 12px;
}

.kana {
    margin-bottom: 5px;
}

form dl dd input[type="email"] {
    padding: 2px 10px;
    margin-bottom: 12px;
}

form dl dd input[type="tel"] {
    padding: 2px 10px;
    margin-right: 12px;
    margin-bottom: 12px;
}

form dl dd textarea {
    margin-bottom: 12px;
}

/* footer */
footer {
    margin-top: 10%;
    text-align: center;
    padding: 20px;
    background-color: rgba(201, 174, 26, 0.781);
    color: #fff;
}
