/* ベーススタイル
========== ========== ========== ========== ========== ========== */
:root {
  --header-background-color: #f39f2c;
  --header-nav_link-separator: #ffffff;
  --header-nav_link-active: #fcd7a0;
  --header-nav_link-active-bottom: #ff9800;
  --level2-heading-border-bottom: #ffb500;
  --background-color-base-background-color-base: #fff9f2;
  --footer-background-color: #f39f2c;
  --delimiter-color: #ff9800;
}
@media (prefers-color-scheme: dark) {
  :root {
    --header-background-color: #f39f2c;
    --header-nav_link-separator: #ffffff;
    --header-nav_link-active: #fcd7a0;
    --header-nav_link-active-bottom: #ff9800;
    --level2-heading-border-bottom: #ffb500;
    --background-color-base-background-color-base: #fff9f2;
    --footer-background-color: #f39f2c;
    --delimiter-color: #ff9800;
  }  
}

body {
  color: #222;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
}

a {
  color: #222;
  text-decoration: none;
}

img {
  max-width: 100%; /* 最大の幅 ***親要素に合わせる*** */
  vertical-align: top; /* 上端に揃える */
}

/* ヘッダー
========== ========== ========== ========== ========== ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 10;

  background-color: var(--header-background-color);
  border-bottom: 1px solid var(--delimiter-color);
}

.header__inner {
  max-width: 1230px; /* 最大の幅 */
  margin-right: auto;
  margin-left: auto;

  padding-right: 15px;
  padding-left: 15px;
}

.header-utilities {
  display: flex; /* Flexbox形式 */
  justify-content: space-between; /* Flexbox:均等配置（両端なし） */
  align-items: center; /* Flexbox:上下中央揃え */
  height: 60px;
}

.header-utilities__logo {
  display: inline-block; /* inline-block形式 */
  width: 150px;
  height: 50px;
}

.header-utilities__logo:focus,
.header-utilities__logo:hover {
  animation-name: rubberBand;
  animation-duration: 1s;
}
@keyframes rubberBand {
  /* https://animate.style/ */
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}

.header-nav {
  display: flex; /* Flexbox形式 */
}

.header-nav__item {
  text-align: center;
}

.header-nav__link {
  position: relative; /* 起点を設定 */
  display: block; /* block形式 */

  padding: 15px 25px;
  border-bottom: 4px solid transparent; /* 透明 */
  color: #222;
  text-decoration: none;
  transition: 0.25s;
}

.header-nav__link:focus,
.header-nav__link:hover {
  border-bottom-color: var(
    --header-nav_link-active-bottom
  ); /*** 色をつける ***/
  background-color: var(--header-nav_link-active);
}

.header-nav__link::before {
  /*** 左端のマーク ***/
  content: "";
  position: absolute; /* 起点に対して */
  top: 50%;
  left: 0;
  width: 2px;
  height: 2em;
  transform: translateY(-50%);
  background-color: var(--header-nav_link-separator);
}

.header-utilities__btn {
  display: none;
  width: auto;

  padding: 10px 20px;
  box-shadow: none;
  border: 3px solid var(--header-nav_link-separator);
  background-color: var(--header-nav_link-active);
}

@media screen and (max-width: 768px) {
  /*** モバイル時はボタンを表示 ***/
  .header-nav {
    display: none;
  }
  .header-utilities__btn {
    display: block;
  }
}

/* ジャンボトロン
========== ========== ========== ========== ========== ========== */
.jumbotron {
  position: relative; /* 起点を設定 */
  overflow: hidden;
  height: calc(100vw * 0.5625); /*** アスペクト比は 16:9 ***/
  max-height: calc(100vh - 60px); /*** （画面の高さ）−（ヘッダーの高さ） ***/
}

/*** PC用画像を表示 ***/
.img-wide {
  display: block;
}
.img-mobile {
  display: none;
}

.jumbotron__img {
  /* transform: scale(1.1);
  transition-property: transform;
  transition-timing-function: ease-out;
  transition-duration: 5s; */

  width: 100vw;
  height: calc(100vw * 0.5625);
}

