@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=Noto+Serif+JP:wght@200..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

:root {
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.8s var(--easing);
  --color-base: #ece6dc;
  --color-gray: #ccc;
  --color-gray-light: #f5f5f5;
  --color-gray-darken: #535353;
  --color-theme: #57cae1;
  --color-theme-light: #f8f6f0;
  --color-accent: #313131;
  --color-red: #cc0000;
  --color-blue: #3296e6;
  --color-green: #5ec618;
  --color-orange: #ff7415;
  --color-yellow: #fec601;
  --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%;
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 62.5%;
  color: #000;
  background-color: #fff;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select {
  min-height: 40px;
}

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

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

  textarea {
    width: 100%;
  }
}

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

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

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

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

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

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

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

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

.bold {
  font-weight: 900;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Font Families */

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

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

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

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

@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%;
    height: 0;
    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 {
    height: 0;
  }
}

.header-inner {
  max-width: 1400px;
  width: 90vw;
  margin: 0 auto;
  position: relative;
}

/* Header Responsive */

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

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

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

.h-logo-tel-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.g-nav>ul {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

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

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

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

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


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

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

/*アクセシビリティ対策 - SEO対応の視覚的非表示 */
.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;
}

/* PC版で視覚的にのみ非表示（スクリーンリーダー・クローラーには認識される） */
@media (min-width: 769px) {
  .pc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

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

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

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

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

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

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

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

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

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

@media only screen and (max-width: 1024px) {
  .h_tool.smp {
    background-color: var(--color-accent);
    padding: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 10px;
    border-radius: 10px;
    z-index: 10002;
    cursor: pointer;
    touch-action: manipulation;
  }
}

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

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

  .g-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-theme);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 90;
    justify-content: center;
    justify-items: center;
    pointer-events: none;
  }

  .g-nav.show {
    transform: translateX(0);
    /* overflow: auto; */
    pointer-events: auto;
  }

  .g-nav>ul:first-child {
    margin-top: 20vh;
    margin-bottom: 2.5rem;
  }

  .g-nav>ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    margin: 0;
    gap: 2rem;
  }

  .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: #fff;
    font-size: 2rem;
    /* border-bottom: 1px solid #666; */
  }

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

@media only screen and (max-width: 600px) {
  .g-nav {
    width: 70%;
  }
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
}

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

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

/* Main Content */
main {
  position: relative;
  overflow-x: hidden;
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 0;
  line-height: 1.5;
  font-size: 1.8rem;
}

.subpage .main-content {
  max-width: 1200px;
}

.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 (max-width: 1024px) {
  .main-content {
    width: 100%;
    padding: 3rem;
  }
}

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


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

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

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


.f_logo {
  display: block;
  text-align: center;
}

.f_logo img {
  width: 260px;
  display: block;
  margin: 0 auto 2rem auto;
  transition: all 0.3s ease;
}

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

.footer-logo-nav-address-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

@media only screen and (max-width: 599px) {
  .footer-logo-nav-address-box {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
}

.footer-nav-address-box nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

@media only screen and (max-width: 599px) {
  .footer-nav-address-box nav ul {
    justify-content: center;
    margin-bottom: 1rem;
  }
}

.footer-nav-address-box nav ul li a {
  position: relative;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  transition: color 0.3s ease;
  font-size: 1.8rem;
  padding: 0.5rem 0;
}

.footer-nav-address-box nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.footer-nav-address-box nav ul li a:hover {
  color: #fff;
}

.footer-nav-address-box nav ul li a:hover::after {
  width: 100%;
}

.footer-nav-address-box nav ul li:not(:last-child)::after {
  content: '/';
  display: inline-block;
  padding: 0 2rem;
}

.footer-nav-address-box address {
  font-size: 1.6rem;
  text-align: right;
}

@media only screen and (max-width: 599px) {
  .footer-nav-address-box address {
    text-align: center;
  }
}

.copyright {
  font-style: normal;
  font-size: 1.2rem;
  color: #fff;
  text-align: left;
}

@media only screen and (max-width: 599px) {
  .copyright {
    margin-top: 2rem;
    text-align: center;
  }
}

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

@media only screen and (max-width: 599px) {
  #footer {
    padding-bottom: 0;
  }

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

/*MARK:サブコンテンツ*/
.section-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 6rem;
  color: #000;
  position: relative;
  margin-bottom: 4rem;
}

