
a, a:link, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration: none;
}

body, html {
    margin: 0;
    padding: 0;
    /* font-family: sans-serif; */
    overflow-x: hidden;
   /* font-family: "Yu Gothic", "游ゴシック体", "Meiryo", sans-serif; */
   /* font-family: "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ Pro", sans-serif; */
   /* font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;  */
    /* font-family:"ヒラギノ角ゴ ProN W3"; */
    font-family: 'Noto Sans JP', sans-serif;



}
body {
  background-color: #6e1208;
  /* background-image: url('../img/bg_01.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto; */
}

body.main-bg {
  background-color: #6e1208;
  background-image: url('../img/bg_01.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto;
}

.top-section {
    position: relative;
    width: 100%;
    /* height: 90vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.fuji-img {
position: absolute;
width: 100%;
z-index: 2;
top: 30%;
}

.decoration {
    position: absolute;
    width: 50px;
    max-width: 10vw;
    z-index: 1;
}

.river-divider {
  position: absolute;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;   /* ← 縦方向の中央揃え */
  justify-content: center; /* ← 横方向の中央揃え */
  z-index: 4;
  overflow: hidden; /* 画像がはみ出す場合の対策 */
  top: 20%;
}
.naname-img {
    width: 100%;
    height: 100%; /* 高さを親に合わせる（必要に応じて調整） */
}

.center-group {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin-top: 5vh;
}

.center-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: url('../img/moon.png') no-repeat center center;
    background-size: 200%;
}

.horse-img, .shogatsu-img,.logo-img {
    position: absolute;
    z-index: 999;
}

.horse-img {
    top: 15%;
    left: 0;
    width: 70%;
    z-index: 999;
}

/* .shogatsu-img {
    top: 22%;
    right: 0;
    width: 30%;
} */
.shogatsu-img {
    top: 28%;
    right: 10%;
    width: 40%;
}


.logo-img {
    top: 5%;
    width: 30%;
}
.decoration{
    top: 2%;
    left: 70%;
    width: 100px;
    z-index: 10;
}
.decoration2{
    position: absolute;
    top: 0%;
    left: 4%;
    width: 100px;
    z-index: 10;
}
.decoration3{
    position: absolute;
    top: 50%;
    left: 4%;
    width: 20vh;
    z-index: 10;
}
.line-img{
    width: 100px;
    position: absolute;
    top: -5vh;
    right: -15%;
}

.top_left_img{
    position: absolute;
    top: 12%;
    left: 4%;
    width: 20vh;
}

.top_right_img{
    position: absolute;
    top: 16%;
    right: 2%;
    width: 20vh;
}

.top_left2_img{
    position: absolute;
    top: 2%;
    left: 1%;
    width: 20vh;
}

.top_right2_img{
    position: absolute;
    right: 4%;
    width: 20vh;
}

.newyear-message {
  background: url(../img/text_bg.png) no-repeat center top;
  background-size: 1000px auto;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 3;
  min-height: 800px;
  margin-top: 300px;
}

.message-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.message-box h2 {
  font-size: 2em;
  color: #b22222;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.message-box p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
}

