@charset "utf-8";
/* Google Fontsの正しいインポート */
@import url('https://fonts.googleapis.com/css2?family=Belanosima:wght@400;600;700&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=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..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&display=swap');

:root {
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.8s var(--easing);
  --color-base: #fff;
  --color-gray: #ccc;
  --color-gray-light: #f5f5f5;
  --color-gray-darken: #535353;
  --color-theme-rgb: 252, 185, 0; /* #fcb900 のRGB値 */
  --color-theme: rgb(var(--color-theme-rgb));
  --color-theme-second: #004399;
  --color-accent: #404040;

  --color-red: #cc0000;
  --color-blue: #3296e6;
  --color-green: #00a89a;
  --color-green-dark: #007e73;
  --color-green-light: #8cd8d1;

  --color-orange: #ff7415;
  --color-yellow: #fec601;
  --color-cream: #ffef8f;
  --color-cream-light: #fff2cb;

  --color-line: #06c755;
  --color-fb: #0866ff;
  --color-insta: #ff0069;
  --color-insta-light: #ff96c1;

  --font-base: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --box-shadow: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.08), -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);
  --header-height: 232px;
}

/* 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.5;
  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%; /* 最小高さを100%に設定 */
  }
  body {
    overflow-x: hidden;
    overflow-y: auto; /* スクロールを有効化 */
    width: 100%;
    height: auto; /* 高さを自動調整 */
    min-height: 100%; /* 最小高さを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;
  }
}

/* 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;
}

/* アクセシビリティのための非表示クラス */
.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 img {
  margin-inline: auto;
}
.bold {
  font-weight: 900;
}

/* 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_s {
  font-size: 1rem;
}
.txt12 {
  font-size: 1.2rem;
}
.txt14 {
  font-size: 1.4rem;
}
.txt16 {
  font-size: 1.6rem;
}
.txt18 {
  font-size: 1.8rem;
}
.txt20 {
  font-size: 2rem;
}

/* 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);
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

@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;
  }

  .site-header {
    background-color: #fff;
  }
}

.header-inner {
  width: 1200px;
  padding: 15px 0;
  margin: 0 auto;
  position: relative;
}

.logo-nav-wrap {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  justify-items: center;
  gap: 2rem;
}

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

/* Header Responsive */

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

.h-logo {
  width: 150px;
  transition:
    var(--transition),
    transform 0.3s ease;
}

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

@media only screen and (max-width: 1024px) {
  .h-logo {
    width: 150px;
    padding: 1rem;
  }
}

@media only screen and (max-width: 599px) {
  .h-logo {
    width: 70px;
  }
}

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

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

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

.g-nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.g-nav > ul > li > a {
  display: block;
  position: relative;
  color: #000;
  font-size: clamp(1.2rem, 1.018rem + 0.78vw, 1.6rem);
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding: 1rem 2rem;
  z-index: 1;
  overflow: hidden;
}

.g-nav > ul > li > a::before {
  background: var(--color-theme);
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
  z-index: -1;
}

.g-nav > ul > li > a:hover {
  color: #fff;
}

.g-nav > ul > li > a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

/* current-menu-itemは最初から黄色背景 */
.g-nav > ul > li.current-menu-item > a {
  color: #fff;
}

.g-nav > ul > li.current-menu-item > a::before {
  transform: scale(1, 1);
  transform-origin: left top;
}

@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;
  }
}

/* サブメニューがあるメインメニュー項目に下向き矢印を追加 */
.g-nav > ul > li:has(.sub-menu) > a::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.8em;
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

.g-nav > ul > li:has(.sub-menu):hover > a::after {
  transform: rotate(180deg);
}

/* Submenu */
.sub-menu {
  position: absolute;
  min-width: 200px;
  top: calc(100% + 10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  overflow: visible;
  width: max-content;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
}

.g-nav > ul > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li {
  width: 100%;
  position: relative;
}

.sub-menu li a {
  background-color: var(--color-theme-second);
  color: #fff;
  font-size: 1.4rem;
  padding: 1rem 30px 1rem 15px;
  white-space: nowrap;
  display: block;
  transition: background-color 0.3s ease;
}

.sub-menu li:not(:last-child) a {
  border-bottom: solid 1px var(--color-theme-second);
}

/* サブメニュー内のサブメニューがある項目にのみ右矢印を追加 */
.sub-menu li:has(.sub-sub-menu) > a::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #fff;
}

.sub-menu li a:hover {
  background-color: var(--color-gray-light);
  color: var(--color-theme-second);
  font-weight: bold;
}

.sub-menu li a:hover::after {
  color: var(--color-theme-second);
}

/* 孫階層のサブメニュー */
.sub-sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: visible;
  width: max-content;
  background: #000;
  z-index: 1002;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* 親のサブメニューが表示されている状態で、その中のliにホバーしたときに孫メニューを表示 */
.g-nav > ul > li:hover .sub-menu li:hover .sub-sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

/* 孫階層のサブメニューのリンクスタイル */
.sub-sub-menu li {
  width: 100%;
  position: relative;
}

.sub-sub-menu li a {
  background-color: #000;
  color: #fff;
  font-size: 1.4rem;
  padding: 1rem 30px 1rem 15px;
  white-space: nowrap;
  display: block;
  transition: background-color 0.3s ease;
}

.sub-sub-menu li:not(:last-child) a {
  border-bottom: solid 1px #333;
}

.sub-sub-menu li a:hover {
  background-color: #333;
  color: #fff;
  font-weight: bold;
}

