/* ==========================================================================
   WIS design - CSS Design System & Stylesheet
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Serif+JP:wght@300;400;500;700&display=swap');

/* Reset & Base Variables */
:root {
  /* Color Tokens */
  --bg-color: #FCFBFA;
  --text-color: #111111;
  --sub-text-color: #4E4E4E;
  --border-color: #eaeaea;
  --accent-color: #111111;
  --accent-hover: #444444;

  /* Typography Fonts */
  --font-en: 'Cormorant Garamond', serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-ja-serif: 'Noto Serif JP', serif;

  /* Grid & Spacing */
  --container-max-width: 1440px;
  --header-height-desktop: 100px;
  --header-height-scrolled: 70px;
  --header-height-mobile: 70px;

  /* Animation */
  --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --ease-custom: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset Defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-ja);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-color);
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 4%;
  width: 100%;
}

.section {

  padding-top: 6em;

  padding-right: 0;

  padding-bottom: 8rem;

  padding-left: 0;

}

@media (max-width: 768px) {
  .section {

    padding-top: 2em;

    padding-right: 0;

    padding-bottom: 6rem;

    padding-left: 0;

  }
}

/* Section Divider */
.section-divider {
  border: none;
  border-top: 0.5px solid #E8E5E2;
  width: 90%;
  max-width: 1296px;
  /* container-max-width (1440px) * 0.9 */
  margin: 0 auto;
  padding: 0;
  display: block;
}

/* Visual elements */
.section-title-wrap {
  margin-bottom: 5rem;
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: -0.75rem;
}

.title-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
  position: relative;
  top: -20px;
  left: -10px;
}

.title-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-en-title {
  font-family: var(--font-en);
  font-size: 4.2rem;
  /* Reduced from 4.8rem (approx. 12.5% smaller) */
  line-height: 1;
  text-transform: none;
  font-style: normal;
  letter-spacing: 0.02em;
  font-weight: 300;
  opacity: 0.10;
  white-space: nowrap;
}

/* ==========================================================================
   Section English Title Character Animation
   ========================================================================== */
.section-en-title span.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.section-en-title.is-animated span.char {
  opacity: 1;
  transform: translateY(0);
}