.corp_logo_img{
    width: 12vh;
    position: absolute;
    top:60%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.omikuji-section {
  padding: 60px 20px;
  text-align: center;
}

.omikuji-title {
  width: 300px;
  max-width: 80%;
  margin: 0 auto 40px;
  display: block;
  z-index: 2;
  position: relative;
}

footer{
    text-align: center;
    background:#f6e1c6;
}

.horse-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.horse-row img {
  width: 200px;
  max-width: 20vw;
}

.omikuji-button-wrapper {
  text-align: center;
}

.omikuji-button {
  width: 400px;
  max-width: 60vw;
  cursor: pointer;
  position: relative;
  z-index: 2;
}



.horse-wrapper {
  position: absolute;
  top: 18%;
  left: 100vw; /* 初期位置：画面右外 */
}

/* .horse1 { top: 2vh; }
.horse2 { top: 16vh; }
.horse3 { top: 26vh; }
.horse4 { top: 36vh; } */

.horse1 { top: 0%; } /* 白線 20%の上に配置 */
.horse2 { top: 20%; } /* 白線 40%の上に配置 */
.horse3 { top: 40%; } /* 白線 60%の上に配置 */
.horse4 { top: 60%; } /* 白線 60%の上に配置 */


/* 横移動（トリガー） */
.move {
  animation: omikuji-moveLeft 3s linear forwards;
}

/* 足のアニメーション（スプライト） */
.omikuji-run {
  animation: omikuji-run 1s steps(8) infinite;
}


@keyframes omikuji-moveLeft {
  0%   { left: 110vw; }
  100% { left: -200px; } /* 馬の幅より左へ移動 */
}

@keyframes omikuji-run {
  from { background-position: 0 0; }
  to   { background-position: -3000px 0; }
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  z-index: 1000;
  margin: 0 auto;
  place-items: center;
}

.modal.show {
  opacity: 1;
  visibility: visible;
  display: grid;
}

.modal-content {
  background: #fffdeb;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  width: 500px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 4px solid #dcd48d;          /* 金色の太めボーダー */
  border-radius: 8px;              /* 角丸（必要に応じて） */
  padding: 16px;                   /* 中身との余白 */
  box-shadow: 0 0 8px #dcd48d;

}
.selectable-horse {
  cursor: pointer;
  border: 3px solid transparent;
  transition: 0.3s;
}

.horse-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  z-index: 2;
  position: relative;
}

.horse {
  position: relative;
  cursor: pointer;
}

.horse img {
  width: 80px;
  transition: 0.3s;
}

/* チェックマーク（選択時のみ表示） */
.horse::before {
  content: "✔";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  color: #2eb7f0;
  display: none;
}

.horse.selected::before {
  display: block;
}
.horse:hover img {
  opacity: 0.6;
}

/* 選択印（✔） */
.horse::after {
  content: "✔";
  position: absolute;
  top: 0;
  right: 0;
  font-size: 40px;
  color: #2eb7f0;
  display: none;
}

.horse.selected::after {
  display: block;
}

.selectable-horse {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* .selectable-horse::before {
  content: "✔";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  color: #2eb7f0;
  display: none;
  opacity: 1;
} */

.selectable-horse::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: url(../img/check-icon.png) no-repeat center center;
    background-size: contain;
    display: none;
    z-index: 4;
}





.selectable-horse.selected::before {
  display: block;
}

.selectable-horse img {
  width: 200px;
  transition: 0.3s;
}

.selectable-horse:hover img {
  opacity: 1;
}

.omikuji-horse-sprite {
  position: absolute;
  top: -10%;
  z-index: 3;
  width: 200px;
  height: 150px;
  background-repeat: no-repeat;
  background-size: 1600px auto; /* 200px × 8コマ */
  animation: omikuji-run 1s steps(8) infinite;
}

/* 色別に画像を分ける */
.omikuji-horse-sprite.uma01 {
  background-image: url('../img/horse-sprite.png');
}
.omikuji-horse-sprite.uma02 {
  background-image: url('../img/horse-sprite2.png');
}
.omikuji-horse-sprite.uma03 {
  background-image: url('../img/horse-sprite3.png');
}
.omikuji-horse-sprite.uma04 {
  background-image: url('../img/horse-sprite4.png');
}

.omikuji-horse-sprite.run {
  animation: omikuji-run 1s steps(8) infinite;
}

/* スプライトアニメーション */
@keyframes omikuji-run {
  from { background-position: 0 0; }
  to   { background-position: -1600px 0; }
}


section.closing-message.text-center.py-4 {
    text-align: center;
    height: 400px;
}
.footer-overlay {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

.footer-overlay img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.footer-overlay-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.3rem;
  /* font-weight: bold; */
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
  pointer-events: none;
}

