@charset "utf-8";
/* Google Fontsの正しいインポート */
@import url('https://fonts.googleapis.com/css2?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&family=Shippori+Mincho&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: #0443a2;
  --color-theme-light: #eff3f5;
  --color-theme-second: #4579b7;
  --color-sky: #dcf4ff;
  --color-theme-dark: #0070a3;
  --color-theme-dark-light: #6eaecb;
  --color-accent: #fec601;
  --color-red: #cc0000;
  --color-blue: #3296e6;
  --color-green: #5ec618;
  --color-green-dark: #4aa012;
  --color-green-light: #b6e597;
  --color-orange: #f5a300;
  --color-yellow: #fec601;
  --color-cream: #ffef8f;
  --color-cream-light: #ffffee;
  --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.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.5;
  font-size: 62.5%;
  color: #333;
  background-color: var(--color-theme-light);
  /* 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;
  }
}

/* タブレット以下のみ表示 */
/* @media only screen and (max-width: 375px) {
  .tab {
    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 {
  display: flex;
  gap: 2rem;
}

@media only screen and (max-width: 1024px) {
  .radio-group {
    display: flex;
    gap: 1rem;
  }
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* フォーカス時のスタイル */
.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;
}

/* チェックボックスグループのスタイル */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkbox-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem 1rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* フォーカス時のスタイル */
.checkbox-item input:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ホバー時のスタイル */
.checkbox-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Utility Classes */
.txt-center {
  text-align: center;
}
.center_img img {
  margin-inline: auto;
}
.bold {
  font-weight: 900;
}

/* Colors */
.red {
  color: var(--color-red);
}
.blue {
  color: var(--color-theme);
}
.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;
}

.txt24 {
  font-size: 2.4rem;
}

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

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

@media only screen and (max-width: 599px) {
  .site-header {
    width: 100%;
    height: 60px;
  }
  .site-header.scroll-mobile {
    background-color: #fff;
  }
}

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

/* Header Responsive */

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

@media only screen and (max-width: 1024px) {
  .header-inner {
    width: 100%;
    position: relative;
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr 60px;
  }
}

.h-txt-tel-wrap {
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  /* align-items: center; */
  gap: 1rem;
}

.h-txt {
  font-size: 1.4rem;
  color: #000;
  font-weight: 400;
}

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

.tel_wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.tel_txt {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tel-dial {
  font-size: 3rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-theme);
  font-weight: 600;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.tel-dial::before {
  content: '';
  display: inline-block;
  width: 37px;
  aspect-ratio: 37/30;
  background-image: url('../common/images/tel_icon.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 10px;
}

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

.h_logo-nav-box {
  display: grid;
  grid-template-columns: 432px 1fr;
  gap: 40px;
  align-items: center;
}

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

@media only screen and (max-width: 1024px) {
  .h_logo-nav-box {
    grid-template-columns: 1fr;
    gap: initial;
  }
  .h-logo {
    width: 400px;
  }

  .h-txt-tel-wrap .tel_wrap {
    display: none;
  }
}

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

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

/* 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;
  justify-content: flex-end;
  gap: 4rem;
  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.8rem);
  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-dark);
}

@media only screen and (max-width: 599px) {
  .g-nav > ul > li > a {
    padding: 1rem;
  }
}

/* スマートフォン用のサブメニュースタイル */
@media only screen and (max-width: 1024px) {
  .menu-tel-info {
    background-color: var(--color-theme);
    padding: 15px;
    color: #fff;
    width: 100%;
    border-bottom: 1px solid #666;
  }

  .menu-tel-info .tel_logo {
    margin-bottom: 1.5rem;
  }

  .menu-tel-info .tel_wrap {
    margin-top: 3rem;
  }

  .menu-tel-info .tel-dial {
    color: #fff;
  }

  .menu-tel-info .tel-dial::before {
    background-image: url(../common/images/tel_icon_w.png);
  }

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

/* スマホナビボタン */
.navbtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 9999;
  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) {
  .h_tool,
  .navbtn {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
  .h_tool {
    background-color: var(--color-theme);
    padding: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 999;
  }
}

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

  .g-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    display: grid;
    grid-template-rows: 1fr 220px;
    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;
    justify-content: center;
    width: 100vw;
    margin: 0;
    gap: initial;
    padding: 3rem;
  }

  .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: 25px 10px;
    color: #333;
    font-size: 1.6rem;
    border-bottom: 1px solid #000;
    min-width: 180px;
    text-align: center;
  }

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

/*パンくず*/
.breadcrumb-nav {
  padding: 1.5rem 0;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
}

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

/* @media only screen and (max-width: 599px) {
  main {
    padding-top: 20px;
  }
} */

section {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.main-content {
  width: 80vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  line-height: 1.5;
  font-size: 1.6rem;
}

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

/*MARK:mainimage*/

.mainimage {
  position: relative;
  margin-bottom: 3rem;
}
.mainimage-inner {
  width: 100%;
  margin: 0 auto;
}
#infiniteslide {
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.mainimage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
}

.mainimage .mainimage-title {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  padding: 3rem 0;
  width: 450px;
  height: 640px;
  background-color: var(--color-theme-light);
  position: absolute;
  top: 30px;
  right: 15vw;
  z-index: 10;
}

.mainimage .mainimage-title h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2.4rem;
  line-height: 1.5;
  color: var(--color-theme);
  writing-mode: vertical-rl;
}

