﻿@charset "utf-8";

/* ===== 全体設定 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body, html {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳＰゴシック", sans-serif;
  line-height: 1.8;
  position: relative;
  overflow-x: hidden;
  background-color: #80dddd;
}
body {
  background-color: #80dddd; /* ← 水色や薄紫に */
  margin: 0;
  padding: 0;
}

.wrapper {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
img {
  max-width: 100%;
  height: auto;
}

/* ===== ヘッディング ===== */
h1 {
  line-height: 1.4;
  font-weight: bold;
  font-size: 40px;
  margin: 0 0 1em 0;
  text-align: center;
  padding: 0.5em 0;
  border: 2px solid #283593;
  border-radius: 1em .6em 2em .6em / .6em 2em .6em 1em;
  color: #fff;
  background-color: #390;
  max-width: 100%;
  box-sizing: border-box;
}

h2 {
  font-weight: bold;
  margin: 2em 0 1em 0;
  font-size: 25px;
  text-align: left;
  border-bottom: 2px dotted #203744;
  border-left: 10px solid #203744;
  padding: 7px;
}

h3 {
  position: relative;
  width: fit-content;
  margin: 30px 0 30px 20px;
  padding: 0 10px 0 20px;
  background: #666;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  font-size: 14px;
  color: #fff;
  line-height: 28px;
}
h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: -14px;
  border-right: 14px solid #666;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  transform: scaleX(.7);
}

/* ===== モバイル対応 ===== */
@media screen and (max-width: 768px) {
 h1 {
   font-size: 24px;
    padding: 0.4em 0.6em;
 
 }
  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  ul, li, p, span {
    font-size: 1.1rem;
  }
}
.entryBtnLayout {
  text-align: center;
  margin: 40px 0;
}

.entryBtn {
  background-color: #ff4500;
  color: white;
  font-size: 1.4rem;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
 box-shadow: 0 4px 10px rgba(255, 69, 0, 0.4); /* オレンジ影 */
} 

.entryBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}


/* ===== 補助クラス ===== */
.marker-animation {
  background-image: linear-gradient(to right, transparent 50%, #ff6 50%);
  background-size: 200% 100%;
  background-repeat: repeat-x;
  background-position: 0 100%;
  transition: background-position 1.5s ease;
  font-weight: bold;
  display: inline-block;
  padding: 0 2px;
  line-height: 1.6;
}

.marker-animation.active {
  background-position: -100% 100%;
}

/* 色だけを変えるように分離 */
.marker-red {
  --marker-color: #f6f;
}
.marker-yellow {
  --marker-color: #ff6;
}
.marker-blue {
  --marker-color: #6ff;
}
.marker-green {
  --marker-color: #6f6;
}

/* 上書き方式に統一 */
.marker-animation {
  background-image: linear-gradient(to right, transparent 50%, var(--marker-color, #ff6) 50%);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1, h2, h3, p, ul, li, span {
  word-break: break-word;
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

.scroll-down-indicator {
  text-align: center;
  font-size: 1.6rem;
  color: #000;
  background-color: #ffeb3b;
  padding: 12px 24px;
  width: fit-content;
  margin: 20px auto;
  border-radius: 30px;
  cursor: pointer;
  animation: jump 1s infinite;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@media screen and (max-width: 768px) {
	.entryBtn {
    font-size: 1.2rem;
    padding: 12px 24px;
  }
}
  


.arrow-wrapper {
  animation: bounceArrow 0.8s infinite ease-in-out;
}

.arrow {
 position: relative;
  margin: 60px auto;
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-top: 90px solid #fb8c00;

  animation: bounceArrow 0.8s infinite ease-in-out;
}


.arrow::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 50px;
  background-color: #fb8c00;
  border-radius: 0;
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.highlight-red {
  color: #d50000;             /* 鮮烈な赤 */
  font-size: 2rem;            /* デカく */
  font-weight: bold;          /* 太く */
  background-color: #fff3f3;  /* 薄ピンク背景でさらに目立たせる */
  padding: 0.2em 0.4em;
  border-radius: 4px;
  display: inline-block;
}
.no-bullet {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* ===== その他省略可能な装飾CSS等は別途整理できます ===== */

/* ---- Font size adjustments for mobile ---- */
@media screen and (max-width: 768px) {
  body {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  h1 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p, ul, li, span {
    font-size: 1.15rem;
  }

  .entryBtn {
    font-size: 1.2rem;
    padding: 14px 28px;
  }

  .highlight-red {
    font-size: 1.6rem;
  }
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}