.section-ja-title {
  font-family: var(--font-ja-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-left: 0.2rem;
}

@media (max-width: 768px) {
  .section-en-title {
    font-size: 3.1rem;
    /* Reduced from 3.6rem */
  }

  .title-with-icon {
    margin-top: -0.5rem;
    gap: 1rem;
  }

  .title-icon {
    width: 64px;
    height: 64px;
  }

  .section-ja-title {
    font-size: 1.5rem;
  }

  .section-title-wrap {
    margin-bottom: 3.5rem;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-desktop);
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(252, 251, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo a {
  display: block;
}

.logo img {
  height: 28px;
  width: auto;
  transition: var(--transition-smooth);
}

.header.scrolled .logo img {
  height: 22px;
}

.nav-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger Menu button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  position: absolute;
  transition: var(--transition-fast);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger span:nth-child(3) {
  top: 18px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

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

/* Mobile Nav Menu Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.012) 0%, transparent 60%),
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.003) 0px, rgba(0, 0, 0, 0.003) 1px, transparent 1px, transparent 4px);
  background-size: 100% 100%, 100% 100%, 8px 8px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.mobile-menu {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mobile-link {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-custom), transform 0.5s var(--ease-custom);
}

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

/* Trigger delay for mobile menu items */
.mobile-menu li:nth-child(1) .mobile-link {
  transition-delay: 0.1s;
}

.mobile-menu li:nth-child(2) .mobile-link {
  transition-delay: 0.2s;
}

.mobile-menu li:nth-child(3) .mobile-link {
  transition-delay: 0.3s;
}

.mobile-menu li:nth-child(4) .mobile-link {
  transition-delay: 0.4s;
}

.mobile-menu li:nth-child(5) .mobile-link {
  transition-delay: 0.5s;
}

.mobile-menu li:nth-child(6) .mobile-link {
  transition-delay: 0.6s;
}

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

  .hamburger {
    display: block;
  }
}


/* Main Visual (Hero) - Sticky Fixed Background */
.hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  overflow: hidden;
  z-index: 0;
  background-color: var(--bg-color);
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video-container video,
.hero-video-container .hero-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-visual-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* About Hero Copy Content (Moved from Main Visual) */
.about-hero-content {
  margin: 4rem 0;
  border-left: 1px solid var(--border-color);
  padding-left: 2rem;
}

.about-title {
  font-family: var(--font-ja-serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.about-title span {
  font-weight: 700;
}

.about-description {
  font-family: var(--font-ja-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--sub-text-color);
  line-height: 1.9;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  margin-left: 30px;
}

.about-tags {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.about-tags span {
  position: relative;
}

.about-tags span:not(:last-child)::after {
  content: '/';
  position: absolute;
  right: -0.9rem;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .about-hero-content {
    padding-left: 1.5rem;
    margin: 3rem 0;
  }

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

  .about-description {
    margin-left: 10px;
  }

  .about-tags {
    gap: 1rem;
    font-size: 0.8rem;
  }

  .about-tags span:not(:last-child)::after {
    right: -0.6rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 3.5rem;
  right: 5%;
  left: auto;
  transform: none;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(17, 17, 17, 0.3);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-color);
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
  cursor: pointer;
  padding-bottom: 1.2rem;
}

.scroll-indicator::after {
  content: '↓';
  position: absolute;
  bottom: 1.5rem;
  font-size: 0.75rem;
  animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.scroll-indicator:hover {
  background-color: var(--text-color);
  border-color: var(--text-color);
  color: var(--bg-color);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    aspect-ratio: auto;
  }

  .hero-video-container,
  .main-visual-video {
    width: 100%;
    height: 100%;
  }

  .main-visual-video {
    object-fit: cover;
    object-position: center center;
  }


  .scroll-indicator {
    width: 70px;
    height: 70px;
    bottom: 2rem;
    right: 4%;
    font-size: 0.6rem;
    padding-bottom: 0.8rem;
  }

  .scroll-indicator::after {
    bottom: 0.9rem;
    font-size: 0.65rem;
  }

  .about-section-panel {
    margin-top: calc(-7vw + 50px);
  }
}


/* About Section - Overlapping Panel */
.about-section-panel {
  position: relative;
  z-index: 2;
  background-color: #FCFBFA;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.012) 0%, transparent 60%),
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.003) 0px, rgba(0, 0, 0, 0.003) 1px, transparent 1px, transparent 4px),
    linear-gradient(to bottom, #FCFBFA, #FBFAF9);
  background-size: 100% 100%, 100% 100%, 8px 8px, 100% 100%;
  border-radius: 0;
  /* 直角デザイン */
  box-shadow: none;
  /* シャドウ撤廃 */
  margin-top: calc(-7vw + 100px);
  /* 16:9比率に合わせた重なり位置 */
  will-change: transform, opacity;
}

/* 後続セクションの個別背景色グラデーション定義 */
#workflow {
  position: relative;
  z-index: 2;
  background-color: #F4F2EF;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.018) 0%, transparent 60%),
    /* テクスチャ5〜10%強化 */
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.005) 0px, rgba(0, 0, 0, 0.005) 1px, transparent 1px, transparent 4px),
    /* テクスチャ5〜10%強化 */
    linear-gradient(to bottom, #F4F2EF, #F1EFEC);
  background-size: 100% 100%, 100% 100%, 8px 8px, 100% 100%;
}

/* WORK FLOWセクションの文字色引き締め設定 */
#workflow .section-ja-title,
#workflow .workflow-subtitle,
#workflow .workflow-lead,
#workflow .workflow-num,
#workflow .workflow-title,
#workflow .workflow-text {
  color: #222222 !important;
}

#portfolio {
  position: relative;
  z-index: 2;
  background-color: #F8F7F5;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.012) 0%, transparent 60%),
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.003) 0px, rgba(0, 0, 0, 0.003) 1px, transparent 1px, transparent 4px),
    linear-gradient(to bottom, #F8F7F5, #F5F4F2);
  background-size: 100% 100%, 100% 100%, 8px 8px, 100% 100%;
}