.mainimage .mainimage-title h2:not(:last-child) {
  margin-left: 3rem;
}

.mainimage-subtitle {
  display: inline-block;
  font-size: 1.6rem;
  background-color: var(--color-sky);
  padding: 1rem 2rem;
  border-radius: 5px;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.mainimage-subtitle > span {
  font-size: 1.2rem;
}

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

@media only screen and (max-width: 768px) {
  .mainimage {
    margin-top: 85px;
  }
  .mainimage-inner {
    width: 100%;
  }
  #infiniteslide {
    padding: 0;
  }
  .mainimage .mainimage-title {
    width: 400px;
    height: 650px;
    background-color: var(--color-theme-light);
    position: absolute;
    top: -10px;
    right: 5vw;
    z-index: 10;
  }

  .mainimage .mainimage-subtitle {
    display: inline-block;
    font-size: 1.6rem;
    background-color: var(--color-theme-light);
    padding: 1rem 2rem;
    border-radius: 5px;
    position: static;
    bottom: initial;
    left: initial;
    transform: initial;
  }
}

@media only screen and (max-width: 599px) {
  .mainimage .mainimage-inner {
    width: 100vw;
    max-width: 100%;
    height: initial;
    margin: 0 auto;
    padding: 0;
    background-image: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
  .mainimage .mainimage-item img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
  }
  .mainimage .mainimage-title {
    width: 220px;
    height: 400px;
  }
  .mainimage .mainimage-title h2:not(:last-child) {
    margin-left: 1.5rem;
  }
  .mainimage .mainimage-title h2 {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 1024px) and (max-height: 480px) {
  .tab {
    display: inline-block !important;
  }
  #infiniteslide {
    padding: 2rem;
    gap: 2rem;
  }

  .infiniteslide_wrap {
    max-height: 100%;
  }
  .mainimage-title {
    top: 0;
    height: 100%;
    width: 300px;
  }
  .mainimage-title h2:not(:last-child) {
    margin-left: 2rem;
  }
  .mainimage-title h2 {
    font-size: 1.8rem;
  }
  .mainimage-item {
    height: 380px;
  }

  .h_logo-nav-box {
    display: block;
  }
  .g-nav.show {
    display: block;
  }

  .g-nav {
    max-width: 50%;
    right: 0;
    left: initial;
  }
  .g-nav.show > ul > li {
    width: 80%;
  }
  .g-nav > ul {
    width: 80%;
    align-items: center;
  }
  .g-nav > ul > li > a {
    display: block;
    padding: 10px;
    min-width: initial;
    text-align: center;
  }
  .g-nav > ul:first-child {
    margin-top: 20vh;
    margin-bottom: 2.5rem;
  }
}

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

