@charset "UTF-8";
/* トップ：緊急カード（新デザイン） */
body .visual-card--emergency {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.7rem, 1.2vw, 1rem);
  background: #b73535;
  color: #fff;
  text-align: center;
  isolation: isolate;
}
body .visual-card--emergency::before {
  content: "";
  position: absolute;
  right: clamp(0.45rem, 0.8vw, 0.7rem);
  bottom: clamp(0.45rem, 0.8vw, 0.7rem);
  left: clamp(0.45rem, 0.8vw, 0.7rem);
  height: 58%;
  z-index: -1;
  background: #fff;
}
body .visual-card--emergency:hover, body .visual-card--emergency:focus-visible {
  color: #fff;
  filter: brightness(1.02);
}
body .visual-card--emergency .visual-card--heading {
  gap: clamp(0.45rem, 0.8vw, 0.75rem);
  padding: 0 0 clamp(0.75rem, 1.2vw, 1rem);
  border: 0;
  color: #fff;
  font-size: clamp(1rem, 1.55vw, 1.45rem);
}
body .visual-card--emergency .visual-card--heading img {
  width: clamp(2.1rem, 3.5vw, 3.5rem);
  height: clamp(2.1rem, 3.5vw, 3.5rem);
}
body .visual-card--emergency .visual-card--text {
  position: relative;
  z-index: 1;
  margin: clamp(0.55rem, 1vw, 0.9rem) auto;
  max-width: 27rem;
  color: #b73535;
  font-size: clamp(0.62rem, 0.82vw, 0.78rem);
  line-height: 1.6;
}
body .visual-card--emergency .visual-card--button {
  position: relative;
  z-index: 1;
  width: 72%;
  min-height: clamp(1.6rem, 2.6vw, 2.2rem);
  background: #b73535;
  color: #fff !important;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
}
body .visual-card--emergency .visual-card--button:hover, body .visual-card--emergency .visual-card--button:focus-visible {
  background: #9f2929;
  color: #fff !important;
}

@media (max-width: 900px) {
  body .visual-card--emergency {
    justify-content: flex-start;
    padding: 0.45rem 0.55rem;
  }
  body .visual-card--emergency::before {
    right: 0.35rem;
    bottom: 0.35rem;
    left: 0.35rem;
    height: 62%;
  }
  body .visual-card--emergency .visual-card--heading {
    gap: 0.35rem;
    padding-bottom: 0.35rem;
    font-size: 0.92rem;
    line-height: 1.15;
  }
  body .visual-card--emergency .visual-card--heading img {
    width: 1.75rem;
    height: 1.75rem;
  }
  body .visual-card--emergency .visual-card--text {
    margin: 0.35rem auto;
    font-size: 0.56rem;
    line-height: 1.45;
  }
  body .visual-card--emergency .visual-card--button {
    width: 72%;
    min-width: 0;
    min-height: 1.35rem;
    font-size: 0.66rem;
    line-height: 1.2;
  }
}
/* 関連バナー */
.footer-banners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 4%;
  background: #fff;
}
.footer-banners a {
  display: block;
  flex: 0 1 auto;
  transition: opacity 0.25s ease;
}
.footer-banners a:hover, .footer-banners a:focus-visible {
  opacity: 0.78;
}
.footer-banners img {
  display: block;
  width: auto;
  height: clamp(2rem, 3.6vw, 3.1rem);
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

/* トップ：採用情報（新デザイン） */
body .visual-card--recruit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 1.2vw, 1rem);
  padding: clamp(0.75rem, 1.2vw, 1rem);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), transparent 55%), linear-gradient(135deg, #8fc0e8 0%, #4f8fc8 100%);
  color: #fff;
  text-align: center;
}

body .visual-card--recruit:hover,
body .visual-card--recruit:focus-visible {
  color: #fff;
  text-decoration: none;
}

body .visual-card--recruit .visual-card--recruit-logo {
  display: block;
  width: min(74%, 18rem);
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

body .visual-card--recruit-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #fff;
  line-height: 1;
}

body .visual-card--recruit-title strong,
body .visual-card--recruit-title span {
  display: block;
  flex: 1 1 50%;
  min-width: 0;
  padding: 0.2rem clamp(0.35rem, 0.7vw, 0.7rem);
  white-space: nowrap;
}

body .visual-card--recruit-title strong {
  font-size: clamp(1.15rem, 1.75vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

body .visual-card--recruit-title span {
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 1.25vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.12em;
}

/* トップ：マイ大多喜ガス最終調整 */
body .visual-card--mygas {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0.85rem;
  border: 3px solid #489b87;
  background: #f7f7f7;
  color: #489b87;
  box-shadow: none;
  filter: none;
}

body .visual-card--mygas:hover,
body .visual-card--mygas:focus-within {
  color: #489b87;
  box-shadow: none;
  filter: none;
}

body .visual-card--mygas-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  text-align: left;
}

body .visual-card--mygas-inner > div {
  text-align: left;
}

body .visual-card--mygas .visual-card--phone {
  display: block;
  width: clamp(2.8rem, 3.6vw, 3.7rem);
  max-height: 6rem;
  -o-object-fit: contain;
     object-fit: contain;
}

body .visual-card--mygas h2 {
  color: #489b87;
  font-size: clamp(1.2rem, 1.55vw, 1.6rem);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

body .visual-card--mygas p {
  display: block;
  margin-top: 0.5rem;
  color: #489b87;
  font-size: clamp(0.68rem, 0.8vw, 0.82rem);
  font-weight: 500;
  line-height: 1.45;
}

body .visual-card--mygas .visual-card--actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

body .visual-card--mygas .visual-card--actions a,
body .visual-card--mygas .visual-card--actions a:nth-child(2) {
  display: flex;
  width: 100%;
  min-height: 2rem;
  background: #f89a00;
  color: #fff;
  font-size: clamp(0.72rem, 0.86vw, 0.88rem);
}

body .visual-card--mygas .visual-card--actions a:hover,
body .visual-card--mygas .visual-card--actions a:focus-visible {
  background: #df8100;
  color: #fff;
  box-shadow: none;
}

@media (max-width: 600px) {
  body .visual-card--recruit {
    gap: 0.55rem;
    padding: 0.75rem 0.6rem;
  }
  body .visual-card--recruit .visual-card--recruit-logo {
    width: 82%;
  }
  body .visual-card--recruit-title {
    flex-direction: column;
  }
  body .visual-card--recruit-title strong,
  body .visual-card--recruit-title span {
    flex: none;
    width: 100%;
    padding: 0.3rem 0.15rem;
  }
  body .visual-card--recruit-title strong {
    font-size: 1.15rem;
  }
  body .visual-card--recruit-title span {
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-left: 0;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }
  body .visual-card--mygas {
    margin: 0;
    padding: 1rem;
  }
  body .visual-card--mygas .visual-card--phone {
    width: 3.4rem;
  }
  body .visual-card--mygas h2 {
    font-size: 1.45rem;
  }
}
/* トップ右カラム：画像バナーへ差し替え */
body .visual-card--emergency {
  display: block;
  min-height: 0;
  padding: 0;
  border: 3px solid #b73535;
  background: #fff;
  box-sizing: border-box;
}
body .visual-card--emergency::before {
  content: none;
}

body .visual-card--emergency-image,
body .visual-card--mygas-image {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  -o-object-fit: contain;
     object-fit: contain;
}

body .visual-card--mygas {
  display: flex;
  min-height: 0;
  padding: 0.55rem;
  background: #fff;
}
body .visual-card--mygas .visual-card--actions {
  width: 100%;
  margin-top: 0.45rem;
}

@media (max-width: 600px) {
  body .visual-card--emergency,
  body .visual-card--mygas {
    min-height: 0;
    justify-content: flex-start;
  }
  body .visual-card--mygas {
    padding: 0.45rem;
  }
}
/* 980px前後では右バナーの可読幅を優先 */
@media (min-width: 901px) and (max-width: 1100px) {
  body .top-visual--wrap {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "thumbs" "primary" "secondary";
  }
  body .top-visual--primary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    height: auto;
    overflow: visible;
  }
  body .top-visual--secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    height: auto;
    overflow: visible;
  }
}
body .visual-card--mygas .visual-card--actions {
  grid-template-columns: 1fr !important;
}