#faq {
  position: relative;
  z-index: 2;
  background-color: #FAF9F7;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.012) 0%, transparent 60%),
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.003) 0px, rgba(0, 0, 0, 0.003) 1px, transparent 1px, transparent 4px),
    linear-gradient(to bottom, #FAF9F7, #F9F8F6);
  background-size: 100% 100%, 100% 100%, 8px 8px, 100% 100%;
}

#contact,
.footer {
  position: relative;
  z-index: 2;
  background-color: #F9F8F6;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.012) 0%, transparent 60%),
    repeating-radial-gradient(circle, rgba(0, 0, 0, 0.003) 0px, rgba(0, 0, 0, 0.003) 1px, transparent 1px, transparent 4px);
  background-size: 100% 100%, 100% 100%, 8px 8px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-left {
  position: sticky;
  top: 150px;
}

.about-intro-container {
  display: flex;
  justify-content: center;
  /* ←追加 */
  align-items: flex-end;
  gap: 2rem;
  margin-top: 3rem;
}

.about-intro-img {
  width: 55%;
  margin: 0 auto;
  /* ←追加 */
}

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

.about-intro-en {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
  line-height: 1.6;
  opacity: 0.9;
  width: 40%;
  margin-bottom: 0;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-text {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 2.1;
  text-align: justify;
}

.about-services {
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
  margin-top: 1rem;
}

.services-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-services-title {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.services-title-icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  position: relative;
  top: -20px;
  left: -10px;
}

.services-title-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  list-style: none;
  padding-left: 2rem;
}

.services-item {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--sub-text-color);
}

.services-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background-color: var(--text-color);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-left {
    position: relative;
    top: 0;
  }

  .about-intro-en {
    font-size: 2.75rem;
  }

  .services-list {

    grid-template-columns: 1fr;

    padding-left: 1rem;

  }
}


/* Work Flow Section */
.workflow-intro {
  max-width: 600px;
  margin-bottom: 5rem;
}

.workflow-subtitle {
  font-family: var(--font-ja-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.workflow-lead {
  font-size: 1rem;
  color: var(--sub-text-color);
  line-height: 1.8;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  position: relative;
}

.workflow-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.workflow-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.workflow-card:not(:last-child) .workflow-num::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4.5rem;
  width: calc(100% - 2.5rem);
  height: 1px;
  background-color: var(--border-color);
  z-index: -1;
}

.workflow-title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.workflow-text {
  font-size: 0.875rem;
  color: var(--sub-text-color);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .workflow-card:not(:last-child) .workflow-num::after {
    left: 0;
    top: auto;
    bottom: -1.5rem;
    width: 40px;
    height: 1px;
  }
}


/* Portfolio Section */
.portfolio-slider-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 4%;
  overflow: hidden;
}

.portfolio-card {
  display: block;
  overflow: hidden;
  position: relative;
  background-color: #fafafa;
}

.portfolio-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s var(--ease-custom);
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.06);
}

.portfolio-meta {
  padding: 1.5rem 0;
  transition: var(--transition-fast);
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  color: var(--text-color);
}

.portfolio-category {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--sub-text-color);
  text-transform: none;
}

/* Splide custom controls */
.splide__arrows {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-right: 4%;
}

.splide__arrow {
  background: none;
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  position: static;
  transform: none;
}

.splide__arrow:hover {
  background-color: var(--text-color);
  border-color: var(--text-color);
}

.splide__arrow svg {
  fill: var(--text-color);
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.splide__arrow:hover svg {
  fill: var(--bg-color);
}

.splide__pagination {
  margin-top: 2rem;
  position: static;
}

.splide__pagination__page {
  background-color: var(--border-color);
  width: 20px;
  height: 1px;
  border-radius: 0;
  margin: 0 5px;
  border: none;
  transition: var(--transition-fast);
}

.splide__pagination__page.is-active {
  background-color: var(--text-color);
  width: 40px;
  transform: none;
}

.portfolio-section-footer {
  text-align: center;
  margin-top: 4rem;
}

/* Button UI */
.btn-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3.5rem;
  border-radius: 9999px;
  border: 1px solid var(--text-color);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  background-color: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-round span {
  position: relative;
  z-index: 1;
}

.btn-round::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  transform: translateY(100%);
  transition: var(--transition-fast);
  z-index: 0;
}

