@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;
}




/* ここから */

main{
    padding: 20px;
}

.section_cover {
    width: 100%;
    max-width: 1000px;
    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 h2 {
    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: -100px;
    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: 0 auto;
}

.form_section a{
    text-decoration: none;
    color: #3b3b3b;
}
.form_section li{
    margin-bottom: 30px;
}
.url {
    display: block;
    margin-left: 75px;
    color: #4f89d4 !important;
    word-wrap: break-word;
}
@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 h2 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 50px;
}

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

.waving-character {
    position: absolute;
    top: -55px;
    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;
}
.url{
    margin-left: 65px;
    color: #4f89d4!important;
}

}

.admin_table_wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.admin_table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px; /* スクロール発生を促すための最小幅 */
  background-color: #fdfdfd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Helvetica Neue', sans-serif;
}

.admin_table th, .admin_table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
}

.admin_table thead th {
  background-color: #f5f5f5;
  color: #444;
  font-weight: 600;
}

.admin_table tbody tr:hover {
  background-color: #f9f9f9;
}

.admin_table td a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 500;
}

.admin_table td a:hover {
  text-decoration: underline;
}

.admin_table tbody td {
  color: #555;
}

.admin_table tbody tr:last-child td {
  border-bottom: none;
}

.back{
    margin-top: 50px;
}

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

.question_detail p{
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 16px;
}
.question_detail img{
    width: 40px;
}
.question_detail li {
    padding: 30px 0;
    border-bottom: 1px solid rgb(145, 145, 145);
}

.question_detail li:last-child {
    border-bottom: none;
}

.question_category h4{
    display: inline-block;
    background-color: #55acd4;
    color: white;
    border-radius: 10px;
    padding: 5px 15px;
    margin-top: 25px;
}


@media (max-width: 600px) {
.question_category h4{
    display: inline-block;
    background-color: #55acd4;
    color: white;
    border-radius: 10px;
    padding: 5px 15px;
    margin-top: 25px;
    margin-left: 20px;
}
.question_detail img{
    width: 30px;
}
.answer{
    margin-top: 15px!important;
}
}


