/* ===========================
   共通コンテナ（最大幅1280px）
   =========================== */

.container {
  max-width: 1280px;
  width: 90%; /* 少し余白を持たせる */
  margin: 0 auto;
}

﻿/* サブページ共通ヘッダー */
.sub-header {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.sub-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 20px;
  border-bottom: 1px solid #ccc;
}

.sub-header__logo-img {
  display: block;
  max-height: 40px;
  height: auto;
}

/* メニュー（PC） */
.sub-header__menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sub-header__menu > li > a {
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
}

/* サブページ用コンテナ */
.subpage-wrapper {
  padding: 40px 0 80px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.page-content {
  font-size: 18px;
  line-height: 1.8;
  color: #000;
  width: 80%;
  margin: 50px auto;
}

@media (max-width: 1089px) {

.page-content {
  width: 100%;
}
	
}


/* PCではサブメニューをデフォルト非表示にする */
@media (min-width: 1090px) {
  .sub-header__menu .sub-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
  }

  /* 第2階層：親にホバーしたときだけ表示 */
  .sub-header__menu > li:hover > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* 第3階層：第2階層の項目にホバーしたとき表示 */
  .sub-header__menu .sub-menu li:hover > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
} /* ★ ここでいったん @media を閉じる */

/* ===========================
   「現在地」ハイライト（第1階層だけ）
   =========================== */

/* 「現在地」ハイライト（第1階層だけ） */
/* そのものが現在地（オンラインショップとか） */
.sub-header__menu > li.current-menu-item > a,
.sub-header__menu > li.current_page_item > a {
  background-color: #076098;
  color: #fff;
}

/* 第1階層に限定して "childにcurrentがいるか" をみる */
.sub-header__menu > li:has(.sub-menu .current-menu-item) > a,
.sub-header__menu > li:has(.sub-menu .current_page_item) > a {
  background-color: #076098;
  color: #fff;
}

/* ===========================
   サブページ用ヘッダー：メニューボタンデザイン
   =========================== */

/* 第1階層（ヘッダーに並ぶボタン） */
.sub-header__menu > li {
  position: relative;
}

.sub-header__menu > li > a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  transition: background-color .18s ease, color .18s ease, transform .12s ease;
}

/* ホバー時のボタン感 */
@media (min-width: 1090px) {
  .sub-header__menu > li > a:hover {
    background-color: #076098;
    color: #fff;
    transform: translateY(-1px);
  }

  /* 見出し用（href="#" 等）メニューは少しトーンダウン
     ただし「現在地グループ」の親は除外する */
  .sub-header__menu > li.menu-item-has-children:not(.current-menu-item):not(.current-menu-ancestor):not(.current_page_ancestor) > a[href="#"] {
    background-color: transparent;
    color: #555;
    cursor: default;
  }

  .sub-header__menu > li.menu-item-has-children:not(.current-menu-item):not(.current-menu-ancestor):not(.current_page_ancestor) > a[href="#"]:hover {
    background-color: transparent;
    color: #111;
    transform: none;
  }
}

/* ===========================
   第2・第3階層のプルダウン
   =========================== */

.sub-header__menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 200;
}

.sub-header__menu .sub-menu > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}

/* プルダウンのホバー */
.sub-header__menu .sub-menu > li > a:hover {
  background-color: #f3f5ff;
  color: #111111;
  padding-left: 20px;
}

/* 第3階層を右側に展開 */
.sub-header__menu .sub-menu .menu-item-has-children {
  position: relative;
}

.sub-header__menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}

/* PCでの表示制御（再掲） */
@media (min-width: 1090px) {
  .sub-header__menu .sub-menu {
    display: none;
  }

  .sub-header__menu > li:hover > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .sub-header__menu .sub-menu li:hover > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ===========================
   サブメニューありアイテムの視覚的な印
   =========================== */

/* 第1階層：子メニューがある場合に ▼ を表示 */
.sub-header__menu > li.menu-item-has-children > a {
  position: relative;
  padding-right: 24px;
}

.sub-header__menu > li.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #2467e4;
  transition: transform .18s ease;
}

