/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  --background-color: rgba(0, 0, 0, 0);
  --color-heading: #ffffff;
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}
.primary .header {
  color: var(--color-bg);
}
.secondary .header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
  font-size: 0.88em;
  margin-right: 5px;
}
.secondary .nav-link {
  color: var(--color-primary-light);
  transition: color 0.2s ease;
}

.secondary .nav-link:hover,
.secondary .nav-link.active {
  color: var(--color-primary);
}

@media (min-width: 992px) {
  .site-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
  }
  .site-logo {
    line-height: 1;
  }
  .site-logo img {
    max-height: 40px;
    margin-right: 8px;
  }
}
@media (max-width: 991px) {
  .header {
    height: 60px;
  }
  .site-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
  }
  .site-logo img {
    max-height: 36px;
    margin-top: 7px;
    margin-right: 8px;
  }
  .site-logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
  }
}

.logo-scrolled {
  display: none;
}

body.scrolled .logo-default {
  display: none;
}

body.scrolled .logo-scrolled {
  max-height: 36px;
  display: block;
}

/* Global Header on Scroll
------------------------------*/

:root {
  --header-bg-scrolled: rgba(12, 92, 120, 0.98);
}

.header {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

/* film-menu
------------------------------*/
.navbar-collapse ul li a,
.navbar a:hover {
  color: #fff;
}

.dropdown-toggle:focus,
.dropdown-toggle:focus-visible {
  outline: none;
  box-shadow: none;
}
.primary .dropdown-toggle:focus,
.primary .dropdown-toggle:focus-visible {
  color: var(--color-bg);
}
.secondary .dropdown-toggle:focus,
.secondary .dropdown-toggle:focus-visible {
  color: var(--color-primary-light);
}

.film-menu {
  position: static;
  .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
  }
}

.dropdown-menu {
  background-color: rgba(12, 92, 120, 0.98);
  border: none;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.dropdown-menu {
  top: 100%;
  transform: translateY(-1px);
}
.primary.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  height: 60px;
  background-color: var(--header-bg-scrolled);
}
@media (min-width: 991.99px) {
  .scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
    height: 60px;
    background-color: var(--header-bg-scrolled);
  }
  body.secondary.scrolled .nav-link.active {
    color: var(--color-bg);
  }
  .dropdown-hover .dropdown-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s;
  }

  .dropdown-hover:hover .dropdown-menu {
    max-height: 500px;
    opacity: 1;
  }

  .pbox {
    min-height: 300px;
    margin: 25px 0;
  }
}