.race-track {
  position: relative;
  width: 100vw;
  height: 800px;
  background: #f6e0c6;
  overflow: auto;
  border-top: 2px solid #aaa;
  border-bottom: 2px solid #aaa;
  z-index: 1;
}

/* 白線 */
.track-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  z-index: 1; /* 馬の下にするなら 1、上にするなら 3 */
}

/* 馬 */
.horse-wrapper {
  position: absolute;
  z-index: 2;
}


 button#shareButton {
    width: 200px;
    height: 46px;
    background: #721608;
    color: #ffffff;
    border-radius: 4px;
    margin-right: 10px;
    border: 2px solid #9b3b3b;
    font-size: 16px;
    display: none;
}

button#closeModal{
    width: 200px;
    height: 46px;
    margin-left: 10px;
    border: 2px solid #7f7f7f;
    font-size: 16px;
    color: #3d3d3d;
    margin-bottom: 6%;
    margin-top: 4%;
}


@keyframes horseRun {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-600%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes fadeOutWhite {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

#openingAnimation {
  position: fixed;
  inset: 0;
  background: #8b2b05;
  display: none;
  overflow: hidden;
  z-index: 2;
}

#audioPrompt{
    color: #ffffff;
}

#emaWrapper {
  position: relative;
}

#staticUmaImg {
  position: absolute;
  top: 70%;
  z-index: 10;  /* 前後関係 */
}


.fade-out {
  animation: fadeOutWhite 1s ease forwards;
}

button#audioYes {
    width: 200px;
    height: 46px;
}

button#audioNo {
    width: 200px;
    height: 46px;
}

#audioPrompt button {
  font-size: 18px;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  color: #3d3d3d;
}

#audioPrompt button {
  box-shadow: none;
  outline: none;
  border: 1px solid #876a26;
  background-color: #deb960;
  padding: 8px 16px;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#audioPrompt button:hover {
  opacity: 0.6;
}
/*
.horse-img {
  z-index: 10;
  opacity: 0;
  animation: horseJump 1.5s ease-out forwards;
} */

.horse-img {
  z-index: 999;
  opacity: 0;
}

.horse-jump {
  animation: horseJump 1.5s ease-out forwards;
}



@keyframes horseJump {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  100% {
    transform: translate(-10vw, -4vh) scale(1);
    opacity: 1;
  }
}


/* 絵馬全体を揺らす */
#emaWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: shakeEma 1s ease-in-out 1;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

#emaImg,
#staticUmaImg {
  width: 220px;
  position: absolute;
  top: 0;
  left: 0;
}

#staticUmaImg {
  z-index: 2;
  animation: hideUma 0.1s forwards;
  animation-delay: 1.4s;
}

@keyframes hideUma {
  to {
    opacity: 0;
  }
}


@keyframes runSprite {
  from { background-position: 0 center; }
  to { background-position: -1600px center; }
}

@keyframes moveLeft {
  from { left: 10px; }
  to { left: -1000px; }
}

@keyframes appearAndRun {
  to { opacity: 1; }
}

@keyframes shakeEma {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) rotate(3deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  75% {
    transform: translate(-50%, -50%) rotate(2deg);
  }
}

/* ラッパー全体：中央に固定 */
#emaWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  transform: translate(-50%, -50%);
  animation: shakeEma 1s ease-in-out 1;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

/* 絵馬（中央） */
#emaImg {
  width: 220px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 馬の静止画像（揺れ後に消える） */
#staticUmaImg {
  width: 220px;
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 2;
  animation: hideUma 0.1s ease-out forwards;
  animation-delay: 1.5s; /* 揺れが0.5s〜1s → それが終わる頃に発動 */
}

/* フェードアウトのアニメーション */
@keyframes hideUma {
  to {
    opacity: 0;
  }
}

/* アニメ馬（最初は同じ位置 → 下にずらしたければ top 調整） */
#horseContainer {
  position: absolute;
  top: 160px;
  left: 10px;
  width: 200px;
  height: 150px;
  overflow: hidden;
  z-index: 3;
  opacity: 0;
  animation: appearAndRun 0.1s forwards, moveLeft 2s linear forwards;
  animation-delay: 1.5s, 1.6s;
}