/* ホバーで少し回転（開いてる感） */
@media (min-width: 1090px) {
  .sub-header__menu > li.menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
  }
}

/* 第2階層以降：さらに子がある場合に ? を表示 */
.sub-header__menu .sub-menu > li.menu-item-has-children > a {
  position: relative;
  padding-right: 20px;
}

.sub-header__menu .sub-menu > li.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #2467e4;
}

/* 現在地グループの ▼（白に上書き） */
.sub-header__menu > li:has(.sub-menu .current-menu-item).menu-item-has-children > a::after,
.sub-header__menu > li:has(.sub-menu .current_page_item).menu-item-has-children > a::after {
  border-top-color: #fff; /* ▼を白く */
}



/* ===========================
   スマホ用ハンバーガーボタン
   =========================== */



/* ===========================
   パンくず
   =========================== */

.breadcrumb {
  font-size: 12px;
  margin-bottom: 16px;
  color: #777;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: " > ";
  margin: 0 4px;
  color: #aaa;
  font-size: 11px;
}

.breadcrumb__item a {
  color: #777;
  text-decoration: none;
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}

/* 現在地 */
.breadcrumb__item--current {
  color: #333;
  font-weight: 500;
}

/* 上部余白の調整（お好みで） */
.subpage-header {
  margin-top: 16px;
  margin-bottom: 8px;
}

/* ========================
   Footer
   ======================= */

.site-footer {
    background: #040810;
    color: #f5f5f5;
    padding: 48px 0 16px;
    margin-top: 48px;
    font-size: 16px;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    max-width:1340px;
}

/* コラム幅（PC） */
.site-footer__col {
    flex: 1 1 0;
    min-width: 220px;
}

.site-footer__brand {
    max-width: 360px;
}

.site-footer__logo img {
    max-width: 70px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.site-footer__tagline {
    line-height: 1.7;
    opacity: 0.9;
}

/* 見出し */
.site-footer__heading {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
}

/* ナビ部分 */
.site-footer-nav__list,
.site-footer-bottom-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-nav__list li + li {
    margin-top: 4px;
}

.site-footer-nav__list a {
    text-decoration: none;
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer-nav__list a:hover {
    opacity: 1;
    transform: translateX(2px);
}

/* お問い合わせブロック */
.site-footer__contact-text {
    margin: 0 0 12px;
    line-height: 1.7;
}

.site-footer__contact-info {
    margin-top: 8px;
    margin-bottom: 12px;
}

.site-footer__tel {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin-bottom: 10px;
}

.site-footer__tel i {
    font-size: 28px;
}

.site-footer__tel-number {
    font-size: 24px;
    font-weight: 700;
}

.site-footer__tel-time {
    font-size: 12px;
    opacity: 0.7;
}

.site-footer__btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #00a3ff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 6px 16px rgba(0, 163, 255, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.site-footer__btn-contact:hover {
    background: #18b4ff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 163, 255, 0.35);
}

/* SNSアイコン */
.site-footer__sns {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
}

.site-footer__sns a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    text-decoration: none;
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer__sns a:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-1px);
}

/* 下部バー */
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 32px;
    padding-top: 12px;
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.site-footer__copy {
    opacity: 0.7;
    font-size: 12px;
}

/* フッターボトムナビ */
.site-footer-bottom-nav__list {
    display: flex;
    gap: 16px;
    font-size: 12px;
}

.site-footer-bottom-nav__list a {
    text-decoration: none;
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.site-footer-bottom-nav__list a:hover {
    opacity: 1;
}

/* スマホ対応 */
@media (max-width: 959px) {
    .site-footer__inner {
        flex-direction: column;
    }

    .site-footer {
        padding: 32px 0 46px;
    }

    .site-footer__brand {
        max-width: none;
    }
}

/* 電話番号が自動リンク化された場合の色＆下線リセット */
a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
}

a[href^="tel"]:hover {
  text-decoration: none;
  opacity: .8;
}

/* ===============================
   会社情報ページ用（改良版）
   =============================== */

/* セクション全体 */
.company-section {
  margin: 56px auto;
  max-width: 900px; /* ← テーブルを狭めて中央寄せ */
}

