﻿@charset "utf-8";

/* ───────────────────────
   全体設定
─────────────────────── */

/* ヘッダーとタイトルのあいだの余白 */
main {
  margin-top: 200px;
}

@media (max-width: 768px) {
  main {
    margin-top: 194px;
  }
}

@media (max-width: 480px) {
  main {
    margin-top: 154px;
  }
}


/* ───── br-for-mobile
（小タブレット・モバイルだけ改行）───── */
.br-for-mobile {
  display: none;
}

@media (max-width: 768px) {
  .br-for-mobile {
    display: inline;
  }
}

/* ──────────────────────────────
  外部リンク装飾（↗）
────────────────────────────── */
a.ext-link {
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: border-color 0.2s, opacity 0.2s;
}

a.ext-link:hover {
  border-bottom-color: #707f89;
  opacity: 0.7;
}

a.ext-link::after {
  content: "↗";
  font-size: 0.85em;
  margin-left: 4px;
  vertical-align: baseline;
}


/* ──────────────────────────────
note風装飾
────────────────────────────── */

.article-note {
  max-width: 640px;
  margin: 0 auto;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.article-note h1,
.article-note h2,
.article-note h3,
.article-note h4,
.article-note h5,
.article-note h6 {
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.article-note h1 {
  font-size: 1.8em;
}

.article-note h2 {
  font-size: 1.5em;
  text-align: center;
}

.article-note h3 {
  margin: 100px auto 80px auto;
  font-size: 1.7em;
  text-align: center;
}

.article-note h6 {
  font-size: 14px;
  text-align: center;
}

.article-note p {
  margin: 50px 0 0 0;
  word-break: break-word;
  padding: 20px;
}

.article-note img {
  display: block;
  max-width: 100%;
  height: auto;
}

.article-note blockquote {
  background: #f5f8fa;
  border-left: 4px solid #c5ccd1;
  margin: 50px 0;
  padding: 1.1em 1.3em;
}

.article-note hr {
  border: none;
  border-top: 1px solid #e2e8ee;
  margin: 100px 0;
}

.article-note em,
.article-note i {
  font-style: italic;
}

.article-note figcaption,
.article-note .caption {
  font-size: 0.98em;
  color: #7e888f;
  margin-top: -1.2em;
  margin-bottom: 2em;
  text-align: center;
}

.dotted-underline {
  border-bottom: 1.0px dotted #7e888f;
  padding-bottom: 1px;
}

/* ─────────── タブレット以下 ─────────── */
@media (max-width: 640px) {
  .article-note hr {
    margin: 90px 0;
  }

  .article-note h3 {
    margin: 70px auto 50px auto;
    font-size: 1.469em;
  }

  .article-note h1 {
    font-size: 1.69em;
  }

  .article-note h2 {
    font-size: 1.269em;
  }

  .article-note p {
    margin: 40px 0;
  }

  .article-note blockquote {
    margin: 40px 0;
  }

}

/* ─────────── スマホ（480px以下） ─────────── */
@media (max-width: 480px) {
  .article-note hr {
    margin: 80px 0;
  }

  .article-note h3 {
    margin: 60px auto 40px auto;
    font-size: 1.35em;
  }

  .article-note h1 {
    font-size: 1.45em;
  }

  .article-note h2 {
    font-size: 1.15em;
  }

  .article-note h6 {
    font-size: 12px;
  }

  .article-note p {
    margin: 35px 0;
  }

  .article-note blockquote {
    margin: 30px 0;
  }
}


/* ──────────────────────────────
 記事内容
────────────────────────────── */

.img-frame {
  max-width: 640px;
  margin: 50px auto 0 auto;
  border: 1px solid #e2e8ee;
  box-sizing: border-box;
  background: #fff;
  padding: 48px;
  position: relative;
}

.map-frame {
  max-width: 640px;
  margin: 100px auto 0 auto;
  border: 1px solid #e2e8ee;
  box-sizing: border-box;
  background: #fff;
  padding: 32px;
  position: relative;
}

/* レスポンシブ：タブレット以下で余白を減らす */
@media (max-width: 640px) {
  .map-frame {
    padding: 24px;
    margin: 70px auto 0 auto;
  }

  .img-frame {
    padding: 32px;
    margin: 40px auto 0 auto;
  }

}

@media (max-width: 480px) {
  .map-frame {
    padding: 16px;
    margin: 60px auto 0 auto;
  }

  .img-frame {
    padding: 24px;
    margin: 35px auto 0 auto;
  }
}

/* 画像フレームは中央寄せflex＋box-shadowで統一 */
.img-frame {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 画像自体は角丸なし＆余白なし＆淡いシャドウ */
.img-frame img {
  margin: 0 !important;
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 18px rgba(80, 90, 120, 0.07);
}

.map-frame iframe {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  border: none;
  display: block;
}