body {
  margin: 0;
  font-family: "Meiryo", sans-serif;
  background-color: #fff;
  color: #333;
}

.container {
  width: 980px;
  margin: 0 auto;
  padding: 20px 0;
}

.full-img {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

.img-wrap {
  position: relative;
  width: 100%;
  max-width: 980px; /* ページの幅に合わせて */
  margin: 0 auto;
}

.main-img {
  width: 100%;
  display: block;
}

.btn-overlay {
  position: absolute;
  top: 47.1%;          /* 高さ中央（調整可） */
  left: 50%;         /* 横中央 */
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column; /* ボタンを縦並びにしたい場合はこれ！ */
  align-items: center;
  gap: 5px;
}

/* ボタンはすでにあるやつ流用OK */
.pdf-btn {
   display: inline-block;
  background-color: #e60012;
  color: #fff;
  padding: 15px 155px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bolder;
  font-size: 24px;
  white-space: nowrap;
}

.sub-btn {
  display: inline-block;
  padding: 8px 75px;
  border-radius: 5px;
  background-color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* 青 */
.sub-blue {
  border: 3px solid #0078c1;
  color: #0078c1;
}
.sub-blue:hover {
  background-color: #e6f4fb;
}

/* 赤 */
.sub-red {
  border: 3px solid #e60012;
  color: #e60012;
}
.sub-red:hover {
  background-color: #ffe6e6;
}

.sub-btn-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  justify-content: center;
}

/* ボタン配置 */
.btn-area.center {
  text-align: center;
  margin-bottom: 30px;
}

.btn-area.split {
  display: flex;
  justify-content: center; /* ← 中央寄せにして */
  gap: 20px;                /* ← ここで間隔を調整！ */
  margin-bottom: 30px;
}


.hedder-text{ 
	color: #464646; 
	font-size: 30px; 
	line-height: 10px;
	background-position: 800px 0; 
	text-align: center;
	margin: 5px auto 0; 
	padding-top: 40px; 
	padding-bottom: 25px;
	font-weight: bolder;
}

.img-link {
  max-width: 100%;
  height: auto;
}



/* 外枠ボックス */
.info-box {
  border: 2px solid #002870;
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden; /* ザブトン角丸と一致させるため */
}

/* ザブトン帯 */
.info-zabuton {
  background-color: #002870;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
}

.zabuton-left a,
.zabuton-right a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

/* 左：そのまま左寄せ */
.zabuton-left {
  display: flex;
  gap: 15px;
}

/* 右：右寄せ・横並び */
.zabuton-right {
  display: flex;
  gap: 15px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  padding: 15px 40px;
  box-sizing: border-box;
}

.info-zabuton a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px;
  font-size: 15px;
}


/* 左：タイトル */
.info-label {
  width: 30%;
  font-size: 24px;
  font-weight: bold;
  padding-right: 15px;
  box-sizing: border-box;
color: #002870;
	margin: auto;
}

/* 右：説明文 */
.info-detail {
  width: 70%;
  font-size: 17px;
  line-height: 1.4;
  box-sizing: border-box;
color: #002870;
	margin: auto;
}


/* 青線（枠から少し内側に寄せる） */
.info-divider {
  height: 1px;
  background-color: #002870;
  width: 95%;     /* ← 枠より狭くする */
  margin: 0 auto; /* ← 中央寄せ */
}

/* 最初の行だけ線なしにしたい場合 */
.info-row:first-child {
  border-top: none;
}



/* お問い合わせ（黒字テキスト、中央揃え） */
.footer-contact {
  font-weight: bold;
  color: #333;
  font-size: 16px;
  margin: 40px auto 10px;
  width: 90%;
  max-width: 980px;
  text-align: left;
  box-sizing: border-box;
}

/* 赤枠ボックス */
.footer-box {
    border: 2px solid #e60012;
    border-radius: 10px;
    background-color: #ffffff;
    padding-top: 0px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 0px;
    margin: 0 auto 20px;
    width: 90%;
    max-width: 980px;
    font-size: 14px;
    line-height: 1.8;
    box-sizing: border-box;
}

/* 見出し（赤） */
.footer-title {
  color: #e60012;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 2px;
}

/* 本文テキスト */
.footer-text {
  color: #e60012;
}

/* 本文内リンク */
.footer-text a {
  color: #e60012;
  text-decoration: underline;
}

#footer       { color: #464646; font-size: 14px; line-height: 14px; background-position: 800px 0; text-align: center; margin: 5px auto 0; padding-top: 5px; padding-bottom: 5px }
