/* Fonts */
:root {
 --default-font: YakuHanRPs, "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #353856; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #52565e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0015ff90; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.55); /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1500fd70; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4f7f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}
.btn-primary {
  --bs-btn-bg: #4a53b5;
  --bs-btn-border-color: #00078b;
  --bs-btn-hover-bg: #7777d7;
  --bs-btn-hover-border-color: #af99fa;
}
/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-feature-settings: "palt";
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
}
@media (max-width: 768px) {
  body {
    font-size: 1.0625rem; /* 17px */
    line-height: 1.8;
  }
}
p {
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
p + p {
  margin-top: -0.2em;
}
.section p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 8px 0 0 10px;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 22px;
  margin-left: 0;
  font-weight: 600;
  font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", serif;
  letter-spacing: 0.1em;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.95);
  --heading-color: #3c3c3c;
  --nav-color: #3c3c3c;
  --nav-hover-color: #3c3c3c;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu > ul > li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 16px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 14px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
    margin-right: 0.6em;
  }

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }



  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
     display: inline-flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
.navmenu a i {
    margin-right: 0.6em;
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}
#navmenu .fa-solid {
  color:#0015ff;
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #000;
  background-image:
    repeating-linear-gradient(
      45deg,
      #3e3e3e 0 6px,
      transparent 1px 20px
    ),
    repeating-linear-gradient(
      -45deg,
      #3e3e3e 0 6px,
      transparent 1px 20px
    );
  font-size: 16px;
  position: relative;
}

.footer .container {
  position: relative;
}

.footer:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 16px;
  font-family: var(--heading-font);
}
.footer-contact a{
color: #ffffff;
text-decoration: underline dotted;
}
.footer-contact i {
margin-right: 10px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .mt-3 a {
  color: #fff !important;
}
.footer-contact a:hover {
  color: red;
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

.footer-btn-group .btn + .btn {
  margin-top: .5rem;
}
.footer-btn-group a:first-of-type {
  border-color: rgba(255,255,255,.6);
  font-weight: 600;
}
@media (max-width: 768px) {
  .footer-btn-group .btn {
    font-size: .95rem;
    padding: .65rem .9rem;
  }
}
.footer-links .btn-outline-light {
 border: 1px solid rgba(255, 255, 255, 0.355);
}
@media (max-width: 768px) {
  .footer-links {
    margin: 3rem 0;
  }
}
.footer-links i {
  padding-right: 2em;
}
.footer-links h3 {
  font-size: 24px;
  padding-bottom: 0.5em;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #ffffff;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 60px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  margin-bottom: 24px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.04em;

}


.page-title .breadcrumbs p {
  font-family: "Cormorant Garamond", serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.08em;
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding-top: 2em;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.page-title .breadcrumbs a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  background-image: linear-gradient(
    to right,
    rgba(255,255,255,0),
    rgba(255,255,255,0.5),
    rgba(255,255,255,0)
  );
  background-size: 100% 1px;
  transition:
    color 0.25s ease,
    background-size 0.25s ease;
  background-position: left bottom;
  background-repeat: no-repeat;
  padding-bottom: 4px;

}

.page-title .breadcrumbs a:hover {
  color: #fff;
  background-size: 100% 2px;
}
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 40px 0;
  scroll-margin-top: 92px;/* リンク移動時のズレ修正 */
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2 {
   display: block;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  padding: 1.2em 0;
}
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 22px;
  }
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 1.5px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}
@media (max-width: 768px) {
 .section-title h2:before,
.section-title h2:after {
    width: 20px;
  }
}
@media (max-width: 768px) {
  .section-title h2:before {
    margin: 0 10px 6px 0;
  }
}
@media (max-width: 768px) {
  .section-title h2:after {
     margin: 0 0 6px 10px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", serif;
}

.hero .info {
  position: relative;
  inset: 0;
  z-index: 3;
  padding: 140px 0 60px 0;
}

@media (max-width: 768px), (max-height: 480px) {
  .hero .info {
    padding: 100px 50px 60px 50px;
  }
}

.hero .info h2 {
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0.15em;
  position: relative;
  white-space: nowrap;
  word-break: keep-all;
}

.hero .info h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

@media (max-width: 768px) {
  .hero .info h2 {
    font-size: 36px;
  }
}

.hero .info p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 20px;
}
.hero p span {
 font-family: "Cormorant Garamond", serif;
  color: #d20505;
}
.hero h3 {
  font-size: 22px;
font-family: "Cormorant Garamond", serif;

}

