@charset "utf-8";
/* Google Fontsの正しいインポート */
@import url('https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@100;400;700;800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

:root {
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.8s var(--easing);
  --color-base: #e8f4fb;
  --color-gray: #ccc;
  --color-gray-light: #f5f5f5;
  --color-gray-darken: #535353;
  --color-theme-light: #1a90c3;
  --color-theme: #223a70;
  --color-theme-dark: #0a4f72;
  --color-accent: #ff0000;
  --color-red: #cc0000;
  --color-blue: #3296e6;
  --color-dark-blue: #0e6d97;
  --color-green: #5ec618;
  --color-green-dark: #4aa012;
  --color-green-light: #b6e597;
  --color-line: #06c755;
  --color-sakura: #fc80a5;
  --color-orange: #ff7415;
  --color-yellow: #fec601;
  --color-cream: #ffef8f;
  --color-cream-light: #fff2cb;
  --color-insta: #ff0069;
  --color-insta-light: #ff96c1;
  --font-base: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --header-height-desktop: 120px;
  --header-height-mobile: 78px;
  --box-shadow: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05), -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-hover: 1rem 1rem 1.5rem rgba(0, 0, 0, 0.08), -1rem -1rem 1.5rem #fff;
  --box-shadow-inset: inset 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05), inset -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-dark: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.1), -0.8rem -0.8rem 1.2rem rgba(#fff, 0.2);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: var(--font-base);
  min-height: 100%;
  height: 100%;
  /* 高さを100%に設定 */
  box-sizing: border-box;
  line-height: 1.6;
  font-size: 62.5%;
  color: #000;
  background-color: #fff;
  /* overflow-y: auto; スクロールを強制 */
}

@media only screen and (max-width: 599px) {
  html {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100%;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: auto;
    min-height: 100%;
  }
}

/* Reset for all elements */
/* prettier-ignore */
div,
span,
object,
iframe,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
caption,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-style: normal;
}

a {
  color: var(--color-theme);
  text-decoration: none;
}

body.fixed {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* MARK:レスポンシブ表示制御 */
@media only screen and (max-width: 1024px) {
  html {
    -webkit-text-size-adjust: 100%;
  }
}

/* スマホでは非表示（タブレット以上で表示）*/
@media only screen and (max-width: 599px) {
  .sp-hide {
    display: none !important;
  }
}

/* タブレットでは非表示（PC・スマホで表示）*/
@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .tab-hide {
    display: none !important;
  }
}

/* PCでは非表示（モバイル・タブレットで表示）*/
@media only screen and (min-width: 1025px) {
  .pc-hide {
    display: none !important;
  }
}

/* スマホのみ表示 */
@media only screen and (min-width: 600px) {
  .smp {
    display: none !important;
  }
}

/* タブレット以下のみ表示 */
@media only screen and (min-width: 769px) {
  .tab {
    display: none !important;
  }
}

/* タブレットのみ表示 */
@media only screen and (max-width: 599px),
only screen and (min-width: 1025px) {
  .tab-only {
    display: none !important;
  }
}

/* PCのみ表示 */
@media only screen and (max-width: 1024px) {
  .pc-only {
    display: none !important;
  }
}

/* スマホ/タブレットのみ表示 */
@media only screen and (min-width: 1025px) {
  .sp-only {
    display: none !important;
  }
}

/* Form Elements */
input[type='text'],
input[type='tel'],
input[type='email'],
input[type='number'],
textarea,
select {
  border-radius: 3px;
  border: solid 1px #bfbfbf;
  background-color: #f5f5f5;
  padding: 0.5rem;
  box-sizing: border-box;
  margin: 5px 0;
}

select {
  min-height: 40px;
}

@media only screen and (min-width: 1025px) {

  input[type='text'],
  input[type='tel'],
  input[type='email'],
  textarea {
    max-width: 100%;
  }

  textarea {
    width: 100%;
  }
}

@media screen and (max-width: 599px) {

  /* 幅を制御したい特定のinput要素に対して */
  input[type='text'].full-width,
  input[type='tel'].full-width,
  input[type='email'].full-width,
  textarea.full-width {
    width: 100%;
  }
}

/* Input Styles */
input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}

input:focus::placeholder {
  color: transparent;
}

/* フォーカス時のスタイル */
.radio-group input[type='radio']:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ラジオボタンのサイズ調整（必要に応じて） */
.radio-group input[type='radio'] {
  width: 1.2em;
  height: 1.2em;
}

/* アクセシビリティのための非表示クラス */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Utility Classes */
.center {
  text-align: center;
}

.center-img,
.center-img img {
  margin-inline: auto;
}

.bold {
  font-weight: 700;
}

/* Colors */
.red {
  color: var(--color-red);
}

.blue {
  color: var(--color-blue);
}

.green {
  color: var(--color-theme-second);
}

.orange {
  color: var(--color-orange);
}

.yellow {
  color: var(--color-yellow);
}

.pink {
  color: var(--color-theme);
}

/* Font Sizes */
.txt-10 {
  font-size: 1rem;
}

.txt-12 {
  font-size: 1.2rem;
}

.txt-14 {
  font-size: 1.4rem;
}

.txt-16 {
  font-size: 1.6rem;
}

.txt-18 {
  font-size: 1.8rem;
}

.txt-20 {
  font-size: 2rem;
}

.marker {
  font-size: 2.2rem;
  background: linear-gradient(transparent 55%, #fff100 55%);
  font-weight: 700;
}

/* Font Families */

.noto_san {
  font-family: 'Noto Sans JP', sans-serif;
}

/* Opacity Animation */
.opa {
  transition: var(--transition);
  backface-visibility: hidden;
}

.opa:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
  backface-visibility: hidden;
}

/* Header Styles */
.site-header {
  width: 100%;
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 1024px) {

  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100%;
  }

  body {
    width: 100%;
  }

  .site-header {
    width: 100%;
    padding: 0;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translateZ(0);
    will-change: transform;
  }

}