.footer-inner {
  font-size: 1.6rem;
  width: 1200px;
  margin: 0 auto;
  padding: 4rem 0 0 0;
}

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

.f_logo-tel_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

@media only screen and (max-width: 599px) {
  .f_logo-tel_wrap {
    justify-content: center;
    gap: 2rem;
  }
}

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

.footer-inner nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

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

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

.footer-inner nav ul li a:hover {
  color: var(--color-theme-dark-light);
}

/*.footer-inner nav ul li a:hover::after {
  width: 100%;
} */

.footer-inner .tel-dial,
.footer-inner .tel-txt {
  color: #fff;
}
.footer-inner .tel-dial::before {
  background-image: url('../common/images/tel_icon_w.png');
}

.address_txt {
  padding: 5px;
  min-height: 42px;
  font-style: normal;
  font-size: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--color-theme);
  color: #fff;
}

@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: 1rem;
  }
}

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

#business {
  background-color: var(--color-theme);
  color: #fff;
}
#business .main-content {
  position: relative;
  padding: 6rem 0;
}

#business .main-content::before {
  content: '';
  position: absolute;
  top: -40px;
  right: 0;
  width: 180px;
  aspect-ratio: 194 / 274;
  background-image: url(../common/images/nintei_img.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* .main-content h2,
.main-content h3 {
  margin-bottom: 4rem;
} */

/* @media only screen and (max-width: 1024px) {
  .main-content h3 {
    padding: 1rem;
  }
} */

.section-title {
  margin-bottom: 4rem;
}

.section-title .ja,
.section-title .en {
  display: block;
  font-family: 'Shippori Mincho', serif;
  font-style: normal;
}

.section-title .ja {
  font-size: 4rem;
  font-weight: 500;
  padding-bottom: 0.5rem;
}

.section-title .en {
  font-size: 3rem;
  color: var(--color-theme);
  font-weight: 600;
  margin-top: 2rem;
}

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

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

.business_img a {
  position: relative;
}

.business_img a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.business_img a .business_title {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  z-index: 1;
  color: #fff;
  text-decoration: none;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
  display: block;
  width: 100%;
  padding: 1rem;
}

.business_img a .business_title::after {
  font-family: 'Font Awesome 6 Free';
  content: '\f138';
  font-weight: 900;
  padding-left: 1rem;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  display: block;
  transition:
    var(--transition),
    transform 0.3s ease;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.business_img a:hover .business_title::after {
  transform: translateY(-50%) translateX(5px);
}

.business_txt {
  padding: 1rem 0;
}

.business_txt p {
  font-size: 1.4rem;
  line-height: 1.5;
}

@media only screen and (max-width: 1024px) {
  #business .main-content {
    padding: 3rem;
  }
  .business_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .business_txt {
    padding: 1rem;
  }
  .business_img a .business_title {
    font-size: 1.8rem;
    font-weight: bold;
  }

  #business .main-content::before {
    display: none;
  }
}

@media only screen and (max-width: 599px) {
  .business_list {
    grid-template-columns: 1fr;
  }
  .business_txt {
    padding: 1rem;
  }
  .business_img a .business_title {
    font-size: 1.8rem;
    font-weight: bold;
  }

  #business .main-content::before {
    display: none;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
}

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

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

.news_list {
  margin-bottom: 3rem;
  border-top: solid 1px var(--color-theme);
}

.news_list .news_item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  border-bottom: solid 1px var(--color-theme);
  padding: 1.5rem 0;
  position: relative;
}

.news_list .news_item dt {
  width: 130px;
}