#subpage .section-title {
  font-size: 8rem;
  font-style: normal;
}

.section-title .jp-title {
  font-size: 3rem;
}

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

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

.about-title-wrap {
  background-image: url(../images/about_bg.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 10rem 0;
  padding: 10rem 0;
  min-height: 450px;
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
}

@media only screen and (max-width: 599px) {
  .about-title-wrap {
    background-size: cover;
    background-position: center right;
    margin: 0;
    padding: 5rem 0;
    min-height: initial;
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-years {
  text-align: center;
  position: relative;
  z-index: 0;
  display: inline-block;
  line-height: 1;
}

.about-years em {
  font-family: 'Montserrat', sans-serif;
  font-size: 24rem;
  font-weight: 400;
}

@media only screen and (max-width: 599px) {
  .about-years em {
    font-size: 16rem;
  }
}

.about-years .years-text {
  position: absolute;
  bottom: 30px;
  right: -20px;
  z-index: 1;
  font-size: 3rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  -webkit-text-stroke: 8px white;
  paint-order: stroke fill;
}

@media only screen and (max-width: 599px) {
  .about-years .years-text {
    bottom: 15px;
    right: -50px;
  }
}

.about-title {
  text-align: center;
}

.about-title h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 4.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  background-color: #592f21;
  color: #fff;
  line-height: 1;
}

.about-title h5 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3rem;
  font-weight: 900;
}

@media only screen and (max-width: 599px) {
  .about-title h4 {
    font-size: 2rem;
    padding: 1rem;
  }

  .about-title h5 {
    font-size: 1.6rem;
  }
}

#greeting .main-content {
  font-size: 2.4rem;
}

@media only screen and (max-width: 599px) {
  #greeting .main-content {
    font-size: 1.8rem;
  }
}

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

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

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

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

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


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

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

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

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

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

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

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

/* Button Style */

.bt01 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition:
    var(--transition),
    transform 0.3s ease;
  text-decoration: none !important;
  background-color: var(--color-theme);
  color: #fff;
  font-size: 1.8rem;
  padding: 10px 20px;
  position: relative;
  min-width: 180px;
  border-radius: 0.5rem;
}

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

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

.bt01::after {
  font-family: 'Font Awesome 5 Free';
  content: '\f0da';
  font-weight: 900;
  color: #fff;
  font-size: 1.4rem;
  margin-left: 1rem;
}

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


/* ======================================
   Service Section - Hexagon & Bubble Design
   ====================================== */

#service {
  background-color: var(--color-gray-light);
}

.service-list-wrap {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}

.service-list-left {
  flex: 1;
  position: relative;
  min-height: 400px;
}