@media screen and (max-width: 768px) {
  .jumbotron {
    height: 100vw; /*** アスペクト比は 1:1 ***/
  }

  /*** モバイル用画像を表示 ***/
  .img-wide {
    display: none;
  }
  .img-mobile {
    display: block;
  }

  .jumbotron__img {
    width: 100vw;
    height: 100vw;
  }
}

.jumbotron__title-wrapper {
  position: absolute; /* 起点に対して */
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.jumbotron__title {
  position: absolute; /* 起点に対して */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap; /* 自動改行なし */

  padding: 0.1em 0.5em 0.1em 0.8em;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 5vw;
  letter-spacing: 0.2em;
}

.jumbotron__title:nth-of-type(1) {
  transform: translate(-50%, calc(-50% - 2em));
}
.jumbotron__title:nth-of-type(3) {
  transform: translate(-50%, calc(-50% + 2em));
}

/* 公開日／更新日
========== ========== ========== ========== ========== ========== */
.date-tags {
  padding: 4px;
  line-height: 1;
  text-align: right;
  color: #777;
}

.post-date,
.post-update {
  padding-left: 4px;
  font-size: 0.9em;
}

/* コンテンツエリア：１カラム設計
========== ========== ========== ========== ========== ========== */
.content {
  max-width: 1230px;
  margin-right: auto;
  margin-left: auto;

  padding: 90px 15px;
}

.background-color-base {
  background-color: var(--background-color-base-background-color-base);
}

/* 見出し
========== ========== ========== ========== ========== ========== */
.level2-heading {
  margin-bottom: 20px;

  padding-bottom: 10px;
  border-bottom: 4px solid var(--level2-heading-border-bottom);
  font-size: 1.75rem;
  font-weight: bold;
}

/* メディア
========== ========== ========== ========== ========== ========== */
.media {
  display: flex; /* Flexbox形式 */
  align-items: center;
}

.media__img-wrapper {
  flex: 0 1 27.58333%;
  margin-right: 3.33333%;
  display: flex;
  justify-content: center; /* 中央揃え */
}

.media__img {
  width: 80%;
  height: 80%;
  border-radius: 15px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); /* <水平方向> <垂直方向> <ぼかしの大きさ> <色> */
}

.media__body {
  flex: 1;
}

.media__body > *:last-child {
  margin-bottom: 0;
}

.media__title {
  margin-bottom: 10px;
  font-size: 1.125rem;
  font-weight: bold;
}

.media--reverse {
  flex-direction: row-reverse;
}

.media--reverse .media__img-wrapper {
  margin-right: 0;
}

.media--reverse .media__body {
  margin-right: 3.33333%;
  /* text-align: right; */
}

@media screen and (max-width: 768px) {
  .media {
    display: block;
  }

  .media__img-wrapper {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .media__img {
    width: 35%;
  }

  .media__map {
    width: 100%;
  }

  .media--reverse {
    flex-direction: row-reverse;
  }

  .media--reverse .media__body {
    margin-right: 0;
  }
}

/* 説明リスト
========== ========== ========== ========== ========== ========== */
.media__description-list {
  margin-top: 20px;
  margin-left: 30px;
}

.media__essential-title {
  font-weight: bold;
}

.media__essential-keyword {
  margin-right: 10px;

  padding: 0.1em 0.5em 0.1em 0.8em;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  letter-spacing: 0.2em;
}

.media__essential-text {
  margin-left: 1.5em;
  margin-top: 5px;
  margin-bottom: 10px;
}

/* テーブル（水平）
========== ========== ========== ========== ========== ========== */
.horizontal-table {
  border: 1px solid #ddd;

  margin-top: 20px;
}

.horizontal-table__inner {
  width: 100%;
}

.horizontal-table__header {
  width: 20%;
  padding: 15px;
  background-color: #efefef;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
  vertical-align: middle;
}

.horizontal-table__text {
  padding: 15px;
  border-bottom: 1px solid #ddd;
}

.horizontal-table__row:last-child .horizontal-table__header,
.horizontal-table__row:last-child .horizontal-table__text {
  border-bottom-width: 0; /* 境界線下の太さ */
}

/* カード
========== ========== ========== ========== ========== ========== */
.card {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); /* <水平方向> <垂直方向> <ぼかしの大きさ> <色> */
}