.btn-round:hover {
  color: var(--bg-color);
}

.btn-round:hover::before {
  transform: translateY(0);
}


/* Portfolio Archive / Grid (portfolio.html) */
.portfolio-header {
  padding: 12rem 0 4rem;
  text-align: center;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: var(--sub-text-color);
  cursor: pointer;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition-fast);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-color);
}

.filter-btn.active::after {
  width: calc(100% - 2rem);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}

.portfolio-grid-item {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s var(--ease-custom), transform 0.5s var(--ease-custom);
}

.portfolio-grid-item.hide {
  display: none;
}

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

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filter {
    gap: 1rem;
  }
}


/* FAQ Section & FAQ Page */
.faq-header {
  padding: 12rem 0 4rem;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1.5rem 0;
  user-select: none;
}

.faq-q-text {
  font-family: var(--font-ja-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: #3F3F3F;
}

.faq-toggle-icon {
  width: 16px;
  height: 16px;
  position: relative;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-color);
  transition: var(--transition-fast);
}

/* Horizontal line */
.faq-toggle-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

/* Vertical line */
.faq-toggle-icon::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-toggle-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
  max-height: 1000px;
  /* arbitrary large value for smooth transitions */
}

.faq-a-inner {
  padding: 0.5rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--sub-text-color);
  line-height: 1.9;
}

.faq-section-footer {
  text-align: center;
  margin-top: 5rem;
}


/* Contact Section */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--sub-text-color);
}

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

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--sub-text-color);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.form-control {
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem;
  font-family: var(--font-ja);
  font-size: 1.05rem;
  color: var(--text-color);
  background-color: transparent;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-bottom-color: var(--text-color);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-submit-wrap {
  text-align: center;
  margin-top: 2rem;
}

.form-submit-wrap button {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--text-color);
  background-color: transparent;
  color: var(--text-color);
  font-family: var(--font-ja);
  font-size: 0.93rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.form-submit-wrap button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  border-radius: 50%;
  transform: scale(0);
  transition: var(--transition-smooth);
  z-index: 0;
}

.form-submit-wrap button span {
  position: relative;
  z-index: 1;
}

.form-submit-wrap button:hover {
  color: var(--bg-color);
  transform: scale(1.03);
}

.form-submit-wrap button:hover::before {
  transform: scale(1);
}

.form-message {
  margin-top: 2rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.form-message.success {
  border-color: #111111;
  color: #111111;
}

.form-message.error {
  border-color: #e3342f;
  color: #e3342f;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .contact-form {
    gap: 2.5rem;
  }

  .form-submit-wrap button {
    width: 150px;
    height: 150px;
    font-size: 0.875rem;
  }
}


/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo img {
  height: 24px;
  width: auto;
}

.footer-address {
  font-size: 0.875rem;
  color: var(--sub-text-color);
  line-height: 1.8;
  font-style: normal;
}

.footer-links-title {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1.2rem;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: var(--sub-text-color);
}

.footer-links-list a:hover {
  color: var(--text-color);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--sub-text-color);
  transition: var(--transition-fast);
}

.social-icon:hover {
  border-color: var(--text-color);
  color: var(--text-color);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.copyright {
  font-size: 0.75rem;
  color: var(--sub-text-color);
}

.back-to-top {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sub-text-color);
}

.back-to-top:hover {
  color: var(--text-color);
}

.back-to-top::after {
  content: '↑';
  font-style: normal;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .footer-links-list {

    padding-left: .6rem;

  }
}


/* ==========================================================================
   Animations & Transitions
   ========================================================================== */

/* Fade-in up class (Intersection Observer) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--ease-custom), transform 1.2s var(--ease-custom);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for sequential reveal */
.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.reveal-delay-4 {
  transition-delay: 0.6s;
}