/* セクションタイトル */
.company-section__title {
  font-size: 26px; /* ← 少し大きく */
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 10px;
  position: relative;
}

.company-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px; /* 下線も少し伸ばす */
  height: 3px;
  background: #007acc; /* アクセントカラー */
}

/* テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px; /* ← 読みやすい大きさにUP */
  line-height: 1.7;
}

.company-table th,
.company-table td {
  padding: 16px 20px; /* 余白UP */
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
}

.company-table th {
  width: 32%; /* 左の幅増やして読みやすく */
  background: #f4f4f4; /* 少し明るさ調整 */
  font-weight: 700;
  color: #333;
}

.company-table td a {
  text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .company-section {
    margin: 40px auto;
    max-width: 100%; /* SPはフル幅 */
  }

  .company-section__title {
    font-size: 22px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 6px 0;
  }

  .company-table th {
    background: none;
    font-size: 14px;
    padding-bottom: 2px;
	text-align: left; 
  }

  .company-table td {
    font-size: 15px;
    padding-bottom: 12px;
  }
}
/* ======= 挨拶ブロック（写真左・情報右） ======= */

.greeting-hero {
  margin: 40px 0 40px;
}

.greeting-hero__inner {
  display: grid;
  grid-template-columns: 360px 1fr; /* 写真と情報を2カラム */
  gap: 40px;
  align-items: start; /* 左上に固定 */
}

.greeting-hero__image img {
  width: 360px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  background: #ddd;
}

/* 右の情報エリア */
.greeting-hero__info {
  margin: 0;
}

.greeting-hero__info dt {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 6px;
  color: #007acc;
}

.greeting-hero__info dd {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.8;
}

/* タイトルを大きく */
.info-title {
  font-size: 26px;
  color: #333;
}
.info-title + .info-text {
  margin-top: 8px;
}

/* ===== 幅いっぱいのストーリー・パーソナル ===== */

.greeting-detail {
  margin: 0 0 80px;
}

.inner--wide {

}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  border-left: 4px solid #007acc;
  padding-left: 12px;
}

.greeting-text p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.profile-list dt {
  font-weight: 700;
  margin-top: 12px;
  color: #333;
}

.profile-list dd {
  margin-bottom: 8px;
}


/* SP対応 */
@media (max-width: 767px) {
  .greeting-hero__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .greeting-hero__image img {
    margin: 0 auto 20px;
	width: 100%;
  }

  .greeting-hero__info dt {
    text-align: left;
  }

  .greeting-hero__info dd {
    text-align: left;
  }
}

.service-nav {
  text-align: center;
  width: 80%;
  margin: 0 auto;	
}

.service-nav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-nav__item {
  display: block;
  background-color: #ffffff;
  border-radius: 14px;
  padding: 28px 20px;
  text-decoration: none;
  border: 1px solid #e0e4eb;
  transition: all 0.25s ease;
}