.header-inner {
  width: 80vw;
  padding: 1rem 2rem;
  margin: 0 auto;
  position: relative;
}

/* Header Responsive */

@media only screen and (max-width: 1024px) {
  .header-inner {
    width: 100%;
    position: relative;
    padding: 1.5rem;
  }
}

.h-txt {
  font-size: 1.4rem;
  padding: 1rem 0;
  width: 100%;
  color: #000;
  font-weight: 400;
}

/* スマートフォンでh1要素を非表示にする（SEOには影響なし） */
@media only screen and (max-width: 1024px) {
  .h-txt {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
}

.h-box {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 270px) minmax(0, 1fr) auto;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

@media only screen and (max-width: 1024px) {
  .h-box {
    display: block;
  }
}

.logo_box {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: #000;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
}

.mitsubisi {
  font-size: 1.8rem;
}

.mitsubisi::before {
  content: '';
  display: inline-block;
  background-image: url(../common/images/mitsubisi_mark.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 35px;
  aspect-ratio: 35 / 30;
  margin-right: 1rem;
}


@media only screen and (max-width: 1024px) {
  .logo_box {
    font-size: 2.4rem;
  }

  .mitsubisi {
    font-size: 1.6rem;
  }

  .mitsubisi::before {
    width: 25px;
    aspect-ratio: 25 / 20;
  }
}

@media only screen and (max-width: 599px) {
  .logo_box {
    font-size: 2rem;
  }

  .mitsubisi {
    font-size: 1.4rem;
  }

  .mitsubisi::before {
    width: 20px;
    aspect-ratio: 20 / 15;
  }
}

.logo_box img {
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* PCでは子（g-nav + .h_tel）を親グリッドに直接参加（ロゴ | ナビ | 電話） */
@media only screen and (min-width: 1025px) {
  .h-menu-drawer {
    display: contents;
  }
}

.h_tel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.h_tel a {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 3.8rem;
  color: var(--color-theme);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  line-height: 1;
}

.h_tel a::before {
  content: '';
  display: inline-block;
  background-image: url(../common/images/h_tel_icon.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 50px;
  aspect-ratio: 50 / 40;
}

.h_tel_time {
  font-size: 1.8rem;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
}

/* Navigation */
.g-nav {
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.g-nav ul {
  display: flex;
  height: 100%;
  flex-wrap: wrap;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media only screen and (min-width: 1368px) {
  .g-nav ul {
    gap: 15px;
  }
}

@media only screen and (min-width: 1025px) {
  .g-nav {
    min-width: 0;
    justify-self: stretch;
  }

  .g-nav ul {
    justify-content: flex-start;
  }

  /* ナビ内のお問い合わせボタン（テキストリンク指定を上書き） */
  .g-nav ul li a.contact_bt {
    display: inline-flex;
    align-items: center;
    color: #fff;
    background-color: var(--color-theme);
    border-radius: 10rem;
    padding: 10px clamp(1.6rem, 2vw, 2.5rem);
    font-weight: 700;
    font-size: 2.4rem;
  }

  .g-nav ul li a.contact_bt:hover {
    color: #fff;
    opacity: 0.92;
    transform: translateY(-2px);
  }
}

.g-nav ul li {
  position: relative;
}

.g-nav ul li a {
  display: block;
  position: relative;
  color: #333;
  font-size: clamp(1.2rem, 1.018rem + 0.78vw, 1.8rem);
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  white-space: nowrap;
  padding: 1rem;
}

.g-nav ul li a:hover {
  color: var(--color-theme);
}

@media only screen and (max-width: 599px) {
  .g-nav ul li a {
    display: block;
    position: relative;
    color: #333;
    font-size: clamp(1.2rem, 1.018rem + 0.78vw, 1.6rem);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    white-space: nowrap;
    padding: 1.5rem;
  }
}


/* スマートフォン用のスタイル */

/* スマホナビボタン */
.navbtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 1001;
  position: relative;
  width: 30px;
  height: 30px;
}

/*アクセシビリティ対策*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ハンバーガーメニュー */
.navbtn .hamburger,
.navbtn .hamburger::before,
.navbtn .hamburger::after {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.navbtn .hamburger {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.navbtn .hamburger::before,
.navbtn .hamburger::after {
  content: '';
  width: 100%;
}

.navbtn .hamburger::before {
  top: -8px;
}

.navbtn .hamburger::after {
  bottom: -8px;
}

/* アクティブ時 */
.navbtn.active .hamburger {
  background: transparent;
}

.navbtn.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.navbtn.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Responsive Layout */
@media only screen and (min-width: 1025px) {
  .navbtn {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
  .h_tool_smp {
    background-color: var(--color-theme);
    padding: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 10px;
    z-index: 100;
  }
}

@media only screen and (max-width: 599px) {
  .h_tool_smp {
    width: 60px;
    height: 60px;
  }
}

/* スマホグローバルナビ（全画面・g-nav＋お問い合わせ／電話・フェードイン） */
@media only screen and (max-width: 1024px) {
  .navbtn {
    display: block;
  }

  .h-menu-drawer {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    height: 100%;
    /* 明るめのテーマ色＋背後の本文が透ける（子要素の文字は通常どおり不透明） */
    background: color-mix(in srgb,
        color-mix(in srgb, var(--color-theme) 45%, white) 70%,
        transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 6rem 2rem 3rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.4s ease,
      visibility 0.4s ease;
    z-index: 90;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .h-menu-drawer.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .h-menu-drawer .g-nav {
    position: static;
    width: 100%;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    background: transparent;
  }

  .h-menu-drawer .g-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    gap: 2rem;
  }

  .h-menu-drawer .g-nav ul li {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
    overflow: visible;
  }

  .h-menu-drawer.show .g-nav ul li {
    opacity: 1;
    transform: translateY(0);
    padding: 0;
  }

  .h-menu-drawer.show .g-nav ul li:nth-child(1) {
    transition-delay: 0.05s;
  }

  .h-menu-drawer.show .g-nav ul li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .h-menu-drawer.show .g-nav ul li:nth-child(3) {
    transition-delay: 0.15s;
  }

  .h-menu-drawer.show .g-nav ul li:nth-child(4) {
    transition-delay: 0.2s;
  }

  .h-menu-drawer.show .g-nav ul li:nth-child(5) {
    transition-delay: 0.25s;
  }

  .h-menu-drawer.show .g-nav ul li:nth-child(6) {
    transition-delay: 0.3s;
  }

  .h-menu-drawer .g-nav ul li a {
    position: relative;
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-size: 2rem;
  }

  .h-menu-drawer .g-nav ul li a.contact_bt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: var(--color-theme);
    border-radius: 10rem;
    padding: 12px 28px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0.5rem;
  }

  .h-menu-drawer .g-nav ul li a.contact_bt:hover {
    color: #fff;
    opacity: 0.95;
  }

  .h-menu-drawer .h_tel {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2.4rem;
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
    transition-delay: 0;
  }

  .h-menu-drawer.show .h_tel {
    opacity: 1;
    transform: translateY(0);
    /* ナビの li（お問い合わせ含む）のあとに続く */
    transition-delay: 0.34s;
  }

  .h-menu-drawer .h_tel a {
    color: #fff;
  }

  .h-menu-drawer .h_tel a::before {
    filter: brightness(0) invert(1);
  }

  .h-menu-drawer .h_tel_time {
    color: #fff;
    text-align: center;
  }
}

/*パンくず*/
.breadcrumb-nav {
  padding: 1.5rem 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.breadcrumb li {
  font-size: 1.6rem;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5em;
}

/* Main Content */
main {
  position: relative;
}

.main-content {
  max-width: 1280px;
  margin: 0 auto;
  /* 幅約1280px前後でも端に寄りすぎないよう左右を確保（1025px以上のデフォルト） */
  padding: 12rem clamp(2rem, 5vw, 5rem);
  line-height: 1.6;
  font-size: 1.8rem;
}



.main-content p,
.main-content>dl>dd {
  margin-bottom: 2rem;
}

.main-content>ol {
  margin-left: 3.5rem;
}

.main-content>ol>li {
  list-style-type: decimal;
  margin-bottom: 2rem;
}

.main-content p a {
  text-decoration: underline;
}

/* Main Content Responsive */

@media only screen and (max-width: 1024px) {
  .main-content {
    width: 100%;
    padding: 3rem clamp(1.5rem, 4vw, 3rem);
  }
}

@media only screen and (max-width: 599px) {
  .main-content {
    padding: 3rem 3rem 8rem 3rem;
  }
}

/*MARK:mainimage*/

.mainimage-maker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.mainimage-maker-list li {
  list-style: none;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #ff7415;
  border-radius: 0.5rem;
}

@media only screen and (max-width: 599px) {
  .mainimage-maker-list {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .mainimage-maker-list li {
    font-size: 1.8rem;
  }
}

.mainimage {
  background: url(../common/images/mainimage.jpg) no-repeat center top / cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mainimage-sub {
  background: url(../common/images/mainimage.jpg) no-repeat center center / cover;
  /* ヘッダー（absolute）分を確保し、タイトルが隠れないようにする */
  padding-top: var(--header-height-desktop);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
  min-height: calc(350px + var(--header-height-desktop));
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainimage-sub .mainimage-title {
  margin-bottom: 0;
  text-align: center;
}

@media only screen and (max-width: 1024px) {
  .mainimage {
    align-items: flex-end;
    height: 750px;
  }

  .mainimage-sub {
    padding-top: var(--header-height-mobile);
    min-height: calc(350px + var(--header-height-mobile));
  }
}

@media only screen and (max-width: 599px) {
  .mainimage {
    align-items: flex-end;
    background: url(../common/images/mainimage_smp.jpg) no-repeat center center / cover;
  }

  .mainimage-sub {
    background-image: url(../common/images/mainimage_smp.jpg);
  }
}

.mainimage-text {
  position: absolute;
  top: calc(50% + (var(--header-height-desktop) / 2));
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1200px;
  width: 90%;
  padding: 2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 600px) {
  .mainimage-text {
    top: calc(50% + (var(--header-height-mobile) / 2));
    width: 100%;
  }
}

.mainimage-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 4.8rem;
  color: #fff;
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

@media only screen and (max-width: 1024px) {
  .mainimage-title {
    font-size: 3.6rem;
  }
}

.mainimage-subtitle {
  font-size: 2.4rem;
  color: #fff;
}

@media screen and (max-width: 600px) {
  .mainimage-subtitle {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 1024px) and (max-height: 375px) {
  .tab {
    display: inline-block !important;
  }
}

/* Footer */

.footer-inner {
  font-size: 1.6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-txt {
  font-size: 1.8rem;
  color: #000;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 4rem;
}

@media only screen and (max-width: 1024px) {
  .footer-inner {
    width: 100%;
    padding: 3rem;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
}

@media only screen and (max-width: 599px) {
  .footer-nav {
    gap: 2rem;
  }
}

.footer-nav li a {
  position: relative;
  text-decoration: none;
  color: #000;
  /* リンクのを適宜調整 */
  display: inline-block;
  transition: color 0.3s ease;
  /* テキストの色変化のアニメーション */
  font-size: 1.8rem;
  padding-bottom: 0.8rem;
  font-weight: 500;
}

.footer-nav li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  /* 下線の太さ */
  background-color: var(--color-theme);
  /* 下線の色 */
  transition: width 0.3s ease;
}

.footer-nav li a:hover {
  color: var(--color-theme);
  /* ホバー時テキスト色 */
}

.footer-nav li a:hover::after {
  width: 100%;
  /* ホバー時に下線を100%の幅 */
}

.address_txt {
  text-align: center;
  padding: 1rem;
  font-style: normal;
  font-size: 1.2rem;
  color: #000;
}

@media only screen and (max-width: 1024px) {
  .footer-inner nav ul li a {
    font-size: 1.3rem;
  }
}

@media only screen and (max-width: 599px) {


  .footer-inner {
    width: 100%;
    padding: 3rem;
  }
}

/*MARK:サブコンテンツ*/
.section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 4.8rem;
  color: #000;
  position: relative;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.about_title {
  font-size: 3.6rem;
}

.section-title .en {
  font-size: 2.4rem;
  color: var(--color-theme);
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-style: normal;
}


@media only screen and (max-width: 599px) {
  .section-title {
    font-size: 3.2rem;
  }

  .about_title {
    font-size: 2.4rem;
  }
}

.section-subtitle {
  position: relative;
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 3rem;
}

@media only screen and (max-width: 599px) {
  .section-subtitle {
    font-size: 2rem;
  }
}

/* タブレット以下：タイトル → 画像 → 本文 → ボタン（DOM順） */
.about_box {
  display: flex;
  gap: 3rem;
}



.about_box .txt_box em {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--color-dark-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  font-weight: 700;
  padding-inline: 0.3em;
}

/* flex の gap と bt-list の上マージンが二重にならないよう調整 */
.txt_box>.bt-list {
  margin-top: 0;
}


.about_img_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 4rem 0;
}

.about_img_list img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* PCの小〜中幅：画像列が広がりすぎないよう上限を付与 */
@media only screen and (min-width: 1025px) and (max-width: 1600px) {
  .about_box .img_box_pc {
    max-width: 350px;
  }
}

@media only screen and (max-width: 1024px) {
  .about_box .img_box_sp {
    width: 60vw;
    margin-inline: auto;
  }
}

@media only screen and (max-width: 599px) {
  .about_box .img_box_sp {
    width: 100%;
  }
}

.img_box_sp img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.service_detail_hero {
  display: block;
  max-width: 72rem;
  width: 100%;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 1rem;
}

.service_detail_subtitle {
  font-size: 3.6rem;
  font-weight: 700;
  margin: 6rem 0 3rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-theme);
  color: #000;
  position: relative;
  padding: 1rem 0;
  border-bottom: 6px solid #ccc;
}

.service_detail_subtitle:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: var(--color-theme);
}

@media only screen and (max-width: 599px) {
  .service_detail_subtitle {
    margin-top: 2.2rem;
  }
}

.service_detail_maker_note {
  margin: 0.8rem 0 0.4rem;
  font-weight: 700;
  color: #333;
}

.service_detail_maker_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.service_detail_maker_list li {
  margin: 0;
  padding: 0.4rem 1rem;
  font-size: 1.4rem;
  line-height: 1.4;
  border: 1px solid #ccc;
  border-radius: 999px;
  background-color: #fafafa;
}

/* 水廻りリフォーム・介護リフォーム 強み／メニュー／流れ */



.reform_topic_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1rem;
  margin-top: 6rem;
  margin-bottom: 6rem;
  gap: 6rem;
}

@media only screen and (max-width: 599px) {
  .reform_topic_grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}



.reform_strength_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.reform_strength_item {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
}

@media only screen and (max-width: 599px) {
  .reform_strength_item {
    grid-template-columns: 1fr;
  }
}

.reform_strength_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
}

.reform_topic_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.reform_strength_item_title {
  margin: 0 0 0.8rem;
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-theme);
}

.reform_strength_item p {
  margin: 0;
}

.reform_menu_table {
  margin-top: 1.2rem;
}

.reform_topic_title {
  font-size: 3rem;
  color: var(--color-theme);
  font-weight: 900;
  margin: 2rem 0;
}

.reform_flow_list {
  list-style: none;
  margin: 6rem 0;
  padding: 0;
  counter-reset: reformflow;
}

.reform_flow_list>li {
  position: relative;
  margin: 0 0 4rem;
  padding: 0 0 0 8.4rem;
  min-height: 6rem;
}

.reform_flow_list>li::before {
  counter-increment: reformflow;
  content: counter(reformflow);
  position: absolute;
  left: 0;
  top: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: var(--color-theme);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 6rem;
  text-align: center;
  font-family: 'Lato', sans-serif;
}

.reform_flow_list>li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 2.9rem;
  top: 6.4rem;
  width: 0.2rem;
  height: calc(100% - 0.2rem);
  background-color: #00a3c7;
}

.reform_flow_step_title {
  display: flex;
  align-items: center;
  min-height: 6rem;
  margin: 0 0 0.3rem;
  font-size: 2.2rem;
  line-height: 1.45;
}

.reform_flow_list>li p {
  margin: 0;
  line-height: 1.8;
}

@media only screen and (max-width: 767px) {
  .reform_strength_grid {
    grid-template-columns: 1fr;
  }
}

/* オール電化（all-electric.html）固有スタイル */
.denka_pack_box {
  margin: 1.2rem 0 2rem;
  padding: 2rem 2.4rem;
  background-color: #eef4fb;
  border: 1px solid #bdd3ec;
  border-radius: 1rem;
}

.denka_pack_box p {
  margin: 0 0 1.2rem;
  line-height: 1.9;
}

.denka_pack_box p:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 599px) {
  .denka_pack_box {
    padding: 1.4rem 1.4rem;
  }
}

/* 家電販売・修理（appliance.html）固有スタイル */
.lead_main {
  font-size: 2.4rem;
  text-align: center;
}

.lead_main strong {
  color: var(--color-orange);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--color-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.appliance_trouble_box {
  padding: 2rem 2.4rem;
  margin: 0 0 2.8rem;
  background-color: #f5f7fa;
  border-left: 4px solid var(--color-theme);
  border-radius: 0 0.8rem 0.8rem 0;
}

.appliance_trouble_list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.appliance_trouble_list li {
  padding: 0.3rem 0 0.3rem 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  position: relative;
}

.appliance_trouble_list li::before {
  content: "…";
  position: absolute;
  left: 0;
  top: 0.3rem;
  font-size: 1.4rem;
  color: var(--color-theme);
  line-height: 1.6;
}

.appliance_trouble_box p {
  margin: 0;
  line-height: 1.9;
}

.appliance_note {
  margin: 0.6rem 0 0;
  font-size: 1.4rem;
  color: #666;
}

.appliance_recommend_list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media only screen and (max-width: 599px) {
  .appliance_recommend_list {
    grid-template-columns: 1fr;
  }
}

.appliance_recommend_list li {
  padding: 1.5rem 2rem 1.5rem 6rem;
  font-size: 1.8rem;
  line-height: 1.5;
  background-color: var(--color-base);
  border-radius: 10rem;
  position: relative;
}

.appliance_recommend_list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--color-green);
}

.appliance_cta_box {
  margin: 3rem 0 0.5rem;
  padding: 2.4rem;
  background-color: #223a70;
  border-radius: 1rem;
  color: #fff;
  text-align: center;
}

.appliance_cta_copy {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 0 0 1rem;
  color: #fff;
}

.appliance_cta_box p:last-child {
  margin: 0;
  line-height: 1.85;
}

@media only screen and (max-width: 599px) {
  .appliance_trouble_box {
    padding: 1.4rem 1.4rem;
  }

  .appliance_cta_box {
    padding: 1.8rem 1.4rem;
  }

  .appliance_cta_copy {
    font-size: 1.65rem;
  }
}

.service_box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
}

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

@media only screen and (max-width: 768px) {
  .service_box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .service_box {
    grid-template-columns: 1fr;
  }
}



.service_item_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service_item_txt {
  padding: 2rem;
  height: 100%;
}

@media screen and (min-width: 769px) {

  /* 3列×2行想定：各行の右端（3n番目）は線なし。最後の1件が行末だけのときも線なし */
  .service_item:not(:nth-of-type(3n)):not(:last-of-type) .service_item_txt {
    border-right: solid 1px var(--color-theme);
  }
}



.service_item_txt h5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-theme);
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-top: -8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.service_item_txt h5::before {
  content: '';
  display: block;
  width: 130px;
  height: 130px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
  .service_item_txt h5 {
    margin-top: -6rem;
  }

  .service_item_txt h5::before {
    width: 100px;
    height: 100px;
  }
}



.service_item:nth-of-type(1) .service_item_txt h5::before {
  background-image: url(../common/images/service_icon01.jpg);
}

.service_item:nth-of-type(2) .service_item_txt h5::before {
  background-image: url(../common/images/service_icon02.jpg);
}

.service_item:nth-of-type(3) .service_item_txt h5::before {
  background-image: url(../common/images/service_icon03.jpg);
}

.service_item:nth-of-type(4) .service_item_txt h5::before {
  background-image: url(../common/images/service_icon04.jpg);
}

.service_item:nth-of-type(5) .service_item_txt h5::before {
  background-image: url(../common/images/service_icon05.jpg);
}

.service_item:nth-of-type(6) .service_item_txt h5::before {
  background-image: url(../common/images/service_icon06.jpg);
}

.atto_denka_title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 3.6rem;
  color: #000;
  margin-bottom: 2rem;
}

.atto_denka_title img {
  margin-inline: auto;
}

.atto_denka_pack {
  background-color: #fff;
  border-radius: 2rem;
  overflow: hidden;
  margin: 3rem auto;
  width: 600px;
  display: block;
}

@media only screen and (max-width: 599px) {
  .atto_denka_pack {
    width: 100%;
  }
}

.atto_denka_pack img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}


.works_box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

@media only screen and (max-width: 900px) {
  .works_box {
    grid-template-columns: 1fr;
    max-width: 48rem;
    margin-inline: auto;
  }
}

.works_item {
  background-color: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 角丸は親でクリップ。img の scale は親の overflow で切る（img に角丸+scale だと角が潰れて見える） */
.works_item_imglink,
.works_item_img {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
}

.works_item_imglink img,
.works_item_img img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease;
}

.works_item_imglink:hover img,
.works_item_img:hover img {
  transform: scale(1.05);
}

.works_item_body {
  padding: 1.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
}

.works_item_date {
  display: block;
  font-size: 1.3rem;
  color: var(--color-gray-darken);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.works_item_name {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.35;
  font-family: var(--font-base);
}

.works_item_text {
  line-height: 1.75;
  color: #222;
  margin: 0;
  flex: 1 1 auto;
}

.works_item_cat {
  display: inline-block;
  align-self: flex-start;
  padding: 0.5rem 1.2rem;
  background-color: var(--color-theme);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 0;
  margin-top: 0.4rem;
}

.works_item_action {
  margin: 0.8rem 0 0;
}

.works_item_more {
  font-weight: 700;
  color: var(--color-theme);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.works_item_more:hover {
  opacity: 0.85;
}

@media only screen and (max-width: 599px) {
  .works_item_name {
    font-size: 2rem;
  }

  .works_item_body {
    padding: 1.4rem 1.4rem 1.8rem;
  }
}

/* 施工事例 記事（works/works01.html） */
.works_article_header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.works_article_label {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.works_article_label a {
  color: var(--color-theme);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.works_article_label a:hover {
  opacity: 0.85;
}

.works_article_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.6rem;
  margin: 1.5rem 0 0;
}

.works_article_client {
  font-size: 3rem;
  font-weight: 700;
}

@media only screen and (max-width: 599px) {
  .works_article_client {
    display: block;
    width: 100%;
    font-size: 2.4rem;
  }
}

.works_article_gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 4rem auto;
  max-width: 100%;
}

@media only screen and (max-width: 1024px) {
  .works_article_gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 480px) {
  .works_article_gallery {
    grid-template-columns: 1fr;
  }
}

.works_article_gallery_link {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.works_article_gallery_link:hover,
.works_article_gallery_link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  outline: 2px solid var(--color-theme);
  outline-offset: 2px;
}

.works_article_gallery_link img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.works_article_gallery_swiper_wrap {
  display: none;
}

@media only screen and (max-width: 767px) {
  .works_article_gallery {
    display: none;
  }

  .works_article_gallery_swiper_wrap {
    display: block;
    margin: 2.4rem auto 3.2rem;
  }

  .works_article_gallery_swiper .works_article_gallery_link {
    border-radius: 1rem;
  }

  .works_article_gallery_swiper .swiper-slide {
    height: auto;
  }

  .works_article_gallery_swiper .works_article_gallery_link img {
    border-radius: 1rem;
  }

  .works-article-swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.2rem;
  }

  .works-article-swiper-nav {
    width: 3.2rem;
    height: 3.2rem;
    aspect-ratio: 1 / 1;
    padding: 0;
    min-width: 0;
    flex: 0 0 3.2rem;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #b8c4dd;
    border-radius: 50%;
    background: #fff;
    color: var(--color-theme);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  }

  .works-article-swiper-nav:hover,
  .works-article-swiper-nav:focus-visible {
    background-color: var(--color-theme);
    color: #fff;
  }

  .works-article-swiper-nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
  }

  .works-article-swiper-pagination {
    text-align: center;
  }

  .works-article-swiper-pagination .swiper-pagination-bullet {
    background: var(--color-theme);
    opacity: 0.35;
  }

  .works-article-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
  }
}