#horseSprite {
  width: 1600px;
  height: 150px;
  background: url('../img/horse-sprite0.png') left center no-repeat;
  background-size: 1600px auto;
  background-position: 0 center;
  animation: runSprite 2.5s steps(8) infinite;
  animation-delay: 1.2s;
}

@keyframes fadeOutHorse {
  from { opacity: 1; }
  to { opacity: 0; }
}

.fade-out-horse {
  animation: fadeOutHorse 0.5s ease-out forwards;
}

#goldParticles {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: hidden;
}

#goldParticles {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: hidden;
}

.gold-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, gold, transparent);
  opacity: 0.8;
  border-radius: 2px;
  transform: rotate(45deg); /* ✅ 菱形に */
  animation: fall 16s linear infinite;
}

@keyframes fall {
  0% {
    transform: translateX(0) rotate(45deg);
    opacity: 1;
  }
  50% {
    transform: translateX(-10px) rotate(45deg); /* 左へスイング */
  }
  100% {
    transform: translateX(10px) translateY(110vh) rotate(45deg); /* 右へ抜けながら落ちる */
    opacity: 0;
  }
}

.falling-flowers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.flower {
  position: absolute;
  top: -50px;
  width: 40px;
  --scale: 1;
  transform: scale(var(--scale)) translateY(0) rotate(0deg);
  animation-name: fall;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0.99;
}


.flower:nth-child(1) { left: 5%;  animation-delay: 0s;  --scale: 0.8; }
.flower:nth-child(2) { left: 15%; animation-delay: 3s;  --scale: 1.1; }
.flower:nth-child(3) { left: 25%; animation-delay: 6s;  --scale: 0.6; }
.flower:nth-child(4) { left: 35%; animation-delay: 1s;  --scale: 2.6; }
.flower:nth-child(5) { left: 45%; animation-delay: 4s;  --scale: 0.9; }
.flower:nth-child(6) { left: 55%; animation-delay: 2s;  --scale: 1.3; }
.flower:nth-child(7) { left: 65%; animation-delay: 5s;  --scale: 0.7; }
.flower:nth-child(8) { left: 75%; animation-delay: 7s;  --scale: 2.0; }
.flower:nth-child(9) { left: 85%; animation-delay: 2.5s; --scale: 1.4; }
.flower:nth-child(10){ left: 95%; animation-delay: 6.5s; --scale: 0.5; }


@keyframes fall {
  0% {
    transform: scale(var(--scale)) translateY(0) rotate(0deg);
    opacity: 0.99;
  }
  100% {
    transform: scale(var(--scale)) translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}


@keyframes smoothSway {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(3deg); }
  50%  { transform: rotate(-3deg); }
  80%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

.decoration {
  top: 2%;
  left: 70%;
  width: 100px;
  z-index: 10;
  position: absolute;
  animation: smoothSway 4s ease-in-out infinite;
  transform-origin: center center;
}

.decoration2{
    position: absolute;
    top: 0%;
    left: 4%;
    width: 100px;
    z-index: 10;
    animation: smoothSway 4s ease-in-out infinite;
    transform-origin: center center;
}
.decoration3{
    position: absolute;
    top: 60%;
    left: 4%;
    width: 20vh;
    z-index: 10;
}
.line

#whiteFade {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 1.5s ease;
}

#whiteFade.fade-in {
  opacity: 1;
}

.omikuji-button.disabled {
  pointer-events: none;
  opacity: 0.5;
}

#whiteFade {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 1.5s ease;
}

.fade-in {
  opacity: 1;
  transition: opacity 1.5s ease;
}

#openingAnimation {
  opacity: 1;
  transition: opacity 1.5s ease; /* ← フェードアウト時間 */
  /* その他レイアウトに必要なスタイルも忘れずに */
}