/* スマートフォン用のサブメニュースタイル */
@media only screen and (max-width: 1024px) {
  /* スマホ時はsub-menuがある要素の下矢印を非表示 */
  .g-nav > ul > li:has(.sub-menu) > a::after {
    display: none !important;
  }

  /* スマホ時はsub-sub-menuがある要素の右矢印を非表示 */
  .sub-menu li:has(.sub-sub-menu) > a::after {
    display: none !important;
  }

  .sub-menu {
    position: static;
    background: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: auto;
    border-radius: 0;
    background-color: #f8f8f8;
    padding-left: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .g-nav > ul > li > .sub-menu {
    padding: 0;
  }
  .g-nav > ul > li.open > .sub-menu {
    max-height: 1000px;

    border-bottom: solid 1px var(--color-theme-second);
  }

  .sub-menu > li > a {
    font-size: 1.4rem;
    padding: 12px 15px;
    color: #fff !important;
    background-color: var(--color-theme);
    position: relative;
  }

  /* sub-sub-menuを持つ要素が開いたときも色を維持 */
  .sub-menu > li.open:has(.sub-sub-menu) > a {
    color: #fff !important;
    background-color: var(--color-theme) !important;
  }

  /* sub-sub-menuを持つ要素のホバーを無効化 */
  .sub-menu > li:has(.sub-sub-menu) > a:hover {
    background-color: var(--color-theme) !important;
    color: #fff !important;
  }

  .sub-menu > li {
    border-bottom: solid 1px #fff;
  }
  .sub-menu > li:last-child {
    border-bottom: solid 1px #666;
  }

  /* 孫階層のサブメニュー（スマートフォン用） */
  .sub-sub-menu {
    position: static;
    background: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: auto;
    border-radius: 0;
    background-color: #e8e8e8;
    padding-left: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .sub-menu > li.open > .sub-sub-menu {
    max-height: 1000px;
    border-bottom: solid 1px var(--color-theme-second);
  }

  /* スマホ時にsub-sub-menuがある要素にsubmenu-toggleと同じギミックを追加 */
  .sub-menu > li:has(.sub-sub-menu) > a .submenu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    cursor: pointer;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10;
  }

  .sub-menu > li:has(.sub-sub-menu) > a .submenu-toggle::before,
  .sub-menu > li:has(.sub-sub-menu) > a .submenu-toggle::after {
    content: '';
    position: absolute;
    background-color: #fff;
    transition: transform 0.3s ease;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sub-menu > li:has(.sub-sub-menu) > a .submenu-toggle::before {
    width: 1.5px;
    height: 12px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .sub-menu > li:has(.sub-sub-menu) > a .submenu-toggle::after {
    width: 12px;
    height: 1.5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  /* 開いたときもsubmenu-toggleを表示 */
  .sub-menu > li.open:has(.sub-sub-menu) > a .submenu-toggle {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sub-menu > li.open:has(.sub-sub-menu) > a .submenu-toggle::before,
  .sub-menu > li.open:has(.sub-sub-menu) > a .submenu-toggle::after {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sub-menu > li.open:has(.sub-sub-menu) > a .submenu-toggle::before {
    transform: translateX(-50%) rotate(90deg);
  }

  .sub-sub-menu > li > a {
    font-size: 1.4rem;
    padding: 12px 15px;
    color: #fff !important;
    background-color: #000;
  }

  .sub-sub-menu > li {
    border-bottom: solid 1px #fff;
  }

  .sub-sub-menu > li:last-child {
    border-bottom: solid 1px #666;
  }
}

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

/*アクセシビリティ対策*/
.navbtn .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) {
  body {
    padding-top: 71px;
  }
  .h_tool_smp {
    background-color: var(--color-theme);
    padding: 15px;
    width: 71px;
    height: 71px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
  }
}

/* スマホグローバルナビ */
@media only screen and (max-width: 1024px) {
  .navbtn {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .g-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    display: grid;
    grid-template-rows: 1fr 330px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;
    z-index: 900;
    justify-content: center;
    justify-items: center;
  }

  .g-nav.show {
    opacity: 1;
    visibility: visible;
    overflow: auto;
  }

  .g-nav > ul:first-child {
    margin-top: 10vh;
    margin-bottom: 2.5rem;
  }
  .g-nav > ul {
    display: flex;
    flex-direction: column;
    width: 100vw;
    margin: 0;
    gap: initial;
  }

  .g-nav > ul > li {
    opacity: 0;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
    overflow: hidden;
  }

  .g-nav > ul > li > a {
    position: relative;
    display: block;
    padding: 15px 20px;
    color: #333;
    font-size: 1.6rem;
    border-bottom: 1px solid #666;
  }

  .g-nav.show > ul > li {
    opacity: 1;
    padding: 0;
  }

  .sub-menu {
    position: static;
    background: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: auto;
    border-radius: 0;
    background-color: #f8f8f8;
    padding-left: 20px;
    border-top: 0px solid #e0e0e0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .g-nav > ul > li.open > .sub-menu {
    max-height: 1000px;
  }

  .sub-menu > li > a {
    font-size: 1.4rem;
    padding: 15px 20px;
    color: #333;
  }

  /* Submenu Toggle */
  /* サブメニューがある項目に+マークを表示 */
  .g-nav > ul > li > a .submenu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
  }

  .g-nav > ul > li > a .submenu-toggle::before,
  .g-nav > ul > li > a .submenu-toggle::after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: transform 0.3s ease;
  }

  .g-nav > ul > li > a .submenu-toggle::before {
    width: 2px;
    height: 20px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .g-nav > ul > li > a .submenu-toggle::after {
    width: 20px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .g-nav > ul > li.open > a .submenu-toggle::before {
    transform: translateX(-50%) rotate(90deg);
  }
  .g-nav > ul > li > a .submenu-toggle {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    position: absolute;
    right: 0;
  }

  .g-nav > ul > li > a .submenu-toggle::before,
  .g-nav > ul > li > a .submenu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: #333;
    transition: transform 0.3s;
  }

  .g-nav > ul > li > a .submenu-toggle::before {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .g-nav > ul > li > a .submenu-toggle::after {
    transform: translate(-50%, -50%);
  }

  .g-nav > ul > li.open > a .submenu-toggle::before {
    transform: translate(-50%, -50%) rotate(0);
  }
}

/*パンくず*/
.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;
  /* min-height: 100vh; */
  overflow-x: hidden;
}

.right-nav {
  position: fixed;
  top: 100px;
  right: 0px;
  z-index: 10;
  /* 初期状態：非表示で少し右に配置 */
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition:
    opacity 0.4s var(--easing),
    transform 0.4s var(--easing);
}

.right-nav.fixed {
  /* 表示状態：所定の位置に移動 */
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.right-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* リンク間の余白 */
}

.right-nav .right-nav-mail,
.right-nav .right-nav-line {
  writing-mode: vertical-rl;
  min-width: 56px;
}

.right-nav .right-nav-mail {
  text-orientation: mixed;
  padding: 2rem 1rem;
  background-color: var(--color-blue);
  color: #fff;
  border-radius: 1rem 0 0 1rem;
  position: relative;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.5;
  transition: var(--transition);
}

.right-nav .right-nav-mail::before {
  content: '';
  display: inline-block;
  background-image: url(../common/images/mail_icon.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 25px;
  aspect-ratio: 30/30;
  margin-bottom: 0.5rem;
}

.right-nav .right-nav-line {
  padding: 2rem 1rem;
  background-color: var(--color-line);
  color: #fff;
  border-radius: 1rem 0 0 1rem;
  position: relative;
  font-size: 2rem;
  font-weight: 900;
  transition: var(--transition);
}
.right-nav .right-nav-line span {
  writing-mode: horizontal-tb;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
}
.right-nav .right-nav-line::before {
  content: '';
  display: inline-block;
  background-image: url(../common/images/line_icon_mark.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 30px;
  aspect-ratio: 44/44;
  margin-bottom: 0.5rem;
}

.right-nav .right-nav-mail:hover,
.right-nav .right-nav-line:hover {
  opacity: 0.5;
}

.foot-fixed-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 120px;
  z-index: 1;
  padding: 1rem;
  background-color: var(--color-accent);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  /* 初期状態：非表示で画面下に配置 */
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 0.4s var(--easing),
    transform 0.4s var(--easing);
}

@media only screen and (max-width: 599px) {
  .right-nav,
  .foot-fixed-nav {
    display: none;
  }
}

.foot-fixed-nav.fixed {
  /* 表示状態：スライドアップして表示 */
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.foot-nav-inner {
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(3, 1fr);
  width: 70vw;
  margin: 0 auto;
}

@media only screen and (max-width: 599px) {
  .menu-tel-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
    padding: 0;
    background-color: var(--color-theme);
    color: #fff;
  }

  .menu-tel-info .h-sns-list > li a {
    border-radius: 0;
  }

  .menu-tel-info-inner {
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: 1fr;
    width: 100vw;
    margin: 0 auto;
  }

  .menu-tel-info-inner {
    gap: 1rem;
    padding: 1rem;
  }
  .menu-tel-info-item {
    width: 100%;
    text-align: center;
  }

  .menu-tel-info-item > .contact-bt {
    padding: 1rem 2.5rem;
    margin: 1rem auto;
  }
}

.menu-tel-info-item > .tel_no {
  text-align: center;
  margin: 1rem 0;
}

.menu-tel-info-item > .tel_no > a {
  font-size: 3.6rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  line-height: 1;
  margin: 1.5rem 0;
}

.menu-tel-info-item > .tel_no > a::after {
  color: var(--color-theme);
}

.menu-tel-info-item > .tel_txt {
  text-align: center;
  transition: all 0.3s ease;
}

.menu-tel-info-item > .tel_txt {
  font-size: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
}

.menu-tel-info-item > .tel_txt {
  text-align: center;
}

.menu-tel-info-item > .tel_subtxt {
  font-size: 1.2rem;
  text-align: center;
}

.main-content {
  width: 1200px;
  margin: 0 auto;
  padding: 6rem 0;
  line-height: 1.5;
  font-size: 1.6rem;
  position: relative;
  z-index: 2;
}

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

.main-content h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
}

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

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

.main-content > ol > li {
  list-style-type: decimal;
  margin-bottom: 1.5rem;
}
.main-content p a {
  text-decoration: underline;
}

/* Main Content Responsive */
@media only screen and (min-width: 1025px) {
}

@media only screen and (max-width: 1024px) {
  .main-content {
    width: 100%;
    padding: 20px;
  }
}

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

/*MARK:mainimage*/

.mainimage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mainimage-inner {
  width: 100%;
  margin: 0 auto;
}

@media only screen and (max-width: 1024px) {
  .mainimage {
    height: 600px;
  }
}

@media only screen and (max-width: 1024px) and (max-height: 375px) {
  .mainimage {
    height: 720px;
  }

  .tab {
    display: inline-block !important;
  }
  .submenu-toggle {
    display: none;
  }
  .g-nav > ul:first-child {
    margin-top: 25vh;
    margin-bottom: 2.5rem;
  }
}

@media only screen and (max-width: 768px) {
  .mainimage {
    height: 760px;
  }
}

@media only screen and (max-width: 599px) {
  .mainimage {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    height: 360px;
  }
}

/* Footer */
#footer {
  width: 100%;
  margin: 0;
  background: var(--color-accent);
}

.footer-inner {
  font-size: 1.6rem;
  width: 90vw;
  max-width: 1350px;
  margin: 0 auto;
  padding: 4rem 0;
}

.f_logo_wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media only screen and (max-width: 1024px) {
  .f_logo_wrap {
    grid-template-columns: 1fr;
    padding: 2rem;
    justify-items: center;
  }
}

.f_logo {
  display: block;
  width: 100%;
  transition:
    var(--transition),
    transform 0.3s ease;
}

.f_logo img {
  display: block;
  transition: all 0.3s ease;
}

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

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

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

.f_nav ul::before {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

@media only screen and (max-width: 1024px) {
  .footer-inner {
    width: 100%;
    grid-template-columns: 1fr;
  }
}
.f_nav ul li {
  border-left: solid 1px #ccc;
  padding-left: 10px;
}

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

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

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

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

.address_txt {
  text-align: center;
  font-style: normal;
  font-size: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* ソーシャルメディアアイコン */
.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  list-style: none;
  padding: 0;
  margin: 4rem 0;
}

@media only screen and (max-width: 599px) {
  .social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 2rem;
    margin: 2rem 0;
  }
  .social li a {
    width: 36px;
    height: 36px;
    font-size: 3rem;
  }
}

.social li {
  list-style: none;
}

.social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 4rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social li a:hover {
  opacity: 0.7;
  transform: translateY(-3px);
}

.social li a i {
  display: inline-block;
}

.f_lang_sns_wrap {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
}

.lang-link {
  display: flex;
  gap: 10px;
  font-size: 2.4rem;
  margin: 2rem 0;
}

.lang-link li a {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-style: normal;
  color: #000;
}

.lang-link li a:hover {
  color: var(--color-accent);
}

.lang-link li:first-child::after {
  content: '|';
  margin-left: 10px;
}

.f_right_link ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.f_right_link ul li a {
  transition: var(--transition);
}
.f_right_link ul li a:hover {
  opacity: 0.6;
}

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

@media only screen and (max-width: 599px) {
  #footer {
    padding-bottom: 0;
  }
  .footer-inner {
    width: 100%;
    padding: 1rem;
  }
}

/*MARK:サブコンテンツ*/

#info {
  background-image: url(../images/info_bg.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10rem 0;
  position: relative;
}

#info .main-content {
  width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
  z-index: 1;
}

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

@media only screen and (max-width: 599px) {
  #info .main-content {
    width: 100%;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.info-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.info-grid-item.animate {
  opacity: 1;
  transform: translateX(0);
}

.info-grid-item:nth-child(1) {
  transition-delay: 0.1s;
}

.info-grid-item:nth-child(2) {
  transition-delay: 0.2s;
}

.info-grid-item:nth-child(3) {
  transition-delay: 0.3s;
}

.info-grid-item:nth-child(4) {
  transition-delay: 0.4s;
}

.info-grid-item-img,
.wet-areas-grid-item-img {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid #fff;
  overflow: hidden;
}

.wet-areas-grid-item-img {
  border: 1px solid #ffc807;
}

.info-grid-item:hover .info-grid-item-img img,
.wet-areas-grid-item:hover .wet-areas-grid-item-img img {
  border: 1px solid #ffc807;
  background: #ffc807;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  position: relative;
  z-index: 0;
}

.info-grid-item-img:after,
.wet-areas-grid-item-img:after {
  position: absolute;
  content: '';
  display: block;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
  border: 0px solid #cea000;
  border-radius: 400px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.info-grid-item:hover .info-grid-item-img:after,
.wet-areas-grid-item:hover .wet-areas-grid-item-img:after {
  border: 6px solid #ffd952;
  background-color: transparent;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.info-grid-item p {
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
}
.info-grid-item p a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.info-grid-item p a:hover {
  color: var(--color-theme);
}

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

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

.wet-areas-grid-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 3rem;
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.wet-areas-grid-item.animate {
  opacity: 1;
  transform: translateX(0);
}

.wet-areas-grid-item:nth-child(1) {
  transition-delay: 0.1s;
}

.wet-areas-grid-item:nth-child(2) {
  transition-delay: 0.2s;
}

.wet-areas-grid-item:nth-child(3) {
  transition-delay: 0.3s;
}

.wet-areas-grid-item:nth-child(4) {
  transition-delay: 0.4s;
}

.wet-areas-grid-item-txt h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.wet-areas-grid-item-txt p {
  font-size: 1.3rem;
  color: #9f9f9f;
}

#gallery .main-content {
  width: 100%;
  padding: 0;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.about-grid-item {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.about-grid-item.animate {
  opacity: 1;
  transform: translateX(0);
}

.about-grid-item:nth-child(1) {
  transition-delay: 0.1s;
}

.about-grid-item:nth-child(2) {
  transition-delay: 0.2s;
}

.about-grid-item:nth-child(3) {
  transition-delay: 0.3s;
}

.about-grid-item:nth-child(4) {
  transition-delay: 0.4s;
}

.about-grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: #f5f5f5;
  transition: height 0.5s ease;
  z-index: 0;
}

.about-grid-item:hover::before {
  height: 100%;
}

.about-grid-item > * {
  position: relative;
  z-index: 1;
}

.about-grid-item-icon {
  width: 131px;
  height: 131px;
  line-height: 96px !important;
  text-align: center;
  background-color: #fff;
  font-size: 50px;
  font-weight: normal;
  color: #ffffff;
  float: none;
  overflow: hidden;
  border-radius: 500px;
  margin: 0 auto 2rem;
  border: solid 2px var(--color-theme);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
  transition: all 0.7s ease;
  position: relative;
}

.about-grid-item-icon i {
  font-size: 50px;
  color: var(--color-theme);
  display: inline-block;
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
  transition: all 0.7s ease;
  position: relative;
  z-index: 3;
}

/* 画像の上半分 */
/* .about-grid-item-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: inherit;
  background-size: auto 60px;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 2;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: all 0.7s ease;
  overflow: hidden;
} */

/* 画像の下半分 */
/* .about-grid-item-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: inherit;
  background-size: auto 60px;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: all 0.7s ease;
  overflow: hidden;
} */

.about-grid-item:hover .about-grid-item-icon {
  background-color: var(--color-theme);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.about-grid-item:hover .about-grid-item-icon i {
  color: #fff;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.about-grid-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #000;
  font-family: 'Noto Sans JP', sans-serif;
}

.about-grid-item p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-family: 'Noto Sans JP', sans-serif;
}

.about-grid-item-btn {
  display: inline-block;
  background: #404040;
  color: #fff;
  padding: 1rem 3rem;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 5px;
}

.about-grid-item-btn::before {
  background: var(--color-theme);
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
  z-index: -1;
}

.about-grid-item-btn:hover {
  color: #fff;
}

.about-grid-item-btn:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

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

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

  .about-grid-item {
    padding: 2rem 1.5rem;
  }

  .about-grid-item-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .about-grid-item h3 {
    font-size: 1.8rem;
  }

  .about-grid-item p {
    font-size: 1.3rem;
  }
}

/* ギャラリーグリッド */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4rem;
  opacity: 1;
  transform: translateY(0);
}

.gallery-grid.animate {
  opacity: 1;
  transform: translateY(0);
}

.gallery-grid-item {
  position: relative;
  overflow: visible;
}

.gallery-grid-item-img {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin: 0;
  background: #f0f0f0;
}

.gallery-grid-item-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  aspect-ratio: 16/9;
}

.gallery-grid-item:hover .gallery-grid-item-img img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.gallery-grid-item:hover .gallery-overlay {
  pointer-events: auto;
}

.gallery-grid-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-left {
  width: 100%;
  background: #404040;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 3rem 2rem; */
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  pointer-events: auto;
}

.gallery-grid-item:hover .gallery-overlay-left {
  transform: translateY(0);
}

.gallery-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  color: #000;
  font-size: 2.5rem;
  text-decoration: none;
  position: relative;
  border: 1px solid #fff;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  pointer-events: auto;
}