.reveal-delay-5 {
  transition-delay: 0.75s;
}

/* Image scaling reveal */
.reveal-img-wrap {
  overflow: hidden;
  position: relative;
}

.reveal-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  transition: transform 1.2s var(--ease-custom);
  transform-origin: right;
  transform: scaleX(1);
  z-index: 2;
}

.reveal-img-wrap.revealed::after {
  transform: scaleX(0);
}

.reveal-img-wrap img {
  transform: scale(1.15);
  transition: transform 1.5s var(--ease-custom);
}

.reveal-img-wrap.revealed img {
  transform: scale(1);
}

/* ==========================================================================
   Blueprint Lines Background Decoration
   ========================================================================== */
.blueprint-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  /* コンテンツや画像の背後、セクション背景の上に配置 */
}

/* スマホ（768px以下）では非表示にし、可読性とシンプルさを確保 */
@media (max-width: 768px) {
  .blueprint-lines {
    display: none !important;
  }
}

.bp-line {
  position: absolute;
  opacity: 0.45;
  /* 0.35〜0.55の範囲に調整し、より薄く上品に */
  transition: transform 2.2s cubic-bezier(0.25, 1, 0.5, 1);
  /* アニメーション時間を1.8〜2.6s（2.2s）に設定 */
  will-change: transform;
}

/* 横線：左（タイトル側）に向かって徐々にフェードアウトさせる（B案採用） */
.bp-line.bp-horizontal {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, rgba(232, 229, 226, 0) 0%, #E8E5E2 100%);
  transform-origin: left center;
  transform: scaleX(0);
}

/* 縦線：上から下へ描かれる */
.bp-line.bp-vertical {
  width: 1px;
  height: 100%;
  background-color: #E8E5E2;
  transform-origin: center top;
  transform: scaleY(0);
}

/* IntersectionObserver で画面に入った際にアニメーションを再生 */
.blueprint-lines.is-animated .bp-line.bp-horizontal {
  transform: scaleX(1);
}

.blueprint-lines.is-animated .bp-line.bp-vertical {
  transform: scaleY(1);
}

/* ABOUTセクション内のライン位置指定 */
.bp-line-1 {
  top: 18%;
  left: 0;
  width: 35%;
  /* 左から35%まで伸びる細い横線 */
  transition-delay: 0.3s;
}

.bp-line-2 {
  top: 10%;
  right: 12%;
  height: 75%;
  /* 上から75%まで伸びる縦線 */
  transition-delay: 0.8s;
  /* 0.5s遅延 */
}

/* WORK FLOWセクション内のライン位置指定（右上中心、タイトル等に重ならない配置） */
.bp-line-3 {
  top: 14%;
  right: 6%;
  width: 35%;
  /* 右上の横線 */
  left: auto;
  transition-delay: 0.2s;
}

.bp-line-4 {
  top: 28%;
  right: 18%;
  width: 20%;
  /* 少し低い位置の短い横線 */
  left: auto;
  transition-delay: 0.7s;
  /* 0.5s遅延 */
}

.bp-line-5 {
  top: 8%;
  right: 28%;
  height: 25%;
  /* 左寄りの縦線 */
  left: auto;
  transition-delay: 1.2s;
  /* 0.5s遅延 */
}

.bp-line-6 {
  top: 5%;
  right: 12%;
  height: 35%;
  /* 右寄りの長めの縦線 */
  left: auto;
  transition-delay: 1.7s;
  /* 0.5s遅延 */
}

/* ==========================================================================
   Section Overlap Scroll System (オーバーラップスクロール)
   ========================================================================== */

/* HTML上の<hr>は非表示。区切り線は各セクションの::beforeで表示 */
.section-divider {
  display: none !important;
}

/* 全セクション共通：上端の極細ライン */
#about,
#workflow,
#portfolio,
#faq,
#contact,
.footer {
  position: relative;
}