@media (max-width: 991.98px) {
  .dropdown-menu {
    display: none;
  }

  .dropdown-menu.show {
    display: block;
    background-color: #fff;
  }
}
.container-fm {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

.navbar > .container-fm {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  body.scrolled .logo-default {
    display: block;
  }

  body.scrolled .logo-scrolled {
    display: none;
  }
  body.noscroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  .navbar-collapse {
    background-color: var(--color-primary);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1050;
    overflow-y: auto;
    margin-top: 60px;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--color-bg);
  }
  .navbar-nav .nav-link[aria-expanded="true"] {
    color: var(--color-bg);
  }

  .navbar-toggler i {
    font-size: 1.5rem;
  }
  a.dropdown-toggle:hover {
    color: var(--color-bg);
  }
  .primary .navbar-toggler i {
    color: var(--color-bg);
  }
  .primary .navbar-toggler {
    border-color: var(--color-bg);
  }
  .secondary .navbar-toggler i {
    color: var(--color-primary-light);
  }
  .secondary .navbar-toggler {
    border-color: var(--color-primary-light);
  }
  .dnone {
    display: none;
  }
  .line {
    border: 1px solid color-mix(in srgb, var(--color-heading), transparent 85%);
    border-radius: 10px;
  }

  .pbox {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
  .pbox ul li a {
    display: block;
    padding: 12px 16px;
    color: var(--color-primary);
    transition:
      background-color 0.3s ease,
      color 0.3s ease;
  }
  .pbox ul li {
    background-color: var(--color-primary-light);
  }
  .pbox ul {
    display: none;
  }

  .pbox.active ul {
    display: block;
  }

  .pbox h2 {
    color: var(--color-primary);
    position: relative;
    cursor: pointer;
    padding-right: 30px;
  }

  .pbox h2::after {
    content: "+";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .pbox.active h2::after {
    content: "−";
  }
  .pbox ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .pbox.active ul {
    max-height: 500px; /* 適当に大きめ */
  }
}
@media (hover: hover) {
  .pbox ul li a:hover {
    color: var(--color-primary);
    background-color: #daecf2;
  }
}
.pbox h2:first-child {
  margin-top: 0px;
}
.pbox h2 a {
  color: #0c5c78;
}
.pbox ul {
  width: 100%;
  padding-left: 0;
  margin-left: 0;
}
.pbox ul li {
  list-style: none;
  margin: 3px 0px;
}
.pbox ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}
.pbox ul li a:hover {
  color: #0c5c78;
  background-color: #daecf2;
  text-decoration: none;
  width: 100%;
}
.pbox h2 {
  font-weight: 600;
  font-size: 20px;
  padding: 5px 0;
  margin-top: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.pbox {
  position: relative;
  z-index: 1;
}
.icon-decor {
  position: absolute;
  top: calc(50% - 10px);
  transform: translateY(-50%);
  left: 80px;
  font-size: 200px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  color: #ccc;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--color-bg);
  background-color: var(--color-primary);
  font-size: 14px;
  position: relative;
}

.footer-top {
  background-color: color-mix(in srgb, var(--color-primary), white 5%);
  padding-top: 50px;
}

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

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

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

.footer-about p {
  font-size: 14px;
}

.footer h4 {
  --color-heading: #ffffff;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.footer h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  bottom: 0;
  left: 0;
}

.footer-links {
  margin-bottom: 30px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer-links ul li:first-child {
  padding-top: 0;
}

.footer-links ul a {
  color: color-mix(in srgb, var(--color-bg), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer-links ul a:hover {
  color: var(--color-accent);
}

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

.copyright {
  background-color: var(--color-primary);
  padding: 30px 0;
}

.copyright p {
  margin-bottom: 0;
}

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

.social-links a {
  font-size: 18px;
  display: inline-block;
  background: color-mix(in srgb, var(--color-bg), transparent 90%);
  color: var(--color-contrast);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--color-accent);
  text-decoration: none;
}

/*--------------------------------------------------------------
# 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(--color-accent) transparent var(--color-accent) 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(--color-accent);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--color-contrast);
  line-height: 0;
}

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

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

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

/*--------------------------------------------------------------
# headcrumbs
--------------------------------------------------------------*/
.headcrumbs-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.title-icon {
  flex-shrink: 0;
}

.title-icon i {
  display: inline-block;
  transform: rotate(-10deg) scale(1.05);
}

.title-icon img,
.title-icon i {
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.05));
}
.title-icon i {
  font-size: 4rem;
  opacity: 0.4;
  line-height: 1;
}

/* タイトル */
.title-text h1 {
  font-size: 1.4rem;
}

/* パンくず */
.title-text ol {
  margin: 4px 0 00;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  opacity: 0.85;
  display: flex;
  gap: 10px;
}
.headcrumbs ol li::after {
  content: "›";
  margin-left: 8px;
  opacity: 0.6;
}
.headcrumbs ol li:last-child::after {
  content: "";
}

.headcrumbs {
  margin-top: 80px;
  background-color: #ebf6f8;
  color: var(--color-primary);
  padding: 18px 0;
}
.headcrumbs h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
}
.headcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
}

