/*
Theme Name: FGG
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: 高速・SEO・Core Web Vitals最適化済み日本語WordPressテーマ。セキュリティ・保守性・プラグイン互換性重視。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fgg
Tags: 日本語, SEO, 高速, セキュリティ, シンプル, レスポンシブ
*/
/* =================================================
   Root & CSS Variables (1rem = 10px)
================================================= */
html {
  font-size: 62.5%;
  /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: "Satuday Rock Set 2";
  src: url(/wp-content/themes/fgg/assets/fonts/SaturdayRockSet2.otf)
    format("opentype");
}

:root {
  /* Fonts with fallback */
  --font-sans-jp:
    "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif-jp: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-lato: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-roboto: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-saturday-rock-set-2: "Satuday Rock Set 2", sans-serif;

  /* Colors */
  --color-bg: #ffffff;
  --color-card: #ffffff;
  --color-text: #333;
  --color-sub: #666;
  --color-border: #e5e5e5;
  --color-header: #182d85;
  --color-blue: #2743be;

  /* Spacing (rem based) */
  --space-xs: 0.4rem;
  /* 4px */
  --space-sm: 0.8rem;
  /* 8px */
  --space-md: 1.6rem;
  /* 16px */
  --space-lg: 2.4rem;
  /* 24px */
  --space-obj: 3rem;
  --space-content: 6rem;

  --arrow-icon: url(/wp-content/themes/fgg/assets/images/arrow.svg) no-repeat
    center/contain;
}

/* =================================================
   Reset & Base
================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans-jp);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:not(.normal-btn):hover {
  opacity: 0.6;
}

/* =================================================
   Header (Mobile First)
================================================= */
.site-header {
  background-color: #ffffffc9;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 192rem;
  height: 9rem;
  margin: 0 auto;
  padding: 1.6rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.logo {
  width: 31rem;
  height: auto;
}

.header-container:has(.hamburger.active) .logo {
  clip-path: polygon(0 0, 22% 0, 22% 100%, 0% 100%);
  z-index: 1001;
  filter: brightness(0) invert(1);
}

/* Navigation Menu */
.nav-menu {
  display: none;
  gap: 3.2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-sans-jp);
  font-size: 1.5rem;
  color: var(--color-bg);
  white-space: nowrap;
}

.nav-link:hover,
.footer-links a:hover {
  opacity: 0.6;
}

/* Contact Button */
.contact-btn {
  background-color: var(--color-bg);
  color: var(--color-header);
  border: none;
  border-radius: 4.8rem;
  font-size: 1.5rem;
  font-weight: 500;
  transition: all 0.1s ease;
  white-space: nowrap;
  align-content: center;
}

.contact-btn:hover {
  color: var(--color-blue);
  background: #d5dce9d6;
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 5.5rem;
  height: 2.7rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 0.3rem;
  background-color: var(--color-text);
  border-radius: 0.2rem;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* active color */
.hamburger.active span {
  background-color: var(--color-bg);
}

/* ===== X shape ===== */
.hamburger.active span:nth-child(1) {
  transform: translateY(1.2rem) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-1.2rem) rotate(-45deg);
}

.page-top-btn {
  position: fixed;
  display: flex;
  gap: 0.5rem;
  bottom: 6rem;
  right: -4rem;
  width: 28.6rem;
  height: 6.8rem;
  border-radius: 3.4rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: 0.2rem solid #596595;
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
  color: #35437e;
  font-family: "Roboto";
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.page-top-btn::after {
  content: "";
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  transform: rotate(-90deg);
  background-color: currentColor;
  mask: var(--arrow-icon);
  -webkit-mask: var(--arrow-icon);
}

.circle-arrow-icon {
  position: relative;
  display: inline-block;
  width: 8rem;
  height: 8rem;
  border-radius: 100%;
  border: 0.2rem solid #2743be;
}

.circle-arrow-icon.left {
  transform: scaleX(-1);
}

.circle-arrow-icon.is-disabled {
  border-color: #ccc;
  cursor: not-allowed;
}

.circle-arrow-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 30%;
  height: 30%;
  background-color: currentColor;
  mask: var(--arrow-icon);
  -webkit-mask: var(--arrow-icon);
}

.contact-phone-icon {
  display: inline-block;
  width: 4.5rem;
  height: 5rem;
  background: url(/wp-content/themes/fgg/assets/images/phone-icon.webp)
    no-repeat center / contain;
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 998;
  pointer-events: none;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.section-heading {
  font-size: 7.7rem;
  line-height: 10.1rem;
  font-family: var(--font-lato);
  font-weight: 900;
  color: var(--color-bg);
  text-transform: uppercase;
  letter-spacing: 1rem;
}

.normal-btn {
  position: relative;
  display: block;
  align-items: center;
  width: 40rem;
  height: 9.5rem;
  border-radius: 4.7rem;
  background-color: var(--color-bg);
  font-size: 2.8rem;
  letter-spacing: 0.1rem;
  color: var(--color-header);
  font-weight: 300;
  text-align: center;
  align-content: center;
  justify-self: center;
  transition: all 0.1s ease;
  box-sizing: border-box;
  border: 0.2rem solid transparent;
}

.normal-btn::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  background-color: currentColor;
  mask: var(--arrow-icon);
  -webkit-mask: var(--arrow-icon);
}

/* Mobile Menu (dropdown from top) */
@media (max-width: 767px) {
  .menu-overlay {
    display: block;
  }

  .nav-menu {
    position: absolute;
    inset: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: #2c3b7b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    align-items: center;
    padding: 0;
    gap: 0;
    z-index: 1000;
  }

  .nav-menu.active {
    max-height: 100vh;
    height: 100vh;
    padding-top: 10rem;
  }

  .nav-link {
    width: 100%;
    font-size: 3.2rem;
    letter-spacing: 0.4rem;
    line-height: 12rem;
    display: block;
  }

  .contact-btn {
    width: 40rem;
    height: 9.5rem;
    font-size: 2.8rem;
    margin-top: 4rem;
  }

  .nav-footer-links {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 4rem;
    right: 6rem;
    gap: 9.5rem;
  }

  .nav-link.privacy,
  .nav-link.instagram {
    font-size: 2.5rem;
    line-height: 1;
  }

  .nav-link.instagram img {
    width: 4.8rem;
    height: 4.8rem;
  }
}