.works_article_body {
  /* max-width: 72rem; */
  margin: 0 auto 3rem;
  font-size: 1.8rem;
  line-height: 1.85;
  color: #222;
}

.works_article_body p {
  margin: 0 0 1.2em;
}

.works_article_body p:last-child {
  margin-bottom: 0;
}

/* Lightbox2（works01）：サイト色に寄せた微調整（本体CSSは CDN の lightbox.min.css） */
.lb-data .lb-caption {
  line-height: 1.65;
}

/* MailformPro（contact.html）確認画面・エラー表示 */
form#mailformpro.contact_mail_form {
  padding: 0;
}

form#mailformpro.contact_mail_form dl {
  display: none;
}

/* お問い合わせ（contact.html） */
.contact_form_note {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 2rem;
}



.contact_mail_form .form input[type='text'],
.contact_mail_form .form input[type='tel'],
.contact_mail_form .form input[type='email'],
.contact_mail_form .form textarea,
.contact_mail_form .form select {
  width: 100%;
  max-width: 52rem;
  box-sizing: border-box;
}

/* 会社概要（company.html） */
.company_section {
  background-color: #fff;
}

.company_qual_list {
  margin: 0 auto 4rem;
  padding-left: 1.8rem;
  font-size: 1.8rem;
  line-height: 1.85;
  list-style-type: disc;
}