.service-nav__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.service-nav__icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.service-nav__name {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-nav__text {
  font-size: 14px;
  line-height: 1.6;
}

/* カード一覧レイアウト */
.service-nav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* 子が1つだけのときのレイアウト */
.service-nav__grid--single {
  display: flex;              /* grid じゃなくて flex に切り替え */
  justify-content: center;
}

.service-nav__grid--single .service-nav__item {
  max-width: 360px;           /* 好きな最大幅に調整 */
  width: 100%;
}

/* 各カード（＝ボタン） */
.service-nav__item {
  display: block;
  background-color: #ffffff;
  text-decoration: none;
  padding: 14px 10px;
  border-radius: 14px;
  border: 1px solid #dbe2eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

/* アイコン */
.service-nav__icon {
  font-size: 34px;
  line-height: 1;
  color: #0072ce;
  margin-bottom: 10px;
}

/* タイトル */
.service-nav__name {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* ホバー効果（押せる感） */
.service-nav__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

/* スマホ時は1列 */
@media (max-width: 768px) {
  .service-nav__grid {
    grid-template-columns: 1fr;
  }
}
/* =======================================================
   DG AI Estimation Form Simple Styling
   ======================================================= */
.dg-ai-estimate {
  max-width: 680px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  font-size: 16px;
  line-height: 1.6;
}

.dg-ai-estimate form {
  margin-bottom: 20px;
}

.dg-ai-estimate__row {
  margin-bottom: 20px;
}

.dg-ai-estimate label {
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
  color: #333;
}

.dg-ai-estimate input[type="number"],
.dg-ai-estimate select,
.dg-ai-estimate textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: #fafafa;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.dg-ai-estimate input:focus,
.dg-ai-estimate select:focus,
.dg-ai-estimate textarea:focus {
  border-color: #007bff;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.dg-ai-estimate input[type="checkbox"],
.dg-ai-estimate input[type="radio"] {
  margin-right: 6px;
}

/* ボタン */
.dg-ai-estimate button[type="submit"] {
  width: 100%;
  display: inline-block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #007bff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.dg-ai-estimate button[type="submit"]:hover {
  opacity: 0.85;
}

/* 結果ブロック */
.dg-ai-estimate__result {
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #f8faff;
}

.dg-ai-estimate__ai-answer {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #ddd;
  color: #333;
  white-space: normal;
}

.dg-ai-estimate__ai-answer p {
  margin-bottom: 1em;
}

.dg-ai-estimate h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #007bff;
}

/* エラー表示 */
.ai-error {
  color: #c0392b;
  font-weight: bold;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .dg-ai-estimate {
    padding: 20px;
  }
  .dg-ai-estimate button[type="submit"] {
    font-size: 0.95rem;
  }
}

/* ボックス見出し（H2） */
.wp-block-heading {
  display: inline-block; /* ←幅が文字にフィット */
  padding: 10px 18px;
  margin: 60px 0 32px;
  font-size: 24px;
  font-weight: 800;
  border: 3px solid #007acc;
  border-radius: 6px;
  color: #007acc;
  background: #fff;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* スマホ */
@media (max-width: 767px) {
  .wp-block-heading {
    font-size: 20px;
    margin: 48px 0 20px;
    padding: 8px 12px;
  }
}

/* -----------------------------
   ローディングオーバーレイ
   ----------------------------- */
.dg-ai-estimate {
  position: relative; /* オーバーレイの基準にする */
}

.dg-ai-estimate__loading {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: none;              /* 初期は非表示 */
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.dg-ai-estimate__loading.is-active {
  display: flex;              /* 表示するとき */
}

.dg-ai-estimate__loading-inner {
  text-align: center;
  padding: 20px 24px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dg-ai-estimate__loading p {
  margin-top: 12px;
  font-size: 0.95rem;
}

/* シンプルなスピナー */
.dg-ai-estimate__spinner {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid #e0e7ff;
  border-top-color: #007bff;
  animation: dg-ai-spin 0.7s linear infinite;
}

@keyframes dg-ai-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 送信ボタンの「処理中」スタイル */
.dg-ai-estimate button[type="submit"].is-loading {
  opacity: 0.7;
  cursor: wait;
}

/* ===== アーカイブ共通ヘッダー ===== */
.archive-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

.archive-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}

/* タイトル下に短めのライン */
.archive-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 3px;
  border-radius: 999px;
  background: #0078c7; /* サイトのメインカラーに合わせて変えてOK */
}

.archive-desc {
  margin: 0;
  color: #666;
  line-height: 1.7;
  max-width: 720px;
  font-size: 0.95rem;
}

/* ===== お知らせアーカイブ ===== */
.archive-list--info {
  border-top: 1px solid #e3e6ee;
}

.archive-item--info {
  margin: 0;
}

.archive-item--info + .archive-item--info {
  border-top: 1px solid #e3e6ee;
}

.archive-item--info .archive-item__link {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.9rem 0;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.archive-item--info .archive-item__date {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

.archive-item--info .archive-item__title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  padding-bottom: 0.1rem;
}

.archive-item--info .archive-item__link:hover .archive-item__title {
  color: #0078c7;
}

.archive-item--info .archive-item__link:hover {
  background-color: #f8fafc;
}

/* スマホで縦並びに崩す */
@media (max-width: 767px) {
  .archive-item--info .archive-item__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.8rem 0;
  }

  .archive-item--info .archive-item__title {
    font-size: 0.98rem;
  }
}

/* ===== ブログアーカイブ ===== */
.archive-list--blog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 2.75rem;
  row-gap: 4.2rem;    
}

.archive-item--blog {
  margin: 0;
}

.archive-item--blog .archive-item__link {
  display: block;
  height: 100%;
  padding: 1.5rem 1.6rem;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  border: 1px solid transparent;
  position: relative;
}

.archive-item--blog .archive-item__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  border-color: #e0ecf7;
  background-color: #fdfefe;
	z-index: 2;
}

.archive-item--blog .archive-item__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: #64748b;
}

.archive-item--blog .archive-item__date {
  font-variant-numeric: tabular-nums;
}

.archive-item--blog .archive-item__cat {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.78rem;
}

.archive-item--blog .archive-item__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.archive-item--blog .archive-item__excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #475569;
}