/* =================================================
   Layout (Mobile First)
================================================= */
.site-footer {
  background-color: #162566;
  color: var(--color-bg);
}

.footer-main {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10rem;
  padding: 10rem 6rem;
}
.footer-decor {
  position: relative;
  height: 50rem;
  background: var(--color-bg);
  overflow-x: clip;
  margin: auto;
}
.footer-decor::before {
  content: "";
  position: absolute;
  bottom: -5.5vw;
  left: -10vw;
  width: 60vw;
  aspect-ratio: 82/69;
  background: url(/wp-content/themes/fgg/assets/images/footer-bg-building.webp)
    no-repeat center center/cover;
  z-index: 1;
}
.footer-decor::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -131vw;
  width: 170vw;
  aspect-ratio: 2848/145;
  background: url(/wp-content/themes/fgg/assets/images/footer-bg-city.webp)
    no-repeat center center/cover;
  z-index: 1;
}
.footer-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

.footer-logo {
  width: 17.8rem;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  color: var(--color-bg);
}

.footer-column {
  width: 50%;
  min-width: 14rem;
  font-size: 1.4rem;
}

.footer-column-title {
  margin-bottom: 1.2rem;
  font-size: 2.7rem;
  letter-spacing: 0.2rem;
  line-height: 7.2rem;
  font-weight: bold;
}

.footer-column-title--home {
  letter-spacing: 0.16em;
}

.footer-list {
  list-style: none;
}

.footer-list-item {
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
  line-height: 1.5;
}

.footer-list-item + .footer-list-item {
  margin-top: 3rem;
}

.footer-divider-column {
  position: relative;
  padding-left: 3rem;
}

.footer-divider-column::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.3rem;
  background-color: #eaeff5;
}

.footer-instagram img {
  width: 4.8rem;
  height: 4.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 4rem;
  background: var(--color-bg);
  padding: 0 2rem;
  letter-spacing: 0.2rem;
  line-height: 7.2rem;
  color: #434343;
}

.footer-privacy {
  font-size: 2.5rem;
  color: var(--color-text);
}

.footer-copy {
  font-size: 2rem;
  font-weight: normal;
  font-family: "Roboto";
}

.container {
  width: 100%;
  padding: 0;
  /* overflow-x: hidden; */
  margin: 0 auto;
}

.container:has(article) {
  /* padding: 5rem 3rem; */
}

/* =================================================
   Main View (MV) Section
================================================= */
.mv-section {
  position: relative;
  width: 100%;
  height: 93dvh;
  align-items: center;
  margin-bottom: 0;
  overflow: hidden;
}

.mv-section::after {
  content: "";
  position: absolute;
  background: url(/wp-content/themes/fgg/assets/images/mv-bottom-sp.webp)
    no-repeat center bottom/contain;
  bottom: -40vw;
  left: 50%;
  transform: translateX(-50%);
  width: 210vw;
  aspect-ratio: 1924/485;
  z-index: 1;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

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

/* Text Overlay */
.mv-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: var(--color-bg);
}

.mv-text-jp {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  top: -8vw;
  font-size: min(3vw, 2.8rem);
  letter-spacing: 0.6rem;
  font-weight: 200;
  font-family: var(--font-serif-jp);
  filter: drop-shadow(0 0 4px rgba(0, 34, 70, 0.65));
}

.mv-text-en {
  font-size: min(9.7vw, 9.1rem);
  letter-spacing: 0.1rem;
  line-height: 1.2;
  font-weight: 900;
  font-family: var(--font-lato);
  filter: drop-shadow(0 0 12px rgba(0, 34, 70, 0.25));
}

/* =================================================
   Info Section
================================================= */
.info-section {
  padding: 6rem var(--space-obj) 10rem;
  background-color: var(--color-bg);
}

.info-container {
  max-width: 120rem;
  margin: 0 auto;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 2.4rem;
  background-color: var(--color-bg);
  border: 3px solid var(--color-blue);
  border-radius: 2rem;
  flex-wrap: wrap;
}

.info-label {
  font-family: var(--font-lato);
  font-size: 2.5rem;
  letter-spacing: 0.7rem;
  font-weight: 900;
  color: var(--color-blue);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.info-text {
  font-family: var(--font-sans-jp);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  flex: 1;
  min-width: 20rem;
}

@media (max-width: 76.7rem) {
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 4rem 3rem;
  }

  .info-label {
    font-size: 2.5rem;
  }

  .info-text {
    font-size: 2.8rem;
    line-height: 4.1rem;
    letter-spacing: 0.3rem;
    min-width: 0;
    width: 100%;
  }
}

/* =================================================
   About Section
================================================= */
.about-section {
  width: 100%;
  background-color: #1d37a6;
  padding: 9rem var(--space-content);
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  aspect-ratio: 243/954;
  width: 24.3rem;
  height: auto;
  background: url(/wp-content/themes/fgg/assets/images/about-smile-vertical.webp)
    no-repeat center center/cover;
}

.about-container {
  max-width: 120rem;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 9rem;
}

/* Text Content */
.about-text-wrapper {
  width: 100%;
}

.about-subheading {
  font-size: 3.2rem;
  letter-spacing: 0.3rem;
  line-height: 8.2rem;
  font-weight: bold;
  color: var(--color-bg);
  margin: 0 0 1.2rem 0;
}

.about-title {
  font-family: var(--font-serif-jp);
  font-size: 4.2rem;
  font-weight: normal;
  color: var(--color-bg);
  margin-bottom: 5rem;
  line-height: 1.4;
}

.about-description {
  font-size: 2.8rem;
  line-height: 4.8rem;
  letter-spacing: 0.3rem;
  font-weight: 400;
  color: var(--color-bg);
  margin-bottom: 8rem;
}

/* Button */

.about-button:hover {
  background: #1d37a6;
  color: var(--color-bg);
  border-color: currentColor;
}

