/* =====================================
   Base
===================================== */

body {
  font-family: "Hiragino Maru Gothic ProN", "Meiryo", sans-serif;
  background: #f4fbff;
  color: #333;
  line-height: 1.7;
  padding: 20px;
}

/* =====================================
   Button
===================================== */

.btn a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  max-width: 320px;
  min-height: 60px;

  margin-top: 20px;
  padding: 12px 20px;

  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;

  border-radius: 999px;

  background: linear-gradient(135deg, #4facfe, #00c6ff);

  box-shadow: 0 6px 14px rgba(0,0,0,0.12);

  transition: all 0.3s ease;
}

.btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* =====================================
   Hero Message
===================================== */

.hero-message {
  position: relative;

  width: 100%;
  box-sizing: border-box;

  background: linear-gradient(135deg, #4facfe, #00c6ff);
  color: white;

  text-align: center;

  padding: 50px 20px 70px;
  margin-bottom: 50px;

  border-radius: 24px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.1);

  overflow: hidden;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-message h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero-message p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* キャラクター */

.hero-character {
  position: absolute;
  bottom: -10px;
  z-index: 1;
}

.hero-character.left {
  left: 0;
}

.hero-character.right {
  right: 0;
}

.hero-character img {
  width: clamp(110px, 16vw, 180px);
  height: auto;

  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.2));

  animation: floatCharacter 3s ease-in-out infinite;
}

/* =====================================
   Floor Title
===================================== */

.floor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  background: linear-gradient(90deg, #4facfe, #00c6ff);
  color: white;

  font-size: 1.3em;
  font-weight: bold;

  padding: 14px 20px;
  margin: 2.8em 0 1.5em;

  border-radius: 18px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.title-mascot {
  height: 50px;
  width: auto;
}

/* =====================================
   Info Layout
===================================== */

.info-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* 地図 */

.info-map {
  flex: 0 0 42%;
}

.info-map img {
  width: 100%;
  max-width: 500px;

  border-radius: 14px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 情報カード */

.info-cards {
  flex: 1;

  display: grid;
  gap: 14px;
}

.info-card {
  background: #fff;

  border: 2px solid #dbe8ff;
  border-radius: 14px;

  padding: 14px 16px;

  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.info-card h4 {
  font-size: 1.1em;

  margin-bottom: 8px;
  padding-left: 10px;

  border-left: 6px solid #4facfe;
}

.info-card p,
.info-card li {
  margin: 3px 0;
  font-size: 0.95em;
}

.info-card ul {
  padding-left: 18px;
}

.info-card.warning {
  background: #fff8e6;

  border-color: #ffcc66;
  border-left: 6px solid #ffb300;
}

/* =====================================
   Accordion Layout
===================================== */

/* =====================================
   Accordion Layout
===================================== */

.accordion-row {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  margin-bottom: 40px;
}

.accordion {
  width: 100%;
}

/* タブレット */
@media (max-width: 900px) {

  .accordion-row {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* スマホ */
@media (max-width: 600px) {

  .accordion-row {
    grid-template-columns: 1fr;
  }

}
/* =====================================
   Accordion Card
===================================== */

.accordion-item {
  display: flex;
  flex-direction: column;

  height: 100%;

  background: #fff;

  border-radius: 22px;

  overflow: hidden;

  box-shadow: 0 6px 14px rgba(0,0,0,0.08);

  transition: transform 0.25s ease;
}

.accordion-item:hover {
  transform: translateY(-5px);
}

/* =====================================
   Accordion Label
===================================== */

.accordion-label {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 80px;

  padding: 18px 20px;

  background: linear-gradient(135deg, #7ec8ff, #b6e3ff);

  color: #1d3557;

  text-align: center;
  font-size: 1.05em;
  font-weight: bold;

  cursor: pointer;

  transition: all 0.3s ease;
}

.accordion-label:hover,
.accordion-label:focus {
  background: linear-gradient(135deg, #69bbff, #a3dcff);
}

.accordion-label.active {
  background: linear-gradient(135deg, #5ab3ff, #8fd3ff);
}

/* =====================================
   Accordion Content
===================================== */

.accordion-content {
  display: none;

  padding: 18px 20px;

  background: #fff;

  animation: fadeIn 0.3s ease-in-out;
}

.accordion-item.open .accordion-content {
  display: block;
}

.accordion-content p {
  margin: 0;
}

/* =====================================
   Accordion Image
===================================== */

.accordion-image {
  display: block;

  width: 100%;
  max-width: 320px;
  height: auto;

  margin: 16px auto 0;

  border-radius: 14px;
}

/* =====================================
   Animation
===================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCharacter {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =====================================
   Responsive
===================================== */

@media (max-width: 900px) {

  .accordion {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .hero-message h2 {
    font-size: 1.7rem;
  }

  .info-layout {
    flex-direction: column;
  }

  .info-map,
  .info-cards {
    width: 100%;
  }

  .info-map {
    flex: unset;
  }

  .info-map img {
    max-width: 100%;
  }
}

@media (max-width: 700px) {

  .hero-message {
    padding: 35px 15px 80px;
  }

  .hero-message h2 {
    font-size: 1.5rem;
  }

  .hero-message p {
    font-size: 1rem;
  }

  .hero-character img {
    width: 80px;
  }

  .hero-character.left {
    left: 10px;
  }

  .hero-character.right {
    right: 10px;
  }
}

@media (max-width: 600px) {

  body {
    padding: 12px;
  }

  .accordion {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .accordion-label {
    min-height: 70px;
    font-size: 1em;
  }

  .floor-title {
    font-size: 1.1em;
  }

  .btn a {
    font-size: 16px;
    padding: 14px 16px;
  }
}

/* =====================================
   Map Mascot
===================================== */

.map-mascot {
  margin-top: 16px;
  text-align: center;
}

.map-mascot img {
  width: clamp(160px, 22vw, 260px);
  height: auto;

  animation: floatCharacter 3s ease-in-out infinite;

  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.2));
}

/* スマホ */
@media (max-width: 700px) {

  .map-mascot img {
    width: clamp(150px, 50vw, 220px);
  }

}

.accordion-row-2 {
  grid-template-columns: repeat(2, minmax(320px, 420px));
  justify-content: center;
}