/* スマホ時は1カラム & 余白調整 */
@media (max-width: 767px) {
  .archive-list--blog {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .archive-item--blog .archive-item__link {
    padding: 1.25rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }

  .archive-item--blog .archive-item__title {
    font-size: 1.02rem;
  }

  .archive-item--blog .archive-item__excerpt {
    font-size: 0.9rem;
  }
}

/* ===============================
   デジタルコンテンツ一覧：基本
================================= */
.dgdc-list {
    display: grid;
    gap: 32px;
    margin: 40px 0;
}

.dgdc-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.dgdc-item__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}

/* メタ情報 */
.dgdc-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 16px;
}

.dgdc-item__category,
.dgdc-item__type,
.dgdc-item__price {
    background: #f2f5fa;
    padding: 4px 10px;
    border-radius: 6px;
}

/* 抜粋 */
.dgdc-item__excerpt {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ===============================
   ボタン類
================================= */
.dgdc-item__actions {
    margin-top: auto;
}

.dgdc-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

/* 無料ダウンロード */
.dgdc-btn--free {
    background-color: #2ecc71;
}
.dgdc-btn--free:hover {
    background-color: #27ae60;
}

/* 有料：今すぐ購入 */
.dgdc-btn--paid {
    background-color: #3498db;
}
.dgdc-btn--paid:hover {
    background-color: #2980b9;
}

/* 試し読み */
.dgdc-btn--sample {
    background-color: #7f8c8d;
}
.dgdc-btn--sample:hover {
    background-color: #707b7c;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .dgdc-item {
        padding: 20px;
    }
    .dgdc-item__title {
        font-size: 18px;
    }
}

/* ===========================
   AIお問い合わせフォーム 基本レイアウト
   =========================== */

.dg-ai-contact__form {
  max-width: 720px;
  margin: 2.5rem auto;
  padding: 2rem 2.4rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* フィールド周り */
.dg-ai-contact__field {
  margin-bottom: 1.6rem;
}

.dg-ai-contact__field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #111827;
}

.dg-ai-contact__req {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  font-size: 0.75rem;
  color: #b91c1c;
  background: #fee2e2;
  border-radius: 999px;
}

/* display:none は避けて“画面外”に飛ばす */
.dg-ai-contact__hp{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* input / textarea 共通 */
.dg-ai-contact__field input,
.dg-ai-contact__field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  line-height: 1.5;
  background-color: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.dg-ai-contact__field textarea {
  min-height: 160px;
  resize: vertical;
}

/* フォーカス時 */
.dg-ai-contact__field input:focus,
.dg-ai-contact__field textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* プレースホルダー */
.dg-ai-contact__field input::placeholder,
.dg-ai-contact__field textarea::placeholder {
  color: #9ca3af;
}

/* 送信ボタン */
.dg-ai-contact__actions {
  margin-top: 1.8rem;
  text-align: center;
}

.dg-ai-contact__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 2.4rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.dg-ai-contact__actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.dg-ai-contact__actions button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(30, 64, 175, 0.4);
}

/* 送信完了メッセージ */
.dg-ai-contact__thanks {
  max-width: 720px;
  margin: 2.5rem auto;
  padding: 2rem 2.4rem;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #064e3b;
  line-height: 1.7;
}