.service-list-right {
  flex: 1;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* 六角形グリッド - 5列版 */
.hexagon5__wrapper {
  display: flex;
  flex-wrap: wrap;
  --wrapper-width: 100%;
  width: var(--wrapper-width);
  margin-right: calc(-1 * var(--wrapper-width) / 5 * 0.25 * 2 - var(--wrapper-width) / 5 * 0.05 * 2);
  margin-bottom: 10%;
}

@media(max-width: 768px) {
  .hexagon5__wrapper {
    --wrapper-width: 100%;
    font-size: 2.5vw;
  }
}


.hexagon5__wrapper .hexagons {
  width: calc(100% / 5);
}

.honeycomb-area {
  display: flex;
  justify-content: center;
}

.hexagon-5_hexagon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 200 / 173;
  /* 正六角形になる比率 */
  background-color: var(--color-gray-light);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hexagon-5_hexagon>span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 90%;
  background-color: var(--color-theme);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* 透明な六角形（位置を維持するためのスペーサー） */
.hexagon-5_hexagon.hex-empty {
  background-color: transparent;
}

.hexagon-5_hexagon.hex-empty>span {
  background-color: transparent;
}

/* ホバーエフェクト付き六角形 */
.hexagon-5_hexagon.hex-hover {
  cursor: pointer;
  background-color: transparent;
  position: relative;
  z-index: 1;
}

/* 疑似要素を削除してdrop-shadowのみで光らせる */

.hexagon-5_hexagon.hex-hover:hover {
  z-index: 100;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 1)) drop-shadow(0 0 10px rgba(255, 255, 255, 1)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 30px rgba(250, 252, 255, 0.9)) drop-shadow(0 0 45px rgba(245, 250, 255, 0.8)) drop-shadow(0 0 65px rgba(240, 248, 255, 0.7)) drop-shadow(0 0 90px rgba(235, 245, 255, 0.6));
}

.hexagon-5_hexagon.hex-hover>span {
  position: relative;
  z-index: 2;
}

.hexagon-5_hexagon.hex-hover:hover>span {
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(240, 252, 255, 0.9) 30%,
      rgba(220, 248, 255, 0.85) 60%,
      rgba(200, 245, 255, 0.8) 100%);
}

/* 2行目と3行目の六角形を上にずらして縁を重ねる */
.hexagon-5_hexagon:nth-of-type(2),
.hexagon-5_hexagon:nth-of-type(3) {
  margin-top: -5%;
}

/* 偶数列（2, 4列目）を下にずらす */
.honeycomb-area .hexagons-col-2,
.honeycomb-area .hexagons-col-4 {
  transform: translateY(calc(100% / 6));
}

/* 2列目以降を左にずらして縁を重ねる */
.honeycomb-area .hexagons-col-2,
.honeycomb-area .hexagons-col-3,
.honeycomb-area .hexagons-col-4,
.honeycomb-area .hexagons-col-5 {
  margin-left: calc(-100% / 5 * 0.25 - 100% / 5 * 0.05);
}

/* サービス情報 */
.service-info {
  margin-bottom: 2rem;
}

.service-info-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.service-info-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