/* マイ大多喜ガス：案内ページへのリンク表示 */
body .visual-card--mygas-guide {
  position: relative;
  display: block;
  width: 100%;
  transition: background-color 0.2s ease;
}
body .visual-card--mygas-guide .visual-card--mygas-image {
  transition: opacity 0.2s ease;
}
body .visual-card--mygas-guide::after {
  position: absolute;
  top: 29%;
  right: 0.65rem;
  width: 0;
  height: 0;
  border-top: 0.32rem solid transparent;
  border-bottom: 0.32rem solid transparent;
  border-left: 0.48rem solid #489b87;
  content: "";
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
body .visual-card--mygas-guide:hover, body .visual-card--mygas-guide:focus-visible {
  background-color: #eef8f5;
}
body .visual-card--mygas-guide:hover .visual-card--mygas-image, body .visual-card--mygas-guide:focus-visible .visual-card--mygas-image {
  opacity: 0.88;
}
body .visual-card--mygas-guide:hover::after, body .visual-card--mygas-guide:focus-visible::after {
  transform: translate(3px, -50%);
}
body .visual-card--mygas-guide:focus-visible {
  outline: 2px solid #489b87;
  outline-offset: 2px;
}

body .visual-card--mygas-guide + .visual-card--actions {
  width: min(70%, 15rem) !important;
  grid-template-columns: 1fr !important;
  margin-right: auto;
  margin-left: auto;
}

body .visual-card--mygas .visual-card--actions {
  grid-template-columns: 1fr;
}

/* 画像バナー指定は旧カード指定より後で確定する */
body .visual-card--emergency {
  display: block;
  min-height: 0;
  padding: 0;
  background: #fff;
}
body .visual-card--emergency::before {
  content: none;
}

body .visual-card--emergency-image,
body .visual-card--mygas-image {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  -o-object-fit: contain;
     object-fit: contain;
}

body .visual-card--mygas {
  display: flex;
  min-height: 0;
  padding: 0.55rem;
  background: #fff;
}
body .visual-card--mygas .visual-card--actions {
  width: 100%;
  margin-top: 0.45rem;
}

@media (max-width: 600px) {
  body .visual-card--emergency,
  body .visual-card--mygas {
    min-height: 0;
    justify-content: flex-start;
  }
  body .visual-card--mygas {
    padding: 0.45rem;
  }
}
/* トップ：マイ大多喜ガス（新デザイン） */
.visual-card--mygas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0.85rem;
  border: 3px solid #489b87;
  background: #f7f7f7;
  color: #489b87;
  box-shadow: none;
}

.visual-card--mygas:hover,
.visual-card--mygas:focus-within {
  color: #489b87;
  filter: none;
}

.visual-card--mygas-inner {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
}