/* =================================================
   Service Section
================================================= */
.service-section {
  width: 100%;
  background: url(/wp-content/themes/fgg/assets/images/service-bg.webp)
    no-repeat center center/cover;
  padding: 9rem var(--space-content);
  position: relative;
}

.service-container {
  max-width: 120rem;
  margin: 0 auto;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 7rem;
}

/* Text Content */
.service-text-wrapper {
  width: 100%;
}

.service-heading {
  color: var(--color-header);
  margin-bottom: 12rem;
}

.service-subheading {
  font-size: 5rem;
  margin-bottom: 4.8rem;
  letter-spacing: 0.5rem;
  line-height: 6.9rem;
  font-weight: 200;
  font-family: var(--font-serif-jp);
}

.service-description {
  font-family: var(--font-sans-jp);
  font-weight: 400;
  line-height: 2;
  margin: 0;
  font-size: 2.8rem;
  letter-spacing: 0.3rem;
  line-height: 4.8rem;
}

/* Service List */
.service-list-wrapper {
  width: 100%;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 9rem;
}

.service-item {
  font-family: var(--font-sans-jp);
  padding-left: 2.8rem;
  position: relative;
  font-size: 2.8rem;
  letter-spacing: 0.3rem;
  line-height: 8.1rem;
  color: var(--color-header);
}

.service-item::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  width: 2.8rem;
  height: 2.8rem;
  background-color: currentColor;
  mask: var(--arrow-icon);
  -webkit-mask: var(--arrow-icon);
}

/* Button */
.service-button {
  background-color: var(--color-header);
  color: var(--color-bg);
}

.service-button:hover {
  color: var(--color-header);
  background: var(--color-bg);
  border-color: currentColor;
}

/* =================================================
   Slideshow Section
================================================= */
.slideshow-section {
  overflow: hidden;
}

.slide-container {
  display: flex;
  animation: scroll 20s linear infinite;
}

.slide-container img {
  width: 43.5rem;
  height: 32.7rem;
}

/* =================================================
   News Section (Top page)
================================================= */
.news-section {
  width: 100%;
  background-color: var(--color-bg);
  padding: 9rem var(--space-content);
  position: relative;
}

.news-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65rem;
  height: 43.7rem;
  background: url(/wp-content/themes/fgg/assets/images/news-bg.webp) no-repeat
    center center/cover;
}

.news-container {
  max-width: 120rem;
  margin: 0 auto;
}

.news-header {
  display: flex;
  gap: 6rem;
  margin-bottom: var(--space-lg);
  align-items: center;
}

.news-list-button {
  display: none;
}

.news-list-button:hover {
  color: var(--color-bg);
  background: var(--color-header);
}

.news-list-button-mobile {
  display: block;
}

.news-heading {
  color: var(--color-header);
}

.news-list-button {
  border: 0.3rem solid var(--color-header);
}

.news-list {
  list-style: none;
  padding: 0;
  margin-bottom: 6rem;
}

.news-item {
  padding: 4rem 0;
  position: relative;
  border-bottom: 0.2rem solid var(--color-header);
}

.news-item-header {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.news-date {
  font-size: 2.5rem;
  letter-spacing: 0.3rem;
  line-height: 2.9rem;
  font-weight: 500;
  font-family: var(--font-lato);
}

.news-category {
  display: inline-block;
  width: 20rem;
  height: 4rem;
  background-color: #e0eaf2;
  border-radius: 1.9rem;
  text-align: center;
  font-size: 2.5rem;
  line-height: 3.5rem;
  letter-spacing: 0.3rem;
  color: var(--color-blue);
  font-weight: 300;
}

.news-title {
  font-size: 2.8rem;
  letter-spacing: 0.6rem;
  line-height: 4.6rem;
  margin: 0;
  padding-right: 2rem;
}

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

/* =================================================
   News Archive (/news)
================================================= */
.news-archive {
  width: 100%;
  padding: 7rem 3rem 50rem;
  background-color: var(--color-bg);
}

.news-archive-header {
  max-width: 120rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.news-archive-title {
  font-size: 7.5rem;
  letter-spacing: 0.6rem;
  line-height: 6.8rem;
  font-family: var(--font-lato);
  font-weight: 900;
  margin-bottom: 2.5rem;
}

.news-archive-subtitle {
  font-size: 3rem;
  letter-spacing: 0.2rem;
  font-weight: 500;
}

.news-archive-filter {
  max-width: 60rem;
  margin: 9rem auto 0;
  padding: 1.2rem 2rem;
  border: 0.1rem solid #6b6b6b;
}

.news-archive-select {
  border: none;
  width: 100%;
  font-size: 2.8rem;
  letter-spacing: 0.1rem;
  background-color: var(--color-bg);
}

.news-archive-list {
  max-width: 120rem;
  margin: 8rem auto 0;
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem 3rem;
}

.news-card {
  background-color: #fff;
  overflow: hidden;
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.news-card-thumb {
  width: 100%;
  padding-top: 70%;
  background-size: cover;
  background-position: center;
}

.news-card-thumb--placeholder {
  background-color: #f0f2f5;
}

.news-card-body {
  padding: 1.8rem 0 2.2rem;
}

.news-card-category {
  display: inline-block;
}

.news-card-category,
.news-card-title {
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
  line-height: 4rem;
  margin: 0 0 0.8rem;
  font-weight: normal;
}

.news-card-date {
  font-size: 2rem;
}

.news-archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: 14.5rem;
}

.news-archive-page-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 7rem;
  gap: 3rem;
  font-size: 3rem;
  font-family: "Roboto";
}

.news-archive-page-status .current {
  font-weight: 700;
}

/* =================================================
   News Single (detail)
================================================= */
.news-single-article {
  max-width: 72rem;
  margin: 6rem auto 8rem;
  padding: 0 2rem;
}

.news-single-header {
  margin-bottom: 3rem;
}

.news-single-meta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
}

.news-single-category {
  display: inline-block;
  color: var(--color-header);
}

.news-single-date {
  color: #666;
}

.news-single-title {
  position: relative;
  font-size: 2.4rem;
  line-height: 1.7;
  letter-spacing: 0.2rem;
  margin: 0;
  font-family: var(--font-serif-jp);
}