@media (max-width: 768px) {
  .headcrumbs-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .title-icon i {
    font-size: 2.2rem; /* ← 小さく */
    transform: rotate(-10deg);
    opacity: 0.5;
  }

  .title-text h1 {
    font-size: 1.2rem;
    padding: 0;
  }

  .title-text ol {
    font-size: 0.75rem;
    margin-top: 4px;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

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

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

.section-title h2 {
  color: color-mix(in srgb, var(--color-primary), transparent 30%);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  letter-spacing: 0.05em;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80px;
  height: 2px;
  background: var(--color-primary);
  opacity: 0.5;
  height: 1px;
  transform: translateX(-50%);
  background: currentColor;
  opacity: 0.2;
}

.section-title p {
  margin-bottom: 0;
  color: var(--color-text);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# slide Section
--------------------------------------------------------------*/
.slide {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 100px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

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

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

.slide .container {
  position: relative;
  z-index: 3;
}

.slide h2 {
  color: var(--hero-color-heading);
}
.slide h2 span {
  color: var(--hero-color-accent);
}
.slide p {
  color: color-mix(in srgb, var(--color-bg), transparent 20%);
}

.slide .about-info {
  overflow: hidden;
  position: relative;
  padding: 60px 0 40px 0;
  z-index: 2;
  width: 100%;
}

.slide .about-info:before {
  content: "";
  background: color-mix(in srgb, var(--hero-overlay-color), transparent 50%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.slide .about-info h2,
.slide .about-info h3,
.slide .about-info p {
  color: var(--hero-color-heading);
}
.slide .about-info h2 {
  font-weight: bold;
  margin-bottom: 10px;
}
.slide .about-info h3 {
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.slide .about-info p {
  margin-bottom: 20px;
}

@media (min-width: 769px) {
  .slide h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
  }

  .slide p {
    margin: 10px 0 0 0;
    font-size: 24px;
  }
  .slide .about-info h2 {
    font-size: 28px;
  }

  .slide .about-info h3 {
    font-size: 18px;
  }

  .slide .about-info p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .slide h2 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
  }

  .slide p {
    font-size: 18px;
    line-height: 24px;
  }
  .slide .about-info h2 {
    font-size: 22px;
  }

  .slide .about-info h3 {
    font-size: 20px;
  }

  .slide .about-info p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Unique Section
--------------------------------------------------------------*/

.unique .material {
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.unique .material .material-info {
  position: absolute;
  padding: 15px 0;
  inset: auto 0 -10px 0;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.4s;
}

.unique .material .material-info-content h4 {
  color: var(--color-contrast);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 16px;
}

.unique .material .material-info-content h4 a {
  color: var(--color-contrast);
}

.unique .material .material-info-content h4 a:hover {
  color: var(--color-accent);
}

.unique .material .material-info-content span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.unique .material .social {
  text-align: center;
  padding-top: 10px;
}

.unique .material .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--color-bg), transparent 30%);
  margin: 0 4px;
  display: inline-block;
}

.unique .material .social a:hover {
  color: var(--color-bg);
}

.unique .material .social i {
  font-size: 18px;
  margin: 0 2px;
}

.unique .material:hover .material-info {
  bottom: 0;
}

/*--------------------------------------------------------------
# locations Section
--------------------------------------------------------------*/
.locations .card {
  background-color: var(--surface-color);
  color: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-heading), transparent 85%);
  position: relative;
  border-radius: 10px;
}

.locations .card .card-img {
  overflow: hidden;
  margin-bottom: 15px;
  border-radius: 10px 10px 0 0;
}

.locations .card .card-img img {
  transition: 0.3s ease-in-out;
}

.locations .card h3 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 5px;
  padding: 0 20px;
}

.locations .card a {
  color: var(--heading-color);
  transition: 0.3;
}

.locations .card a:hover {
  color: var(--color-accent);
}

.locations .card .stars {
  padding: 0 20px;
  margin-bottom: 5px;
}

.locations .card .stars i {
  color: #ffc107;
}

.locations .card p {
  padding: 0 20px;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--color-heading), transparent 40%);
  font-style: italic;
  font-size: 15px;
}

.locations .card:hover .card-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .details h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.events .details .social {
  margin-bottom: 15px;
}