.visual-card--mygas .visual-card--phone {
  width: clamp(3.2rem, 5.4vw, 4.7rem);
  max-height: 7rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.visual-card--mygas h2 {
  color: #489b87;
  font-size: clamp(1.25rem, 2.25vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.visual-card--mygas p {
  margin-top: 0.5rem;
  color: #489b87;
  font-size: clamp(0.65rem, 0.98vw, 0.92rem);
  font-weight: 500;
  line-height: 1.45;
}

.visual-card--mygas .visual-card--actions {
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.visual-card--mygas .visual-card--actions a {
  min-height: 2.3rem;
  background: #f89a00;
  color: #fff;
  font-size: clamp(0.78rem, 1.2vw, 1.1rem);
}

.visual-card--mygas .visual-card--actions a:hover,
.visual-card--mygas .visual-card--actions a:focus-visible {
  background: #df8100;
  color: #fff;
  box-shadow: none;
}

@media (max-width: 900px) {
  .visual-card--mygas p,
  .visual-card--mygas .visual-card--actions a:nth-child(2) {
    display: block;
  }
  .visual-card--mygas .visual-card--actions a {
    display: flex;
  }
}
@media (max-width: 600px) {
  .visual-card--mygas {
    padding: 1rem;
  }
  .visual-card--mygas .visual-card--phone {
    display: block;
    width: 3.4rem;
  }
  .visual-card--mygas-inner {
    display: grid;
    text-align: left;
  }
  .visual-card--mygas h2 {
    font-size: 1.35rem;
  }
  .visual-card--mygas .visual-card--actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .visual-card--mygas .visual-card--actions a {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .footer-banners {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.9rem 5%;
  }
  .footer-banners a {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: span 2;
    min-width: 0;
  }
  .footer-banners a:nth-child(4) {
    grid-column: 2/span 2;
  }
  .footer-banners a:nth-child(5) {
    grid-column: 4/span 2;
  }
  .footer-banners img {
    width: 100%;
    height: 2.65rem;
    -o-object-fit: contain;
       object-fit: contain;
  }
}
@media (max-width: 600px) {
  .top-news {
    padding: 0 5% 3rem;
  }
  .top-news--wrap h2 {
    width: min(72%, 18rem);
    padding: 0.5rem 0;
    font-size: 1.35rem;
  }
  .top-news--wrap---inner {
    display: block;
    padding-top: 2.25rem;
  }
  .top-news--wrap---inner dl.news-box {
    width: 100%;
    border-bottom: solid 2px #009983;
  }
  .top-news--wrap---inner dl.news-box + dl.news-box {
    margin-top: 2.6rem;
  }
  .top-news--wrap---inner dl.news-box dt {
    gap: 0.4rem;
    padding-bottom: 0.5rem;
  }
  .top-news--wrap---inner dl.news-box dt h3 {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.2rem;
    line-height: 1.25;
  }
  .top-news--wrap---inner dl.news-box dt a {
    position: relative;
    flex: 0 0 auto;
    padding: 0 0.65rem;
    border-radius: 0;
    background: transparent;
    color: #000;
    font-size: 0.86rem;
    font-weight: 700;
  }
  .top-news--wrap---inner dl.news-box dt a::after {
    content: none;
    position: absolute;
    right: 0;
    top: 50%;
    width: 1rem;
    height: 1rem;
    border-radius: 0.22rem;
    background: #009983;
    transform: translateY(-50%);
  }
  .top-news--wrap---inner dl.news-box dt a::before {
    content: none;
    position: absolute;
    right: 0.34rem;
    top: 50%;
    z-index: 1;
    width: 0;
    height: 0;
    border-top: 0.24rem solid transparent;
    border-bottom: 0.24rem solid transparent;
    border-left: 0.34rem solid #fff;
    transform: translateY(-50%);
  }
  .top-news--wrap---inner dl.news-box dd ul {
    display: block;
    height: auto;
  }
  .top-news--wrap---inner dl.news-box dd ul li a {
    display: block;
    min-height: 0;
    padding: 0.85rem 0;
    border-bottom: solid 1px #ccc;
  }
  .top-news--wrap---inner dl.news-box dd ul li a > span {
    width: auto;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
  }
  .top-news--wrap---inner dl.news-box dd ul li a p {
    width: 100%;
    margin-top: 0.12rem;
    font-size: 0.95rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }
  .top-news--wrap---inner dl.news-box dd ul li a span.news-cat {
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
  }
  .top-news--wrap .important-notice {
    justify-content: center;
    padding-top: 1rem;
  }
  .top-news--wrap .important-notice a {
    width: min(86%, 22rem);
    padding: 0.65rem 0.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
  }
}
/* 重要なお知らせ */
.top-important {
  padding: 1.35rem 4% 0.9rem;
  background: #e8e8e8;
}
.top-important--wrap {
  width: min(100%, 760px);
  margin: 0 auto;
}
.top-important--link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 3.2rem;
  border: 1px solid #9e9e9e;
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.top-important--link:hover, .top-important--link:focus-visible {
  color: #000;
  border-color: #c9232b;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}
.top-important--link:focus-visible {
  outline: 3px solid #9edbe7;
  outline-offset: 2px;
}
.top-important--label {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0.35rem 1rem;
  background: #c9232b;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.top-important--text {
  min-width: 0;
  padding: 0.4rem 1rem;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-important--more {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0.45rem 0 0 auto;
  color: #c9232b;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
}
.top-important--more::after {
  content: " >";
}
.top-important--more:hover, .top-important--more:focus-visible {
  color: #c9232b;
  text-decoration: underline;
}

/* メインビジュアル */
.top-visual {
  padding: 0.35rem 1.5% 1.8rem;
  background: #e8e8e8;
}
.top-visual--wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 28.5%);
  grid-template-areas: "main primary" "thumbs secondary";
  gap: 0.5rem;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}
.top-visual--main {
  grid-area: main;
  position: relative;
  aspect-ratio: 1.92/1;
  overflow: hidden;
  background: #d7e8eb;
}
.top-visual--main > img,
.top-visual--main > a,
.top-visual--main > a img,
.top-visual--main .main-slider-track,
.top-visual--main .main-slider-track a,
.top-visual--main .main-slider-track img {
  width: 100%;
  height: 100%;
}
.top-visual--main > img,
.top-visual--main > a img,
.top-visual--main .main-slider-track img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}
.top-visual--main > a,
.top-visual--main .main-slider-track a {
  position: relative;
  display: block;
}
.top-visual--main > a::after,
.top-visual--main .main-slider-track a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.top-visual--main > a:hover img, .top-visual--main > a:focus-visible img,
.top-visual--main .main-slider-track a:hover img,
.top-visual--main .main-slider-track a:focus-visible img {
  filter: brightness(1.07);
}
.top-visual--main > a:hover::after, .top-visual--main > a:focus-visible::after,
.top-visual--main .main-slider-track a:hover::after,
.top-visual--main .main-slider-track a:focus-visible::after {
  background: rgba(255, 255, 255, 0.12);
}
.top-visual--main > a:focus-visible,
.top-visual--main .main-slider-track a:focus-visible {
  outline: 3px solid #9edbe7;
  outline-offset: -3px;
}
.top-visual--main .main-slider-track {
  position: relative;
}
.top-visual--main .main-slider-track a {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s;
}
.top-visual--main .main-slider-track a.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.top-visual--primary {
  grid-area: primary;
  display: grid;
  grid-template-rows: minmax(0, 1.18fr) minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 0.5rem;
  height: var(--top-main-height, auto);
  min-height: 0;
  overflow: visible;
}
.top-visual--thumbs {
  grid-area: thumbs;
  min-width: 0;
}
.top-visual--secondary {
  grid-area: secondary;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  height: var(--top-thumbs-height, auto);
  min-height: 0;
  overflow: visible;
}

.visual-card {
  display: block;
  min-width: 0;
  min-height: 0;
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.25s ease, filter 0.25s ease;
}
.visual-card:hover, .visual-card:focus-visible {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  filter: brightness(1.04);
}
.visual-card:focus-visible {
  outline: 3px solid #9edbe7;
  outline-offset: -3px;
}
.visual-card--emergency {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem 1rem 0.7rem;
  background: #c9232b;
  color: #fff;
  text-align: center;
}
.visual-card--emergency:hover, .visual-card--emergency:focus-visible {
  color: #fff;
  filter: brightness(1.06);
}
.visual-card--heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  font-size: clamp(0.95rem, 1.28vw, 1.18rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.visual-card--heading img {
  width: 2.15rem;
  height: 2.15rem;
  -o-object-fit: contain;
     object-fit: contain;
}
.visual-card--text {
  display: block;
  margin: 0.55rem auto 0.55rem;
  max-width: 24rem;
  font-size: clamp(0.58rem, 0.7vw, 0.68rem);
  font-weight: 600;
  line-height: 1.45;
}
.visual-card--button, .visual-card--actions a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.visual-card--button::after, .visual-card--actions a::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.42rem solid currentColor;
  transition: right 0.25s ease;
}
.visual-card--button:hover, .visual-card--button:focus-visible, .visual-card--actions a:hover, .visual-card--actions a:focus-visible {
  background: #f7fbfc;
  box-shadow: 0 0 0 2px currentColor, 0 3px 8px rgba(0, 0, 0, 0.16);
}
.visual-card--button:hover::after, .visual-card--button:focus-visible::after, .visual-card--actions a:hover::after, .visual-card--actions a:focus-visible::after {
  right: 0.55rem;
}
.visual-card--button {
  width: 62%;
  min-width: 180px;
  margin: 0 auto;
  color: #c9232b !important;
  font-size: 0.72rem;
}
.visual-card--button:hover, .visual-card--button:focus-visible {
  color: #a71119 !important;
}
.visual-card--mygas {
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #31a8d9 0%, #187ab6 100%);
  color: #fff;
}
.visual-card--mygas-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
}
.visual-card--phone {
  width: 3.65rem;
  height: auto;
  display: block;
}
.visual-card h2 {
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
}
.visual-card p {
  margin-top: 0.65rem;
  font-size: clamp(0.62rem, 0.76vw, 0.74rem);
  font-weight: 600;
  line-height: 1.55;
}
.visual-card--actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.95rem;
}
.visual-card--actions a {
  color: #008f87;
  text-decoration: none;
  font-size: 0.88rem;
}
.visual-card--actions a:hover, .visual-card--actions a:focus-visible {
  color: #006f69;
}
.visual-card--recruit {
  background: #40b3c9;
}
.visual-card--recruit img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.35s ease, filter 0.25s ease;
}
.visual-card--recruit:hover img, .visual-card--recruit:focus-visible img {
  filter: brightness(1.05);
  transform: scale(1.03);
}

.pickup-viewport {
  overflow: hidden;
}

.pickup-row {
  display: grid;
  grid-auto-columns: calc((100% - 1rem) / 3);
  grid-auto-flow: column;
  gap: 0.5rem;
}
.pickup-row a {
  display: block;
  aspect-ratio: 1.92/1;
  overflow: hidden;
  background: #fff;
  transform: translateX(var(--pickup-x, 0));
  transition: transform 0.45s ease, filter 0.25s ease;
}
.pickup-row a:hover, .pickup-row a:focus-visible {
  filter: brightness(1.05);
}
.pickup-row a.is-active {
  outline: 3px solid #9edbe7;
  outline-offset: -3px;
}
.pickup-row.is-resetting a {
  transition: none;
}
.pickup-row img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: filter 0.25s ease;
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.72rem;
  min-height: 2.8rem;
}
.slider-dots button {
  width: 0.82rem;
  height: 0.82rem;
  padding: 0;
  border: 1px solid #aaa;
  border-radius: 50%;
  background: #fff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.slider-dots button:hover, .slider-dots button:focus-visible {
  border-color: #55bfd2;
  transform: scale(1.18);
}
.slider-dots button.is-active {
  border-color: #9edbe7;
  background: #9edbe7;
}

.visual-sub-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid #aaa;
  background: #fff;
  color: #c9232b;
  text-decoration: none;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  transition: box-shadow 0.25s ease, background 0.25s ease, filter 0.25s ease;
}
.visual-sub-card:hover, .visual-sub-card:focus-visible {
  color: #c9232b;
  background: #fff;
  border-color: #7fbfc9;
  box-shadow: 0 5px 14px rgba(0, 117, 187, 0.2);
  filter: brightness(1.03);
}
.visual-sub-card:focus-visible {
  outline: 3px solid #9edbe7;
  outline-offset: -3px;
}
.visual-sub-card--icon {
  flex: 0 0 auto;
  width: 1.9rem;
  height: auto;
  display: block;
}
.visual-sub-card--electric {
  color: #000;
}
.visual-sub-card--electric img {
  display: block;
  width: min(68%, 12.5rem);
  height: auto;
}
.visual-sub-card--electric:hover, .visual-sub-card--electric:focus-visible {
  color: #000;
}