.news-single-title::after {
  position: absolute;
  content: "";
  display: block;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  border-bottom: 0.1rem solid #182d85;
}

.news-single-thumb {
  margin: 0 0 3.5rem;
}

.news-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.news-single-content {
  font-size: 1.5rem;
  line-height: 2.4rem;
}

.news-single-content p {
  margin-bottom: 1.8rem;
}

.news-single-share {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8.5rem;
  margin: 14.5rem 0 7.8rem;
  padding-bottom: 4.3rem;
}

.news-single-share::after {
  position: absolute;
  content: "";
  display: block;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  border-bottom: 0.1rem solid #182d85;
}

.news-single-share-x img {
  width: 4.4rem;
  height: 4.4rem;
}

.news-single-share-facebook img {
  width: 3rem;
  height: 5.5rem;
}

.news-single-share-line img {
  width: 5.8rem;
  height: 5.6rem;
}

.news-single-share-icon {
  display: inline-flex;
}

.news-single-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  gap: 4rem 0;
}

.news-single-nav-item {
  width: 50%;
}

.news-single-nav-prev {
  text-align: start;
  order: 1;
}

.news-single-nav-next {
  text-align: end;
  order: 2;
}

.news-single-nav-list {
  font-size: 2.8rem;
  letter-spacing: 0.4rem;
  line-height: 4.5rem;
  border-radius: 4.3rem;
  border: 0.2rem solid #6b6b6b;
  padding: 3rem 10rem;
  order: 3;
}

.news-single-nav-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  letter-spacing: 0.4rem;
  line-height: 4.5rem;
}

@media (max-width: 600px) {
  .news-single-article {
    margin-top: 4rem;
  }

  .news-single-title {
    font-size: 2rem;
  }
}

/* =================================================
   Contact Page
================================================= */
.contact-page {
  width: 100%;
  background-color: var(--color-bg);
}

.contact-hero {
  width: 100%;
  aspect-ratio: 1;
  background: url(/wp-content/themes/fgg/assets/images/contact-bg.webp)
    no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-bg);
}

.contact-hero-title {
  font-size: 7.5rem;
  letter-spacing: 0.6rem;
  line-height: 6.8rem;
  font-weight: 900;
  font-family: var(--font-lato);
  filter: drop-shadow(0 0 12px rgba(0, 34, 70, 0.25));
  margin-bottom: 5rem;
}

.contact-hero-subtitle {
  font-size: 3rem;
  letter-spacing: 0.2rem;
  font-weight: 500;
}

.contact-intro,
.contact-phone,
.contact-forms {
  padding: 14rem var(--space-content) 0;
}

.contact-intro-inner,
.contact-phone-inner,
.contact-forms-inner {
  max-width: 95rem;
  margin: 0 auto;
}

.contact-intro-inner p {
  font-size: 2.8rem;
  letter-spacing: 0.3rem;
  line-height: 4.6rem;
  text-align: left;
}

.contact-section-title {
  font-size: 3.5rem;
  letter-spacing: 0.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-phone-box {
  border-radius: 1.6rem;
  border: 0.2rem solid #6b6b6b;
  padding: 7rem 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.contact-phone-number {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 2.4rem;
}

.contact-phone-link {
  font-size: 5.6rem;
  letter-spacing: 0.4rem;
  line-height: 4rem;
  color: var(--color-blue);
  font-weight: 400;
  font-family: var(--font-roboto);
}

.contact-phone-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  font-size: 2.8rem;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
  font-weight: 300;
}

.wpcf7-form-control-wrap {
  display: block;
}
.wpcf7-not-valid-tip {
  display: none;
}

.contact-forms {
  padding-bottom: 9rem;
}

.contact-forms .contact-section-title {
  border-bottom: 0.2rem solid #6b6b6b;
  padding-bottom: 2.5rem;
  margin-bottom: 4rem;
}

.contact-forms-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.6rem 3rem;
  padding: 0 1.2rem;
}

.contact-form-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 5rem;
  border-radius: 50rem;
  background-color: var(--color-bg);
  border: 0.2rem solid var(--color-blue);
  font-size: 2.8rem;
  letter-spacing: 0.4rem;
  line-height: 4.5rem;
  color: var(--color-blue);
  font-weight: 300;
}

.contact-form-btn::after {
  content: "";
  position: absolute;
  right: 5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: var(--arrow-icon);
}

.error404 .container {
  background-color: var(--color-bg);
}

.error-404-hero {
  width: 100%;
  aspect-ratio: 1;
  background:
    linear-gradient(180deg, rgba(24, 45, 133, 0.2), rgba(24, 45, 133, 0.5)),
    url(/wp-content/themes/fgg/assets/images/contact-bg.webp) no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-bg);
  padding: 0 var(--space-content);
}

.error-404-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-404-code {
  font-family: var(--font-lato);
  font-size: 14rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.2rem;
  margin-bottom: 3rem;
  text-shadow: 0 0 2rem rgba(0, 34, 70, 0.2);
}

.error-404-title {
  font-family: var(--font-lato);
  font-size: 5.6rem;
  line-height: 1.1;
  letter-spacing: 0.5rem;
  font-weight: 900;
  margin-bottom: 2.4rem;
}

.error-404-subtitle {
  font-size: 3rem;
  letter-spacing: 0.2rem;
  font-weight: 500;
}

.error-404-content {
  padding: 14rem var(--space-content) 12rem;
}

.error-404-content-inner {
  max-width: 95rem;
  margin: 0 auto;
  text-align: center;
}

.error-404-description {
  font-size: 2.8rem;
  letter-spacing: 0.2rem;
  line-height: 4.6rem;
  margin-bottom: 7rem;
}

.error-404-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.error-404-btn {
  color: var(--color-bg);
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

.error-404-btn:hover {
  background-color: var(--color-bg);
  color: var(--color-blue);
}

.error-404-contact-btn {
  width: 40rem;
  justify-content: center;
  padding-left: 4rem;
  padding-right: 4rem;
}

/* Contact Form detail */
.contact-page--form {
  background-color: var(--color-bg);
}

.contact-form-breadcrumb {
  padding: 4.5rem 3.5rem 0;
}
.contact-form-header {
  padding: 14.5rem var(--space-content) 10rem;
}

.contact-form-breadcrumb-inner,
.contact-form-header-inner,
.contact-form-section-inner {
  max-width: 95.4rem;
  margin: 0 auto;
}

.contact-form-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 2.8rem;
  letter-spacing: 0.4rem;
  line-height: 4.5rem;
  font-weight: 300;
}