.hero .carousel {
  inset: 0;
  position: absolute;
  overflow: hidden;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition-duration: 0.4s;
}

.hero .carousel-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item::before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: color-mix(in srgb, var(--default-color), transparent 80%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Get Started Section
--------------------------------------------------------------*/
.get-started .content {
  padding: 20px 0;
}

.get-started .content h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
}

.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}
@media (max-width: 768px) {
  .get-started .content h3 {
    font-size: 24px;
  }
}
.get-started .content .en {
  line-height: 1.7;
}
.get-started .content .en:first-letter {
  font-size: clamp(2.1em, 4vw, 2.6em);
  font-weight: 600;
  float: left;
  line-height: 0.95;
  margin-right: 0.2em;
  color: #d3ad2d;
font-family: "Cinzel", serif;
  text-shadow:
    0 1px 0 #fff6c5,
    0 2px 0 #c9a227,
    0 4px 6px rgba(0,0,0,0.35);
}


#services .section-title p {
  text-align: left;
}
#services3 .section-title p {
  text-align: left;
}
#services .section-title h5 {
color: #444444;/*文字色*/
 margin-bottom:2em;
 position: relative;
   text-align:center;
}
#services .section-title h5::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 10px;
  background-image: radial-gradient(circle, #3f27c7 45%, transparent 46%);
  background-size: 10px 10px; /* 丸のサイズ */
  background-repeat: repeat-x;
}

/*--------------------------------------------------------------
# Alt Services Section
--------------------------------------------------------------*/
#alt-services .row {
  margin-left: 0;
  margin-right: 0;
  padding: 1em 0;
}

.alt-services h3 {
 font-size: clamp(20px, 4vw, 24px);
  font-weight: 500;
  margin: 30px 0 40px 0;
  padding-bottom: 10px;
  position: relative;
}

.alt-services h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 40px;
  height: 1px;
  left: 0;
  bottom: 0;
}
.alt-services h4 {
  display: block;
  font-size: 18px;
  font-weight: 500;

  color: #30303090;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
  padding-bottom: 2em;
}


.icon-box {
  padding-bottom: 1em;
}
h3 span {
  font-size: 18px;
}
.balloon {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  background: #333;
  padding: 20px 22px;
  position: relative;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
.balloon::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 15px;
  background: #333;
  top: 0;
  bottom: 0;
  left: -12px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  margin: auto;
}
.balloon i {
  display: inline-block;
  animation: shake 6s ease-in-out infinite;
}

@keyframes shake {
  0%, 95%, 100% { transform: translateX(0); }
  97% { transform: translateX(-2px); }
  99% { transform: translateX(3px); }
}

.anchor {
  scroll-margin-top: 9em;
}
.honer {
  display: inline;
  font-size: 18px;
  font-weight: bold;
  color: inherit;
  text-decoration: none; /* 通常の下線を消す */
  background-image: linear-gradient(90deg, rgb(21, 95, 159), rgb(51, 222, 249));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;   /* 下線の太さ */
  padding-bottom: 2px;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (max-width: 768px) {
  .honer {
    font-size: 16px;
    font-weight: 500;
  }
}
.honer > i.fa-trophy {
   color: #c9a24d; /* 金 */
   padding-right: 1.7em;
}
.honer > i.fa-external-link {
  color: #717171;
  font-size: 0.9em;
  padding-left: 0.5em;
}
.honer a:hover {
 color: #807f7f;
}
.borderw {
  padding: 0.6em;
}
.borderw svg {
color: #6b6b6b;

}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .inner-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 30px 0;
  line-height: 1.7em;
}