@media only screen and (max-width: 1024px) {
  .news_list {
    border-top: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .news_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media only screen and (max-width: 1024px) {
  .news_list .news_item {
    grid-template-columns: 1fr;
  }
  .news_list .news_item::after {
    display: none;
  }
  .news_list .news_item dt {
    width: 100%;
  }
}

.news_list .news_item dt a {
  display: block;
  overflow: hidden;
}

.news_list .news_item dt time {
  color: var(--color-theme);
  font-family: Montserrat;
  font-weight: 500;
}

.news_list .news_item dd p {
  margin: 1.5rem 0;
}

.news_list .news_item dd a p {
  font-size: 1.2rem;
  color: #000;
  margin-bottom: 1rem;
}

#clinic {
  background-color: #fff;
}

#clinic .main-content {
  padding: 8rem 0;
}

.txt_img_grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 500px;
  gap: 2rem;
}

.txt_img_grid .txt_box {
  padding: 1rem;
}

.txt_title {
  font-size: 2.4rem;
  color: var(--color-theme);
  margin-bottom: 1rem;
}

.txt_img_grid .img_box {
  padding: 1rem;
}

.txt_img_grid .img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 5px 5px 0px var(--color-theme);
}

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

  .txt_img_grid .img_box {
    padding: 1rem;
    max-width: 500px;
    margin: 0 auto;
  }
}
#maina {
  background-color: #fff;
}

#maina .main-content {
  padding: 8rem 0;
}
.medical_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.maina-grid {
  display: grid;
  grid-template-columns: 200px 740px;
  gap: 2rem;
  justify-content: center;
}

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

.maina-grid .maina-img img {
  margin: 0 auto;
}

.maina-grid .maina-txt {
  width: 100%;
  height: 100%;
  display: flex;
  object-fit: cover;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}

.maina-grid .maina-txt h2 {
  font-size: 3rem;
  color: var(--color-theme);
  margin-bottom: 1rem;
}

.maina-grid .maina-txt p {
  line-height: 1.5;
}

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

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

/* .subpage #medical {
  background-color: #fff;
} */

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

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

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

#contact {
  background-image: url(../common/images/contact_bg.jpg);
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

@media only screen and (max-width: 1024px) {
  #contact {
    background-image: url(../common/images/contact_bg_smp.jpg);
  }
}

#contact .main-content {
  max-width: 900px;
  height: 500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

@media only screen and (max-width: 768px) {
  #contact .main-content {
    max-width: 100%;
    height: auto;
  }
}

#contact h3 {
  color: var(--color-theme);
  font-size: 4.4rem;
  text-align: center;
  margin-bottom: 2rem;
  -webkit-text-stroke: 8px white; /* 白い縁取り（太さ4px） */
  paint-order: stroke fill; /* アウトラインを先に描画 */
}

#contact h4 {
  color: var(--color-theme);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
  -webkit-text-stroke: 6px white; /* 白い縁取り（太さ4px） */
  paint-order: stroke fill; /* アウトラインを先に描画 */
}

#contact .tel_txt {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  margin: 2.5rem 0;
}
.contact_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  min-width: 900px;
  margin: 3rem auto;
}

@media only screen and (max-width: 1024px) {
  #contact {
    min-height: 350px;
  }
  .contact_box {
    min-width: 100%;
  }
}

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

.contact_box a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.contact_box p {
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 600;
}
.contact_box h4 {
  font-size: 4rem;
  color: #fff;
  line-height: 1;
}

.contact_mail,
.contact_tel {
  position: relative;
  padding: 35px;
  transition:
    var(--transition),
    transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact_mail:hover,
.contact_tel:hover {
  transform: translateY(-5px);
}

.contact_mail {
  background-color: var(--color-theme);
  color: #fff;
}

.contact_tel {
  background-color: #fff;
}

.contact_mail a,
.contact_tel a {
  font-size: 2.4rem;
  position: relative;
}

@media only screen and (max-width: 1024px) {
  .contact_mail,
  .contact_tel {
    padding: 20px;
  }
  .contact_mail a,
  .contact_tel a {
    font-size: 2rem;
  }
}

.contact_mail a {
  color: #fff;
}
.contact_tel a {
  color: #000;
  font-size: 3.6rem;
  font-weight: 600;
}

.contact_mail span,
.contact_tel span {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  line-height: 1;
}
.contact_mail span {
  color: #fff;
}
.contact_tel span {
  color: #000;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-style: normal;
}
.contact_mail span::before {
  content: '';
  width: 40px;
  height: 32px;
  display: inline-block;
  background-image: url('../common/images/mail_icon_w.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-right: 10px;
}

.contact_tel span::before {
  content: '';
  width: 35px;
  aspect-ratio: 35/35;
  display: inline-block;
  background-image: url('../common/images/tel_icon.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-right: 10px;
}

@media only screen and (max-width: 1024px) {
  #contact h3 {
    font-size: 2.6rem;
  }
  #contact h4 {
    font-size: 1.8rem;
  }
}

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

  .tel_txt a::before {
    width: 40px;
  }

  #contact .tel_txt span {
    font-size: 1.4rem;
  }
}