.contact-form-breadcrumb-link::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #182d85;
  mask: var(--arrow-icon);
  -webkit-mask: var(--arrow-icon);
  transform: rotate(180deg);
}

.contact-form-header-inner {
  text-align: center;
}

.contact-form-heading {
  font-size: 4rem;
  letter-spacing: 0.2rem;
  margin-bottom: 10rem;
  font-family: var(--font-serif-jp);
  font-weight: normal;
}
.contact-form-subheading {
  font-size: 3.5rem;
  letter-spacing: 0.2rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.contact-phone-box--form {
  margin: 0 auto;
}

.contact-form-section {
  padding: 15rem var(--space-content) 10.5rem;
  background-color: #e4ebf9;
}

.contact-form-section-title {
  text-align: center;
  margin-bottom: 6rem;
  font-size: 4rem;
  letter-spacing: 0.4rem;
  line-height: 4.6rem;
}

.contact-form-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  font-size: 2.6rem;
  letter-spacing: 0.1rem;
  font-weight: bold;
  padding: 0 6rem;
  text-align: center;
  justify-self: center;
  width: 90%;
  margin: auto;
}

.contact-form-steps .step {
  color: #9fabc5;
  border-bottom: 0.8rem solid #b3bfd9;
  padding-bottom: 0.6rem;
}

.contact-form-steps .step.is-active {
  color: #4e6697;
  border-color: #2743be;
}

.contact-form-body {
  border-radius: 1.2rem;
  padding: 3rem 0 0;
}

.contact-form-field {
  margin-bottom: 2rem;
}

.contact-form-label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 2.8rem;
  letter-spacing: 0.3rem;
  line-height: 7.4rem;
}
.contact-form-label br {
  display: none;
}
.contact-form-label .wpcf7-form-control-wrap:has(.wpcf7-not-valid)::after {
  content: "!";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  display: inline-block;
  text-align: center;
  align-content: center;
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  line-height: 0;
  color: var(--color-bg);
  background-color: var(--color-header);
  border-radius: 100%;
}

.contact-form-label .required {
  font-size: 1.4rem;
  color: #ff9600;
}
::placeholder {
  color: #a2acbe;
}
.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  border-radius: 1rem;
  background-color: var(--color-bg);
  border: 0.2rem solid #88a5de;
  padding: 4rem 4rem 4rem 3rem;
  font-size: 2.8rem;
  letter-spacing: 0.3rem;
  line-height: 2.8rem;
  &.wpcf7-not-valid {
    background: cornsilk;
  }
}

.contact-form-input--highlight {
  background-color: #fffbe6;
}

.contact-form-textarea {
  resize: vertical;
}

.contact-form-hint {
  margin-top: 0.4rem;
  font-size: 1.8rem;
  color: #e60033;
}

.contact-form-agree {
  margin: 7.5rem 0 4rem;
  font-size: 2.8rem;
  letter-spacing: 0.3rem;
  line-height: 7.4rem;
  text-align: center;
}

.contact-form-agree .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-form-agree [type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 3.7rem;
  height: 3.7rem;
  border-radius: 0.6rem;
  background-color: #ffffff;
  border: 0.2rem solid var(--color-blue);

  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.contact-form-agree [type="checkbox"]:checked {
  background-color: var(--color-blue);
}

.contact-form-agree [type="checkbox"]:checked:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.8rem;
  height: 1.2rem;
  border: solid white;
  border-width: 0 0.3rem 0.3rem 0;
}

.contact-form-agree a {
  border-bottom: 0.3rem solid var(--color-blue);
  color: var(--color-blue);
}

.contact-form-submit {
  text-align: center;
}
.contact-form-submit p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-form-submit-btn {
  font-size: 3rem;
  letter-spacing: 0.2rem;
  color: var(--color-bg);
  width: 50rem;
  height: 12rem;
  border-radius: 6rem;
  background-color: var(--color-blue);
  min-width: 26rem;
  border: none;
  cursor: pointer;
}
.contact-form-submit .wpcf7-spinner {
  display: none !important;
}

