@charset "UTF-8";
/*-------------------------
// コンポーネント（Component）

接頭辞: c-
説明: 再利用可能なUIコンポーネントに使用します。
---------------------------*/

/*-------------------------
// ユーティリティ（Utility）

接頭辞: u-
説明: 単一のプロパティやスタイルを提供するクラスに使用します。
---------------------------*/

/*-------------------------
// レイアウト（Layout）

接頭辞: l-
説明: ページのレイアウト構造を定義するクラスに使用します。
---------------------------*/

/*-------------------------
// スコープ（Scope）

接頭辞: s-
説明: 特定のコンテキストやページに限定されたスタイルに使用します。
---------------------------*/
/*---------------------------
Scale
---------------------------- */
:root {
  --scale-2: min(100vw / 375 * 2, 2px);
  --scale-4: min(100vw / 375 * 3, 4px);
  --scale-8: min(100vw / 375 * 6, 8px);
  --scale-12: min(100vw / 375 * 10, 12px);
  --scale-14: min(100vw / 375 * 12, 14px);
  --scale-16: min(100vw / 375 * 13, 16px);
  --scale-18: min(100vw / 375 * 14, 18px);
  --scale-20: min(100vw / 375 * 16, 20px);
  --scale-24: min(100vw / 375 * 18, 24px);
  --scale-28: min(100vw / 375 * 20, 28px);
  --scale-32: min(100vw / 375 * 22, 32px);
  --scale-36: min(100vw / 375 * 26, 36px);
  --scale-40: min(100vw / 375 * 28, 40px);
  --scale-56: min(100vw / 375 * 32, 56px);
  --scale-64: min(100vw / 375 * 48, 64px);
  --scale-80: min(100vw / 375 * 56, 80px);
  --scale-120: min(100vw / 375 * 80, 120px);
  --scale-160: min(100vw / 375 * 96, 160px);
  --scale-220: min(100vw / 375 * 120, 220px);
}

:root {
  --padding-block: var(--scale-80, 80px);
  --width-md: 1080px;
  --padding-block: var(--scale-80, 80px);
  --padding-inline: var(--scale-20, 20px);
  --gap-row: var(--scale-56, 56px);
}

/*---------------------------
全体のレイアウト
---------------------------- */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  min-height: 100vh;
  /* iOS 15 対策 */
}

body {
  position: relative;
  color: var(--on-surface);
}

@media screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
}

@media not screen and (max-width: 768px) {
  .sp {
    display: none !important;
  }
}

/* -----------------------------
  画像の配置スタイル
----------------------------- */
.wp-block-image.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-image.alignright {
  margin-left: auto;
  margin-right: 0;
}

.wp-block-image.alignleft {
  margin-left: 0;
  margin-right: auto;
}

/*------------------------------
文字
-------------------------------*/
body {
}

span {
  display: inline-block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
}

strong {
}

p {
}

/*------------------------------
リンク、ボタン
-------------------------------*/
a {
  color: inherit;
}

.button :is(a, button) {
}

nav ul li a:has([class*="menu-icon"]) {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: var(--scale-8);
  padding: calc(1em / 20 * 16) calc(1em / 20 * 24);
  text-align: center;
}

nav ul li a[class*="button-"] span {
  flex-grow: 1;
}

nav ul li a[class*="button-"] span.material-symbols-rounded {
  flex-grow: 0;
}

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: 130%;
}

.button-style-border {
  border: var(--scale-4, 4px) solid;
}

.button-color-transparent {
  background-color: transparent;
  color: var(--on-surface);
}

.button-color-default {
  background-color: #0d47a1;
  color: #ffffff;
}