/* トップ：電気・採用情報の配置変更 */
.visual-card--electric-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.8rem, 1.5vw, 1.2rem);
  border: 1px solid #b8cfd0;
  background: #fff;
}
.visual-card--electric-primary img {
  display: block;
  width: min(86%, 20rem);
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.visual-card--electric-primary:hover, .visual-card--electric-primary:focus-visible {
  background: #fff;
}

.visual-sub-card--recruit {
  flex-direction: column;
  gap: clamp(0.25rem, 0.55vw, 0.45rem);
  padding: clamp(0.45rem, 0.8vw, 0.7rem);
  border-color: #73a8d1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 58%), linear-gradient(135deg, #8fc0e8 0%, #4f8fc8 100%);
  color: #fff;
}
.visual-sub-card--recruit .visual-card--recruit-logo {
  display: block;
  width: min(74%, 15rem);
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.visual-sub-card--recruit .visual-card--recruit-title {
  max-width: 18rem;
}
.visual-sub-card--recruit:hover, .visual-sub-card--recruit:focus-visible {
  border-color: #73a8d1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28), transparent 58%), linear-gradient(135deg, #8fc0e8 0%, #4f8fc8 100%);
  color: #fff;
}

.visual-sub-card--service {
  position: relative;
  padding: clamp(0.7rem, 1.2vw, 1rem) 2.6rem;
  border-color: #c8d2d8;
  background: #fff;
  color: #24546b;
  font-family: inherit;
  font-size: clamp(0.88rem, 1.25vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.035em;
}
.visual-sub-card--service::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.15rem;
  width: 0;
  height: 0;
  border-top: 0.32rem solid transparent;
  border-bottom: 0.32rem solid transparent;
  border-left: 0.45rem solid #2d718c;
  transform: translateY(-50%);
}
.visual-sub-card--service:hover, .visual-sub-card--service:focus-visible {
  border-color: #8fb4c2;
  background: #f8fbfc;
  color: #1b495e;
}

@media (max-width: 1280px) and (min-width: 901px) {
  .top-visual {
    padding: 1rem 1% 1.4rem;
  }
  .top-visual--wrap {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 30%);
  }
  .top-visual--primary {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  .visual-card--emergency {
    padding: 0.65rem 0.85rem;
  }
  .visual-card--heading {
    gap: 0.45rem;
    padding-bottom: 0.45rem;
    font-size: 0.92rem;
  }
  .visual-card--heading img {
    width: 1.85rem;
    height: 1.85rem;
  }
  .visual-card--text {
    margin: 0.45rem auto;
    font-size: 0.56rem;
    line-height: 1.4;
  }
  .visual-card--text br {
    display: none;
  }
  .visual-card--button {
    min-height: 1.35rem;
    font-size: 0.66rem;
  }
  .visual-card--mygas {
    padding: 0.65rem 0.8rem;
  }
  .visual-card--mygas-inner {
    gap: 0.65rem;
  }
  .visual-card--phone {
    width: 2.8rem;
  }
  .visual-card h2 {
    font-size: 1rem;
  }
  .visual-card p {
    margin-top: 0.45rem;
    font-size: 0.62rem;
    line-height: 1.45;
  }
  .visual-card--actions {
    gap: 0.5rem;
    margin-top: 0.55rem;
  }
  .visual-card--actions a {
    min-height: 1.5rem;
    font-size: 0.72rem;
  }
  .visual-sub-card {
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.8rem;
  }
  .visual-sub-card--icon {
    width: 1.7rem;
  }
  .visual-sub-card--electric {
    font-size: 1.05rem;
  }
}
/* PC：上下のバナーと高さを揃えながら窓口リンクの文字を拡大 */
@media (min-width: 901px) {
  .visual-sub-card--service {
    padding: 0.55rem 2rem 0.55rem 1rem;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    letter-spacing: 0.02em;
  }
}

@media (max-width: 900px) {
  .top-visual {
    padding: 1.6rem 4% 1rem;
  }
  .top-visual--wrap {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "thumbs" "primary" "secondary";
    gap: 0.6rem;
  }
  .top-visual--primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
    overflow: visible;
  }
  .visual-card--emergency {
    order: 1;
    padding: 0.8rem 0.9rem;
  }
  .visual-card--heading {
    min-height: 2.6rem;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 1.15rem;
  }
  .visual-card--heading img {
    width: 2.2rem;
    height: 2.2rem;
  }
  .visual-card--text, .visual-card--mygas p, .visual-card--actions a:nth-child(2) {
    display: none;
  }
  .visual-card--button {
    width: 100%;
    min-width: 0;
    margin-top: 0.7rem;
    font-size: 0.9rem;
  }
  .visual-card--mygas {
    order: 3;
    padding: 0.7rem 0.8rem;
  }
  .visual-card--mygas-inner {
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
  }
  .visual-card--phone {
    width: 2.45rem;
  }
  .visual-card h2 {
    font-size: 1rem;
  }
  .visual-card--actions {
    display: block;
    margin-top: 0.55rem;
  }
  .visual-card--actions a {
    min-height: 1.75rem;
    font-size: 0.82rem;
  }
  .visual-card--recruit {
    order: 2;
  }
  .visual-card--recruit img {
    min-height: 0;
    aspect-ratio: 1.78/1;
  }
  .top-visual--secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
    overflow: visible;
    margin-top: 0.3rem;
  }
  .visual-sub-card {
    min-height: 4.9rem;
    font-size: 0.86rem;
  }
  .visual-sub-card--electric {
    font-size: 1.2rem;
  }
}
@media (max-width: 600px) {
  .visual-sub-card--service {
    padding: 0.6rem 1.8rem 0.6rem 0.55rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .visual-sub-card--service span {
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .visual-sub-card--service::after {
    right: 0.65rem;
  }
  .top-important {
    padding: 1rem 4% 0.65rem;
  }
  .top-important--link {
    grid-template-columns: 1fr;
  }
  .top-important--label {
    min-height: 2.4rem;
  }
  .top-important--text {
    display: -webkit-box;
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .top-important--more {
    margin-top: 0.35rem;
  }
  .top-visual {
    padding-right: 0;
    padding-left: 0;
  }
  .top-visual--primary, .top-visual--secondary {
    padding-right: 4%;
    padding-left: 4%;
  }
  .top-visual--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.45rem;
    transform: none;
  }
  .visual-card--emergency, .visual-card--mygas {
    min-height: 8rem;
    justify-content: center;
    padding: 0.8rem 0.8rem;
  }
  .visual-card--mygas {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .visual-card--heading {
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.92rem;
  }
  .visual-card--button, .visual-card--actions a {
    font-size: 0.78rem;
  }
  .visual-card--phone {
    display: none;
  }
  .visual-card--mygas-inner {
    display: block;
    text-align: center;
  }
  .visual-card h2 {
    font-size: 0.88rem;
  }
  .visual-card--actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.55rem;
  }
  .visual-card--actions a {
    width: min(100%, 8.4rem);
  }
  .visual-card--actions a:nth-child(2) {
    display: flex;
  }
  .visual-card--recruit {
    grid-column: auto;
    min-height: 8rem;
  }
  .visual-card--recruit img {
    height: 100%;
    min-height: 8rem;
    aspect-ratio: auto;
    -o-object-position: center 42%;
       object-position: center 42%;
  }
  .visual-sub-card {
    gap: 0.55rem;
    padding: 0.7rem;
  }
  .visual-sub-card--icon {
    width: 1.9rem;
  }
  .visual-sub-card--electric {
    font-size: 0.98rem;
  }
  .visual-sub-card--electric img {
    width: min(82%, 13rem);
  }
  .visual-sub-card--contents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    width: 88%;
    padding-top: 1.35rem;
  }
  .visual-sub-card--contents .col {
    width: 100%;
  }
  .visual-sub-card--contents .col a {
    padding-bottom: 0.85rem;
  }
  .visual-sub-card--contents .col a h4 {
    padding: 0.65rem 0.75rem 0.25rem;
    font-size: 0.95rem;
    line-height: 1.35;
  }
  .visual-sub-card--contents .col a p {
    padding: 0 0.75rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }
}
/* サービスメニュー */
.top-service {
  padding: 2rem 4% 1.2rem;
  background: #fff;
}
.top-service--wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.top-service--tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}
.top-service--tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  min-height: 7.9rem;
  padding: 0 0.4rem 1.5rem;
  border: 0;
  background: transparent;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-tap-highlight-color: transparent;
  color: #000;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