.company_qual_list li {
  margin-bottom: 0.6rem;
}

.company_qual_list--in_table {
  max-width: none;
  margin: 0;
  padding-left: 1.8rem;
}

@media only screen and (max-width: 599px) {
  .company_info_table td .company_qual_list--in_table {
    padding-left: 1.4rem;
  }
}

.company_info_table {
  width: 100%;
  margin: 4rem auto;
  border-collapse: collapse;
  background-color: #fff;
  border-top: 1px solid #ccc;
}

.company_info_table th,
.company_info_table td {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #ccc;
  text-align: left;
  font-size: 1.8rem;
  line-height: 1.7;
}

.company_info_table th {
  width: 14rem;
  vertical-align: top;
  font-weight: 700;
  white-space: nowrap;
}

.company_info_table td {
  vertical-align: top;
}

.company_info_table td a {
  color: var(--color-theme);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media only screen and (max-width: 599px) {

  .company_info_table th,
  .company_info_table td {
    padding: 1rem 1.2rem;
  }

  .company_info_table th {
    width: auto;
    white-space: normal;
  }

  /* 狭い画面では1行1セルで読みやすく */
  .company_info_table tr {
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 0.8rem 0;
  }

  .company_info_table tbody tr:last-child {
    border-bottom: none;
  }

  .company_info_table th,
  .company_info_table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding-left: 0;
    padding-right: 0;
  }

  .company_info_table th {
    padding-bottom: 0.4rem;
  }

  .company_info_table td {
    padding-top: 0;
  }
}

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