.cta-button-color-primary {
  background-color: var(--button-primary, #17962e);
  color: var(--on-button-primary, #ffffff);
}

.cta-button-color-secondary {
  background-color: var(--button-secondary, #ff9800);
  color: var(--on-button-secondary, #ffffff);
}

.button-color-surface {
  background-color: var(--surface);
  color: var(--on-surface);
}

.button-color-primary {
  background-color: var(--primary);
  color: var(--on-primary);
}

.button-color-secondary {
  background-color: var(--secondary);
  color: var(--on-secondary);
}

.button-color-tertiary {
  background-color: var(--tertiary);
  color: var(--on-tertiary);
}

.button-shadow-small {
  box-shadow: 0px var(--scale-4, 4px) var(--scale-8, 8px) 0px
    rgba(0, 0, 0, 0.16);
}

.button-shadow-large {
  box-shadow: 0px var(--scale-8, 8px) var(--scale-16, 16px) 0px
    rgba(0, 0, 0, 0.16);
}

.button-shape-rounded {
  border-radius: var(--scale-8);
}

.button-shape-elongated {
  border-radius: 9999px;
}

.button-width-short {
  width: 10em;
}

.button-width-long {
  width: 15em;
}

/*-------------------------------
画像
---------------------------------*/
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

/*-------------------------
テーブル
---------------------------*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*-------------------------
フォーム
---------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="color"],
input[type="file"],
input[type="range"],
textarea {
  border: 1px solid var(--border-color, #aaa);
  border-radius: 2px;
  padding: 0.5em 1em;
  width: 100%;
  background-color: var(--surface);
}

input[type="submit"] {
  margin-top: 1em;
  font-size: 1.2em;
  background-color: var(--primary, #17962e);
  color: var(--on-primary, #fff);
  border: none;
  width: fit-content;
  line-height: 1;
  padding: 0.8em 2em;
}

th.required:before {
  content: "必須";
  display: inline-block;
  font-size: 0.9em;
  padding: 0.2em 0.4em;
  background-color: var(--bgcolor-button-cta);
  color: var(--text-color-on-dark);
  font-weight: normal;
  line-height: 1;
}

select {
  appearance: auto;
}

/*-------------------------
リスト
---------------------------*/
ol {
  list-style: auto inside;
}

/* ==========================================================================
   Header
   ========================================================================== */

/* ヘッダー全体の高さや固定設定など */
header {
  display: flex;
  min-height: 128px;
  padding: var(--padding-inline, 20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--scale-20, 20px);
  background: var(--surface, #fff);
  box-shadow: 0 var(--scale-4, 4px) var(--scale-8, 8px) 0 rgba(0, 0, 0, 0.08);
  position: sticky;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}

@media screen and (max-width: 768px) {
  header {
    position: relative;
  }
}

/* コンテナ（ロゴと右側グループを左右に振り分ける） */
.header__inner {
  display: flex;
  max-width: var(--width-md, 1100px);
  justify-content: space-between;
  align-items: center;
  align-content: center;
  row-gap: var(--scale-20, 20px);
  align-self: stretch;
  flex-wrap: wrap;
  margin-inline: auto;
  width: 100%;
}

/* --- Left Side (Logo) --- */
.header__left {
}

.header__logo {
}

/* WordPressのカスタムロゴ（imgタグ）への調整 */
.header__logo img {
  display: block;
  width: auto;
  height: var(--scale-56, 56px);
}

/* --- Right Side (Image + Nav) --- */
.header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--scale-8, 8px);
}

/* 東京ガスの画像 */
.header-tokyo-gas {
  width: auto;
  height: var(--scale-28, 28px);
}

/* --- Header CTA Navigation --- */
.header-cta {
}

/* wp_nav_menuで出力される ul タグ */
.header-cta__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* メニューの各項目 (li) */
.header-cta__list li {
}

/* メニュー内のリンク (a) */
.header-cta__list li a {
  text-decoration: none;
  display: flex;
  width: 226px;
  padding: var(--scale-12, 12px) var(--scale-8, 8px);
  justify-content: center;
  align-items: center;
  gap: var(--scale-8, 8px);
  border-radius: var(--scale-8, 8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.24) 50%,
      rgba(0, 0, 0, 0.08) 50%,
      rgba(255, 255, 255, 0) 100%
    ),
    var(--tertiary, #f37100);
  background-blend-mode: hard-light, normal;
  box-shadow:
    0 6px 0 0 rgba(0, 0, 0, 0.4),
    0 6px 0 0 var(--tertiary, #f37100);
  color: var(--surface, #fff);
  text-align: center;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
  font-family: "Noto Sans JP";
  font-size: var(--scale-18, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: 170%; /* 30.6px */
  transition: all 0.2s ease;
}

/* ホバー時 */
.header-cta__list li a:hover {
  /* 下への沈み込み（影を薄く、位置を低く） */
  transform: translateY(3px);
  box-shadow:
    0 3px 0 0 rgba(0, 0, 0, 0.4),
    0 3px 0 0 var(--tertiary, #f37100);
  /* 少し明るくして反応を強調 */
  filter: brightness(1.1);
}

/* --------------------------------------------------------------------------
   Mobile (必要に応じて)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
  .header__inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: var(--scale-16, 16px);
  }
  .header__right {
    align-items: center;
  }

  /* スクロール時の変化を滑らかにするための設定 */
  header,
  .header__logo,
  .header-tokyo-gas {
    transition: all 0.3s ease-in-out;
  }

  /* スクロール中（クラスがついた時）の挙動 */
  header.is-scrolled {
    min-height: 70px; /* ボタンが収まる程度の高さに縮小 */
    padding-block: 10px;
  }

  header.is-scrolled .header__logo,
  header.is-scrolled .header-tokyo-gas {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    pointer-events: none; /* クリック判定も消す */
  }

  /* 右側のレイアウトを調整（スクロール時は中央寄せにするなどお好みで） */
  header.is-scrolled .header__right {
    align-items: center;
    width: 100%;
  }
}

/*==========================
pagination
============================*/

nav.navigation.pagination {
  margin-top: min(100vw / 750 * 40, 40px);
}

nav.navigation.pagination h2.screen-reader-text {
}

nav.navigation.pagination div.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  align-items: center;
  font-size: min(20rem * 1.414 + 9.79px, 20px);
}

nav.navigation.pagination div.nav-links .page-numbers {
  width: 2em;
  line-height: 1;
  text-align: center;
  padding: 0.5em;
  background-color: var(--bgcolor-secondary);
}

nav.navigation.pagination div.nav-links span.page-numbers.current {
  color: var(--text-color-on-dark);
  background-color: var(--text-color-link);
}

nav.navigation.pagination div.nav-links a.page-numbers {
}

nav.navigation.pagination div.nav-links a.next.page-numbers {
}

div.newer-older {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  align-items: center;
  width: 100%;
  font-size: min(20rem * 1.414 + 9.79px, 20px);
  justify-content: space-between;
}

div.newer-older p.older {
}

div.newer-older p a {
  width: 2em;
  line-height: 1;
  text-align: center;
  padding: 0.5em;
  text-decoration: none;
  color: var(--text-color-on-dark);
  background-color: var(--text-color-link);
}

div.newer-older p.newer {
}

div.newer-older p.newer a {
}

/*============================
404 notfound
============================*/
section#notfound.notfound {
  padding-left: min(100vw / 750 * 48, 48px);
  padding-right: min(100vw / 750 * 48, 48px);
}

section#notfound.notfound div.container {
  text-align: center;
}

/*============================
404 notfound
============================*/

div.breadcrumbs {
  font-size: min(14rem * 1.414 + 9.79px, 14px);
  border-top: 1px solid var(--color-decoration);
  border-bottom: 1px solid var(--color-decoration);
  padding-top: 1em;
  padding-bottom: 1em;
}

div.breadcrumbs div.container {
}

div.breadcrumbs div.container span {
}

div.breadcrumbs div.container span a {
  color: var(--text-color-primary);
}

div.breadcrumbs div.container span a:hover {
  text-decoration: underline;
}

div.breadcrumbs div.container span a.home span {
}

div.breadcrumbs div.container span span.post.post-page.current-item {
  font-weight: bold;
}

.footer__copyright {
  display: flex;
  padding: var(--scale-24, 24px) 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  color: var(--surface, #fff);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: var(--scale-12, 12px);
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 15.6px */
  background: var(--primary, #003775);
}
