@charset "UTF-8";

:root {
  --bg-color: #000000;
  --text-color: #ededed;
  --border-color: rgba(255, 255, 255, 0.15);
  --hover-bg: rgba(255, 255, 255, 0.08);
  --accent-color: #10b981; 
  --side-margin: max(60px, calc((100vw - 1200px) / 2));
}

body {
  margin: 0; padding: 0;
  background-color: var(--bg-color); color: var(--text-color);
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
body.scroll-lock { overflow: hidden; }

/* ★全ページのメインコンテンツ下部の余白をスッキリ設定 */
main { padding-bottom: 50px; }

/* -------------------------------------
   背景レイヤー
-------------------------------------- */
#bg-layer {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none; opacity: 1;
  background: 
    radial-gradient(circle 500px at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(16, 185, 129, 0.4), transparent 80%),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 8.5v3M8.5 10h3' stroke='%23000' stroke-width='0.5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 8.5v3M8.5 10h3' stroke='%23000' stroke-width='0.5'/%3E%3C/svg%3E");
  mask-size: 25px 25px; -webkit-mask-size: 25px 25px;
  background-repeat: repeat;
}

/* -------------------------------------
   Header & Navigation
-------------------------------------- */
header {
  position: fixed; top: 0; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--side-margin); box-sizing: border-box;
  background-color: transparent; border-bottom: 1px solid transparent;
  z-index: 1000; transition: background-color 0.2s, border-bottom-color 0.2s;
}
header.scrolled, body:not(.page-index) header {
  background-color: #000000; border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-left { display: flex; align-items: center; gap: 40px; }
.logo img { height: 24px; width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 30px; }

#desktop-nav-menu { display: flex; gap: 32px; align-items: center; transform: translateY(5px); }
.nav-item { position: relative; }
.nav-link { font-size: 0.9rem; transition: color 0.2s; color: #888; font-weight: 500; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; padding: 10px 0; }
.nav-item:hover .nav-link { color: var(--accent-color); }
.nav-link svg { transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown-wrapper {
  position: absolute; top: 100%; left: 0; padding-top: 15px; opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(0.97); transform-origin: top center;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s; z-index: 1001;
}
.nav-item:hover .dropdown-wrapper { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown-menu { background-color: #000000; border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; width: 360px; box-shadow: 0 20px 40px rgba(0,0,0,0.8); }
.dropdown-grid { display: flex; flex-direction: column; gap: 6px; }
.dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; transition: background-color 0.15s ease; }
.dropdown-item:hover { background-color: var(--hover-bg); }
.dropdown-icon { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #ededed; position: relative; }
.dropdown-icon svg { width: 16px; height: 16px; }
.dropdown-icon::before, .dropdown-icon::after { content: ''; position: absolute; width: 10px; height: 10px; background-color: #ffffff; transition: background-color 0.2s; }
.dropdown-icon::before { top: 0; left: 0; mask-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,10 L1,9 L1,1 L9,1 L10,0 L0,0 Z' fill='black'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,10 L1,9 L1,1 L9,1 L10,0 L0,0 Z' fill='black'/%3E%3C/svg%3E"); } 
.dropdown-icon::after { bottom: 0; right: 0; mask-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,0 L9,1 L9,9 L1,9 L0,10 L10,10 Z' fill='black'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,0 L9,1 L9,9 L1,9 L0,10 L10,10 Z' fill='black'/%3E%3C/svg%3E"); } 
.dropdown-item:hover .dropdown-icon::before, .dropdown-item:hover .dropdown-icon::after { background-color: var(--accent-color); }
.dropdown-text h4 { margin: 0 0 6px 0; font-size: 0.9rem; font-weight: 600; color: #fff; }
.dropdown-text p { margin: 0; font-size: 0.75rem; color: #888; line-height: 1.4; }

/* Mobile Navigation */
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 10px; z-index: 1001; position: relative; }
.hamburger .line { width: 22px; height: 2px; background-color: var(--text-color); transition: all 0.2s ease; }
.desktop-only { display: flex !important; }
.mobile-only { display: none !important; }

nav#mobile-nav-menu {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #000000; 
  flex-direction: column; padding: 100px 24px 40px 24px; box-sizing: border-box; overflow-y: auto; opacity: 0; pointer-events: none;
  transform: scale(0.95); transform-origin: top right; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); 
}
nav#mobile-nav-menu.active { opacity: 1; pointer-events: auto; transform: scale(1); }
.mobile-nav-header { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 24px; }
.mobile-dropdown-grid { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.mobile-dropdown-item { display: flex; align-items: center; gap: 16px; background-color: #000000; border-radius: 12px; border: 1px solid var(--border-color); padding: 20px 16px; width: 100%; box-sizing: border-box; }
.mobile-dropdown-item:hover { background-color: var(--hover-bg); }
.mobile-dropdown-item:hover .dropdown-icon::before, .mobile-dropdown-item:hover .dropdown-icon::after { background-color: var(--accent-color); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.mobile-nav-links a { color: #fff; font-size: 1.2rem; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); transition: color 0.2s ease; }
.mobile-nav-links a:hover { color: var(--accent-color); }

/* -------------------------------------
   Buttons & Ripple Effect
-------------------------------------- */
.contact-btn-ripple {
  background-color: #fff; color: #000; border-radius: 999px; border: 1px solid #fff;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-sizing: border-box;
}
.contact-btn-ripple:hover { background-color: var(--accent-color); border-color: var(--accent-color); color: #fff; }
.contact-btn-ripple span { position: relative; z-index: 2; font-weight: 600; letter-spacing: 0.05em; }
.header-contact-btn { padding: 4px 12px; font-size: 0.85rem; }
.mobile-contact-btn { padding: 8px; font-size: 1.1rem; width: 100%; margin-top: 32px; }

.page-transition-ripple {
  position: fixed; border-radius: 50%; background-color: var(--accent-color);
  transform: scale(0.01); transform-origin: center center; pointer-events: none;
  z-index: 9999; will-change: transform;
  animation: ripple-expand 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ripple-expand { to { transform: scale(1); } }

/* -------------------------------------
   Index Page Styles
-------------------------------------- */
#hero-container { position: relative; height: 100vh; width: 100vw; display: flex; justify-content: center; align-items: center; overflow: hidden; background-color: #000; }
#media-wrapper { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; }
#intro-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 20; }
#concept-text { position: absolute; top: 50%; left: 50%; text-align: center; z-index: 30; width: 80%; max-width: 800px; padding: 60px; box-sizing: border-box; }
#concept-text::before, #concept-text::after {
  content: ''; position: absolute; width: 60px; height: 60px; background-color: var(--accent-color); 
  mask-image: url('assets/arrow.svg'); -webkit-mask-image: url('assets/arrow.svg');
  mask-size: contain; -webkit-mask-size: contain; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
  opacity: 0; transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}
body.is-scrolled #concept-text::before, body.is-scrolled #concept-text::after { background-color: #ffffff; }
#concept-text::before { top: 0; left: 0; transform: translate(-30px, -30px) rotate(-45deg); }
#concept-text::after { bottom: 0; right: 0; transform: translate(30px, 30px) rotate(135deg); }
#concept-text.show-corners::before { opacity: 1; transform: translate(0, 0) rotate(-45deg); }
#concept-text.show-corners::after { opacity: 1; transform: translate(0, 0) rotate(135deg); }
#concept-text.show-corners.explode-corners::before { opacity: 0; transform: translate(-100px, -100px) rotate(-45deg) scale(2); filter: blur(0px); transition: opacity 0.7s ease-out, transform 0.7s ease-out, filter 0.6s ease-out; }
#concept-text.show-corners.explode-corners::after { opacity: 0; transform: translate(100px, 100px) rotate(135deg) scale(2); filter: blur(0px); transition: opacity 0.7s ease-out, transform 0.7s ease-out, filter 0.6s ease-out; }
#concept-text h2 { font-size: 2.5rem; font-weight: 600; margin-bottom: 30px; letter-spacing: 0.1em; line-height: 1.4; }
#concept-text p { font-size: 1.05rem; line-height: 2; color: #aaa; margin-bottom: 1em; }

.section-title, #cta h2 { font-size: 2.5rem; font-weight: 600; text-align: center; letter-spacing: 0.02em; }
#solutions { padding: 120px var(--side-margin); position: relative; z-index: 30; background: transparent; }
.section-title { margin-bottom: 40px; position: relative; z-index: 1; padding: 0; }
.carousel-container { position: relative; width: 100%; display: flex; align-items: center; z-index: 1; }
.grid { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 10px 40px 10px; margin: 0 -10px; width: calc(100% + 20px); scrollbar-width: none; -webkit-overflow-scrolling: touch; box-sizing: border-box; scroll-behavior: smooth; }
.grid::-webkit-scrollbar { display: none; }
.card { flex: 0 0 400px; max-width: 85vw; scroll-snap-align: start; background-color: #000000; padding: 40px; transition: transform 0.3s ease; cursor: pointer; display: flex; flex-direction: column; position: relative; }
.card::before, .card::after { content: ''; position: absolute; width: 32px; height: 32px; background-color: #ffffff; transition: background-color 0.3s ease; pointer-events: none; }
.card::before { top: 0; left: 0; mask-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,32 L3,29 L3,3 L29,3 L32,0 L0,0 Z' fill='black'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,32 L3,29 L3,3 L29,3 L32,0 L0,0 Z' fill='black'/%3E%3C/svg%3E"); } 
.card::after { bottom: 0; right: 0; mask-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32,0 L29,3 L29,29 L3,29 L0,32 L32,32 Z' fill='black'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32,0 L29,3 L29,29 L3,29 L0,32 L32,32 Z' fill='black'/%3E%3C/svg%3E"); } 
.card:hover { transform: scale(1.02); }
.card:hover::before, .card:hover::after { background-color: var(--accent-color); }
.card h3 { font-size: 1.4rem; margin-top: 0; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.card p { color: #888; font-size: 0.95rem; line-height: 1.7; flex-grow: 1; }

.carousel-btn { position: absolute; top: calc(50% - 20px); transform: translateY(-50%); background: none; border: none; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: opacity 0.3s ease, transform 0.3s ease; }
.carousel-btn.prev { left: -75px; transform: translate(-50%, -50%); }
.carousel-btn.next { right: -75px; transform: translate(50%, -50%); }
.carousel-btn.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.8); }
.carousel-btn.next.hidden { transform: translate(50%, -50%) scale(0.8); }
.carousel-btn-icon { width: 24px; height: 24px; background-color: #ededed; mask-image: url('assets/arrow.svg'); -webkit-mask-image: url('assets/arrow.svg'); mask-size: contain; -webkit-mask-size: contain; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-position: center; -webkit-mask-position: center; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease; }
.carousel-btn.prev .carousel-btn-icon { transform: rotate(-90deg); }
.carousel-btn.next .carousel-btn-icon { transform: rotate(90deg); }
.carousel-btn:hover .carousel-btn-icon { background-color: var(--accent-color); }
.carousel-btn.prev:hover .carousel-btn-icon { transform: rotate(-90deg) scale(1.3); }
.carousel-btn.next:hover .carousel-btn-icon { transform: rotate(90deg) scale(1.3); }

/* -------------------------------------
   Call to Action Section
-------------------------------------- */
#cta { padding: 100px var(--side-margin); text-align: center; position: relative; z-index: 30; border-top: 1px solid var(--border-color); }
#cta h2 { margin-bottom: 16px; }
#cta p { color: #888; font-size: 1rem; line-height: 1.6; margin-bottom: 40px; }
.cta-button { padding: 12px 32px; font-size: 1.1rem; }

/* -------------------------------------
   Contact Page Styles
-------------------------------------- */
/* ★ .page-contact内のpadding-bottomも50pxに統一 */
.page-contact main { padding: 160px var(--side-margin) 50px; display: flex; justify-content: center; position: relative; z-index: 10; }
.contact-container { width: 100%; max-width: 600px; }
.page-title { font-size: 2.5rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 16px; text-align: center; }
.page-desc { text-align: center; color: #888; font-size: 1rem; line-height: 1.6; margin-bottom: 60px; }
.form-group { margin-bottom: 32px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; color: #ededed; margin-bottom: 10px; }
.form-label .required { color: var(--accent-color); margin-left: 6px; }
.form-control {
  width: 100%; background-color: #000000; border: 1px solid var(--border-color);
  color: #fff; font-family: inherit; font-size: 1rem; padding: 16px; box-sizing: border-box;
  border-radius: 8px; transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent-color); background-color: #000000; }
.form-control::placeholder { color: #555; }
textarea.form-control { resize: vertical; min-height: 150px; }

.custom-select-wrapper { position: relative; }
.custom-select-trigger { display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: #555; user-select: none; }
.custom-select-trigger.has-value { color: #fff; }
.custom-select-trigger svg { transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.custom-select-trigger.open { border-color: var(--accent-color); }
.custom-select-trigger.open svg { transform: rotate(180deg); stroke: var(--accent-color); }
.custom-options-container { position: absolute; top: calc(100% + 8px); left: 0; width: 100%; background-color: #000; border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; box-sizing: border-box; z-index: 100; box-shadow: 0 20px 40px rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.custom-options-container.open { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-option { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; cursor: pointer; transition: background-color 0.15s ease; }
.custom-option:hover { background-color: var(--hover-bg); }
.custom-option:hover .dropdown-icon::before, .custom-option:hover .dropdown-icon::after { background-color: var(--accent-color); }
.custom-option-text { font-size: 0.95rem; font-weight: 500; color: #fff; }

#submitBtn { background-color: #fff; color: #000; border-radius: 999px; border: 1px solid #fff; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.05em; padding: 10px 48px; cursor: pointer; display: flex; justify-content: center; align-items: center; width: 100%; box-sizing: border-box; margin-top: 20px; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
#submitBtn:hover { background-color: var(--accent-color); border-color: var(--accent-color); color: #fff; }
#submitBtn.is-sending { background-color: #555 !important; color: #fff !important; border-color: #555 !important; pointer-events: none; }

#success-block { text-align: center; padding: 40px 0; display: none; }
#success-block h3 { font-size: 2.5rem; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.05em; }
#success-block p { color: #888; font-size: 1.05rem; line-height: 1.8; }

.success-ripple {
  position: fixed; border-radius: 50%; background-color: var(--accent-color);
  transform: scale(0.01); transform-origin: center center; pointer-events: none;
  z-index: 9999; will-change: transform, opacity;
  animation: ripple-expand-fade 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ripple-expand-fade {
  0% { transform: scale(0.01); opacity: 1; }
  40%, 60% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* -------------------------------------
   Footer
-------------------------------------- */
/* ★ padding-topを元の100pxからスッキリした60pxに修正！ */
.site-footer { background-color: #000000; border-top: 1px solid var(--border-color); padding: 60px var(--side-margin) 40px; position: relative; z-index: 30; }
.footer-top { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "logo info arrow"; column-gap: 80px; row-gap: 40px; margin-bottom: 100px; }
.footer-logo { grid-area: logo; } .footer-logo img { height: 28px; width: auto; }
.footer-info { grid-area: info; color: #888; font-size: 0.9rem; line-height: 2; }
.footer-info a { color: #888; transition: color 0.15s; } .footer-info a:hover { color: var(--accent-color); }
.footer-arrow { grid-area: arrow; display: flex; align-items: flex-start; }
.back-to-top { background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.back-to-top-icon { width: 24px; height: 24px; background-color: #ededed; mask-image: url('assets/arrow.svg'); -webkit-mask-image: url('assets/arrow.svg'); mask-size: contain; -webkit-mask-size: contain; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; mask-position: center; -webkit-mask-position: center; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease; }
.back-to-top:hover .back-to-top-icon { transform: scale(1.3); background-color: var(--accent-color); }
.footer-bottom { color: #555; font-size: 0.85rem; letter-spacing: 0.05em; }

/* -------------------------------------
   CTAセクションのロゴ＋テキスト混植設定
-------------------------------------- */
#cta h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px; 
  flex-wrap: wrap; 
}

.cta-logo {
  height: 0.8em; 
  width: auto;
  transform: translateY(0px); 
}

/* -------------------------------------
   Responsive: Mobile
-------------------------------------- */
@media (max-width: 1350px) {
  .carousel-btn.prev { left: calc(var(--side-margin) * -0.5); }
  .carousel-btn.next { right: calc(var(--side-margin) * -0.5); }
}

@media (max-width: 768px) { 
  :root { --side-margin: 20px; }
  header { padding: 15px var(--side-margin); }
  .header-left { gap: 16px; }
  .hamburger { display: flex; }
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; } 
  .hamburger.active .line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active .line:nth-child(2) { opacity: 0; }
  .hamburger.active .line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  #concept-text { width: 92%; padding: 40px 20px; }
  #concept-text h2, .section-title, #cta h2 { font-size: 1.8rem; }
  #concept-text p { font-size: 0.95rem; }
  
  .carousel-btn { display: none !important; } 
  #media-wrapper { width: 100%; overflow: hidden; }
  #solutions { padding: 80px var(--side-margin); }
  .section-title { margin-bottom: 30px; } 
  .grid { flex-direction: column; overflow-x: hidden; scroll-snap-type: none; padding: 0; margin: 0; width: 100%; gap: 24px; }
  .card { flex: 1 1 auto; width: 100%; max-width: 100%; box-sizing: border-box; padding: 32px; }
  .card:hover { transform: none; }
  .card h3 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 12px; } 
  .card p { font-size: 0.8rem; line-height: 1.6; } 

  #cta { padding: 80px var(--side-margin); }
  .cta-button { padding: 8px 24px; width: 100%; justify-content: center; box-sizing: border-box; }

  /* ★ モバイル時の余白もスッキリ修正 */
  main { padding-bottom: 40px; }
  .page-contact main { padding: 120px var(--side-margin) 40px; }
  .page-title, #success-block h3 { font-size: 2rem; }
  .page-desc { font-size: 0.95rem; margin-bottom: 40px; }
  #submitBtn { padding: 4px; }

  /* ★ !importantを使わずにgrid-template-areasで美しく再構築したフッター */
  .footer-top { 
    grid-template-columns: 1fr auto; 
    grid-template-areas: 
      "logo arrow"
      "info info"; 
    gap: 24px 0; 
    margin-bottom: 60px; 
  }
  .footer-logo { display: flex; align-items: center; } /* noneになっていたのを表示に変更 */
  .footer-info { margin-left: 0; }
  .footer-arrow { justify-content: flex-end; align-items: center; }
}

/* -------------------------------------
   ページ遷移時のフェードアウト用オーバーレイ
-------------------------------------- */
.page-transition-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: var(--accent-color);
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s ease-out; 
}
.page-transition-overlay.fade-out {
  opacity: 0;
}

/* -------------------------------------
   Aboutセクション見出し（45度カットのL字ライン）
-------------------------------------- */
.about-section-title {
  position: relative;
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 24px;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  border-bottom: none;
}

.about-section-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  clip-path: polygon(2px 0, 100% 0, 100% 100%, 0 100%);
}

.about-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 32px;
  background-color: var(--text-color);
  clip-path: polygon(0 2px, 100% 0, 100% 100%, 0 100%);
}