@media (min-width: 991px) {
  .about .inner-title {
    max-width: 65%;
    margin: 0 0 80px 0;
  }
}
@media (max-width: 991px) {
  .about .inner-title {
     font-size: 1.6rem;
  }
}

.about .our-story {
  padding: 40px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
}

@media (min-width: 991px) {
  .about .our-story {
    padding-right: 35%;
  }
}

.about .our-story h4 {
  text-transform: uppercase;
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.about .our-story h3 {
   font-size: clamp(1.8rem, 4vw, 2rem);
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.about .our-story p:last-child {
  margin-bottom: 0;
}

.about .watch-video a {
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-left: 8px;
  transition: 0.3s;
}

.about .watch-video:hover a {
  color: var(--accent-color);
}

.about .about-img {
  min-height: 400px;
  position: relative;
}

@media (min-width: 992px) {
  .about .about-img {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 600px;
  }
}

.about .about-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/*--------------------------------------------------------------
# Alt Services 2 Section
--------------------------------------------------------------*/
.alt-services-2 .features-image {
  position: relative;
  min-height: 400px;
}

.alt-services-2 .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.alt-services-2 h3 {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 600;
  padding: 2em 0;
}

.alt-services-2 .icon-box {
  margin-top: 30px;
}

.alt-services-2 .icon-box i {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 1.2;
}

.alt-services-2 .icon-box h4 {
  font-weight: 600;
  margin-bottom: 2em;
  font-size: 18px;
}

.alt-services-2 .icon-box p {
  line-height: 24px;
  margin-bottom: 0;
}
.alt-services-2 h3 {
 padding-top: 20px;
}
/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .member-img {
  margin: 0 80px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .team .member .member-img {
    margin: 0 20px;
  }
}

.team .member .member-img img {
  position: relative;
  z-index: 1;
}

.team .member .member-info {
  margin-top: 30px;
}

.team .member .member-info h4 {
  font-weight: 600;
  margin: 2.5em 0;
  font-size: 20px;
}

.team .member .member-info span {
  display: block;
  color: rgb(165, 3, 3);
  margin-bottom: 20px;
}

.team .member .member-info p {
  margin-bottom: 2em;
}

#team .title {
 padding: 10px;
 margin: 3em 0 ;
	font-size:20px;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.75);
	background: linear-gradient(#325A8C 0%, #1C3959 100%);
	border:1px solid #325A8C;
	box-shadow:inset 1px 1px 0 rgba(255,255,255,0.25);
}

#team .title:before,
#team .title:after {
   position: absolute;
   left: 0;
   width: 100%;
   content: '';
   border-top: 1px solid #fff; /*ライン：太さ・実線・色 */
}

#team .title:before {
   top: 3px;
}

#team .title:after {
   bottom: 3px;
}
#team .title2 {
 margin: 4em 0 4em;
	font-size:18px;
 padding: .5em .7em;
    border-left: 5px solid #2589d0;
    background-color: #f4f4f4;
    color: #2f2f2f;
}


/*--------------------------------------------------------------
# Features Cards Section
--------------------------------------------------------------*/
.features-cards h3 {
  font-size: 20px;
  font-weight: 700;
}