.maker_subtitle {
  font-size: 3rem;
}

.takara_partner_box {
  display: grid;
  align-items: center;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  margin: 3rem auto;
}

@media only screen and (max-width: 599px) {
  .takara_partner_box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.takara_partner_box .img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.maker_takara_partner {
  padding: 2.4rem 0;
  margin: 0 auto 3rem;
}

.maker_takara_partner>p {
  line-height: 1.85;
  color: #222;
  margin: 0 0 1.6rem;
  text-align: left;
}

@media only screen and (max-width: 599px) {
  .maker_takara_partner {
    padding: 1.8rem 1.4rem 1.6rem;
  }

}

.maker_box {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  padding: 2rem;
  text-align: center;
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2rem;
  margin: 3rem 0;
}

.appliance_section .maker_box,
.all-electric_section .maker_box,
.water_section .maker_box {
  background-color: var(--color-base);
}

@media only screen and (max-width: 599px) {

  .appliance_section .maker_box ul,
  .all-electric_section .maker_box ul,
  .water_section .maker_box ul {
    display: flex;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .appliance_section .maker_box ul li,
  .all-electric_section .maker_box ul li,
  .water_section .maker_box ul li {
    padding: 1rem 2rem;
  }
}

.maker_box ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.maker_box ul li {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 0.5rem 1rem;
  background-color: var(--color-theme);
  border-radius: 1rem;
}

@media only screen and (min-width: 1025px) {
  .maker_box ul li {
    min-width: 140px;
  }
}

@media only screen and (max-width: 599px) {
  .maker_box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 0;

  }


}

.contact_section {
  background-image: url(../common/images/contact_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;

  border-radius: 3rem 3rem 0 0;
  margin-top: -3rem;
}

@media only screen and (min-width: 1025px) {
  .contact_section {
    height: 750px;
  }
}

.contact_title {
  color: #fff;
  line-height: 1.2;

}

.contact_title .en {
  color: #fff;
  font-size: 8.4rem;
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
  font-style: normal;
}

@media only screen and (max-width: 1024px) {
  .contact_title .en {
    font-size: 6rem;
  }
}

@media only screen and (max-width: 599px) {
  .contact_title .en {
    font-size: 4.8rem;
  }
}

.contact_title .ja {
  color: #fff;
}

.contact_txt {
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 2rem;
}

.contact_tel {
  font-size: 3rem;
  font-weight: 400;
  color: #fff;
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.contact_tel a {
  color: #fff;
  text-decoration: none !important;
  font-size: 6.4rem;
  transition: all 0.3s ease;
  display: inline-block;
}

@media only screen and (max-width: 599px) {
  .contact_tel {
    font-size: 2.4rem;
  }

  .contact_tel a {
    font-size: 4rem;
  }
}


.contact_tel a:hover {
  color: var(--color-theme);
  transform: translateY(-5px);
}

/* MARK:grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media only screen and (max-width: 1024px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.txt-img-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 6rem;
}

@media only screen and (max-width: 1024px) {
  .txt-img-grid {
    grid-template-columns: 1fr;
  }
}

.img-box img {
  border-radius: 1rem;
}

@media only screen and (max-width: 1024px) {
  .img-box img {
    margin-inline: auto;
  }
}

/* MARK:Tables */
.legal_notice {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-left: 0px solid #e3e3e3;
  border-top: 1px solid #ccc;
}

.legal_notice th {
  text-align: left;
  vertical-align: middle;
  padding: 13px 15px;
  border-right: 0px solid #e3e3e3;
  background: initial;
  color: #1f2e55;
  font-size: 1.8rem;
  border-bottom: 1px solid #ccc;
  width: 15%;
}

.legal_notice td {
  background: initial;
  padding: 13px 15px;
  border-right: 0px solid #e3e3e3;
  color: #000;
  font-size: 1.8rem;
  border-bottom: 1px solid #ccc;
}

.form {
  border-collapse: collapse;
  width: 100%;
  margin: 3rem auto;
  padding: 0;
  border-left: 0px solid #e3e3e3;
  border-top: 1px solid #ccc;
  margin-bottom: 20px;
}

.form th {
  text-align: left;
  vertical-align: middle;
  padding: 13px 15px;
  border-right: 0px solid #e3e3e3;
  background: initial;
  color: #000;
  font-size: 1.8rem;
  border-bottom: 1px solid #ccc;
  width: 35%;
}

.form td {
  padding: 13px 15px;
  border-right: 0px solid #e3e3e3;
  color: #000;
  font-size: 1.8rem;
  border-bottom: 1px solid #ccc;
}

@media only screen and (max-width: 1024px) {
  .legal_notice th {
    width: 20%;
  }
}

@media only screen and (max-width: 599px) {

  .legal_notice th,
  .form th {
    display: block;
    width: 100%;
    border-bottom: 0;
  }

  .legal_notice th {
    padding: 1rem 0 0 0;
  }

  .legal_notice td,
  .form td {
    display: block;
    width: 100%;
  }

  .legal_notice td {
    padding: 1rem 0;
  }

  .form th {
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 599px) {
  .form td {
    padding: 10px;
  }

  .form th .red {
    margin-left: 5px;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {

  .form input[type='text'],
  .form input[type='tel'],
  .form input[type='email'] {
    width: 90%;
    max-width: 400px;
  }
}

/* Page Top Button */
#page-top {
  position: fixed;
  bottom: 0;
  right: 0;
  font-size: 1.2rem;
  z-index: 20;
  margin: 0 !important;
}

#page-top a {
  background: var(--color-theme);
  text-decoration: none;
  color: #fff;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

@media only screen and (min-width: 1281px) {
  #page-top a:hover {
    text-decoration: none;
    background: var(--color-theme-light);
    color: var(--color-theme);
  }
}

/*MARK:gmap*/
.gmap {
  position: relative;
  width: 100%;
  height: 450px;
  /* 4:3の比率 */
  overflow: hidden;
}

.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media only screen and (max-width: 599px) {
  .gmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
  }

  .gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

/*MARK:Margin Padding*/
.mt-2 {
  margin-top: 2rem !important;
}

.mt-3 {
  margin-top: 3rem !important;
}

.mt-4 {
  margin-top: 4rem !important;
}

.mt-6 {
  margin-top: 6rem !important;
}

.mt-10 {
  margin-top: 10rem !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.mb-4 {
  margin-bottom: 4rem !important;
}

/* Button Style */

.arrow_list li {
  padding: 1rem;
  color: var(--color-green-dark);
  font-size: 1.6rem;
  position: relative;
}

.arrow_list li::before {
  font-family: 'Font Awesome 6 Free';
  content: '\f054';
  font-weight: 900;
  margin-right: 10px;
}

.link-list,
.link_list_center {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 3rem 0;
}

@media only screen and (max-width: 599px) {

  .link-list,
  .link_list_center {
    margin: 0;
  }
}

.link_list_center {
  justify-content: center;
}

.link-list li a::before,
.link_list_center li a::before {
  font-family: 'Font Awesome 6 Free';
  content: '\f138';
  font-weight: 900;
  margin-right: 10px;
  color: var(--color-theme);
  font-size: 1.8rem;
}

.link-list li a,
.link_list_center li a {
  display: inline-block;
  color: #000;
  font-size: 1.4rem;
  position: relative;
  text-decoration: none;
  padding-bottom: 2px;
  padding-left: 0;
}

.link-list li a::after,
.link_list_center li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-theme);
  transition: width 0.3s ease;
}

.link-list li a:hover::after,
.link_list_center li a:hover::after {
  width: 100%;
}

.link-bt-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2rem;
  margin: 1.5rem 0;
}

.bt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 3rem 0 !important;
}

@media only screen and (max-width: 599px) {
  .bt-list {
    align-items: center;
    flex-direction: column;
  }
}

.bt-list-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.bt-img img {
  transition: all 0.3s ease;
}

.bt-img:hover img {
  transform: translateY(-5px);
}

.bt-item,
.form_bt,
.contact_bt {
  display: inline-block;
  transition:
    var(--transition),
    transform 0.3s ease;
  text-decoration: none !important;
}

.bt01 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition:
    var(--transition),
    transform 0.3s ease;
  text-decoration: none !important;
  background-color: var(--color-theme);
  color: #fff;
  font-size: 2.2rem;
  padding: 15px 20px;
  position: relative;
  gap: 1rem;
  border-radius: 0.5rem;
  min-width: 240px;
  font-weight: 700;
}

