@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@100..900&family=Zen+Old+Mincho&display=swap');

:root {
  --primary-color: #000bb2;
  --secondary-color: #231815;
  --accent-color: #0077c5;
  --font-color: #333;
  --red-color: #e50012;
  --gradient-bg: linear-gradient(
    to right,
    #0000ff,
    #0040ff,
    #007bff,
    #0040ff,
    #0000ff
  );
  --gradient-secondary-bg: linear-gradient(
    45deg,
    rgba(248, 248, 250, 1) 0%,
    rgba(244, 244, 246, 1) 30%,
    rgba(184, 210, 230, 1) 100%
  );
  --max-screen-width: 2240px;
  --spacing-sm: clamp(0.5rem, 1vw, 1rem);
  --spacing-md: clamp(1rem, 2vw, 2rem);
  --spacing-lg: clamp(2rem, 4vw, 4rem);
  --p-font-size: clamp(0.8rem, 0.9vw, 1.5rem);
  --h1-font-size: clamp(5rem, 5vw, 6rem);
  --h2-font-size: clamp(1.5rem, 1.3vw, 2.7rem);
  --h3-font-size: clamp(0.9rem, 1vw, 1.8rem);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'HirakakuStd', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: var(--font-color);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #333;
}

.bebas-neue {
  font-family: 'Bebas Neue', serif;
  font-weight: 400;
  font-style: normal;
}