/* エラーメッセージ */
.dg-ai-contact__error {
  max-width: 720px;
  margin: 1.5rem auto -0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.9rem;
}

.dg-ai-contact__field select {
  width: 100%;
  padding: 12px 40px 12px 12px; /* 右に矢印分の余白 */
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.dg-ai-contact__field {
  position: relative;
}

.dg-ai-contact__field select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(15,23,42,.6) 50%),
                    linear-gradient(135deg, rgba(15,23,42,.6) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.dg-ai-contact__field select:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.6); /* 既存があればそれに合わせてOK */
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.dg-consult-intro {
  margin-bottom: 24px;
}

.dg-consult-note {
  font-size: 14px;
  color: #64748b;
}

.dg-consult-complete {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 24px;
  border-radius: 16px;
  font-weight: 600;
}

.dg-consult-complete {
  background:#f0f9ff;
  border:1px solid #bae6fd;
  padding:20px;
  border-radius:16px;
  font-weight:600;
}

/* 無料相談フォーム：optgroupの斜体を解除 */
.dg-consult-form select optgroup {
  font-style: normal;
}

.dg-consult-slot-preview{
  margin-top: 8px;
  font-size: 14px;
  color: #334155;
  font-weight: 600;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .dg-ai-contact__form {
    margin: 1.8rem auto;
    padding: 1.4rem 1.2rem;
    border-radius: 10px;
  }

  .dg-ai-contact__thanks {
    margin: 1.8rem auto;
    padding: 1.6rem 1.2rem;
  }

  .dg-ai-contact__actions button {
    width: 100%;
  }
}

.skills-section {
  max-width: 1100px;
  margin: 0 auto;
  /*padding: 40px 20px;*/
}

.skills-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.skill-card {
  background: #fff;
  border-radius: 10px;
  padding: 5px 16px;
  border: 1px solid #e5e5e5;
  transition: 0.2s ease;
}

.skill-card:hover {
  background: #f9f9f9;
  border-color: #dcdcdc;
}

.skill-icon {
  font-size: 24px;
  color: #666667;
  /*margin-bottom: 8px;*/
  display: inline-block;
}

.skill-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0px;
}

.skill-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* =========================================
   Policy pages (Site Policy / Privacy Policy)
   post-105, post-158 共通
========================================= */

/* コンテンツ幅 */
.post-105 .page-content,
.post-158 .page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 0 36px;
}

/* 本文 */
.post-105 .page-content p,
.post-158 .page-content p {
  margin: 0 0 14px;
  line-height: 1.9;
  color: rgba(15, 23, 42, 0.82);
}

/* =========================
   見出し（h2）
========================= */
.post-105 .page-content h2,
.post-158 .page-content h2 {
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;

  margin: 30px 0 14px !important;
  padding: 0 0 10px !important;

  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #0f172a !important;

  display: flex;
  align-items: center;
  gap: 10px;

  border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
}

/* 既存テーマの疑似要素を無効化 */
.post-105 .page-content h2::after,
.post-158 .page-content h2::after {
  content: none !important;
}

/* 左アクセント */
.post-105 .page-content h2::before,
.post-158 .page-content h2::before {
  content: "" !important;
  width: 4px;
  height: 1.1em;
  border-radius: 999px;
  background: #2563eb;
  flex: 0 0 auto;
}

/* =========================
   リスト（カード風）
========================= */

.post-105 .page-content ul.wp-block-list li,
.post-158 .page-content ul.wp-block-list li {
  font-size: 14.5px;	
  margin: 8px 0;
  line-height: 1.8;
  color: rgba(15, 23, 42, 0.84);
}

.post-105 .page-content ol.wp-block-list li,
.post-158 .page-content ol.wp-block-list li {
  font-size: 14.5px;
  margin: 8px 0;
  line-height: 1.8;
  color: rgba(15, 23, 42, 0.84);
}


/* =========================
   スマホ
========================= */
@media (max-width: 640px) {
  .post-105 .page-content h2,
  .post-158 .page-content h2 {
    font-size: 17px !important;
  }

  .post-105 .page-content p,
  .post-158 .page-content p {
    font-size: 14.5px;
  }
}