.gallery-icon:hover {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.gallery-icon::after {
  position: absolute;
  content: '';
  display: block;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
  border: 0px solid #000;
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
  z-index: -1;
}

.gallery-icon:hover::after {
  border: 6px solid rgba(0, 0, 0, 0.8);
  background-color: transparent;
  transition: all 0.3s ease;
}

.gallery-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.gallery-brand:hover {
  opacity: 0.8;
}

.gallery-brand-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
}

.gallery-brand-subtitle {
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
}

.gallery-title {
  margin-top: 1.5rem;
  text-align: center;
}

.gallery-title a {
  font-size: 1.4rem;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.gallery-title a:hover {
  color: var(--color-theme);
}

@media only screen and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .gallery-overlay-left {
    padding: 2rem 1.5rem;
  }

  .gallery-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .gallery-brand-title {
    font-size: 2rem;
  }

  .gallery-brand-subtitle {
    font-size: 1.4rem;
  }
}

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

  .gallery-overlay-left {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .gallery-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }

  .gallery-brand-title {
    font-size: 1.8rem;
  }

  .gallery-brand-subtitle {
    font-size: 1.2rem;
  }
}

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

  .gallery-overlay-left {
    padding: 2rem 1rem;
  }
}

.mainimage-sub {
  margin-top: 180px;
  background-image: url(../images/info_bg.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
}

@media only screen and (max-width: 1024px) {
  .mainimage-sub {
    margin-top: 0;
  }
}

.mainimage-sub-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 6rem 0;
  line-height: 1.5;
  font-size: 1.6rem;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainimage-sub .page-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
}