.fade-out {
  opacity: 0;
}

.result-flex {
  display: flex;
  flex-direction: column;     /* 縦に並べる */
  align-items: center;        /* 横方向に中央揃え */
  justify-content: center;    /* 必要に応じて縦方向の中央揃え */
  gap: 16px;
  line-height: 1.5;
  color: #333;
}

.highlight {
  color: #9c9028; /* 金色にしたい場合 */
  font-weight: bold; /* 太字（お好みで） */
}



.result-img {
  width: 40%;
  height: auto;
}

.result-text {
  max-width: 300px;
}

img#bannerImage {
    width: 100%;
}

/* .result-img {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.result-img.visible {
  opacity: 1;
}
 */

.top_left_img,
.top_right_img,
.top_left2_img,
.top_right2_img {
  opacity: 0;
  transition: opacity 1s ease;
}

.kazari_fade-in {
  opacity: 1;
}

#main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
}

.sp-label-img {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px; /* サイズは調整可 */
  height: auto;
  z-index: 10000;
  display: none;
}


#bgmToggleButton{
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

button#bgmToggleButton img {
    width: 50px;
    height: 50px;
}





@media (max-width: 768px) {
    button#closeModal {
    margin-top: 0%;
}


 button#shareButton {
    width: 200px;
    height: 46px;
    background: #721608;
    color: #ffffff;
    border-radius: 4px;
    margin-right: 10px;
    border: 2px solid #9b3b3b;
    font-size: 16px;
    display: block;
    }

    button#shareButton {
        margin: 0 auto;
        margin-bottom: 4%;
    }

    button#closeModal {
        width: 200px;
        height: 46px;
        margin-left: 0px;
    }
    #audioPrompt button {
        width: 150px;
    }
    .modal-content {
    width: auto;
    height: auto;
    margin: 2%;
    }
    .horse-row {
    flex-wrap: wrap;
    justify-content: center;
    }

    .horse-row .selectable-horse {
        flex: 0 0 45%; /* 横幅を2列分に調整 */
        box-sizing: border-box;
    }
    .footer-overlay-text {
    font-size: 14px;
    width: 80%;
    }
    img.icon_horse-img {
    width: 20%;
    }
    .message-box p {
    font-size: 16px;
    }
    .horse-img {
        top: 15%;
        left: 4%;
        width: 70%;
        margin: 10%;
        z-index: 999;
    }
    .shogatsu-img {
    top: 15%;
    /* right: -5%; */
    width: 30%;
    }
    .modal-content img {
    width: 50%;
    }
      .result-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    }

  .result-text {
    max-width: 100%;
    }

  .result-img {
    width: 80%;
  }
  img#bannerImage {
    width: 100%;
  }
    #emaWrapper {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 220px;
    transform: translate(-50%, -50%);
    animation: shakeEma 1s ease-in-out 1;
    animation-delay: 0.5s;
    animation-fill-mode: both;
    }
    .decoration3{
        position: absolute;
        top: 80%;
        left: 4%;
        width: 10vh;
        z-index: 10;
    }
    .center-group {
        margin-top: 20vh;
    }
    body.main-bg {
    background-color: #6e1208;
    background-image: url('../img/bg_01_sp.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
    }
    .top_right_img {
        width: 15vh;
    }
    .sp-label {
        display: block;
    }
      .sp-label-img {
    display: block;
  }
  .selectable-horse::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: url("../img/check-icon.png") no-repeat center center;
  background-size: contain;
  display: none;
}
}

/* iPhone横向きや狭い画面用の対応 */
@media screen and (max-width: 812px) and (orientation: landscape) {
  .corp_logo_img {
    max-width: 120px;
    margin-top: 2rem;
    position: static; /* ←重なりを防ぐ */
  }
.message-box p {
  font-size: 14px; /* お好みで12px〜16pxくらい */
  line-height: 1.6;
  color: #333;
}
.corp_logo_img {
    width: 100px;
    }
}