.features-cards p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features-cards ul li {
  display: flex;
  align-items: center;
  font-size: 15px;
  padding-top: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.features-cards ul li i {
  font-size: 16px;
  color: var(--accent-color);
  margin-right: 6px;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 16px;
}

.service-details ul {
  list-style: none;
  padding: 0;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}
.contact h2 {
  font-size: 24px;
  font-weight: 700;
  position: relative;
padding-top: 1.5em;
text-align: center;
}
@media (max-width: 768px) {
  .contact h2 {
    font-size: 22px;
  }
}

.contact h2:before,
.contact h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.contact h2:before {
  margin: 0 15px 10px 0;
}

.contact h2:after {
  margin: 0 0 10px 15px;
}
@media (max-width: 768px) {
 .contact h2:before,
.contact h2:after {
    width: 30px;
  }
}
@media (max-width: 768px) {
  .contact h2:before {
    margin: 0 10px 6px 0;
  }
}
@media (max-width: 768px) {
  .contact h2:after {
     margin: 0 0 6px 10px;
  }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/*--------------------------------------------------------------
# 追加分
--------------------------------------------------------------*/
/* 画面全体の黒幕 */
#fade-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 24% 22%, rgba(217, 217, 217, 0.06) 0%, rgba(217, 217, 217, 0.06) 21%, transparent 21%, transparent 100%),
    /* 大きい4つを少し小さくしたまま（30% → 25.5%） */ radial-gradient(circle at 75% 56%, rgba(3, 3, 3, 0.06) 0%, rgba(3, 3, 3, 0.06) 25.5%, transparent 25.5%, transparent 100%),
    /* 最大リング（95% → 80.75%） */ radial-gradient(circle at 74% 53%, rgba(153, 153, 153, 0.06) 0%, rgba(153, 153, 153, 0.06) 80.75%, transparent 80.75%, transparent 100%),
    /* 83% → 70.55% */ radial-gradient(circle at 86% 43%, rgba(209, 209, 209, 0.06) 0%, rgba(209, 209, 209, 0.06) 70.55%, transparent 70.55%, transparent 100%), radial-gradient(circle at 64% 28%, rgba(192, 192, 192, 0.06) 0%, rgba(192, 192, 192, 0.06) 2%, transparent 2%, transparent 100%),
    radial-gradient(circle at 73% 67%, rgba(205, 205, 205, 0.06) 0%, rgba(205, 205, 205, 0.06) 18%, transparent 18%, transparent 100%), /* 64% → 54.4% */ radial-gradient(circle at 67% 71%, rgba(161, 161, 161, 0.06) 0%, rgba(161, 161, 161, 0.06) 54.4%, transparent 54.4%, transparent 100%),
    radial-gradient(circle at 45% 74%, rgba(115, 115, 115, 0.06) 0%, rgba(115, 115, 115, 0.06) 14%, transparent 14%, transparent 100%), linear-gradient(90deg, rgb(0, 0, 0), rgb(0, 0, 0));
  background-size: 150% 150%;
  animation: sway 5s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 4s cubic-bezier(1, -0.048, 0.92, 0.365);
  pointer-events: none;
}
@keyframes sway {
  0% {
    background-position: 40% 45%;
  }
  100% {
    background-position: 50% 55%;
  }
}
/* フェードアウト時 */
#fade-overlay.fade-out {
  opacity: 0;
}

/* ロゴのサイズ（必要に応じて調整） */
.fade-logo {
  width: 350px;
  height: auto;
}
@media (max-width: 575px) {
  .fade-logo {
    width: 200px;
    height: auto;
  }
}

/* タイムライン          */
 /* タイムライン全体のコンテナ */
    .timeline-container {
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      padding: 20px 0;
    }

    /* タイムラインの中央線 */
    .timeline-container::after {
      content: '';
      position: absolute;
      width: 2px;
      background-color: #2c3e50;
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -2px;
    }

    /* タイムライン項目 */
    .timeline-item {
      padding: 10px 40px;
      position: relative;
      width: 50%;
      margin-bottom: 30px;
    }

    /* 左側項目 */
    .timeline-item:nth-child(odd) {
      left: 0;
    }

    /* 右側項目 */
    .timeline-item:nth-child(even) {
      left: 50%;
    }

    /* 日付表示 */
    .timeline-date {
      background-color: #2c3e50;
      color: white;
      display: inline-block;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 16px;
      margin-bottom: 10px;
    }

    /* 項目の内容コンテナ */
    .timeline-content {
      padding: 20px;
      background-color: white;
      position: relative;
      border-radius: 6px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }

    /* 項目見出し */
    .timeline-content h3 {
      margin-top: 0;
      color: #2c3e50;
      font-size: 19px;
    }