@media only screen and (max-width: 599px) {
  .bt01 {
    padding: 10px 20px;
    min-width: 280px;
  }
}

.bt01:hover {
  transform: translateY(-5px);
}

button.bt01 {
  border: none;
  cursor: pointer;
}

.bt01::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f0da';
  font-weight: 900;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


.bt02 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition:
    var(--transition),
    transform 0.3s ease;
  text-decoration: none !important;
  background-color: #fff;
  color: var(--color-theme);
  border: solid 2px var(--color-theme);
  font-size: 1.8rem;
  padding: 10px 20px;
  position: relative;
  gap: 1rem;
  border-radius: 10rem;
  min-width: 240px;
}

.bt02:hover {
  transform: translateY(-5px);
}

.bt02::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f30b';
  font-weight: 900;
  padding-left: 1rem;
  /*文字との隙間*/
  color: var(--color-theme-second);
  font-size: 1.4rem;
  text-decoration: none;
  vertical-align: middle;
  /* 縦中央に配置 */
  display: inline-block;
  /* インラインブロック要素に変更 */
  transition:
    var(--transition),
    transform 0.3s ease;
}

.bt02:hover::after {
  transform: translateX(5px);
}

.contact_bt {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition:
    var(--transition),
    transform 0.3s ease;
  text-decoration: none !important;
  background-color: var(--color-theme);
  color: #fff;
  font-size: 1.8rem;
  padding: 10px 40px;
  position: relative;
  gap: 1rem;
  border-radius: 10rem;

}