#about::before,
#workflow::before,
#portfolio::before,
#faq::before,
#contact::before,
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  width: 92%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      #D8D4CE 8%,
      #D8D4CE 92%,
      transparent 100%);
  opacity: 0.7;
  z-index: 5;
  pointer-events: none;
}

#about>.container,
#workflow>.container,
#portfolio>.container,
#faq>.container,
#contact>.container,
.footer>.container {
  position: relative;
  z-index: 2;
}

/*
  PC：ABOUT / WORK FLOW / PORTFOLIO を同じ親（.overlap-wrapper）の中で
  順番に固定し、後続セクションが前のセクションへ重なる構造。
*/
@media (min-width: 769px) {
  .overlap-wrapper {
    position: relative;
    width: 100%;
    z-index: 2;
    background: transparent;
  }

  #about.section {

    padding-bottom: 11rem;

  }

  .overlap-wrapper>#about,
  .overlap-wrapper>#workflow,
  .overlap-wrapper>#portfolio {
    position: relative;
    width: 100%;
    min-height: auto;
    /* 高さ固定を解除 */
    overflow: visible;
    will-change: transform, opacity, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: center top;
  }

  .overlap-wrapper>#about {
    z-index: 2;
  }

  .overlap-wrapper>#workflow {
    z-index: 3;
    margin-top: 0px !important;
    box-shadow: 0 -10px 30px rgba(17, 17, 17, 0.035);
  }

  .overlap-wrapper>#portfolio {
    z-index: 4;
    margin-top: 0px !important;
    box-shadow: 0 -10px 30px rgba(17, 17, 17, 0.035);
  }

  /* 次の紙が重なってきたことが視覚的に分かる、ごく控えめな境界 */
  .overlap-wrapper>#workflow,
  .overlap-wrapper>#portfolio {
    border-top: 1px solid rgba(232, 229, 226, 0.75);
  }

  /* タイトルとコンテンツの時間差フェードインアニメーション */
  #workflow .section-title-wrap,
  #portfolio .section-title-wrap {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1), transform 1.0s cubic-bezier(0.25, 1, 0.5, 1);
  }

  #workflow .workflow-intro,
  #workflow .workflow-grid,
  #portfolio .portfolio-slider-container,
  #portfolio .portfolio-section-footer {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1), transform 1.0s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.2s;
    /* タイトルより 0.2秒遅れて開始 */
  }

  /* 表示状態 (クラス付与時) */
  #workflow.overlap-content-visible .section-title-wrap,
  #portfolio.overlap-content-visible .section-title-wrap,
  #workflow.overlap-content-visible .workflow-intro,
  #workflow.overlap-content-visible .workflow-grid,
  #portfolio.overlap-content-visible .portfolio-slider-container,
  #portfolio.overlap-content-visible .portfolio-section-footer {
    opacity: 1;
    transform: translateY(0);
  }

  /* オーバーラップの後は通常スクロール */
  #faq {
    position: relative;
    z-index: 5;
    background-color: #FAF9F7;
  }

  #contact {
    position: relative;
    z-index: 6;
  }

  .footer {
    position: relative;
    z-index: 7;
  }
}

/* スマホ：重なりを解除し、安定した通常スクロール */
@media (max-width: 768px) {
  .overlap-wrapper {
    position: relative;
  }

  .overlap-wrapper>#about,
  .overlap-wrapper>#workflow,
  .overlap-wrapper>#portfolio {
    position: relative !important;
    top: auto;
    min-height: auto;
    transform: none !important;
    opacity: 1 !important;
    overflow: visible;
  }

  /* ABOUTはHeroに重なる現在の設定を維持 */
  .overlap-wrapper>#about {
    z-index: 2;
  }

  /* ABOUTの上にWORKFLOWの紙を少し重ねる */
  .overlap-wrapper>#workflow {
    z-index: 3;
    margin-top: 0 !important;
    padding-top: 6rem;
    border-top: 1px solid rgba(216, 212, 206, 0.8);
    box-shadow: 0 -12px 28px rgba(17, 17, 17, 0.035) !important;
  }

  /* WORKFLOWの上にPORTFOLIOの紙を少し重ねる */
  .overlap-wrapper>#portfolio {
    z-index: 4;
    margin-top: 0px !important;
    padding-top: 6rem;
    border-top: 1px solid rgba(216, 212, 206, 0.8);
    box-shadow: 0 -12px 28px rgba(17, 17, 17, 0.035) !important;
  }
}