.timeline-content h3 i {
      color: #c9a24d;
      padding-right: 0.4em;
      font-size: 1.1em;
       position: relative;
  top: -0.1em;
    animation: gold-glow 8s ease-in-out infinite;
    }
    @keyframes gold-glow {
  0%, 85%, 100% {
    filter: none;
  }
  90% {
    filter: drop-shadow(0 0 4px rgba(201,162,77,0.6))
            drop-shadow(0 0 8px rgba(201,162,77,0.35));
    color: #f3e6b3;
  }
}
    /* 丸印 */
    .timeline-item::after {
      content: '';
      position: absolute;
      width: 20px;
      height: 20px;
      background-color: white;
      border: 4px solid #2c3e50;
      border-radius: 50%;
      top: 20px;
      z-index: 1;
    }

    /* 左側項目の丸印 */
    .timeline-item:nth-child(odd)::after {
      right: -10px;
    }

    /* 右側項目の丸印 */
    .timeline-item:nth-child(even)::after {
      left: -10px;
    }

    /* 吹き出し風の矢印 */
    .timeline-content::before {
      content: '';
      position: absolute;
      top: 20px;
      width: 0;
      height: 0;
      border-style: solid;
    }

    /* 左側項目の矢印 */
    .timeline-item:nth-child(odd) .timeline-content::before {
      right: -15px;
      border-width: 10px 0 10px 15px;
      border-color: transparent transparent transparent white;
    }

    /* 右側項目の矢印 */
    .timeline-item:nth-child(even) .timeline-content::before {
      left: -15px;
      border-width: 10px 15px 10px 0;
      border-color: transparent white transparent transparent;
    }

    /* タブレット対応 */
    @media screen and (max-width: 768px) {
      .timeline-container::after {
        left: 40px;
      }

      .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
      }

      .timeline-item:nth-child(odd),
      .timeline-item:nth-child(even) {
        left: 0;
      }

      .timeline-item::after {
        left: 30px;
      }

      .timeline-item:nth-child(odd)::after,
      .timeline-item:nth-child(even)::after {
        left: 30px;
      }

      .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent white transparent transparent;
      }

      .timeline-item:nth-child(odd) .timeline-content::before {
        left: -15px;
        right: auto;
        border-width: 10px 15px 10px 0;
        border-color: transparent white transparent transparent;
      }
    }

    /* スマートフォン対応 */
    @media screen and (max-width: 480px) {
      .timeline-date {
        font-size: 14px;
      }

      .timeline-content {
        padding: 15px;
      }

      .timeline-content h3 {
        font-size: 17px;
      }

      .timeline-item {
        padding-left: 60px;
        margin-bottom: 20px;
      }

      .timeline-container::after {
        left: 20px;
      }

      .timeline-item::after {
        width: 16px;
        height: 16px;
        left: 12px;
      }
    }
    /* タイムラインここまで          */
     /* レーダーチャート          */
    .radar-chart-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 200px;
    height: 230px;
    margin: 0 auto 2em;
    padding: 35px;
    box-sizing: content-box;
}

.radar-chart-2 svg {
    width: 100%;
    height: 100%;
}

.radar-chart-2 dl {
    position: absolute;
    width: 100%;
    height: 100%;
}

.radar-chart-2 dl > div {
    position: absolute;
    color: #777;
    font-size: 1em;
    text-align: center;
}

.radar-chart-2 dl > div:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.radar-chart-2 dl > div:nth-child(2) {
    top: 31%;
    right: 7%;
    transform: translateX(50%);
}

.radar-chart-2 dl > div:nth-child(3) {
    bottom: -1%;
    right: 23%;
    transform: translateX(50%);
}

.radar-chart-2 dl > div:nth-child(4) {
    bottom: -1%;
    left: 23%;
    transform: translateX(-50%);
}