.contact_bt::before {
  content: '\f0e0';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
  order: -1;
}

.bt-item {
  border: solid 1px var(--color-red);
  color: #fff;
  min-width: 250px;
  padding: 10px 20px;
  font-weight: 400;
  position: relative;
  background-color: var(--color-red);
  opacity: 1;
  text-align: center;
  border-radius: 100px;
}

.bt-item:hover {
  background-color: var(--color-red);
  color: #fff;
  transform: translateY(-5px);
}

.bt-item::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f0da';
  font-weight: 900;
  padding-left: 1rem;
  /*文字との隙間*/
  color: var(--color-theme-second);
  font-size: 1.4rem;
  text-decoration: none;
  vertical-align: middle;
  /* 縦中央に配置 */
  display: inline-block;
  /* インラインブロック要素に変更 */
  transition:
    var(--transition),
    transform 0.3s ease;
}

.bt-item:hover::after {
  color: #fff;
}

.line_icon {
  transition:
    var(--transition),
    transform 0.3s ease;
}

.line_icon:hover {
  transform: translateY(-5px);
}



@media only screen and (max-width: 1024px) {
  .bt_list li a {
    width: 100%;
  }
}

@media only screen and (max-width: 599px) {
  .bt_list li {
    width: 100%;
  }
}