@media only screen and (max-width: 1279px) {
  .mainimage-sub-inner {
    width: 100%;
    padding: 2rem;
  }

  .mainimage-sub .page-title {
    font-size: 2rem;
  }
}

#subpage {
  background-color: #fff;
}

#subpage .main-content h2 {
  text-align: left;
  font-size: 2.6rem;
}

#subpage .main-content h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

#subpage .main-content h4 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* サブページのコンテンツ要素のスライドインアニメーション */
/* パンくずリストは除外 */
#subpage .main-content > *:not(.breadcrumb-nav) {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

#subpage .main-content > *:not(.breadcrumb-nav).animate {
  opacity: 1;
  transform: translateX(0);
}

/* パンくずリストは常に表示 */
#subpage .main-content > .breadcrumb-nav {
  opacity: 1;
  transform: none;
}

/* 各要素に順番に遅延を設定 */
#subpage .main-content > *:nth-child(1) {
  transition-delay: 0.1s;
}

#subpage .main-content > *:nth-child(2) {
  transition-delay: 0.2s;
}

#subpage .main-content > *:nth-child(3) {
  transition-delay: 0.3s;
}

#subpage .main-content > *:nth-child(4) {
  transition-delay: 0.4s;
}

#subpage .main-content > *:nth-child(5) {
  transition-delay: 0.5s;
}