@media (max-width: 1024px) {
  .news-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =================================================
   Recruit Section
================================================= */
.recruit-section {
  width: 100%;
  height: 225rem;
  padding: 0 var(--space-content) 9rem;
  position: relative;
  overflow: hidden;
}

.recruit-section::before {
  content: "";
  position: absolute;
  bottom: 6rem;
  left: -20rem;
  width: 64.3rem;
  aspect-ratio: 691/925;
  background: url(/wp-content/themes/fgg/assets/images/recruit-decor.webp)
    no-repeat center center/cover;
}

.recruit-container {
  background:
    linear-gradient(to bottom, #1ba5d3, #8a63b3),
    url(/wp-content/themes/fgg/assets/images/recruit-building.webp) no-repeat
      bottom right/contain;
  background-blend-mode: multiply;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 120rem;
  height: 121.9rem;
  border-radius: 2rem;
  box-shadow: 11.375px 12.633px 25.5px rgba(29, 40, 79, 0.4);
  margin: auto;
}

.recruit-content {
  width: 100%;
  z-index: 2;
  padding: 7rem;
}

.recruit-heading {
  color: var(--color-bg);
}

.recruit-subheading {
  font-size: 3rem;
  letter-spacing: 0.3rem;
  line-height: 4.8rem;
  color: var(--color-bg);
  margin-bottom: 7rem;
}

.recruit-description {
  font-size: 2.8rem;
  letter-spacing: 0.1rem;
  line-height: 4.2rem;
  text-align: left;
  color: var(--color-bg);
  margin-bottom: 6rem;
}

.recruit-button {
  color: var(--color-bg);
  background: #ffffff00;
  border: 0.3rem solid currentColor;
}

.recruit-button:hover {
  background: #ffffff55;
}

.recruit-images {
  position: relative;
  width: 100%;
  height: 30rem;
  z-index: 1;
}

.recruit-image {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.recruit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-image-1 {
  top: -18%;
  left: 7%;
  z-index: 2;
  width: 60%;
}

.recruit-image-2 {
  top: 70%;
  right: -2%;
  z-index: 1;
  width: 40%;
}

.recruit-image-3 {
  bottom: -80%;
  left: 39%;
  z-index: 3;
  width: 30%;
}

.recruit-slogan {
  position: absolute;
  font-size: 9.1rem;
  letter-spacing: 0.9rem;
  line-height: 11.6rem;
  font-weight: 200;
  font-family: var(--font-serif-jp);
  text-align: right;
  white-space: nowrap;
  right: -6rem;
  bottom: 15rem;
}

.recruit-slogan::after {
  content: "・・・";
  position: absolute;
  top: 29%;
  left: 1%;
  font-size: 6.5rem;
}

.recruit-slogan span {
  font-size: 7.5rem;
  letter-spacing: 0.1rem;
}

.recruit-company-name {
  position: absolute;
  font-size: 4.4rem;
  letter-spacing: 0.4rem;
  line-height: 6.6rem;
  font-family: var(--font-saturday-rock-set-2);
  right: 5rem;
  bottom: 7rem;
  font-style: italic;
  transform: rotateZ(-10deg);
}
/* Mobile */
@media (max-width: 767px) {
  .normal-btn {
    margin: auto;
  }

  .sp-none {
    display: none;
  }

  .pc-none {
    display: block;
  }
}

/* =================================================
   Responsive Enhancement (Tablet+)
================================================= */
@media (min-width: 768px) {
  /* 768px */
  body {
    font-size: 1.6rem;
  }

  .sp-none {
    display: block;
  }

  .pc-none {
    display: none;
  }

  .header-container {
    padding: 1.5rem 2rem;
    height: 8rem;
  }

  .logo {
    width: 28rem;
  }

  .nav-menu {
    display: flex;
  }

  .nav-link {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    color: var(--color-text);
    font-weight: 300;
  }

  .hamburger,
  .nav-footer-links {
    display: none;
  }

  .contact-btn {
    width: 20rem;
    height: 4.5rem;
    border-radius: 2.2rem;
    background-color: var(--color-blue);
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    color: var(--color-bg);
    font-weight: 300;
    text-align: center;
  }

  .container:has(article) {
    /* max-width: 95.4rem; */
    /* padding: 5rem 0; */
  }

  .page-top-btn {
    display: none;
  }

  .circle-arrow-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-width: 0.1rem;
  }

  .section-heading {
    font-size: 8rem;
    letter-spacing: 0.8rem;
    line-height: 9rem;
  }

  .normal-btn {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    justify-self: start;
    width: 24.2rem;
    height: 5.5rem;
    border-radius: 2.7rem;
  }

  /* =================================================
   Main View (MV) Section
  ================================================= */
  .mv-section::after {
    background-image: url(/wp-content/themes/fgg/assets/images/mv-bottom-pc.webp);
    bottom: -4.5vw;
    aspect-ratio: 256/27;
    width: 105%;
  }

  .mv-text-jp {
    font-size: min(1.46vw, 2.8rem);
    top: -3.125vw;
  }

  .mv-text-en {
    font-size: min(6.3vw, 12.1rem);
    white-space: nowrap;
  }

  .info-section {
    padding: 5rem 4rem 13rem;
  }

  .info-item {
    padding: 1rem 4.5rem;
    gap: 4rem;
    border-radius: 2.7rem;
    border: 0.2rem solid var(--color-blue);
  }

  .info-label {
    font-size: 1.6rem;
    letter-spacing: 0.4rem;
  }

  .info-text {
    font-size: 1.7rem;
    letter-spacing: 0.2rem;
    line-height: 2.9rem;
  }

  /* About Section */
  .about-section {
    padding: 6rem 4rem;
    max-width: 192rem;
    margin: 0 auto;
  }

  .about-section::before {
    background-image: url(/wp-content/themes/fgg/assets/images/about-smile-horizontal.webp);
    aspect-ratio: 1230/287;
    width: min(64vw, 123rem);
  }

  .about-section::after {
    content: "";
    background: #1d37a6;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
  }

  .about-content {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 6rem;
  }

  .about-text-wrapper {
    flex: 1;
    max-width: 60rem;
  }

  .about-subheading {
    font-size: 2rem;
    letter-spacing: 0.2rem;
    line-height: 5.1rem;
  }

  .about-title {
    font-size: 3.2rem;
  }

  .about-description {
    font-size: 1.7rem;
    letter-spacing: 0.2rem;
    line-height: 3.7rem;
  }

  .about-container,
  .service-container {
    max-width: 100rem;
  }

  .service-content {
    flex-direction: row-reverse;
  }

  .service-subheading {
    font-size: 3.4rem;
    letter-spacing: 0.3rem;
    line-height: 4.8rem;
  }

  .service-description {
    font-size: 1.7rem;
    letter-spacing: 0.2rem;
    line-height: 3.7rem;
  }

  .service-list {
    margin-bottom: 6rem;
  }

  .service-item {
    font-size: 1.8rem;
    letter-spacing: 0.2rem;
    line-height: 5.1rem;
  }

  .service-text-wrapper {
    text-align: end;
  }

  .service-item::before {
    width: 1.1rem;
    height: 1.1rem;
  }

  .service-button {
    justify-self: start;
  }

  /* News Section */
  .news-section {
    padding: 6rem 4rem;
    max-width: 192rem;
    margin: 0 auto;
  }

  .news-item-header {
    gap: 5rem;
    margin-right: 5rem;
    margin-bottom: 0;
  }

  .news-item {
    padding: var(--space-lg) 0;
  }

  .news-item:last-child {
    border-bottom: none;
  }

  .news-date {
    font-size: 1.4rem;
    letter-spacing: 0.3rem;
    line-height: 2.9rem;
  }

  .news-category {
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    width: 13.6rem;
    height: 2.4rem;
    border-radius: 1.2rem;
    line-height: 2.3rem;
  }

  .news-title {
    display: contents;
    font-size: 1.4rem;
    letter-spacing: 0.3rem;
    line-height: 2.9rem;
  }

  .news-link::after {
    content: "";
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    margin-left: 2rem;
    background-color: currentColor;
    mask: var(--arrow-icon);
    -webkit-mask: var(--arrow-icon);
  }

  /* Recruit Section */
  .recruit-content {
    width: 60%;
    padding: 9rem 0rem 9rem 13rem;
  }

  .recruit-container {
    flex-direction: row;
    height: 50rem;
  }

  .recruit-section {
    padding: 6rem 4rem;
    height: 113.5rem;
  }

  .recruit-heading {
    font-size: 6.5rem;
    letter-spacing: 0.6rem;
    line-height: 5.9rem;
    margin-bottom: 2.5rem;
  }

  .recruit-subheading {
    font-size: 2rem;
    letter-spacing: 0.2rem;
    line-height: 4.8rem;
    margin-bottom: 5rem;
  }

  .recruit-description {
    font-size: 1.7rem;
    letter-spacing: 0.2rem;
    line-height: 2.9rem;
    margin-bottom: 4rem;
  }

  .recruit-images {
    width: 45%;
    height: 100%;
  }

  .recruit-image-1 {
    width: 33.3rem;
    top: -12%;
    left: -8%;
  }

  .recruit-image-2 {
    width: 25.5rem;
    top: 43%;
    right: 8%;
  }

  .recruit-image-3 {
    width: 22.8rem;
    bottom: -8%;
    left: 7%;
  }

  .news-archive {
    padding: 12rem 0 30rem;
  }

  .news-single-header {
    margin-bottom: 5rem;
  }

  .news-archive-title {
    font-size: 8rem;
  }

  .news-archive-subtitle {
    font-size: 2.4rem;
  }

  .news-archive-filter {
    margin-top: 10.5rem;
    padding: 1.9rem 2rem;
  }

  .news-archive-select {
    font-size: 1.6rem;
  }

  .news-archive-list {
    max-width: 129rem;
    margin-top: 5rem;
  }

  .news-archive-grid {
    gap: 2rem 3rem;
  }

  .news-card-category,
  .news-card-date {
    font-size: 1.3rem;
    margin: 0;
  }

  .news-card-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .news-card-body {
    padding-top: 0.5rem;
  }

  .news-archive-pagination {
    margin-top: 12rem;
    gap: 5rem;
  }

  .news-archive-page-status {
    font-size: 1.8rem;
    gap: 2rem;
  }

  .news-single-article {
    margin: 11rem auto 8rem;
    max-width: 95rem;
    padding: 0;
  }

  .news-single-title {
    font-size: 3.8rem;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
  }

  .news-single-meta {
    font-size: 1.6rem;
  }

  .news-single-thumb {
    margin-bottom: 9.5rem;
  }

  .news-single-content {
    padding: 0 5.2rem;
  }

  .news-single-content p {
    font-size: 1.6rem;
  }

  .news-single-share {
    margin: 13.4rem 0 4rem;
    padding-bottom: 3rem;
  }

  .news-single-share-x img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .news-single-share-facebook img {
    width: 1.6rem;
    height: 3rem;
  }

  .news-single-share-line img {
    width: 3.3rem;
    height: 3.2rem;
  }

  .news-single-nav {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .news-single-nav-item {
    width: auto;
  }

  .news-single-nav-list {
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    line-height: 2.8rem;
    border-radius: 2.2rem;
    border-width: 0.1rem;
    padding: 1.5rem 7.5rem;
    order: 2;
  }

  /* Contact Page */
  .contact-hero {
    aspect-ratio: 129/40;
  }

  .contact-hero-title {
    font-size: 8rem;
    letter-spacing: 0.8rem;
    line-height: 5.9rem;
    margin-bottom: 3rem;
  }

  .contact-hero-subtitle {
    font-size: 2.4rem;
    letter-spacing: 0.1rem;
  }

  .contact-intro p {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    line-height: 2.5rem;
    text-align: center;
  }

  .contact-intro,
  .contact-phone,
  .contact-forms {
    padding: 10rem var(--space-content) 0;
  }

  .contact-section-title {
    font-size: 2.4rem;
    letter-spacing: 0.1rem;
    text-align: center;
    margin-bottom: 5rem;
  }

  .contact-phone-box {
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 4rem 3.5rem;
  }

  .contact-phone-link {
    font-size: 3.5rem;
    letter-spacing: 0.3rem;
    line-height: 2.5rem;
  }

  .contact-phone-meta {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    line-height: 2.5rem;
  }

  .contact-phone-icon {
    width: 2.8rem;
    height: 3.1rem;
  }

  .contact-forms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 4rem;
    padding: 0;
  }

  .contact-form-btn {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    line-height: 2.9rem;
    padding: 2rem 4rem;
  }

  .contact-form-btn::after {
    right: 4rem;
    width: 1.8rem;
    height: 1.8rem;
  }

  .error-404-hero {
    aspect-ratio: 129/40;
  }

  .error-404-code {
    font-size: 12rem;
    margin-bottom: 2rem;
  }

  .error-404-title {
    font-size: 6.5rem;
    letter-spacing: 0.7rem;
    margin-bottom: 1.8rem;
  }

  .error-404-subtitle {
    font-size: 2.4rem;
    letter-spacing: 0.1rem;
  }

  .error-404-content {
    padding: 10rem var(--space-content) 12rem;
  }

  .error-404-description {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    line-height: 3.2rem;
    margin-bottom: 5rem;
  }

  .error-404-actions {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }

  .error-404-btn,
  .error-404-contact-btn {
    width: 32rem;
  }

  .error-404-contact-btn {
    font-size: 1.8rem;
    line-height: 2.9rem;
    padding: 2rem 4rem;
  }

  /* Contact Form */
  .contact-form-section-inner {
    padding: 0 5rem;
  }
  .contact-form-breadcrumb {
    padding-top: 4rem;
  }
  .contact-form-breadcrumb-link {
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    line-height: 2.9rem;
  }
  .contact-form-breadcrumb-link::before {
    width: 1.1rem;
  }
  .contact-form-header {
    padding: 4rem var(--space-content) 8.5rem;
  }
  .contact-form-heading {
    font-size: 3.4rem;
    letter-spacing: 0.3rem;
    line-height: 7.5rem;
    margin-bottom: 8rem;
  }
  .contact-form-subheading {
    font-size: 2.4rem;
    letter-spacing: 0.2rem;
    line-height: 4.6rem;
    text-align: start;
    margin-bottom: 1rem;
  }
  .contact-form-section {
    padding: 8rem var(--space-content) 8rem;
  }
  .contact-form-steps {
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    gap: 1.5rem;
    width: 60%;
  }
  .contact-form-steps .step {
    border-bottom-width: 0.5rem;
  }
  .contact-form-field:has(.contact-form-select) {
    width: 80%;
  }
  .contact-form-input,
  .contact-form-select,
  .contact-form-textarea {
    border: none;
    padding: 0;
    padding-right: 2.5rem;
    font-size: 1.6rem;
    background: inherit;
  }
  .contact-form-input,
  .contact-form-select {
    height: 5rem;
  }
  .contact-form-input:focus,
  .contact-form-select:focus,
  .contact-form-textarea:focus {
    outline: none;
    box-shadow: none;
  }
  .contact-form-agree [type="checkbox"] {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.3rem;
  }
  .contact-form-agree [type="checkbox"]:checked:checked::after {
    width: 0.5rem;
    height: 0.8rem;
  }
  .contact-form-label {
    display: flex;
    align-items: center;
    white-space: nowrap;
    background: var(--color-bg);
    border: 0.2rem solid #88a5de;
    border-radius: 0.5rem;
    padding: 2.5rem;
    font-size: 1.6rem;
    max-height: 6rem;
  }
  .contact-form-label .wpcf7-form-control-wrap:has(.wpcf7-not-valid)::after {
    right: -1rem;
  }
  .contact-form-agree {
    font-size: 1.6rem;
    margin: 3.5rem 0 0.5rem;
  }
  .contact-form-label span:first-child {
    width: 25rem;
  }
  .contact-form-label .wpcf7-form-control-wrap {
    width: 100%;
  }
  .contact-form-label:has(textarea) {
    display: block;
    max-height: fit-content;
    padding: 0 2.5rem;
  }
  .contact-form-label:has(.wpcf7-not-valid) {
    background-color: cornsilk;
  }
  .contact-form-submit p {
    flex-direction: row;
  }
  .contact-form-submit-btn {
    width: 30rem;
    height: 5.4rem;
    border-radius: 2.7rem;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
  }
}

@media (max-width: 1280px) {
  html {
    font-size: 8px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 10px;
  }
}

@media (max-width: 680px) {
  html {
    font-size: 8px;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 7px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 6px;
  }
}

@media (max-width: 390px) {
  html {
    font-size: 5px;
  }
}

/* Desktop footer layout */
@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15rem;
    max-width: 120rem;
    padding: 10rem 0;
  }

  .footer-decor {
    height: 50rem;
  }
  .footer-decor::before {
    bottom: max(-3.2vw, -6rem);
    left: 0;
    width: min(30vw, 57.6rem);
  }
  .footer-decor::after {
    bottom: 0;
    right: -32%;
    width: min(100vw, 192rem);
  }

  .footer-logo {
    width: 11.3rem;
  }

  .footer-logo-area {
    align-items: flex-start;
  }

  .footer-links {
    flex: 1;
    flex-wrap: nowrap;
    gap: 6rem;
  }

  .footer-divider-column {
    padding-left: 1.5rem;
  }

  .footer-column-title,
  .footer-list-item {
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0;
  }

  .footer-column-title {
    line-height: 1;
    margin-bottom: 4rem;
  }

  .footer-instagram img {
    width: 3rem;
    height: 3rem;
  }

  .footer-bottom {
    line-height: 5rem;
  }

  .footer-column {
    width: 30%;
  }

  .footer-privacy {
    font-size: 1.5rem;
  }

  .footer-copy {
    font-size: 1.3rem;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-43.5rem * 5));
  }
}