.top-service--tab span {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 2.6em;
  white-space: nowrap;
}
.top-service--tab img {
  width: 6.2rem;
  height: 4.6rem;
  -o-object-fit: contain;
     object-fit: contain;
}
.top-service--tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 2rem;
  height: 1.55rem;
  background: var(--tab-arrow-color, #98c8db);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.top-service--tab:hover {
  color: #0075bb;
}
.top-service--tab:focus:not(:focus-visible), .top-service--tab:active {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}
.top-service--tab.is-active::after {
  opacity: 1;
}
.top-service--tab:nth-child(1) {
  --tab-arrow-color: #97d3d7;
}
.top-service--tab:nth-child(2) {
  --tab-arrow-color: #97cfd9;
}
.top-service--tab:nth-child(3) {
  --tab-arrow-color: #98c8db;
}
.top-service--tab:nth-child(4) {
  --tab-arrow-color: #98c1de;
}
.top-service--tab:nth-child(5) {
  --tab-arrow-color: #98bde0;
}
.top-service--tab:nth-child(6) {
  --tab-arrow-color: #98b8e0;
}
.top-service--panels {
  border-radius: 10px;
  background: linear-gradient(90deg, #97d7d6 0%, #98b9e0 100%);
}
.top-service--panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 3rem;
  min-height: 8.5rem;
  padding: 2rem 6.8%;
  align-content: center;
}
.top-service--panel[hidden] {
  display: none;
}
.top-service--group h2 {
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}
.top-service--group li {
  margin-top: 1rem;
}
.top-service--group a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.65rem 3rem;
  border-radius: 999px;
  background: #fff;
  color: #0075bb;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.top-service--group a::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 0.32rem solid transparent;
  border-bottom: 0.32rem solid transparent;
  border-left: 0.46rem solid #0075bb;
}
.top-service--group a:hover, .top-service--group a:focus-visible {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
}
.top-service--item-city a {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
@media (min-width: 901px) {
  .top-service--item-city a {
    white-space: nowrap;
  }
}
.top-service--panel > .top-service--group, .top-service--panel > .top-service--group > ul {
  display: contents;
}
.top-service--panel > .top-service--group > ul > li {
  margin-top: 0;
}
.top-service--button-note {
  margin: 0.4rem 0 0;
  color: #244b5e;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}
.top-service--item-lpgas a {
  background: #fff;
  color: #16836f;
  box-shadow: none;
}
.top-service--item-lpgas a::after {
  border-left-color: #16836f;
}
.top-service--category-links {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}
.top-service--category-link {
  position: relative;
  grid-column: 1/-1;
  justify-self: center;
  align-self: end;
  min-width: min(100%, 22rem);
  margin-top: 0.75rem;
  padding: 0.8rem 3rem 0.85rem 1.5rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(0, 117, 187, 0.9);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 74, 120, 0.16);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.top-service--category-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 0;
  height: 0;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
  border-left: 0.5rem solid #fff;
  transform: translateY(-50%);
}
.top-service--category-link:hover, .top-service--category-link:focus-visible {
  background: #005f99;
  color: #fff;
  box-shadow: 0 7px 16px rgba(0, 74, 120, 0.24);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .top-service--tabs {
    gap: 1rem;
  }
  .top-service--tab {
    min-height: 7.2rem;
    font-size: 0.88rem;
  }
  .top-service--tab img {
    width: 5rem;
    height: 4rem;
  }
  .top-service--panel {
    gap: 1.5rem;
    padding: 2.4rem 5%;
  }
  .top-service--group a {
    font-size: 1rem;
  }
}
@media (max-width: 720px) {
  .top-service {
    padding-top: 1.3rem;
  }
  .top-service--tabs {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .top-service--tab {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 3.75rem;
    padding: 0.48rem 0.9rem;
    border: 2px solid #9b9b9b;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08), 0 2px 0 rgba(0, 0, 0, 0.12);
    font-size: 1rem;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }
  .top-service--tab span {
    min-width: 0;
    min-height: 0;
    display: block;
    white-space: normal;
  }
  .top-service--tab img {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.45rem;
  }
  .top-service--tab::after {
    display: none;
  }
  .top-service--tab:hover, .top-service--tab:focus-visible, .top-service--tab.is-active {
    border-color: #0075bb;
    color: #0075bb;
    box-shadow: inset 0 -2px 0 rgba(0, 117, 187, 0.14), 0 3px 0 rgba(0, 117, 187, 0.18);
  }
  .top-service--tab:focus:not(:focus-visible) {
    border: 2px solid #9b9b9b !important;
    outline: none !important;
  }
  .top-service--tab.is-active:focus:not(:focus-visible) {
    border-color: #0075bb !important;
  }
  .top-service--tab:active {
    border: 2px solid #0075bb !important;
    transform: translateY(1px);
    box-shadow: inset 0 -1px 0 rgba(0, 117, 187, 0.12), 0 1px 0 rgba(0, 117, 187, 0.16);
  }
  .top-service--panels {
    margin-top: 1rem;
  }
  .top-service--panel {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-height: 0;
    padding: 1.8rem 5%;
    align-content: normal;
  }
  .top-service--button-note {
    margin-top: 0.22rem;
    font-size: clamp(0.54rem, 2.35vw, 0.68rem);
    letter-spacing: -0.03em;
    white-space: nowrap;
  }
  .top-service.is-service-accordion .top-service--panels {
    display: none;
  }
  .top-service.is-service-accordion .top-service--tab.is-active {
    border-color: #0075bb;
    border-radius: 12px 12px 8px 8px;
    color: #0075bb;
  }
  .top-service.is-service-accordion .top-service--panel {
    grid-column: 1;
    margin: -0.15rem 0 0.45rem;
    padding: 1rem 4%;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(90deg, #97d7d6 0%, #98b9e0 100%);
    box-shadow: 0 3px 0 rgba(0, 117, 187, 0.14);
    transform-origin: top center;
  }
  .top-service.is-service-accordion .top-service--panel.is-active {
    animation: serviceAccordionIn 0.28s ease-out both;
  }
  .top-service.is-service-accordion .top-service--group + .top-service--group {
    margin-top: 1rem;
  }
  .top-service.is-service-accordion .top-service--group h2 {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
  }
  .top-service.is-service-accordion .top-service--group li {
    margin-top: 0;
  }
  .top-service.is-service-accordion .top-service--group a {
    min-height: 2.45rem;
    padding: 0.55rem 2.1rem 0.55rem 0.9rem;
    font-size: 0.88rem;
  }
  .top-service.is-service-accordion .top-service--category-link {
    width: 100%;
    min-width: 0;
    margin-top: 1rem;
    padding: 0.7rem 2.4rem 0.72rem 1rem;
    font-size: 0.9rem;
  }
  .top-service.is-service-accordion .top-service--category-links {
    flex-direction: column;
    gap: 0;
  }
  .top-service--group h2 {
    font-size: 1.05rem;
  }
  .top-service--group li {
    margin-top: 0.75rem;
  }
}

@keyframes serviceAccordionIn {
  from {
    opacity: 0;
    transform: translateY(-0.45rem) scaleY(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}
/* 緊急のときは */
.top-emergency {
  padding: 2.4rem 4% 3.2rem;
  background: #fff;
}
.top-emergency--wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border: solid 2px #ea1c24;
  border-radius: 10px;
  overflow: hidden;
}
.top-emergency--wrap h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.28rem 1rem;
  background: #ea1c24;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.top-emergency--wrap h2 img {
  width: 2rem;
}
.top-emergency--wrap ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.2rem 8% 1.4rem;
}
.top-emergency--wrap li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  height: 100%;
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  transition: background 0.3s;
}
.top-emergency--wrap li a:hover {
  background: #f3f3f3;
}
.top-emergency--wrap li a img {
  width: 4rem;
  height: 4rem;
  -o-object-fit: contain;
     object-fit: contain;
}
.top-emergency--wrap .emergency-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 40%;
  max-width: 380px;
  min-width: 280px;
  margin: 0 auto 1rem;
  padding: 0.6rem 1.2rem;
  background: #ea1c24;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: opacity 0.3s;
}
.top-emergency--wrap .emergency-contact::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.42rem solid #fff;
}
.top-emergency--wrap .emergency-contact:hover {
  opacity: 0.78;
}
@media (max-width: 900px) {
  .top-emergency--wrap ul {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.2rem 6% 1.4rem;
  }
}
@media (max-width: 600px) {
  .top-emergency {
    padding: 1.8rem 4% 2.4rem;
  }
  .top-emergency--wrap h2 {
    padding: 0.35rem 1rem;
    font-size: 0.95rem;
  }
  .top-emergency--wrap h2 img {
    width: 1.7rem;
  }
  .top-emergency--wrap ul {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 1rem 5% 1.15rem;
  }
  .top-emergency--wrap li a {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 3.35rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid #d7d7d7;
    border-radius: 9px;
    background: #fff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }
  .top-emergency--wrap li a:hover, .top-emergency--wrap li a:focus-visible {
    border-color: #cfc7c5;
    background: #fff8f7;
    box-shadow: inset 0 -1px 0 rgba(234, 28, 36, 0.05), 0 2px 0 rgba(0, 0, 0, 0.08);
  }
  .top-emergency--wrap li a img {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
  }
  .top-emergency--wrap li a br {
    display: none;
  }
  .top-emergency--wrap .emergency-contact {
    width: min(72%, 15rem);
    min-width: 0;
    margin-bottom: 0.9rem;
    padding: 0.48rem 1rem;
    font-size: 0.9rem;
  }
  .top-emergency--wrap .emergency-contact::after {
    border-top-width: 0.24rem;
    border-bottom-width: 0.24rem;
    border-left-width: 0.36rem;
  }
}

/* ガスを楽しむ */
.top-fun {
  background: url(../img/top/fun.jpg);
  background-size: cover;
}
.top-fun--wrap {
  margin: 0 auto;
  position: relative;
}
.top-fun--wrap h3 {
  width: 12rem;
  margin: 0 auto;
  transform: translateY(-1rem);
  background: #e48625;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 0;
  border-radius: 3rem;
}
.top-fun--wrap h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.6rem solid transparent;
  border-right: 0.6rem solid transparent;
  border-top: 0.7rem solid #e48625;
}
.top-fun--wrap h2 {
  padding-top: 0.6rem;
  text-align: center;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 600;
  text-shadow: 2px 2px 0 #e48625, -2px 2px 0 #e48625, 2px -2px 0 #e48625, -2px -2px 0 #e48625, 2px 0 0 #e48625, -2px 0 0 #e48625, 0 2px 0 #e48625, 0 -2px 0 #e48625, 1px 2px 0 #e48625, -1px 2px 0 #e48625, 1px -2px 0 #e48625, -1px -2px 0 #e48625, 2px 1px 0 #e48625, -2px 1px 0 #e48625, 2px -1px 0 #e48625, -2px -1px 0 #e48625;
}
.top-fun--wrap---inner {
  background: rgba(217, 198, 167, 0.4);
  margin-top: 2rem;
  padding-bottom: 6rem;
}
.top-fun--wrap---inner p {
  padding-top: 2rem;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
}
.top-fun--contents {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}
.top-fun--contents .col {
  display: flex;
  width: 23.5%;
  background: #fff;
  border-radius: 8px;
  transition: box-shadow 0.3s, transform 0.18s ease;
}
.top-fun--contents .col:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
.top-fun--contents .col:hover img {
  transform: scale(1.04);
}
.top-fun--contents .col:active {
  transform: translateY(1px) scale(0.99);
}
.top-fun--contents .col a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding-bottom: 1.2rem;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}
.top-fun--contents .col a:focus-visible {
  outline: 3px solid rgba(183, 108, 32, 0.45);
  outline-offset: 3px;
}
.top-fun--contents .col a .img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.top-fun--contents .col a .img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s;
}
.top-fun--contents .col a h4 {
  position: relative;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.8rem 2.15rem 0.3rem 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.4;
  overflow: hidden;
}
.top-fun--contents .col a h4::after {
  content: "";
  position: absolute;
  top: 1.18rem;
  right: 1rem;
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.42rem solid #b76c20;
}
.top-fun--contents .col a p {
  text-align: left;
  font-size: 1rem;
  padding: 0 1rem;
  line-height: 1.4;
}
.top-fun--slider {
  position: relative;
}
.top-fun--swipe-arrow {
  display: none;
}
.top-fun--image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: #f3eadb;
}
.top-fun--bottom {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 360px) 1fr;
  align-items: end;
  gap: 2.4rem;
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
}
.top-fun--bottom .col {
  grid-column: 2;
  width: 100%;
  border-radius: 8px;
  transition: box-shadow 0.3s;
}
.top-fun--bottom .col:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
.top-fun--bottom .col:hover img {
  transform: scale(1.04);
}
.top-fun--bottom .col .img {
  border-radius: 8px;
  overflow: hidden;
}
.top-fun--bottom .col .img img {
  border-radius: 8px;
  transition: transform 0.3s;
}
.top-fun--bottom .sns-links {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 360px;
  padding: 0.45rem 1.2rem;
  background: #fff;
  border-radius: 999px;
}
.top-fun--bottom .sns-links p {
  padding: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}