.noto-sans-jp {
  font-family: 'Noto Sans JP', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.a1-micho {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-style: normal;
}

.container {
  padding: 20px;
}

.colored-header {
  font-family: 'Bebas Neue', serif;
  font-weight: 400;
  font-style: normal;
  background: url('/assets/images/artistic-blurry-background.png') center 55%
    no-repeat;
  background-repeat: no-repeat;
  text-align: center;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.2rem;
  font-weight: 900;
  width: fit-content;
  padding: 15px 40px;
}

.gradient-border {
  border-bottom: 3px solid;
  border-image: linear-gradient(to right, #39c8ff, #0044ff);
  border-image-slice: 1;
  width: fit-content;
}

/* Header Styles */
.site-header {
  position: relative;
  max-width: var(--max-screen-width);
  margin: 0 auto;
  background-color: transparent;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
}

header {
  position: fixed;
  z-index: 1000;
  width: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}

header:has(.site-header.scrolled) {
  box-shadow: 0 2px 0px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.site-header.scrolled {
  background-color: white;
}

.main-nav {
  display: none;
}

.site-header .logo img {
  height: 25px;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 8px 0;
}

.main-nav li {
  margin-right: 20px;
}

.main-nav li:last-child {
  margin-right: 80px;
}

.main-nav li p {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav li p img {
  height: 12px;
  width: 12px;
}

.main-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
}

.main-nav a span {
  color: var(--primary-color);
  font-size: 0.9rem;
  line-height: 0.9rem;
}

/* Desktop Dropdown Styles */
.main-nav .main-has-dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: -50%;
  transform: translateY(10px);
  width: 240px;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1010;
  list-style: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main-nav .main-has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .main-has-dropdown:hover img {
  transform: rotate(180deg);
}

.main-nav .dropdown-menu li {
  margin: 0;
  padding: 0;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.main-nav .dropdown-menu li:last-child {
  border-bottom: none;
}

.main-nav .dropdown-menu a {
  display: block;
  padding: 8px 15px;
  font-size: 14px;
  color: var(--font-color);
  transition: background-color 0.3s;
}

.main-nav .dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-page-top {
  display: none;
  cursor: pointer;
}

.nav-page-top-item {
  display: flex;
  padding: 20px 10px;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.nav-page-top-item.nav-page-top-mail {
  gap: 10px;
  height: 50px;
  font-size: 12px;
  font-weight: 600;
}

.nav-page-top-item.nav-page-top-mail img {
  height: 30px;
  width: 30px;
}

.nav-page-top-item.nav-page-top-arrow {
  gap: 15px;
  margin-top: 100%;
  font-size: 14px;
  font-weight: 600;
}

.nav-page-top-item.nav-page-top-arrow img {
  height: 50px;
  width: 50px;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  font-size: 1.4rem;
}

.mobile-nav {
  position: absolute;
  inset: 0;
  z-index: 1001;
  height: 100vh;
  width: 100%;
  background: rgb(193, 210, 228);
  background: linear-gradient(
    246deg,
    rgba(193, 210, 228, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s;
}

.mobile-nav .mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav .mobile-logo {
  padding: 23px 20px;
}

.mobile-nav .mobile-logo img {
  height: 25px;
}

.mobile-nav .contact-btn-container {
  width: 100%;
  padding: 0 20px;
  display: flex;
}

.mobile-nav .contact-btn-container .contact-btn {
  background-color: var(--accent-color);
  width: 100%;
  color: #ffffff;
  font-size: 2.5rem;
  padding: 10px 20px;
  text-align: center;
  letter-spacing: 0.1rem;
}

.mobile-nav .copyright {
  padding: 20px;
  font-size: 12px;
  text-align: center;
  color: var(--font-color);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.mobile-nav.active .mobile-nav-item:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav.active .mobile-nav-item:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-nav.active .mobile-nav-item:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav.active .mobile-nav-item:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav.active .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  cursor: pointer;
  width: 20px;
  height: 20px;
  margin-right: 26px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 50px 20px 50px;
  list-style: none;
}

.mobile-nav-list .mobile-nav-item {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.mobile-nav-list .mobile-nav-item img {
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
}

.mobile-nav-list .mobile-nav-item a {
  font-size: 16px;
  font-weight: 600;
}

.mobile-nav-list .mobile-nav-item a span {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 500;
}

.hamburger-btn {
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  gap: 5px;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: var(--font-color);
  font-weight: 600;
}

.hamburger-btn span {
  letter-spacing: -1px;
}

.mobile-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  max-height: 0;
  transition: all 0.4s ease;
  padding-left: 20px;
}

.mobile-has-dropdown.active .mobile-dropdown-menu {
  padding-top: 20px;
  max-height: 500px;
}

.mobile-nav-item.sub-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.mobile-has-dropdown.active .sub-item:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-has-dropdown.active .sub-item:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-has-dropdown.active .sub-item:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-has-dropdown.active .sub-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-dropdown-menu .mobile-nav-item a {
  font-size: 14px;
}

.site-footer {
  background-color: #000000;
  padding: 30px 20px;
  margin-top: 20px;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
}

.contact-background {
  background-image:
    url('/assets/images/contact-us.png'),
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  padding-top: 4rem;
  padding-bottom: 7rem;
}

.contact-container {
  max-width: var(--max-screen-width);
  margin: 0 auto;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-lg);
  text-align: center;
}

.contact-container h3 {
  font-size: var(--h1-font-size);
  line-height: 1.2;
}

.contact-subtitle {
  margin-bottom: var(--spacing-sm);
  max-width: min(600px, 90%);
  font-size: var(--p-font-size);
}

.contact-methods {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--spacing-sm);
  width: 100%;
  max-width: var(--max-screen-width);
}

.contact-method {
  flex: 1;
  min-width: min(300px, 100%);
  max-width: 400px;
  text-align: center;
  padding: var(--spacing-md);
  border-radius: 8px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  margin-bottom: var(--spacing-md);
}

.contact-method h3 {
  font-size: var(--h3-font-size);
  margin-bottom: 15px;
}

.contact-method p {
  font-size: var(--p-font-size);
  margin-bottom: var(--spacing-md);
}

.phone-number {
  font-size: var(--h2-font-size);
  margin-top: var(--spacing-lg);
}

.phone-number > a {
  color: #fff;
}

.fax-number {
  font-size: var(--p-font-size);
}

.link-container {
  background: #fff;
  color: #333;
  padding: var(--spacing-lg) var(--spacing-md);
}

.link-content {
  max-width: var(--max-screen-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--spacing-lg);
  padding: 0 var(--spacing-sm);
}

.link-section {
  display: flex;
  gap: 30px;
}

.link-section h3 {
  margin-bottom: var(--spacing-md);
  color: #000;
  font-size: var(--h2-font-size);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.link-section p,
.link-section address {
  font-style: normal;
  font-weight: 500;
  font-size: var(--p-font-size);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

.link-section h3:has(+ address) {
  margin: 0;
  font-size: var(--h2-font-size);
}

.link-section.sm-hidden {
  display: none;
}

.menu-list,
.business-list {
  list-style: none;
  padding-top: 5px;
}

.menu-list li,
.business-list li {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.menu-list li:hover,
.business-list li:hover {
  transform: translateX(5px);
}

.page-top {
  padding: 0 20px;
  margin: 40px 0;
  display: flex;
  gap: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-top > img {
  width: 80%;
  height: auto;
}

.page-top-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}

.page-top-button > img {
  width: 35px;
  height: 35px;
}

.page-top-button > p {
  font-size: var(--p-font-size);
  font-weight: 600;
}

.contents-container {
  background-image: url('/assets/images/business/contents.png');
  margin: 100px auto;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.contents-container section {
  max-width: 1440px;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 6rem);
}

.contents-container h1 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 30px;
  flex-direction: column;
  font-size: clamp(2rem, 3vw, 3rem);
}

.contents-container span {
  font-size: 0.8rem;
}

.contents-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.contents-item {
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 1.2rem;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.contents-item img {
  width: 16px;
  height: 16px;
  filter: invert(99%) sepia(4%) saturate(2%) hue-rotate(330deg) brightness(105%)
    contrast(100%);
}

@media only screen and (min-width: 768px) {
  .main-nav {
    display: block;
  }
  .site-header {
    padding: 10px 20px;
  }
  .site-header .logo img {
    height: 35px;
  }
  .nav-page-top {
    display: flex;
    height: 50vh;
    max-height: 500px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    flex-direction: column;
    z-index: 1000;
  }
  .mobile-nav {
    display: none;
  }
  .hamburger-btn {
    display: none;
  }
  .link-section.sm-hidden {
    display: flex;
  }

  .contact-background {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .page-top {
    display: none;
  }

  .link-container {
    padding: 4rem 10rem;
  }

  .contents-container h1 {
    flex-direction: row;
    gap: 20px;
  }

  .contents-item {
    background-color: #ffffff;
    color: var(--font-color);
    padding: 1.6rem;
    font-size: var(--h3-font-size);
  }

  .contents-item img {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    filter: none;
  }
}