#subpage .main-content > *:nth-child(6) {
  transition-delay: 0.6s;
}

#subpage .main-content > *:nth-child(7) {
  transition-delay: 0.7s;
}

#subpage .main-content > *:nth-child(8) {
  transition-delay: 0.8s;
}

#subpage .main-content > *:nth-child(9) {
  transition-delay: 0.9s;
}

#subpage .main-content > *:nth-child(10) {
  transition-delay: 1s;
}

/* 10個目以降は同じ遅延 */
#subpage .main-content > *:nth-child(n + 11) {
  transition-delay: 1.1s;
}

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

.service-img {
  width: 180px;
  height: 180px;
  overflow: hidden;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-img:nth-of-type(even) {
  margin-left: auto;
}

.service-img:nth-of-type(odd) {
  margin-right: auto;
}

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

  .services .img-txt-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .services .img-txt-grid .img-box,
  .services .img-txt-grid .txt-box {
    width: 100%;
  }
  .service-img {
    width: 100%;
    height: auto;
    margin: 0;
    margin-bottom: 2rem;
  }

  .service-img-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .services .img-txt-grid .txt-box {
    width: 100%;
  }
}

.social-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 1rem 0;
}

.social-links-list li a {
  padding: 1rem;
  background-color: #ccc;
  color: #fff;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.social-links-list li a:hover {
  opacity: 0.7;
  transform: translateY(-3px);
}

.social-links-list li a.facebook_link {
  background-color: #5872a7;
}
.social-links-list li a.x_link {
  background-color: #000;
}
.social-links-list li a.instagram_link {
  background-color: #396f8f;
}
.social-links-list li a.youtube_link {
  background-color: #d04f4a;
}
.social-links-list li a.pinterest_link {
  background-color: #ce343a;
}

