@charset "UTF-8";

@font-face {
    font-family: 'CustomFont'; /* フォントの名前 */
    src: url('../fonts/ZenMaruGothic-Bold.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }
@font-face {
    font-family: 'CustomFont2'; /* フォントの名前 */
    src: url('../fonts/baloo-regular.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }

body {
    font-family: 'CustomFont', sans-serif;
      line-break: strict;
  word-break: break-word;
  overflow-wrap: break-word;
}




/* ここから */

main{
    padding: 20px;
}

.section_cover {
    width: 100%;
    max-width: 800px;
    margin: 250px auto 150px;
    padding: 15px;
    border-radius: 40px;
    background-image: url(../img/23349316.jpg);
    background-size: cover;
    position: relative;
    z-index: 10; /* フォームが上に来る */
    overflow: visible;
}

.form_section {
    width: 100%;
    border-radius: 40px;
    background-color: white;
    padding: 50px;
    color: rgb(46, 46, 46);
    position: relative;
    z-index: 20; /* キャラより手前 */
}
.form_section p{
    font-size: 16px;
    color: #525252;
    margin-top: 5px;
    margin-left: 15px;
}

.form_section h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 50px;
}

form label {
    display: block;
    margin-bottom: 15px;
    color: #555;
    font-weight: bold;
}

form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

button[type="submit"] {
    display: block;
    margin: 0 auto;   
    padding: 0.9em 2.5em;
    background-color: #f0f0f0;
    border-radius: 30px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, padding 0.4s ease-in-out;
    overflow: hidden;
}

button[type="submit"]:hover {
    background-color: #27acd9;
    color: #fff;
    padding-left: 3.5em;
    padding-right: 3.5em;
}
.submit {
    display: block;
    text-align: center;
    margin: 40px auto 0;
    padding: 0.9em 2.5em;
    width: 200px;
    background-color: #f0f0f0;
    border-radius: 30px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, padding 0.4s ease-in-out;
    overflow: hidden;
}

.submit:hover {
    background-color: #27acd9;
    color: #fff;
    padding-left: 3.5em;
    padding-right: 3.5em;
}

.waving-character {
    position: absolute;
    top: -130px;
    right: 60px;
    width: 180px;
    height: auto;
    z-index: 5;
    transform: translateY(100%); /* 最初は完全に下に隠す */
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    pointer-events: none;
}
.waving-character2 {
    position: absolute;
    top: -120px;
    right: 60px;
    width: 180px;
    height: auto;
    z-index: 5;
    transform: translateY(100%); /* 最初は完全に下に隠す */
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    pointer-events: none;
}

.waving-character img {
    width: 100%;
    display: block;
}
.waving-character2 img {
    width: 100%;
    display: block;
}

/* ひょっこり出てくる状態 */
.waving-character.show {
    transform: translateY(0);
    opacity: 1;
}
/* ひょっこり出てくる状態 */
.waving-character2.show {
    transform: translateY(0);
    opacity: 1;
}



.more_button {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: transform 0.3s ease-in-out;
    margin-top: 40px;
}

/* ホバー時、全体を下げる */
.more_button:hover {
    transform: translate(5px, 5px);
}

/* ボタン単体のアニメーションは削除 or 無効化 */
a.btn_18 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    position: relative;
    width: 270px;
    padding: 1rem 2rem;
    font-weight: bold;
    border-radius: 10px;
    color: #3b3b3b;
    font-size: 16px;
    border: 3px solid #3b3b3b;
    box-shadow: 5px 5px #3b3b3b;
    transition: 0.3s ease-in-out;
    background-color: white;
}

/* ボタンのホバー時は box-shadow のみ変更（位置は変えない） */
a.btn_18:hover {
    box-shadow: none;
    color: #3b3b3b;
}
.arrow{
    width: 25px;
    height: 25px;
    margin-top: 3px;
}

.form_section ul{
    list-style: none;
    max-width: 100%;
    margin: 40px auto 0;
}

.form_section a{
    text-decoration: none;
    color: #3b3b3b;
}
.form_section li{
    margin-bottom: 50px;
}


@media (max-width: 1000px) {


.waving-character2 {
    position: absolute;
    top: -90px;
    right: 30px;
    width: 150px;
    height: auto;
    z-index: 5;
    transform: translateY(100%); /* 最初は完全に下に隠す */
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    pointer-events: none;
}
}


@media (max-width: 600px) {
    .section_cover {
    width: 100%;
    max-width: 800px;
    margin: 180px auto 100px;
    padding: 15px;
    border-radius: 40px;
    background-image: url(../img/23349316.jpg);
    background-size: cover;
    position: relative;
    z-index: 10; /* フォームが上に来る */
    overflow: visible;
}


.form_section h1 {
    text-align: center;
    font-size: 0.8em;
    margin-bottom: 30px;
}

.form_section {
    width: 100%;
    border-radius: 40px;
    background-color: white;
    padding: 40px 20px;
    color: rgb(46, 46, 46);
    position: relative;
    z-index: 20; /* キャラより手前 */
}

.waving-character {
    position: absolute;
    top: -70px;
    right: 30px;
    width: 110px;
    height: auto;
    z-index: 5;
    transform: translateY(100%); /* 最初は完全に下に隠す */
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    pointer-events: none;
}

}

.main_photo{
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}
.main_photo img{
    max-width: 500px;
    width: 100%;
}
.where{
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin: 20px auto 40px;
    border-radius: 30px;
    border:  3px solid rgb(177, 177, 177);
    padding-top: 4px;
}
.where img{
    max-width: 500px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}


ul h2{
    font-size: 1.2em;
    padding: 10px 25px;
    border-radius: 30px;
    background-color: #ccc;
    display: inline-block;
    margin-bottom: 15px;
}

.space_above{
    margin-top: 40px!important;
}