.product-section {
  margin: 3rem 0;
}

.product-cta {
  margin-top: 4rem;
  text-align: center;
}
.checkout-box, .thanks-box {
  margin: 24px auto;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
}

.checkout-divider, .thanks-divider {
  margin: 18px 0;
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.checkout-fields {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.checkout-field span {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.checkout-field input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-sizing: border-box;
}

.checkout-actions, .thanks-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.thanks-list, .thanks-steps {
  margin-top: 12px;
}
/* =========================
   Buttons (DG Index)
   ========================= */

/* ベース */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45em;

  padding: 12px 18px;
  border-radius: 12px;

  font-weight: 700;
  font-size: 15px;
  line-height: 1;

  border: 1px solid transparent;
  text-decoration: none;

  cursor: pointer;
  user-select: none;

  transition:
    transform .12s ease,
    box-shadow .12s ease,
    background-color .12s ease,
    border-color .12s ease,
    color .12s ease,
    opacity .12s ease;
}

/* Primary */
.btn{
  background: #0f172a; /* 濃いネイビー */
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .22);
}
.btn:active{
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}
.btn:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, .35),
    0 10px 22px rgba(15, 23, 42, .18);
}

/* Outline */
.btn--outline{
  background: transparent;
  color: #0f172a;
  border-color: rgba(15, 23, 42, .22);
  box-shadow: none;
}
.btn--outline:hover{
  transform: translateY(-1px);
  background: rgba(15, 23, 42, .04);
  border-color: rgba(15, 23, 42, .32);
}
.btn--outline:active{
  transform: translateY(0);
}

/* サイズ（必要なら） */
.btn--sm{ padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.btn--lg{ padding: 14px 22px; font-size: 16px; border-radius: 14px; }

/* 横幅揃えたいとき用（CTAで便利） */
.btn--block{
  width: 100%;
}

/* 並びの基本（checkout-actions / thanks-actionsに使う） */
.checkout-actions,
.thanks-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* 2ボタンを同じ幅にしたい場合（PC） */
.checkout-actions .btn,
.thanks-actions .btn{
  min-width: 220px;
}

/* SPでは縦積みで押しやすく */
@media (max-width: 640px){
  .checkout-actions,
  .thanks-actions{
    flex-direction: column;
  }
  .checkout-actions .btn,
  .thanks-actions .btn{
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   Thanks download links
   ========================= */

.thanks-link{
  display: inline-flex;
  align-items: center;
  gap: .5em;

  padding: 10px 14px;
  margin: 6px 0;

  font-size: 14px;
  font-weight: 600;

  color: #0f172a;
  text-decoration: none;

  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.15);
  border-radius: 10px;

  transition:
    background-color .15s ease,
    border-color .15s ease,
    box-shadow .15s ease,
    transform .12s ease;
}

/* Thanks ページ：ダウンロード用リスト */
.thanks-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.thanks-list li{
  list-style: none;
}

.thanks-link i{
  font-size: 1.1em;
  opacity: .75;
}

/* hover */
.thanks-link:hover{
  background: #eef2ff;
  border-color: rgba(15,23,42,.25);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15,23,42,.08);
}

/* active */
.thanks-link:active{
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(15,23,42,.08);
}

/* ダミー感を少し出したい場合 */
.thanks-link.is-dummy{
  opacity: .85;
}

/* =========================
   Toast
   ========================= */
.dg-toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: .55em;

  padding: 12px 14px;
  border-radius: 12px;

  background: rgba(15, 23, 42, .92);
  color: #fff;

  font-size: 14px;
  font-weight: 600;

  box-shadow: 0 16px 34px rgba(15, 23, 42, .22);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease;
}

.dg-toast.is-show{
  opacity: 1;
  transform: translateY(0);
}

.dg-toast__icon{
  font-size: 1.1em;
  opacity: .9;
}

@media (max-width: 640px){
  .dg-toast{
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
  }
}

.service-related-link {
  margin-top: 1.2em;
  text-align: right;
}