/* 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: #000;
  font-size: 1.6rem;
  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.6rem;
  border-bottom: 1px solid #ccc;
}

.form {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-left: 0px solid #e3e3e3;
  border-top: 0px 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: 14px;
  border-bottom: 1px solid #ccc;
  width: 35%;
}

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

.company-table {
  border-top: 1px solid #f5f5f5;
  border-bottom: 1px solid #f5f5f5;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.company-table div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2rem;
}

@media only screen and (max-width: 1024px) {
  .company-table div {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}

.company-table div:nth-child(even) {
  background-color: #f5f5f5;
}
.company-table div:nth-child(odd) {
  background-color: #fff;
}
.company-table div:last-child {
  border-bottom: 0;
}

@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: 5;
  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);
  }
}

@media only screen and (max-width: 599px) {
  #page-top {
    bottom: 57px;
  }
}

/*MARK:gmap*/
@media only screen and (max-width: 599px) {
  .gmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9の比率 */
    overflow: hidden;
  }

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

/*MARK:Margin Padding*/
.mt20 {
  margin-top: 2rem;
}
.mt30 {
  margin-top: 3rem;
}
.mt40 {
  margin-top: 4rem;
}
.mt60 {
  margin-top: 6rem;
}

.mt100 {
  margin-top: 10rem;
}

.mb20 {
  margin-bottom: 2rem;
}

.mb40 {
  margin-bottom: 4rem;
}

/* 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: 20px;
  margin: 2rem 0;
}

@media only screen and (max-width: 599px) {
  .link-list,
  .link_list_center {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
  }
}

.link_list_center {
  justify-content: center;
}
.link-list li::before,
.link_list_center li::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: 20px;
  margin: 1.5rem 0;
}

.bt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 1.5rem 0;
}

.bt-list-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 1.5rem 0;
}

.bt01,
.bt02,
.bt-item,
.insta_bt,
.form_bt {
  display: inline-block;
  transition:
    var(--transition),
    transform 0.3s ease;
  font-weight: bold;
  text-decoration: none !important;
}

.bt01 {
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 5px;
  font-size: 1.8rem;
  padding: 15px 30px;
  border-radius: 5px;
  position: relative;
  text-align: center;
  border-bottom: solid 4px var(--color-theme-dark);
}

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

.bt01::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f0da';
  font-weight: 900;
  padding-left: 1rem;
  color: var(--color-white);
  font-size: 1.4rem;
  text-decoration: none !important;
  vertical-align: middle;
  display: inline-block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.bt02 {
  background-color: var(--color-green);
  color: #fff;
  border-radius: 5px;
  font-size: 1.8rem;
  padding: 15px 30px;
  border-radius: 5px;
  position: relative;
  text-align: center;
  border-bottom: solid 4px var(--color-green-dark);
}

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

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

.bt02:hover::after {
  color: #fff;
}

.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;
}

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

@media screen and (min-width: 1025px) {
  .bt01 {
    min-width: 260px;
  }
}

@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%;
  }
}

@media only screen and (max-width: 599px) {
  .gmap {
    margin: 20px 0;
  }
}

.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;
}

.marker {
  background: linear-gradient(transparent 55%, #fff100 55%);
}

/* FAQ */
.faq_box div dt {
  cursor: pointer;
  padding: 3rem 5rem 3rem 7rem;
  background: #f5f5f5;
  border-radius: 5px;
  position: relative;
  margin-bottom: 0.5rem;
  transition: var(--transition);
  font-size: 2rem;
  font-family: 'Zen Maru Gothic', serif;
}

.faq_box div dt::after {
  content: '\2b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
}