.radar-chart-2 dl > div:nth-child(5) {
    top: 31%;
    left: 7%;
    transform: translateX(-50%);
}

.radar-chart-2 dd {
    margin: 0;
}
 /* レーダーチャートここまで          */
.table-dotted td,
.table-dotted th {
  border-style: dotted;
}
.heading-13 {
  position: relative;
  margin-bottom: 3em;
  margin-top: 1em;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  padding: .5em .75em;
  background-color: #fff;
  background-image:
    radial-gradient(#969df9 25%, transparent 30%),
    radial-gradient(#969df9 25%, transparent 30%);
  background-position: 0 0, 5px 5px;
  background-size: 5px 5px; /* ← 10px → 5px */
}
 /* お知らせ          */
 .list-group {
  position: relative;
  background: #f7f7f5;
  max-height: clamp(280px, 38vw, 360px);
  overflow-y: auto;
  padding-left: clamp(0.75rem, 2vw, 1.2rem);
}

/* 左罫線 */
.list-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: #e3e3e3;
  transition: background .25s ease;
}

/* hover時 */
.list-group:hover::before {
  background: #c9c9c9; /* ほんのり濃く */
}


.list-group-item {
  border: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.9rem 0;
  font-size: clamp(1rem, 1vw, 1.1rem);
  color: #333;
  background: transparent;
  transition: color .2s ease;
}

/* リンク */
.list-group a {
  color: #2c3d9f; /* 落ち着いた藍色 */
  text-decoration: none;
}

.list-group a:hover {
  color: #5a5f7a; /* ごく軽い変化 */
}
.fw-bold {
  display: flex;
  align-items: center;
  font-weight: 400!important;
}
.list-group i {
  color: #717171;
  padding-right: 1em;
}
.fw-bold::before {
  content: "";
  display: inline-block;
  margin-right: 12px;
  width: 20px;
  height: 1px;
  background-color: var(--accent-color);
}
.list-group .list-group-item i {
  margin-right: 8px;
}
/* 日付 */
.list-group-item .fw-bold {
  color: #000000;
  margin-bottom: .2rem;
}
/* コメントアイコン */
.list-group-item .fa-comment {
  color: #364e96;
  margin-right: .4em;
  opacity: .7;
}
 /* お知らせここまで          */
 .faq .accordion-button {
  font-weight: 600;
}

.faq .accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #333;
}

.faq .accordion-body {
  line-height: 1.8;
}
/* 質問：F */
.accordion-button::before {
  content: "Q";
  color: #364e9695;
   font-size: 1.2em;
  font-weight: 700;
  margin-right: 0.7em;
}

/* 回答：A */
.accordion-body::before {
  content: "A";
  color: #c0392b95;
  font-size: 1.2em;
  font-weight: 700;
  margin-right: 0.7em;
}


#testimonials h3 {
  font-size: 28px;
  font-weight: 700;
  position: relative;
}
@media (max-width: 768px) {
  #testimonials h3 {
    font-size: 24px;
  }
}

#testimonials h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

#testimonials h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 40px;
  height: 1px;
  left: 0;
  bottom: 0;
}

.team h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 1em 0 2em;
  padding-bottom: 10px;
  position: relative;
}

.team h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 40px;
  height: 1px;
  left: 0;
  bottom: 0;
}
/* 杜氏コメント */
.box-009 {
    max-width: 400px;
    margin: 0 auto;
    border: 2px solid #0056d6;
    border-radius: 5px;
    color: #333333;
    margin-bottom: 3em;
    margin-top: 2.5em;
}
.box-009 div {
    display: inline-flex;
    align-items: center;
    column-gap: 4px;
    position: relative;
    top: -13px;
    left: 10px;
    margin: 0 7px;
    padding: 0 8px;
    background: #fff;
    color: #0056d6;
    font-weight: 600;
    vertical-align: top;
}
.box-009 div::before {
    width: 15px;
    height: 7.5px;
    border-bottom: 3px solid #0056d6;
    border-left: 3px solid #0056d6;
    transform: rotate(-45deg) translate(2px, -2px);
    content: '';
}
.box-009 p {
    margin: 0;
    padding: 0 1.5em 1em;
}
/* 杜氏コメントここまで */
/* 商品ページボタン */
.button-45 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 80%;
    margin: 2em auto ;
    padding: .5em 2em;
    border-top: 1px solid #0015ff90;
    border-right: none;
    border-bottom: 1px solid #0015ff90;
    border-left: none;
    background-color: #fff;
    color: #0015ff90;
    font-size: 1em;
}