.service-related-link a {
  font-size: 0.95rem;
  color: #444;
  text-decoration: underline;
}

.service-related-link a:hover {
  color: #000;
}

/* =========================================
   /shiga-homepage-design/（page-id-461）専用
   ========================================= */
body.page-id-461 .page-content{
  --dg-accent: #1f6feb; /* サイトの青に合わせて微調整OK */
  --dg-text: #0f172a;
  --dg-muted: #475569;
  --dg-border: rgba(15, 23, 42, 0.10);
  --dg-bg: #ffffff;
  --dg-soft: #f8fafc;
}

/* 全体の余白と読みやすさ */
body.page-id-461 .page-content{
  line-height: 1.9;
  color: var(--dg-text);
}

body.page-id-461 .page-content section{
  background: var(--dg-bg);
  border: 1px solid var(--dg-border);
  border-radius: 16px;
  padding: 22px 22px;
  margin: 18px 0;
  /*box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);*/
}

/* HERO：上だけ特別扱い */
body.page-id-461 .page-content .page-hero{
  border-radius: 18px;
  padding: 34px 26px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  background:
    radial-gradient(900px 240px at 10% 0%, rgba(31,111,235,0.12), transparent 60%),
    radial-gradient(900px 240px at 90% 0%, rgba(34,197,94,0.10), transparent 60%),
    var(--dg-soft);
}

body.page-id-461 .page-content .page-hero h1{
  font-size: clamp(24px, 2.2vw, 24px);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

body.page-id-461 .page-content .page-hero p{
  margin: 0;
  color: var(--dg-muted);
  font-size: 1.02em;
}

/* 見出し（H2） */
body.page-id-461 .page-content h2{
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.3;
  margin: 0 0 12px;
  padding-left: 12px;
  position: relative;
}

body.page-id-461 .page-content h2::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 4px;
  height: 1.1em;
  border-radius: 3px;
  background: var(--dg-accent);
}

/* p */
body.page-id-461 .page-content p{
  margin: 0 0 12px;
  color: var(--dg-text);
}
body.page-id-461 .page-content p:last-child{ margin-bottom: 0; }

/* 箇条書き（いい感じのチェックリスト風） */
body.page-id-461 .page-content ul{
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

body.page-id-461 .page-content li{
  position: relative;
  padding: 10px 12px 10px 40px;
  border-radius: 12px;
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.06);
  color: var(--dg-text);
}

body.page-id-461 .page-content li::before{
  content: "✓";
  position: absolute;
  left: 14px;
  top: 10px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--dg-accent);
}

/* CTA（最後のセクションを“締め”っぽく） */
body.page-id-461 .page-content section:last-of-type{
  background:
    radial-gradient(900px 240px at 10% 0%, rgba(31,111,235,0.10), transparent 60%),
    var(--dg-soft);
  border: 1px solid rgba(31,111,235,0.18);
}

/* CTAのリンクをボタン化（今のHTMLのまま対応） */
body.page-id-461 .page-content section:last-of-type a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(31,111,235,0.22);
  background: #fff;
  color: var(--dg-accent);
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    margin-bottom: 10px;
    max-width: 100%;
    box-sizing: border-box;
}


}

body.page-id-461 .page-content section:last-of-type a:hover{
  transform: translateY(-1px);
  /*box-shadow: 0 10px 22px rgba(31,111,235,0.12);*/
  background: rgba(31,111,235,0.04);
}

body.page-id-461 .page-content section:last-of-type p a + span,
body.page-id-461 .page-content section:last-of-type p a + a{
  margin-left: 10px;
}

/* スマホ調整 */
@media (max-width: 600px){
  body.page-id-461 .page-content section{
    padding: 18px 16px;
  }
  body.page-id-461 .page-content li{
    padding-left: 38px;
  }
}
body.page-id-461 .page-content .cta-sep{
  display: none; /* ボタンにしたいから区切りは消す */
}
body.page-id-461 .page-content .cta-links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.archive-item__thumb{
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.06);
}

.archive-item__img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9; /* 好みで 4/3 や 1/1 でもOK */
  object-fit: cover;
}