#subpage {
  background-color: #fff;
}

#subpage > .main-content {
  padding-top: 0;
}

.page-title-box {
  min-height: 300px;
  border-radius: 10px;
  padding: 4rem;
  margin-bottom: 4rem;
  font-size: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), url('../common/images/subpage-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* -webkit-text-stroke: 8px white;
  paint-order: stroke fill; */
  text-shadow:
    1px 1px 5px rgba(255, 255, 255, 1),
    1px 1px 5px rgba(255, 255, 255, 1),
    1px 1px 5px rgba(255, 255, 255, 1),
    1px 1px 5px rgba(255, 255, 255, 1);
}

.page-title-box span {
  display: block;
  line-height: 1;
}

.page-title-box span.ja {
  font-family: 'Shippori Mincho', serif;
  font-size: 4rem;
  font-weight: 500;
  padding-bottom: 0.5rem;
}

.page-title-box span.en {
  font-size: 3rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-theme);
  font-weight: 600;
  margin-top: 2rem;
}

@media only screen and (max-width: 599px) {
  .page-title-box {
    min-height: 240px;
    padding: 2rem;
    margin-bottom: 2rem;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)), url('../common/images/subpage-bg.jpg');
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }
  .page-title-box span.ja {
    font-size: 3rem;
  }
  .page-title-box span.en {
    font-size: 2rem;
    margin-top: 1rem;
  }
}

.sub-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0 !important;
  color: var(--color-theme);
  position: relative;
  padding: 0 0 0 2rem;
}

.sub-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 5px;
  background: var(--color-theme);
}

.sub-title:not(:first-child) {
  margin-top: 6rem !important;
}

.mini-title {
  background-color: var(--color-theme);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1rem 0;
  color: #fff;
  position: relative;
  padding: 1rem;
  display: inline-block;
}

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

.txt-img-grid .txt-box {
  padding: 1rem 0;
}

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

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

.doctor-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px dotted var(--color-theme);
}

.doctor-list dt {
  font-size: 1.6rem;
  font-weight: 600;
}

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

.shinryo-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 0 auto 2rem auto;
  padding: 0;
  border: 1px solid var(--color-theme);
  border-radius: 10px;
  overflow: hidden;
}

.shinryo-table th {
  text-align: center;
  vertical-align: middle;
  padding: 13px 15px;
  color: #fff;
  font-size: 14px;
  background-color: var(--color-theme-second);
}

.shinryo-table td {
  text-align: center;
  padding: 13px 15px;
  color: #000;
  font-size: 14px;
  background-color: #fff;
}

.shinryo-table thead th,
.shinryo-table thead td {
  border-bottom: solid 1px var(--color-theme);
  background-color: var(--color-theme-second);
  color: #fff;
}
@media only screen and (min-width: 1025px) {
  .shinryo-table thead td {
    min-width: 70px;
  }
}
.shinryo-table tbody td .fa-check {
  color: var(--color-accent);
  font-size: 3.2rem;
}

/* セル間のみ1pxの内部線 */
.shinryo-table th:not(:last-child),
.shinryo-table td:not(:last-child) {
  border-right: 1px solid var(--color-theme);
}
.shinryo-table tr:not(:last-child) th,
.shinryo-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--color-theme);
}