.events .details .social a {
  background: color-mix(in srgb, var(--color-bg), transparent 92%);
  color: color-mix(in srgb, var(--color-bg), transparent 30%);
  line-height: 1;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.events .details .social a:hover {
  background: var(--color-accent);
  color: var(--color-contrast);
}

.events .details .social a i {
  font-size: 16px;
  line-height: 0;
}

.events .details p {
  color: color-mix(in srgb, var(--color-bg), transparent 30%);
  font-size: 15px;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.info-item {
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

.info-item i {
  font-size: 20px;
  color: var(--color-contrast);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  background-color: #0c5c78;
  border: 2px solid #0c5c78;
}

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

.info-item h3 .sub {
  font-size: 0.7em;
  font-weight: 400;
  color: #666;
  margin-left: 0.25em;
}

.info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.info-item:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.contact .info-form {
  margin: 20px 0;
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.contact .info-form {
  color: #ccc;
}
.contact input[type="text"]::placeholder,
.contact input[type="email"]::placeholder,
.contact textarea::placeholder {
  color: color-mix(in srgb, var(--color-bg), transparent 70%);
}
.contact input[type="submit"] {
  color: var(--color-contrast);
  background: var(--color-accent);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}
.contact input[type="submit"]:hover {
  background: color-mix(in srgb, var(--color-accent), transparent 20%);
}

/*--------------------------------------------------------------
# topbtn for contact
--------------------------------------------------------------*/

.pad {
  padding-bottom: 50px;
}

a.btn--org {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  background-color: #eb6100;
  border: 2px solid #eb6100;
  transition: all 0.5s;
}

a.btn--org:hover {
  color: #eb6100;
  background: #fff;
  border: 2px solid #eb6100;
}

a.btn-c {
  font-size: 24px;
  position: relative;
  padding: 20px 60px;
  border-radius: 50px;
}
@media (max-width: 991.98px) {
  a.btn-c {
    font-size: 18px;
    padding: 20px 0px;
  }
}

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

.tags-widget ul li {
  display: inline-block;
}
.tags-widget ul a {
  background-color: color-mix(in srgb, var(--color-bg), transparent 94%);
  color: color-mix(in srgb, var(--color-bg), transparent 30%);
  border-radius: 50px;
  font-size: 20px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

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

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

.tops-item {
  margin-bottom: 30px;
}

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

/* .contact
--------------------------------------------------------------------------- */

/*--------------------------------------------------------------
.inquiry
--------------------------------------------------------------*/

.confirm_area,
.thanks_area {
  display: none;
}

.wpcf7-response-output {
  display: none;
}

label {
  display: block;
}

.inquiry {
  padding-inline: clamp(12px, 4vw, 24px);
}

.inquiry input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}
.inquiry input,
.inquiry textarea {
  margin: 10px 0;
  padding: 4px;
  border: 1px solid #378886;
  border-radius: 4px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.inquiry input.mx,
.inquiry textarea.mx {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.confirm_area .title {
  padding: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 0.8em;
  border-bottom: 1px solid #ccc;
}
.confirm_area .contents {
  padding: 10px 0;
  font-size: 24px;
  font-weight: 500;
}
.confirm_area .message {
  padding: 10px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
.confirm_content {
  display: block;
  white-space: pre-wrap;
  margin: 0;
}
.confirm_content:empty {
  display: none;
}

.confirm_area .message p {
  margin: 0;
}

.inquiry label {
  padding: 6px 6px;
  border-radius: 4px;
  margin-bottom: 0px;
}

.inquiry .required {
  vertical-align: middle;
  transform: translateY(-1px);
  display: inline-block;

  margin-left: 6px;
  padding: 0.15em 0.5em;

  font-size: 0.7em;
  font-weight: 600;
  line-height: 1;

  color: #fff;
  background-color: #d83e48;

  border-radius: 999px;
}
.inquiry .option {
  margin-left: 7px;
  padding: 2px 5px;
  color: #fff;
  font-size: 70%;
  background-color: #aaa;
  border-radius: 25%;
}
.inquiry .example {
  color: #adb9ba;
}

/* --- buttons input submit --- */

.btn-wrap {
  margin-top: 2.5rem;
}

.btn-wrap p {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-wrap input[type="submit"],
.btn-wrap input[type="button"] {
  min-width: 170px;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}
.confirm_button[disabled] {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

.confirm_button:not([disabled]) {
  background-color: var(--color-primary);
  color: #fff;
  cursor: pointer;
  opacity: 1;
}

.back_button {
  background: #fff;
  color: #666;
  border: 1px solid #dcdcdc;
}

.back_button:hover {
  background: #f7f7f7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.wpcf7-submit {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    color-mix(in srgb, var(--color-primary) 80%, #000)
  );
  color: #fff;
  border: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  font-weight: 600;
}

.wpcf7-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.btn-wrap input:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* confirm用 */
.confirm_button {
  width: 100%;
  max-width: 420px;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  border-radius: 999px;
  text-align: center;
}

.confirm_button:disabled {
  background: #ccc;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.7;
}

.confirm_button:not(:disabled) {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    color-mix(in srgb, var(--color-primary) 80%, #000)
  );
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  font-weight: 600;
  transition: all 0.3s ease;
}

.confirm_button:not(:disabled):hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}