.card__img-wrapper {
  position: relative; /* 起点を設定 */
  padding-top: 56.25%; /*** 縦横比を18:9に  ***/
  overflow: hidden;
}

.card__img {
  position: absolute; /* 起点に対して */
  top: 50%; /*** 天地中央揃えでトリミング ***/
  width: 100%;
  transform: translateY(-50%);
}

.card__body {
  padding: 15px;
}

.card__body > *:last-child {
  margin-bottom: 0;
}

.card__title {
  margin-bottom: 5px;
  font-size: 1.125rem;
  font-weight: bold;
}

.card__text {
  color: #777;
}

/* カード：バッジ
========== ========== ========== ========== ========== ========== */
.card__badge {
  position: relative; /* 起点を設定 */
}

.card__badge::after {
  content: "";
  position: absolute; /* 起点に対して */
  z-index: 1;
  top: 0;
  left: 0;
  width: 0;
  height: 0;

  border-width: 3.75rem 3.75rem 0 0;
  border-style: solid;
  border-color: #e25c00 transparent transparent transparent;
}

.card__badge-text {
  position: absolute; /* 起点に対して */
  z-index: 2;
  top: 0.5rem;
  left: 0.3125rem;
  color: white;
  font-size: 0.875rem;
  font-weight: bold;
  transform: rotate(-45deg);
}

/* カード：リンク
========== ========== ========== ========== ========== ========== */
.card--link {
  display: block; /* block形式 */
  color: currentColor; /* 文字と同じ色 */
  text-decoration: none;
  transition: 0.25s;
}

.card--link .card__title,
.card--link .card__text {
  transition: 0.25s;
}

.card--link:focus,
.card--link:hover {
  opacity: 0.75;
}

.card--link:focus .card__title,
.card--link:focus .card__text,
.card--link:hover .card__title,
.card--link:hover .card__text {
  color: #e25c00;
  text-decoration: underline;
}

/* カード：リンク
========== ========== ========== ========== ========== ========== */
.cards {
  display: flex;
  flex-wrap: wrap;
}

.cards--col3 {
  margin-bottom: -30px;
}

.cards--col3 > .cards__item {
  width: 31.707%;
  margin-right: 2.43902%;
  margin-bottom: 30px;
}

.cards--col3 > .cards__item:nth-child(3n) {
  margin-right: 0;
}

@media screen and (max-width: 768px) {
  .cards--col3 {
    margin-bottom: -20px;
  }

  .cards > .cards__item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* フォーム
========== ========== ========== ========== ========== ========== */
.contact {
  margin-top: 20px;
  margin-left: 30px;
}

.contact__title {
  float: left;
  clear: left;
  width: 8em;
  text-align: right;
  padding-right: 1em;
}

.contact__form {
  float: left;
  width: calc(100% - 8em);

  margin-bottom: 10px;
}

.contact__name,
.contact__email,
.contact__message {
  width: 100%;
}
.contact__name,
.contact__email {
  height: 2em;
}
.contact__message {
  height: 15em;
}

.contact__submit {
  text-align: right;
}

/* フッター
========== ========== ========== ========== ========== ========== */
.footer {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #222;

  background-color: var(--footer-background-color);
}

.footer--border-top-gray {
  border-top: 1px solid #777;

  border-top: 1px solid var(--delimiter-color);
}

.footer__inner {
  max-width: 1230px; /* 最大の幅 */
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.footer-copyright {
  display: block; /* block形式 */
  color: #ddd;
  font-size: 12px;
  text-align: center;

  color: white;
  font-size: 16px;
}