.top-fun--bottom .sns-links > span {
  width: 0;
  height: 0;
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  border-left: 0.55rem solid #999;
}
.top-fun--bottom .sns-links ul {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.top-fun--bottom .sns-links li {
  width: 2.35rem;
  flex-shrink: 0;
}
.top-fun--bottom .sns-links a {
  display: block;
  transition: transform 0.3s;
}
.top-fun--bottom .sns-links a:hover {
  transform: scale(1.08);
}
@media (max-width: 1180px) {
  .top-fun--bottom {
    grid-template-columns: minmax(280px, 360px);
    justify-content: center;
    gap: 1.2rem;
  }
  .top-fun--bottom .col,
  .top-fun--bottom .sns-links {
    grid-column: auto;
  }
  .top-fun--bottom .sns-links {
    justify-self: center;
  }
}
@media (max-width: 767px) {
  .top-fun--bottom {
    grid-template-columns: minmax(0, 360px);
  }
  .top-fun--bottom .sns-links {
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  .top-fun--wrap h3 {
    width: 10.5rem;
    padding: 0.45rem 0;
    font-size: 0.88rem;
  }
  .top-fun--wrap h2 {
    padding-top: 0.35rem;
    font-size: 1.85rem;
  }
  .top-fun--wrap---inner {
    margin-top: 1.35rem;
    padding-bottom: 3.2rem;
  }
  .top-fun--wrap---inner p {
    width: 94%;
    margin: 0 auto;
    padding-top: 1.35rem;
    font-size: 1rem;
    line-height: 1.45;
  }
  .top-fun--wrap---inner p br.sp {
    display: block;
  }
}
/* お知らせ */
.top-news {
  background: #eee;
  padding: 0 4% 4rem;
}
.top-news--wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.top-news--wrap h2 {
  width: 12rem;
  margin: 0 auto;
  transform: translateY(-1rem);
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0.6rem 0;
  border-radius: 3rem;
}
.top-news--wrap h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.6rem solid transparent;
  border-right: 0.6rem solid transparent;
  border-top: 0.7rem solid #000;
}
.top-news--wrap---inner {
  display: flex;
  gap: 4%;
  align-items: stretch;
  padding-top: 3rem;
  font-size: 1rem;
}
.top-news--wrap---inner.is-single {
  display: block;
}
.top-news--wrap---inner.is-single dl.news-box {
  width: 100%;
}
.top-news--wrap---inner dl.news-box {
  display: flex;
  flex-direction: column;
  width: 48%;
  border-bottom: solid 2px #009983;
}
.top-news--wrap---inner dl.news-box dt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 2px #009983;
  padding-bottom: 0.6rem;
}
.top-news--wrap---inner dl.news-box dt h3 {
  font-weight: 600;
  font-size: 1.2rem;
}
.top-news--wrap---inner dl.news-box dt a {
  display: inline-block;
  background: #b2b2b2;
  font-size: 0.8rem;
  padding: 0.1rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  transition: 0.3s;
}
.top-news--wrap---inner dl.news-box dt a:hover {
  background: #4fb8a9;
}
.top-news--wrap---inner dl.news-box dd {
  flex: 1;
}
.top-news--wrap---inner dl.news-box dd ul {
  display: grid;
  grid-template-rows: repeat(5, minmax(4.8rem, 1fr));
  height: 100%;
}
.top-news--wrap---inner dl.news-box dd ul li a {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  padding: 0 1rem;
  border-bottom: dotted 1px #cbcbcb;
  text-decoration: none;
  transition: 0.3s;
  color: #000;
}
.top-news--wrap---inner dl.news-box dd ul li a:hover {
  background: #ddd;
}
.top-news--wrap---inner dl.news-box dd ul li a span {
  font-size: 0.9rem;
  display: inline-block;
  width: 9rem;
}
.top-news--wrap---inner dl.news-box dd ul li a span.news-cat {
  width: auto;
  background: #b2b2b2;
  font-size: 0.72rem;
  line-height: 0.8rem;
  padding: 0.2rem 0.6rem;
  color: #fff;
}
.top-news--wrap---inner dl.news-box dd ul li a span.news-cat.important {
  background: #c0272d;
}
.top-news--wrap---inner dl.news-box dd ul li a span.news-cat.press {
  background: #536f82;
}
.top-news--wrap---inner dl.news-box dd ul li a span.news-cat.event {
  background: #8a6b50;
}
.top-news--wrap---inner dl.news-box dd ul li a p {
  width: calc(100% - 9rem);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.45;
  max-height: 4.35em;
  overflow: hidden;
}
.top-news--wrap---inner dl.news-box dd ul li:last-child a {
  border-bottom: none;
}
.top-news--wrap .important-notice {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
}
.top-news--wrap .important-notice a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.22rem 0.65rem;
  border: 1px solid #c0272d;
  background: #fff;
  text-decoration: none;
  color: #c0272d;
  font-size: 0.8rem;
  font-weight: 700;
  transition: 0.3s;
}
.top-news--wrap .important-notice a img {
  width: 1.1rem;
  height: auto;
  flex: none;
}
.top-news--wrap .important-notice a:hover {
  border-color: #a71119;
  background: #fff;
  color: #a71119;
}