.faq_box div dt.active::after {
  content: '\f068';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.faq_box div dd {
  max-height: 0;
  overflow: hidden;
  padding: 0 3rem 0 6rem; /* 横のパディングは維持、縦は0に */
  background: #fff;
  margin: 0; /* マージンを0に */
  opacity: 0;
  transition: all 0.3s ease-in-out;
  visibility: hidden; /* 完全に非表示に */
}

.faq_box div dt::before {
  content: 'Q';
  color: var(--color-theme);
  font-size: 3rem;
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 900;
  margin-right: 1rem;
  vertical-align: baseline;
  position: absolute;
  left: 3rem;
}

.faq_box div dd::before {
  content: 'A';
  color: var(--color-green);
  font-size: 3rem;
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 900;
  margin-right: 1rem;
  vertical-align: baseline;
  margin-left: -3rem;
}

.faq_box div dd.show {
  max-height: 500px;
  padding: 3rem 3rem 3rem 6rem; /* 開いた時は全方向にパディング */
  margin-bottom: 1.5rem;
  opacity: 1;
  visibility: visible; /* 表示状態に */
}

.faq_box div {
  margin-bottom: 1rem;
}

@media only screen and (max-width: 599px) {
  .faq_box div dt {
    cursor: pointer;
    padding: 1rem 5rem 1rem 5rem;
    background: #f5f5f5;
    border-radius: 5px;
    position: relative;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    font-size: 1.6rem;
    font-family: 'Zen Maru Gothic', serif;
  }
  .faq_box div dt::before {
    content: 'Q';
    color: var(--color-theme);
    font-size: 2.4rem;
    font-family: 'Zen Maru Gothic', serif;
    font-weight: 900;
    margin-right: 1rem;
    vertical-align: baseline;
    margin-left: -2rem;
    line-height: 1;
  }
  .faq_box div dt::after {
    content: '\2b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .faq_box div dd {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem 0 5rem; /* 横のパディングは維持、縦は0に */
    background: #fff;
    margin: 0; /* マージンを0に */
    opacity: 0;
    transition: all 0.3s ease-in-out;
    visibility: hidden; /* 完全に非表示に */
    font-size: 1.4rem;
  }
  .faq_box div dd::before {
    content: 'A';
    color: var(--color-green);
    font-size: 2.4rem;
    font-family: 'Zen Maru Gothic', serif;
    font-weight: 900;
    margin-right: 1rem;
    vertical-align: baseline;
    margin-left: -3.2rem;
  }

  .faq_box div dd.show {
    max-height: 500px;
    padding: 1.5rem 1.5rem 1.5rem 5rem; /* 開いた時は全方向にパディング */
    margin-bottom: 1.5rem;
    opacity: 1;
    visibility: visible; /* 表示状態に */
  }
}

/* 事例（jirei）投稿タイプのスタイル */
.jirei-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.jirei-content .entry-header {
  margin-bottom: 30px;
}

.jirei-content .entry-title {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: var(--color-accent);
}

.entry-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.category-tag {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 20px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.category-tag:hover {
  background-color: var(--color-theme-second);
}

/* 事例詳細（dl>div>dt+dd）のスタイル */
.works-details {
  margin: 40px 0;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.works-details dl {
  margin: 0;
}

.works-details .detail-item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.works-details .detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.works-details dt {
  width: 150px;
  font-weight: bold;
  color: var(--color-accent);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.works-details dd {
  flex: 1;
  margin: 0;
  font-size: 1.6rem;
  min-width: 0;
}

@media only screen and (max-width: 599px) {
  .jirei-content {
    padding: 0;
  }

  .jirei-content .entry-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .entry-categories {
    gap: 8px;
    margin: 15px 0;
  }

  .category-tag {
    padding: 4px 12px;
    font-size: 1rem;
  }

  .works-details {
    margin: 20px 0;
    padding: 15px;
  }

  .works-details .detail-item {
    flex-direction: column;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .works-details dt {
    width: 100%;
    margin-bottom: 5px;
    font-size: 1.4rem;
  }

  .works-details dd {
    width: 100%;
    font-size: 1.4rem;
  }

  .works-comment {
    margin: 20px 0;
    padding: 15px;
  }

  .works-comment-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .works-comment-content {
    font-size: 1.4rem;
    line-height: 1.6;
  }
}

/* おすすめポイント */
.works-comment {
  margin: 40px 0;
  padding: 30px;
  background-color: #fff;
  border-left: 4px solid var(--color-theme);
}

.works-comment-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.works-comment-content {
  font-size: 1.6rem;
  line-height: 1.8;
}

.works-comment-content p {
  margin-bottom: 15px;
}

.works-comment-content p:last-child {
  margin-bottom: 0;
}

/* アーカイブページのスタイル */
.jirei-archive-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

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

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

.jirei-archive-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  background-color: #fff;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.jirei-archive-item:hover {
  transform: translateY(-10px);
}

.jirei-thumbnail {
  flex-shrink: 0;
}

.jirei-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.jirei-content-wrapper {
  flex: 1;
  min-width: 0;
}

.jirei-content-wrapper .entry-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.jirei-content-wrapper .entry-title a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.jirei-content-wrapper .entry-title a:hover {
  color: var(--color-theme);
}

.entry-summary {
  margin: 15px 0;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #666;
}

.entry-footer {
  margin-top: 20px;
}

.read-more {
  display: inline-block;
  padding: 10px 30px;
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.4rem;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: var(--color-theme-second);
}

@media only screen and (max-width: 768px) {
  .jirei-archive-item {
    flex-direction: column;
    gap: 20px;
  }

  .jirei-thumbnail {
    width: 100%;
  }

  .jirei-content {
    padding: 20px 15px;
  }

  .jirei-content .entry-title {
    font-size: 2rem;
  }
}

/* カテゴリフィルターのスタイル */
.category-filter {
  margin: 20px 0 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.filter-label {
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list li {
  margin: 0;
  padding: 0;
}

.category-link {
  display: inline-block;
  padding: 8px 20px;
  background-color: #fff;
  color: var(--color-accent);
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.category-link:hover {
  background-color: var(--color-theme);
  color: #fff;
  border-color: var(--color-theme);
}

.category-link.active {
  background-color: var(--color-theme);
  color: #fff;
  border-color: var(--color-theme);
}

.category-count {
  margin-left: 5px;
  font-size: 1.2rem;
  opacity: 0.8;
}

.archive-description {
  margin: 20px 0;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  font-size: 1.6rem;
  line-height: 1.8;
}

@media only screen and (max-width: 768px) {
  .category-filter {
    padding: 15px;
  }

  .filter-label {
    font-size: 1.4rem;
  }

  .category-link {
    padding: 6px 15px;
    font-size: 1.3rem;
  }

  .archive-description {
    padding: 15px;
    font-size: 1.4rem;
  }
}

/* お客様の声（voice）投稿タイプのスタイル */
.voice-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.voice-content .entry-title {
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: var(--color-accent);
}

.voice-image {
  margin: 30px 0;
  text-align: center;
  width: 160px;
}

@media only screen and (max-width: 768px) {
  .voice-image {
    margin: 10px auto;
    text-align: center;
    width: 120px;
  }
}

.voice-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.voice-section-title {
  font-size: 2rem;
  margin: 40px 0 20px;
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-theme);
  padding-bottom: 10px;
}

.voice-text-content {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.voice-text-content p {
  margin-bottom: 15px;
}

.voice-text-content p:last-child {
  margin-bottom: 0;
}

.voice-main-text,
.voice-reason,
.voice-staff-comment {
  margin: 30px 0;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.voice-staff-comment {
  background-color: #fff;
  border-left: 4px solid var(--color-theme);
}

/* お客様の声アーカイブページのスタイル */
.voice-archive-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.voice-archive-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.voice-thumbnail {
  flex-shrink: 0;
  width: 160px;
}

.voice-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.voice-content-wrapper {
  flex: 1;
  min-width: 0;
}

.voice-content-wrapper .entry-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.voice-content-wrapper .entry-title a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.voice-content-wrapper .entry-title a:hover {
  color: var(--color-theme);
}

.voice-content-wrapper .entry-summary {
  margin: 15px 0;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #666;
}

@media only screen and (max-width: 768px) {
  .voice-archive-item {
    flex-direction: column;
    gap: 20px;
  }

  .voice-thumbnail {
    width: 100%;
  }

  .voice-content {
    padding: 20px 15px;
  }

  .voice-content .entry-title {
    font-size: 2rem;
  }

  .voice-section-title {
    font-size: 1.8rem;
  }

  .voice-main-text,
  .voice-reason,
  .voice-staff-comment {
    padding: 20px;
  }
}

.portfolio-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media only screen and (max-width: 768px) {
  .portfolio-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.portfolio-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.portfolio-content p {
  margin-bottom: 20px;
}

.type-portfolio {
  margin: 4rem 0;
}

.post-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.post-content .post-title,
.post-content .page-title {
  font-size: 3.6rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  text-align: left;
  margin-bottom: 2rem;
}

@media not all and (min-width: 767px) {
  .post-wrap {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.sidebar-wrap {
  position: relative;
  align-self: start;
}

.sidebar-wrap aside {
  position: sticky;
  top: 85px;
}
.sidebar-wrap h2.widget-title {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  margin: 30px 0;
  position: relative;
  color: var(--color-theme-second);
  text-align: left;
}
.sidebar-wrap h2.widget-title::after {
  display: inline-block;
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 58px;
  border-bottom: dotted 2px #000;
  content: '';
}

.widget ul,
.widget ol {
  background-color: #f5f5f5;
  padding: 20px !important;
  border-radius: 10px;
  font-size: 1.4rem;
  margin-left: 0;
}

.widget li {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}
.widget li:last-child {
  margin-bottom: 0;
}
.widget li a {
  color: #000;
  position: relative;
  padding: 0 5px 5px 5px;
}

.widget li a::after {
  border-bottom: solid 1px #000;
  padding-bottom: 0px;
  left: 0;
  content: '';
  display: block;
  position: absolute;
  transition: all 0.3s ease;
  width: 0;
}

.widget li a:hover::after {
  width: 100%;
}
.widget li::marker {
  color: #ccc;
}

.cat_list {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}
.post-archive__item .cat_list {
  margin: 0 0 10px;
}
.post-archive__thumbnail-link {
  display: block;
  margin-bottom: 15px;
}
.post-archive__title a {
  color: inherit;
  text-decoration: none;
}
.post-archive__title a:hover {
  text-decoration: underline;
}

.cat_list > li {
  margin-right: 10px;
}

.cat_list > li > a {
  background-color: #ccc;
  display: inline-block;
  font-size: 1.2rem;
  color: #000;
  min-width: 60px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 3px 10px;
  line-height: 1.5;
}
.cat_list > li:hover {
  opacity: 0.6;
}
.cat_list > li.cat01 > a,
.cat_list > li.cat-what-s-news > a,
.cat_list > li.cat-news > a {
  background-color: #b30022;
  color: #fff;
}
.cat_list > li.cat02 > a,
.cat_list > li.cat-waterproofing > a {
  background-color: #5ec618;
  color: #fff;
}
.cat_list > li.cat03 > a,
.cat_list > li.cat-living-in-bay-area > a {
  background-color: #11739d;
  color: #fff;
}

.news_txt .cat {
  margin: 0 10px;
}

.post_eyecatch_img,
.post_content {
  margin: 40px 0;
}

.post_eyecatch_img img {
  margin: 0 auto;
}

.post-archive__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.post-archive__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.post-archive__item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

@media only screen and (max-width: 768px) {
  .post-archive__item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.post-archive__body h3 {
  margin-top: 0 !important;
  margin-bottom: 1rem;
}

/*pagenavi*/
.wp-pagenavi {
  clear: both;
  text-align: center;
  font-size: 14px;
  padding: 25px 0;
}
.wp-pagenavi a,
.wp-pagenavi span {
  color: #fff;
  background-color: var(--color-theme-second);
  border: 1px solid var(--color-theme-second);
  padding: 5px 15px;
  margin: 0 2px;
  white-space: nowrap;
  border-radius: 3px;
  transition: 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wp-pagenavi a:hover {
  background-color: #fff;
  color: var(--color-theme-second);
  border-color: var(--color-theme-second);
}
.wp-pagenavi span.current {
  color: var(--color-theme-second);
  background-color: #fff;
  border-color: var(--color-theme-second);
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .wp-pagenavi a,
  .wp-pagenavi span {
    color: #fff;
    background-color: var(--color-theme-second);
    border: 1px solid var(--color-theme-second);
    padding: 1% 3%;
    margin: 2% 2px;
    white-space: nowrap;
    border-radius: 3px;
    transition: 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
    display: inline-block;
  }
}

.page-numbers {
  clear: both;
  text-align: center;
}
.page-numbers li {
  display: inline-block;
}
.page-numbers a,
.page-numbers span {
  color: #fff;
  background-color: var(--color-theme-second);
  border: 1px solid var(--color-theme-second);
  padding: 8px 15px;
  margin: 0 2px;
  white-space: nowrap;
  border-radius: 3px;
  transition: 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
}
.page-numbers a:hover {
  background-color: #fff;
  color: var(--color-theme-second);
  border-color: var(--color-theme-second);
}
.page-numbers span.current {
  color: var(--color-theme-second);
  background-color: #fff;
  border-color: var(--color-theme-second);
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .page-numbers a,
  .page-numbers span {
    color: #fff;
    background-color: var(--color-theme-second);
    border: 1px solid var(--color-theme-second);
    padding: 5px 13px;
    margin: 2% 2px;
    white-space: nowrap;
    border-radius: 3px;
    transition: 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
    display: inline-block;
  }
}

/* Error 404 */
.error404 .widget_recent_entries li,
.error404 .widget_categories li {
  list-style-type: disc;
  margin-bottom: 15px;
  /* margin-left: 35px; */
  display: inline-flex;
  background-color: #f5f5f5;
  padding: 10px 20px;
  list-style-position: inside;
  border-radius: 10px;
  position: relative;
  /* align-content: center; */
  align-items: center;
}

.error404 .widget_recent_entries li::before,
.error404 .widget_categories li::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #666;
  border-radius: 50%;
  display: inline-flex;
  margin-right: 10px;
}
.error404 .widget_recent_entries li a,
.error404 .widget_categories li a {
  color: #333;
}
.error404 .widget_recent_entries li a:hover,
.error404 .widget_categories li a:hover {
  opacity: 0.5;
}

.nav-links {
  display: initial;
}
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: solid 4px var(--color-theme-dark);
}

@media only screen and (max-width: 768px) {
  .post-navigation .nav-links {
    gap: 20px;
  }
}
