@charset "utf-8";
/* CSS Document */

:root {
  --max: 980px;
  --r: 16px;
}

body{
  margin: 0;
	font-family:  "Hiragino Sans" , "Hiragino Kaku Gothic ProN" , "Noto Sans JP" , "sans-serif" , "Noto Color Emoji SVG";
  line-height: 1.7;
  color: #111;
  background: #fff;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 10px;
}

.hero {
  border-radius: 24px;
  padding: 28px;
  background: #003dad;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

h1 {
  margin: 10px 0 8px;
  font-size: 30px;
  color: #ffff99;
  line-height: 1.25;
}

.sub {
  margin: 0 0 14px;
  font-size: 15px;
	font-weight: 500;
  color: #ffffff;
}

.kpi {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.kpi div {
  background-color: #ffff99;
  padding: 6px 12px;
  font-size: 13px;
}

.cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
}

.btn.primary {
  display: inline-block;
  padding: 0.7em 1.5em;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .06s ease, opacity .2s ease;
  color: #ffffff;
  font-weight: 700;
  background-image: linear-gradient(#ff6600 20%, #ff3300 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: solid 3px #660000;
}

.btn.primary:active {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}

.btn.primary2 {
  display: inline-block;
  padding: 0.7em 1.5em;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .06s ease, opacity .2s ease;
  color: #ffffff;
  font-weight: 700;
  background-image: linear-gradient(#218bdd 20%, #073eb1 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: solid 3px #5e7fca;
}

.btn.primary2:active {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}

.btn.ghost {
  display: inline-block;
  padding: 0.7em 1.5em;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .06s ease, opacity .2s ease;
  color: #333333;
	font-weight: 700;
  background-image: linear-gradient(#ffffff 20%, #cccccc 100%);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: solid 3px #999999;

}

.btn.ghost:active {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0;
}

.card {
  border: 1px solid #e7e7ea;
  border-radius: 20px;
  padding: 16px;
  background: #fff;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.muted {
  color: #555;
  font-size: 14px;
}

.section {
  margin: 26px 0;
}

.section h2 {
  font-size: 25px;
  margin: 0 0 10px;
	color: #003dad;
}

.section h4 {
  font-size: 25px;
  margin: 0 0 10px;
	color: #ffffff;
}


.list {
  padding-left: 18px;
  margin: 8px 0;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 3px solid #dddddd;
  border-radius: 16px;
}

.table th,
.table td {
  padding: 12px;
  border-bottom: 3px solid #dddddd;
  vertical-align: top;
  text-align: left;
  font-size: 16px;
}

.table th {
  width: 28%;
  background: #eaf6fd;
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: none;
}

.note {
  background: #fff7e6;
  border: 1px solid #ffe1a8;
  border-radius: 16px;
  padding: 12px;
  font-size: 14px;
}

.footercta {
  border-radius: 24px;
  padding: 22px;
  background: #ff6600;
  color: #fff;
}

.footercta a {
  color: #fff;
}

.footer-note {
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-small {
  margin: 10px 0 0;
  font-size: 12px;
  color: #ffffff;
}

iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 16px;
}

/* 写真スライド */
.photozone {
  margin: 30px 0;
  display: grid;
  place-items: center;
}

.slider {
  width: 80%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
}

.slide {
  width: 100%;
  flex-shrink: 0;
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.slides img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* キャプション：写真の外・下 */
.caption {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: #333;
}

/* ドット */
.dots {
  position: absolute;
  bottom: 8px;                /* 写真の内側 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  margin-bottom: 50px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #dddddd;
  transform: scale(1.2);
}

/* 5秒ごとに左へスライド */
@keyframes slide {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(0); }

  35%  { transform: translateX(-100%); }
  65%  { transform: translateX(-100%); }

  70%  { transform: translateX(-200%); }
  100% { transform: translateX(-200%); }
}

/* 写真キャプション文 */
.caption {
  position: static;          /* ← absolute をやめる */
  margin-top: 8px;           /* 写真との隙間 */
  padding: 6px 10px;
  background: none;          /* 写真の外なら背景いらないなら消す */
  color: #333;               /* 背景が白前提 */
  font-size: 14px;
  text-align: center;
}


@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 24px;
	  color: #ffff99;
  }

  .table th {
    width: 34%;
  }
}