.has-fgg-responsive-font-size {
  font-size: var(--fgg-font-size-mobile, var(--fgg-font-size-desktop, inherit)) !important;
}

.has-fgg-font-family {
  font-family: var(--fgg-font-family, inherit) !important;
}

.has-fgg-responsive-margin {
  margin: var(--fgg-margin-mobile, var(--fgg-margin-desktop, unset));
}

.has-fgg-responsive-padding {
  padding: var(--fgg-padding-mobile, var(--fgg-padding-desktop, unset));
}

.wp-block-button.has-fgg-responsive-font-size .wp-block-button__link {
  font-size: var(--fgg-font-size-mobile, var(--fgg-font-size-desktop, inherit)) !important;
}

.wp-block-button.has-fgg-font-family .wp-block-button__link {
  font-family: var(--fgg-font-family, inherit) !important;
}

.wp-block-button.has-fgg-responsive-padding .wp-block-button__link {
  padding: var(--fgg-padding-mobile, var(--fgg-padding-desktop, unset));
}

@media (min-width: 768px) {
  .has-fgg-responsive-font-size {
    font-size: var(--fgg-font-size-desktop, inherit) !important;
  }

  .has-fgg-font-family {
    font-family: var(--fgg-font-family, inherit) !important;
  }

  .has-fgg-responsive-margin {
    margin: var(--fgg-margin-desktop, unset);
  }

  .has-fgg-responsive-padding {
    padding: var(--fgg-padding-desktop, unset);
  }

  .has-fgg-responsive-max-width {
    max-width: var(--fgg-max-width-desktop, none);
    margin-left: auto;
    margin-right: auto;
  }

  .wp-block-button.has-fgg-responsive-font-size .wp-block-button__link {
    font-size: var(--fgg-font-size-desktop, inherit) !important;
  }

  .wp-block-button.has-fgg-font-family .wp-block-button__link {
    font-family: var(--fgg-font-family, inherit) !important;
  }

  .wp-block-button.has-fgg-responsive-padding .wp-block-button__link {
    padding: var(--fgg-padding-desktop, unset);
  }
}