/* トップページ：スマートフォン表示 */
@media (max-width: 600px) {
  .top-fun--wrap---inner {
    padding-bottom: 2.5rem;
  }
  .top-fun--contents {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.9rem;
    width: 100%;
    padding-top: 1.4rem;
    padding-right: 15vw;
    padding-left: 5vw;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 5vw;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }
  .top-fun--contents::-webkit-scrollbar {
    display: none;
  }
  .top-fun--contents .col {
    flex: 0 0 76vw;
    width: 76vw;
    scroll-snap-align: start;
  }
  .top-fun--contents .col a {
    padding-bottom: 1rem;
  }
  .top-fun--contents .col a h4 {
    padding: 0.7rem 1.85rem 0.25rem 0.75rem;
    font-size: 1rem;
  }
  .top-fun--contents .col a h4::after {
    top: 1.02rem;
    right: 0.75rem;
  }
  .top-fun--contents .col a p {
    width: auto;
    padding: 0 0.75rem;
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .top-fun--swipe-arrow {
    position: absolute;
    z-index: 2;
    top: calc(1.4rem + 28.5vw);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    transform: translateY(-50%);
    border: 2px solid #b76c20;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 8px rgba(70, 42, 10, 0.22);
  color: #b76c20;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
.top-fun--swipe-arrow:focus-visible {
  outline: 3px solid rgba(183, 108, 32, 0.42);
  outline-offset: 3px;
}
  .top-fun--swipe-arrow---left {
    left: 0.65rem;
  }
  .top-fun--swipe-arrow---right {
    right: 0.65rem;
    animation: top-fun-swipe-arrow 1.25s ease-in-out infinite;
  }
  .top-fun--bottom {
    width: 90%;
    padding-top: 1.5rem;
  }
  .top-fun--bottom .sns-links {
    width: 100%;
    padding: 0.45rem 0.8rem;
  }
  .top-news {
    padding: 0 5% 3rem;
  }
  .top-news--wrap---inner {
    display: block;
    padding-top: 2.25rem;
  }
  .top-news--wrap---inner dl.news-box {
    width: 100%;
  }
  .top-news--wrap---inner dl.news-box + dl.news-box {
    margin-top: 2.6rem;
  }
  .top-news--wrap---inner dl.news-box dt {
    gap: 0.4rem;
  }
  .top-news--wrap---inner dl.news-box dt h3 {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .top-news--wrap---inner dl.news-box dt a {
    flex: 0 0 auto;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
    white-space: nowrap;
  }
  .top-news--wrap---inner dl.news-box dt a::before, .top-news--wrap---inner dl.news-box dt a::after {
    content: none;
  }
  .top-news--wrap---inner dl.news-box dd ul {
    display: block;
    height: auto;
  }
  .top-news--wrap---inner dl.news-box dd ul li a {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0.85rem 0;
  }
  .top-news--wrap---inner dl.news-box dd ul li a > span {
    width: auto;
    font-size: 0.88rem;
    font-weight: 700;
  }
  .top-news--wrap---inner dl.news-box dd ul li a p {
    width: 100%;
    margin-top: 0.2rem;
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
    font-size: 0.92rem;
  }
  .top-news--wrap .important-notice {
    justify-content: center;
  }
  .top-news--wrap .important-notice a {
    width: -moz-fit-content;
    width: fit-content;
    max-width: calc(100% - 1rem);
    min-height: 2rem;
    padding: 0.18rem 0.55rem;
    font-size: 0.75rem;
    text-align: center;
  }
  .top-news--wrap .important-notice a img {
    width: 0.95rem;
  }
}
@keyframes top-fun-swipe-arrow {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(0.28rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .top-fun--swipe-arrow---right {
    animation: none;
  }
}
/* お知らせ欄：最終調整 */
.top-news--wrap---inner {
  font-size: 0.92rem;
}
.top-news--wrap---inner dl.news-box dt h3 {
  font-size: 1.05rem;
}
.top-news--wrap---inner dl.news-box dd ul li a {
  gap: 1.4rem;
}
.top-news--wrap---inner dl.news-box dd ul li a > span {
  width: 8.25rem;
  font-size: 0.82rem;
}
.top-news--wrap---inner dl.news-box dd ul li a p {
  width: calc(100% - 8.25rem);
  font-size: 0.9rem;
}
.top-news--wrap---inner dl.news-box dd ul.press-release-list {
  min-height: 24rem;
}

@media (max-width: 600px) {
  .top-news--wrap---inner dl.news-box dt h3 {
    font-size: 1.05rem;
  }
  .top-news--wrap---inner dl.news-box dd ul li a > span {
    font-size: 0.86rem;
  }
  .top-news--wrap---inner dl.news-box dd ul li a p {
    width: 100%;
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
    font-size: 0.88rem;
  }
  .top-news--wrap---inner dl.news-box dd ul.press-release-list {
    min-height: 7rem;
  }
}
/* 画像バナー最終指定 */
body .visual-card--emergency {
  display: block;
  min-height: 0;
  padding: 0;
  background: #fff;
}
body .visual-card--emergency::before {
  content: none;
}

body .visual-card--emergency-image,
body .visual-card--mygas-image {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  -o-object-fit: contain;
     object-fit: contain;
}

body .visual-card--mygas {
  display: flex;
  min-height: 0;
  padding: 0.55rem;
  background: #fff;
}
body .visual-card--mygas .visual-card--actions {
  width: 100%;
  margin-top: 0.45rem;
}

@media (max-width: 600px) {
  body .visual-card--emergency,
  body .visual-card--mygas {
    min-height: 0;
    justify-content: flex-start;
  }
  body .visual-card--mygas {
    padding: 0.45rem;
  }
}
/* トップビジュアル：狭幅時の最終補正 */
@media (max-width: 900px) {
  body .top-visual--main {
    background: #fff;
  }
  body .top-visual--main > img,
  body .top-visual--main > a img,
  body .top-visual--main .main-slider-track img {
    -o-object-fit: contain;
       object-fit: contain;
  }
}
@media (max-width: 600px) {
  body .visual-card--emergency {
    min-height: 8rem;
    justify-content: flex-start;
    padding: 0.45rem 0.55rem;
  }
  body .visual-card--emergency::before {
    right: 0.35rem;
    bottom: 0.35rem;
    left: 0.35rem;
    height: 56%;
  }
  body .visual-card--emergency .visual-card--heading {
    flex-direction: row;
    min-height: 0;
    gap: 0.3rem;
    padding: 0 0 0.3rem;
    font-size: 0.82rem;
    line-height: 1.1;
  }
  body .visual-card--emergency .visual-card--heading img {
    width: 1.55rem;
    height: 1.55rem;
  }
  body .visual-card--emergency .visual-card--text {
    display: none;
  }
  body .visual-card--emergency .visual-card--button {
    width: 82%;
    min-height: 1.45rem;
    margin: 0.65rem auto 0;
    font-size: 0.68rem;
    line-height: 1.15;
  }
}
/* 画像バナー指定（最終） */
body .visual-card--emergency {
  display: block;
  min-height: 0;
  padding: 0;
  border: 3px solid #b73535;
  background: #fff;
  box-sizing: border-box;
}
body .visual-card--emergency::before {
  content: none;
}

body .visual-card--emergency-image,
body .visual-card--mygas-image {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  -o-object-fit: contain;
     object-fit: contain;
}

body .visual-card--mygas {
  display: flex;
  min-height: 0;
  padding: 0.55rem;
  background: #fff;
}
body .visual-card--mygas .visual-card--actions {
  width: 100%;
  margin-top: 0.45rem;
}

@media (max-width: 600px) {
  body .visual-card--emergency,
  body .visual-card--mygas {
    min-height: 0;
    justify-content: flex-start;
  }
  body .visual-card--mygas {
    padding: 0.45rem;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body .top-visual--wrap {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "thumbs" "primary" "secondary";
  }
  body .top-visual--primary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    height: auto;
    overflow: visible;
  }
  body .top-visual--secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    height: auto;
    overflow: visible;
  }
}/*# sourceMappingURL=top.css.map */

/* Smartphone home: tighter carousel spacing and four related banners in 2 x 2. */
@media (max-width: 600px) {
  body.home .top-important { padding-bottom: 0.25rem; }
  body.home .top-visual { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  body.home .top-visual--wrap { row-gap: 0.35rem; }
  body.home .top-visual .slider-dots { min-height: 1.9rem; }
  body.home .footer-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  body.home .footer-banners > a { grid-column: auto; }
  body.home .footer-banners img { width: 100%; height: auto; }
}
.top-fun--bottom .sns-links {
  display: grid;
  grid-template-columns: auto auto auto;
  row-gap: 0.55rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-radius: 24px;
}
.top-fun--bottom .sns-links .sns-account-info {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  color: inherit;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}
.top-fun--bottom .sns-links .sns-account-info::after {
  content: "";
  display: inline-block;
  margin-left: 0.5em;
  border-top: 0.3em solid transparent;
  border-bottom: 0.3em solid transparent;
  border-left: 0.4em solid currentColor;
}
.top-fun--bottom .sns-links .sns-account-info:hover,
.top-fun--bottom .sns-links .sns-account-info:focus-visible {
  color: #008c7b;
  transform: none;
}
.top-fun--bottom .sns-links > p {
  width: auto;
  margin: 0;
}
@media (max-width: 767px) {
  .top-fun--bottom .sns-links {
    column-gap: 0.45rem;
  }
  .top-fun--bottom .sns-links > p {
    font-size: 0.9rem;
  }
  .top-fun--bottom .sns-links ul {
    gap: 0.4rem;
  }
  .top-fun--bottom .sns-links li {
    width: 1.9rem;
  }
  .top-fun--bottom .sns-links .sns-account-info {
    font-size: 0.8rem;
  }
}
.top-important--link[hidden] {
  display: none;
}
.top-important--link.is-important-entering .top-important--text {
  animation: important-notice-enter 650ms ease-out both;
}
@keyframes important-notice-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .top-important--link.is-important-entering .top-important--text {
    animation: none;
  }
}
@media (max-width: 767px) {
  .top-important .top-important--link {
    align-items: start;
    row-gap: 0;
  }
  .top-important .top-important--label {
    background: #fff;
    color: #c8202a;
    min-height: 0;
    padding: 0.55rem 0.9rem 0.25rem;
  }
  .top-important .top-important--text {
    box-sizing: content-box;
    height: 2.9em;
    margin: 0;
    padding: 0.25rem 0.9rem 0.65rem;
    line-height: 1.45;
  }
}
.top-news--wrap---inner dl.news-box dd ul li a span.news-pdf-icon {
  display: inline-block;
  width: auto;
  margin-right: 0.35em;
  padding: 0.1em 0.35em;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: #c0272d;
  background: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.3;
  vertical-align: 0.1em;
  white-space: nowrap;
}

/* スマホ：緊急バナーの赤を控えめにし、電気ロゴの可読性を上げる */
@media (max-width: 600px) {
  body .visual-card--emergency {
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 1px;
  }
  body .visual-card--emergency picture {
    display: block;
    width: 100%;
  }
  .visual-card--electric-primary {
    padding: 0.45rem;
  }
  .visual-card--electric-primary img {
    width: 96%;
  }
}
#service-panel-moving > .top-service--group {
  display: block;
  grid-column: 1 / -1;
  padding: 20px 12px;
  border-radius: 8px;
  background: rgba(70, 80, 90, 0.1);
}
#service-panel-moving > .top-service--group > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#service-panel-moving > .top-service--group + .top-service--group {
  margin-top: 0;
}
#service-panel-moving > .top-service--group:nth-child(2) a { color: #16836f; }
#service-panel-moving > .top-service--group:nth-child(2) a::after { border-left-color: #16836f; }
@media (max-width: 600px) {
  #service-panel-moving > .top-service--group > ul { grid-template-columns: 1fr; gap: 12px; }
  #service-panel-moving > .top-service--group li { margin: 0; }
}