.button-45::before,
.button-45::after {
    position: absolute;
    width: 1px;
    height: 140%;
    background-color: #0015ff90;
    content: '';
}

.button-45::before {
    left: calc(3.1em / 5 - 1px);
}

.button-45::after {
    right: calc(3.1em / 5 - 1px);
}
/* PCのみホバー演出（背景色なし） */
@media (hover: hover) and (pointer: fine) {
  .button-45 {
    transition: color 0.3s ease;
  }

  .button-45::before,
  .button-45::after {
    transition: all 0.3s ease;
  }

  .button-45:hover {
    color: #0411a3; /* 少し濃く */
  }

  .button-45:hover::before {
    left: calc(3.1em / 5 + 4px);
  }

  .button-45:hover::after {
    right: calc(3.1em / 5 + 4px);
  }
}
.button-45 i {
padding-right: 1.8em;
}
/* 商品ページボタン ここまで*/
.testimonial-box {
  background: #f9f8f5;
  border: 1px solid rgba(0,0,0,0.02);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.1),
    0 10px 30px rgba(0,0,0,0.08);
  border-radius: 14px 12px 14px 12px;
  padding: 1.6rem;
  margin: 0 1rem;
  outline: 1px solid rgba(0,0,0,0.06);
  outline-offset: -6px;
}

@media (max-width: 768px) {
  .testimonial-box {
    margin: 0 1rem;
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }
}

.testimonial-box img {
  border-radius: 6px 6px 10px 10px;
}
.testimonial-box h3 {
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 600;
}

.testimonial-box h4 {
  font-size: 16px;
  font-weight: 300;
  color: #000000c7;
  font-family: "Cormorant Garamond", serif;
}
.heading-7 {
    display: inline-block;
    position: relative;
    padding: 0 1.6em;
    color: #333333;
}

.heading-7::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    width: 16px;
    height: 1px;
    background-color: #2589d0;
}

.heading-7::before {
    left: 0;
}
/* トップページ英語説明アコーディオン*/
.accordion-explain {
  max-width: 680px;
  margin: 0 auto 1rem;
  background: #f9f8f5;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  overflow: hidden;
}

.accordion-explain summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #364e96;
  cursor: pointer;
  list-style: none;
}

.accordion-explain summary::-webkit-details-marker {
  display: none;
}

/* 控えめな開閉アイコン */
.accordion-explain summary::after {
  content: "▾";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: rgba(54, 78, 150, 0.6);
}