/* =========================================================
   Privacy Page
========================================================= */

.privacy-page {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 8rem;
}

.privacy-lead {
  font-family: var(--font-ja-serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .05em;
  color: #3F3F3F;
  margin-bottom: 5rem;
}

.privacy-item {
  padding: 2.8rem 0;
  border-top: 1px solid transparent;
  background:
    linear-gradient(90deg,
      transparent 0%,
      #D8D4CE 8%,
      #D8D4CE 92%,
      transparent 100%) top/100% 1px no-repeat;
}

.privacy-item:first-of-type {
  margin-top: 2rem;
}

.privacy-item h2 {
  font-family: var(--font-ja-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.7;
  color: #222222;
  margin-bottom: 1.2rem;
}

.privacy-item p {
  font-size: .98rem;
  line-height: 2.2;
  letter-spacing: .03em;
  color: #4E4E4E;
}

.privacy-update {
  margin-top: 6rem;
  padding-top: 3rem;

  background:
    linear-gradient(90deg,
      transparent 0%,
      #D8D4CE 8%,
      #D8D4CE 92%,
      transparent 100%) top/100% 1px no-repeat;

  text-align: center;
}

.privacy-update-label {
  font-family: var(--font-en);
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: .5rem;
}

.privacy-update-date {
  font-family: var(--font-ja-serif);
  font-size: 1rem;
  color: #555;
}

/* -------------------------
   Mobile
------------------------- */

@media (max-width:768px) {

  .privacy-page {
    padding-bottom: 5rem;
  }

  .privacy-lead {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 3rem;
  }

  .privacy-item {
    padding: 2rem 0;
  }

  .privacy-item h2 {
    font-size: 1.05rem;
  }

  .privacy-item p {
    font-size: .95rem;
    line-height: 2;
  }

}

/* ==========================================================================
   Portfolio Modal (index.html)
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 5rem 3%;
  background-color: rgba(252, 251, 250, 0.98);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    visibility 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 1100px;
  width: 90%;
  max-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 3rem;
  align-items: start;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-img-wrap {
  max-height: 78vh;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fafafa;
}

.modal-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.modal-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 1rem;
}

.modal-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #888888;
}

.modal-title {
  font-family: var(--font-ja-serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.4;
  color: #222222;
}

.modal-category {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #4e4e4e;
  border-bottom: none;
  padding-bottom: 0;
}

.modal-year {
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #777777;
}

.modal-desc {
  margin-top: 0.75rem;
  font-size: 0.93rem;
  color: var(--sub-text-color);
  line-height: 1.9;
}

.modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  z-index: 2001;
}

.modal-close::after {
  content: "✕";
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .modal {
    padding: 5rem 1rem 2rem;
    align-items: flex-start;
    overflow-y: auto;
  }

  .modal-content {
    width: 100%;
    max-height: none;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modal-img-wrap {
    max-height: 58vh;
  }

  .modal-info {
    align-items: center;
    text-align: center;
    padding: 0 1rem 2rem;
  }

  .modal-close {
    top: -2.75rem;
    right: 0;
  }
}


/* ==========================================================================
   Mobile Section Top Spacing Fix
   ABOUT / FAQ / CONTACT の上余白のみ調整
   PC、WORKFLOW、PORTFOLIOには影響しません
   ========================================================================== */
@media (max-width: 768px) {

  #about.section,
  #faq.section,
  #contact.section {
    padding-top: 6rem;
  }
}

/* PCでは改行しない */
.sp-br {
  display: none;
}

/* スマホだけ改行 */
@media (max-width:768px) {

  .sp-br {
    display: block;
  }

}


.service-en {

  display: inline-block;

  margin-left: .35em;

  font-size: 0.8em;

  color: #8a8a8a;

  font-family: var(--font-en);

  letter-spacing: .03em;

}