.disc-list {
  list-style: disc;
  margin-left: 3.5rem;
  margin-bottom: 3.5rem;
}

.disc-list li::marker {
  color: var(--color-theme);
  font-size: 2.4rem;
}

/* FAQ Section */
#faq {
  background-color: var(--color-theme-light);
  padding: 8rem 0;
}

.faq-title {
  font-size: 3.6rem;
  text-align: center;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 6rem;
}

.faq-item {
  background-color: #fff;
  border: 3px solid var(--color-theme);
  border-radius: 15px;
  margin-bottom: 3rem;
  padding: 2.5rem 3rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  padding-bottom: 2rem;
  gap: 2rem;
  border-bottom: 2px solid var(--color-theme);
  position: relative;
}

.faq-question::before {
  content: 'Q';
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: bold;
  flex-shrink: 0;
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  padding-top: 2rem;
  gap: 2rem;
  position: relative;
}

.faq-answer::before {
  content: 'A';
  color: #000;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  padding: 0 1rem;
}

.faq-question {
  font-size: 2.4rem;
  font-weight: bold;
  color: #000;
  line-height: 1.8;
}

.faq-answer {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #000;
}

@media only screen and (max-width: 1024px) {
  #faq {
    padding: 6rem 0;
  }

  .faq-container {
    margin-top: 4rem;
  }

  .faq-question {
    padding-bottom: 2rem;
    gap: 1.5rem;
  }

  .faq-answer {
    padding-top: 2rem;
    gap: 1.5rem;
  }

  .faq-question::before,
  .faq-answer::before {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 2rem;
  }

  .faq-question {
    font-size: 1.8rem;
  }

  .faq-answer {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 599px) {
  #faq {
    padding: 4rem 0;
  }

  .faq-container {
    margin-top: 3rem;
  }

  .faq-question {
    padding-bottom: 1.5rem;
    gap: 1rem;
  }

  .faq-answer {
    padding-top: 1.5rem;
    gap: 1rem;
  }

  .faq-question::before,
  .faq-answer::before {
    width: 3rem;
    height: 3rem;
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 1.8rem;
  }

  .faq-answer {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .faq-item {
    margin-bottom: 2rem;
  }
}