.accordion-explain[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.accordion-explain p {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  line-height: 1.9;
  font-size: 0.95rem;
  color: #333;
  animation: fadeIn 0.4s ease;
}

/* 静かな出現 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* スマホ調整 */
@media (max-width: 768px) {
  .accordion-explain summary {
    font-size: 1rem;
    padding: 1rem 2.5rem 1rem 1.2rem;
  }

  .accordion-explain p {
    font-size: 0.92rem;
  }
}

.accordion-explain2 {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.accordion-explain2 summary {
  position: relative;
  padding: 1.1rem 1rem 1.1rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #2050b1; /* 藍寄りの紺 */
  cursor: pointer;
  list-style: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  margin-bottom: 1em;
}

.accordion-explain2 summary::-webkit-details-marker {
  display: none;
}

/* 控えめな開閉アイコン */
.accordion-explain2 summary::after {
  content: "▾";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 700;    /* 少し存在感 */
  transition: transform 0.3s ease;
  color: rgba(47, 62, 92, 0.6);
}

.accordion-explain2[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.accordion-explain2 p {
  margin: 0;
  padding: 0 1.5rem 1.6rem;
  line-height: 1.9;
  font-size: 0.95rem;
  color: #2b2b2b; /* 墨色 */
  animation: fadeIn 0.4s ease;
}

/* 静かな出現 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* スマホ調整 */
@media (max-width: 768px) {
  .accordion-explain2 summary {
    font-size: 1.4rem;
    padding: 1rem 1rem 1rem 1.2rem;
  }

  .accordion-explain2 p {
    font-size: 1.1rem;
  }
}

/* トップページ英語説明アコーディオン ここまで*/
.img-hint {
  display: block;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.55);
  margin-top: 4px;
  text-align: right;
}
.img-hint::before {
  content: "↑";
  margin-right: 0.3em;
}
@media (min-width: 1025px) {
  .img-hint {
    display: none;
  }
}
.table-yamanari td,
.table-yamanari th {
  padding: 0.85rem 0.75rem;
}
.fb-wrap {
  max-width: 500px;   /* ← 好きな横幅（360〜420pxおすすめ） */
  width: 100%;
}

/* 念のため */
.fb-wrap .fb-page,
.fb-wrap iframe {
  width: 100% !important;
}
.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: #333;
margin-top: 3em;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
      90deg,
      #f58529,
      #dd2a7b,
      #8134af,
      #f58529
    ) border-box;

  background-size: 200% 200%;
}
.insta-link:hover {
  background:
    linear-gradient(45deg, #f58529, #dd2a7b, #8134af) padding-box,
    linear-gradient(45deg, #f58529, #dd2a7b, #8134af) border-box;
  color: #fff;
}
.insta-animate {
  animation: instaBorder 6s linear infinite;
}

@keyframes instaBorder {
  0%   { background-position:   0% 50%; }
  100% { background-position: 200% 50%; }
}

.sm .content {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 横方向中央 */
  text-align: center;    /* 文字中央 */
}
.sns-links {
  display: flex;
  gap: 1.5rem;
}

.sns-links a {
  color: rgba(255,255,255,0.7);
  font-size: 1.6rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.sns-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.sns-links a:hover .bi-instagram {
  color: #c13584;
}
.sns-links a:hover .bi-facebook {
  color: #1877f2;
}

/* 404 page */
.face-wrapper {
  width: 100%;
  max-width: 280px; /* 顔の広がりを制限 */
}
.main2{
 background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  color: #f2f2f2;
  min-height: 100vh; /* 画面いっぱいに広がるように */
  display: flex; /* コンテンツの中央寄せに必要 */
  align-items: center; /* コンテンツの中央寄せに必要 */
  justify-content: center; /* コンテンツの中央寄せに必要 */
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.eye {
  height: 40px;
  width: 40px;
  background-color: #f2f2f2;
  border-radius: 50%;
}

.smile {
  width: 150px;
  height: 80px;
  border: solid 5px #f2f2f2;
  border-color: transparent transparent #f2f2f2 transparent;
  border-radius: 0 0 180px 90% / -15px;
  transition: all 0.5s ease;
}

.smile:hover {
  cursor: pointer;
  border-radius: 0 0 180px 70% / 70px;
}

/* テキストのスタイル */
.text-404 {
  color: #fffdfd;
}
.text-404 h2 {
  font-size: 70px;
  color: #ffffff;
  padding: 0.5em 0 ;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.7);
}
.sub {
  font-weight: 300;
  color: #eaeaea;
}

/* スマホ等、幅が狭い時の調整 */
@media (max-width: 576px) {
  .face-wrapper {
    max-width: 200px; /* スマホでは顔を少し小さく */
  }
  .eye {
    height: 30px;
    width: 30px;
  }
  .smile {
    width: 120px;
  }
}