.shinryo-table thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

.shinryo-table thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

.shinryo-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.shinryo-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

/* Table Responsive */
@media only screen and (max-width: 599px) {
  .shinryo-table th {
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    font-size: 14px;
    background-color: var(--color-theme-second);
  }

  .shinryo-table td {
    text-align: center;
    padding: 10px;
    color: #000;
    font-size: 14px;
    background-color: #fff;
  }
  .shinryo-table tbody td .fa-check {
    font-size: 2rem;
  }
}

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

@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 (min-width: 769px) {
  .subpage .gmap {
    border: solid 6px var(--color-theme);
    border-radius: 1rem;
    margin: 6rem 0;
  }

  .subpage .gmap iframe {
    border-radius: 0.8rem;
  }
}
@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*/
.mt30 {
  margin-top: 3rem;
}
.mt40 {
  margin-top: 4rem;
}
.mt60 {
  margin-top: 6rem;
}

/* Button Style */

.arrow_list {
  padding-left: 3rem;
}
.arrow_list li {
  padding: 1rem;
  font-size: 1.6rem;
  position: relative;
}

.arrow_list li span {
  font-weight: bold;
}

.arrow_list li::before {
  font-family: 'Font Awesome 6 Free';
  content: '\f138';
  font-weight: 900;
  margin-right: 10px;
  color: var(--color-theme);
  margin-left: -3rem;
}

.link_list,
.link_list_center {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 3rem 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.8rem;
  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%;
}

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

.bt01,
.bt02,
.form_bt {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition:
    var(--transition),
    transform 0.3s ease;
  font-weight: bold;
  height: 100%;
  text-decoration: none !important;
}

.bt01 {
  background-color: var(--color-theme);
  color: #fff;
  border-radius: 50px;
  font-size: 1.8rem;
  padding: 10px 30px;
}

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

.bt02 {
  border: solid 1px var(--color-theme-second);
  color: var(--color-theme-second);
  min-width: 250px;
  padding: 10px 20px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  position: relative;
  background-color: #fff;
  opacity: 1;
}

.bt02:hover {
  background-color: var(--color-theme-second);
  color: #fff;
  transform: translateY(-5px);
}

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

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

.form_bt {
  border: solid 1px var(--color-theme-second);
  color: var(--color-theme-second);
  min-width: 250px;
  padding: 10px 20px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  position: relative;
  opacity: 1;
}

.form_bt:hover {
  background-color: var(--color-theme-second);
  transform: translateY(-5px);
}

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

@media only screen and (min-width: 1025px) {
  .contact_bt {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition:
      var(--transition),
      transform 0.3s ease;
    font-weight: bold;
    height: 100%;
    text-decoration: none !important;
    background-color: var(--color-theme);
    color: #fff !important;
    border-radius: 50px;
    font-size: 2.6rem;
    padding: 5px 15px !important;
    font-family: 'Noto Sans JP', sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    position: relative;
  }
  .contact_bt::before {
    font-family: 'Font Awesome 5 Free';
    content: '\f0e0';
    font-weight: 900;
    padding-right: 0.5rem;
    color: var(--color-white);
    font-size: 1.4rem;
    text-decoration: none !important;
    vertical-align: middle;
    display: inline-block;
  }
  .contact_bt:hover {
    transform: translateY(-5px);
  }
}

.contact_bt i {
  margin-right: 1rem;
  font-size: 3rem;
}

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

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

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

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

/*MARK:FAQ*/

.faq_box div dt {
  cursor: pointer;
  padding: 3rem;
  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;
}

.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: -3.4rem;
  }
  .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; /* 表示状態に */
  }
}

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

.post-wrap {
  margin: 40px 0;
}
.date {
  margin-bottom: 0 !important;
  font-size: 1.4rem;
}
.main-content > .post-wrap > h3 {
  text-align: left;
  font-size: 3rem;
  border-bottom: solid 5px var(--color-theme);
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.detailUpfile img {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-inline: auto;
}