/* サービスロゴ */
.service-logo {
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 3px solid #1e293b;
  display: flex;
  width: 450px;
  height: 450px;
  border: solid 1px #57cae1;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media only screen and (max-width: 599px) {
  .service-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.service-logo img {
  max-width: 200px;
  height: auto;
}

/* バブルグリッド */
.bubble-grid {
  position: relative;
  width: 100%;
  height: 180px;
  margin-top: 1rem;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #dff3f7;
  background: radial-gradient(circle at center,
      #fff 60%,
      rgba(220, 245, 255, 0.6) 75%,
      rgba(180, 235, 250, 0.9) 80%,
      rgba(140, 220, 240, 1) 100%);
  width: 230px;
  height: 230px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 599px) {
  .bubble {
    width: 180px;
    max-width: 180px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* bubbleのホバーエフェクトなし */

/* bubble 表示/非表示 */
.bubble>div {
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
}

.bubble-active>div {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* バブルの位置とサイズ */
.bubble-1 {
  top: -50px;
  left: -50px;
}

.bubble-2 {
  top: -50px;
  right: -50px;
}

.bubble-3 {
  bottom: -50px;
  left: -50px;
}

.bubble-4 {
  bottom: -50px;
  right: -50px;
}

@media only screen and (max-width: 599px) {
  .bubble-1 {
    top: -20px;
    left: -20px;
  }

  .bubble-2 {
    top: -20px;
    right: -20px;
  }

  .bubble-3 {
    bottom: -20px;
    left: -20px;
  }

  .bubble-4 {
    bottom: -20px;
    right: -20px;
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .service-list-wrap {
    flex-direction: column;
    gap: 2rem;
  }

  .service-list-left,
  .service-list-right {
    width: 100%;
    min-height: auto;
  }

  .hexagon-grid {
    height: 300px;
  }

  .hexagon {
    width: 70px;
    height: 80px;
  }

  /* 1行目 */
  .hex-1 {
    top: 0;
    left: 54px;
  }

  .hex-2 {
    top: 0;
    left: 108px;
  }

  /* 2行目 */
  .hex-3 {
    top: 60px;
    left: 27px;
  }

  .hex-4 {
    top: 60px;
    left: 81px;
  }

  .hex-5 {
    top: 60px;
    left: 135px;
  }

  /* 3行目 */
  .hex-6 {
    top: 120px;
    left: 0;
  }

  .hex-7 {
    top: 120px;
    left: 54px;
  }

  .hex-8 {
    top: 120px;
    left: 108px;
  }

  /* 4行目 */
  .hex-9 {
    top: 180px;
    left: 27px;
  }

  .hex-10 {
    top: 180px;
    left: 81px;
  }

  .service-info-title {
    font-size: 2rem;
  }

  .service-info-desc {
    font-size: 1.2rem;
  }

  .bubble-grid {
    height: 150px;
  }
}

#announce {
  background-image: url(../images/announce_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
}

#announce .main-content {
  height: 100%;
  padding: 10rem 0;
}



.announce-wrap {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 3rem;
}

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

  #announce {
    background-image: none;
    min-height: 400px;
  }

  #announce .main-content {
    padding: 3rem;
  }

  .announce-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.announce-list {
  padding: 1rem 2rem;
  border: solid 1px #ccc;
  background-color: #fff;
}

.announce-item {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.announce-item:not(:last-child) {
  border-bottom: solid 1px #ccc;
}

.announce-item-title {
  font-size: 1.6rem;
  color: #000;
}

.announce-item-time {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #000;
  margin-bottom: 1rem;
}

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

.gallery-list {
  background-image: url(../images/gallery_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem;
}

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

@media only screen and (max-width: 599px) {
  .gallery-list {
    padding: 2rem;
  }

  .gallery-list ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}



/* MARK: History Section */
.history-wrap {
  position: relative;
  width: 100%;
}

/* 年月画像のスタイル（各桁の数字画像を横並びに表示） */
.history-date {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 0;
}

.history-date-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.history-date-digit,
.history-date-decorator {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  /* パッと表示、パッと消えのためtransitionなし */
  transition: none;
}

.history-date-digit {
  width: auto;
}



@media only screen and (max-width: 599px) {
  .history-date {
    flex-direction: column;
    gap: 0.5rem;
  }

  .history-date-row {
    gap: 0;
  }


}

/* 画像リストのスタイル（横並び5列、高さをずらして表示） */
.history-img {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 250px;
  position: relative;
}

.history-img li {
  flex: 0 0 auto;
  opacity: 0.3;
  visibility: visible;
  transition: opacity 0.3s ease;
  position: relative;
}

.history-img li.active {
  opacity: 1;
  z-index: 2;
}

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

  /* 各画像の高さをずらす（左から右へ上がっていく階段状、きつめの階段） */
  .history-img li:nth-child(1) {
    transform: translateY(100px);
    /* 1番目: 一番下（画像の約半分下） */
  }

  .history-img li:nth-child(2) {
    transform: translateY(50px);
    /* 2番目: 少し上 */
  }

  .history-img li:nth-child(3) {
    transform: translateY(0);
    /* 3番目: 基準位置 */
  }

  .history-img li:nth-child(4) {
    transform: translateY(-50px);
    /* 4番目: 少し上 */
  }

  .history-img li:nth-child(5) {
    transform: translateY(-100px);
    /* 5番目: 一番上（画像の約半分上） */
  }
}

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

/* テキストのスタイル */
.history-text-wrap {
  position: relative;
  width: 750px;
  margin-left: auto;
  min-height: 100px;
  margin-top: 6rem;
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items: center;
}

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

.history-text {
  position: relative;
  width: 100%;
}

.history-text-item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  opacity: 0;
  visibility: hidden;
  /* テキストはフェードアウトあり（1秒） */
  transition: opacity 1s ease, visibility 1s ease;
}

.history-text-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.history-text-item.fade-out {
  opacity: 0;
  visibility: hidden;
}

.history-text-item p {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  line-height: 1.6;
}

.history-text-item p:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 1024px) {
  .history-date {
    margin-bottom: 2rem;
  }

  .history-img {
    min-height: 250px;
    gap: 0.8rem;
  }

  .history-img li img {
    width: 200px;
    height: auto;
  }



  .history-text-wrap {
    margin-top: 2rem;
    min-height: 80px;
  }

  .history-text-item {
    width: 500px;
  }

  .history-text-item p {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 599px) {
  .history-date {
    margin-bottom: 1.5rem;
  }

  .history-img {
    min-height: 200px;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .history-img li img {
    width: 120px;
    height: auto;
  }



  .history-text-wrap {
    margin-top: 1.5rem;
    min-height: 60px;
  }

  .history-text-item {
    width: 100%;
    max-width: 600px;
  }

  .history-text-item p {
    font-size: 1.4rem;
  }
}

/* MARK: Contact Form Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20rem;
  margin-top: 4rem;
}

.contact-form-wrapper {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form .bt01 {
  margin-top: 1rem;
  align-self: flex-start;
  border: solid 1px var(--color-theme);

}

@media only screen and (max-width: 599px) {
  .contact-form .bt01 {
    margin-inline: auto;
  }
}

.name-group {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media only screen and (min-width: 1025px) {
  .name-group {
    flex-direction: row;
    gap: 2rem;
  }

  .name-group .form-group {
    flex: 1;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  font-size: 1.6rem;
  font-weight: 500;
  color: #000;
  font-family: 'Noto Sans JP', sans-serif;
}

.form-group .required {
  color: #cc0000;
  margin-left: 0.3rem;
}

.contact-form input[type='text'],
.contact-form input[type='tel'],
.contact-form input[type='email'],
.contact-form textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: none;
  border-radius: 8px;
  background-color: #f5f5f5;
  font-size: 1.6rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #000;
  transition: background-color 0.3s ease;
}

.contact-form input[type='text']:focus,
.contact-form input[type='tel']:focus,
.contact-form input[type='email']:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: #eeeeee;
}

.contact-form input[type='text']::placeholder,
.contact-form input[type='tel']::placeholder,
.contact-form input[type='email']::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}


/* Contact Details */
.contact-details-wrapper {
  width: 100%;
}

.contact-details-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 3.6rem;
  color: #000;
  margin-bottom: 3rem;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  font-size: 1.6rem;
  color: #000;
  line-height: 1.6;
}

.contact-details-list li i {
  font-size: 2rem;
  color: #000;
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 24px;
  text-align: center;
}

.contact-details-list li span {
  flex: 1;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-details-title {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .contact-details-list {
    gap: 2rem;
  }
}

@media only screen and (max-width: 599px) {
  .contact-container {
    gap: 3rem;
    margin-top: 3rem;
  }

  .contact-form {
    gap: 1.5rem;
  }

  .form-group label {
    font-size: 1.4rem;
  }

  .contact-form input[type='text'],
  .contact-form input[type='tel'],
  .contact-form input[type='email'],
  .contact-form textarea {
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
  }

  .contact-details-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
  }

  .contact-details-list {
    gap: 1.5rem;
  }

  .contact-details-list li {
    font-size: 1.4rem;
    gap: 1rem;
  }

  .contact-details-list li i {
    font-size: 1.8rem;
    width: 20px;
  }
}