/* ======================================
   Ezo-Plat Website Styles
   ====================================== */

/* Base Styles */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Serif JP", serif;
  min-height: 100vh;
  background: #fff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) and (max-width: 1000px) {
  html {
    overflow-x: auto !important;
  }

  body {
    min-width: 1000px;
    overflow-x: auto;
  }
}

#main-content {
  overflow-x: hidden;
}

/* ======================================
   Loading Screen
   ====================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  max-width: 24rem;
  width: 100%;
  height: auto;
  padding: 0 2rem;
  animation: logoAppear 1s ease-in-out;
}

@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ======================================
   Header
   ====================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.header.menu-open {
  opacity: 0;
  pointer-events: none;
}

.header-content {
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .header-content {
    padding: 0.75rem 2rem;
  }
}

@media (min-width: 1024px) {
  .header-content {
    padding: 0.75rem 2.5rem;
  }
}

.header-logo {
  flex-shrink: 0;
  cursor: pointer;
  margin-left: -0.25rem;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.header-logo img {
  height: 1.75rem;
  width: auto;
  display: block;
}

.hamburger-btn {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 0.25rem;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  transition: opacity 0.3s;
}

.hamburger-btn:hover {
  opacity: 0.7;
}

.hamburger-icon {
  height: 32px;
  width: 56px;
  transition: opacity 0.3s;
}

/* ======================================
   Menu
   ====================================== */
.menu-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 40;
  pointer-events: none;
}

/* メニュー開放時のみクリック可能（:has() フォールバックとして JS で menu-open も付与） */
.menu-wrapper:has(.menu.open),
.menu-wrapper.menu-open {
  pointer-events: auto;
}

.menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: rgba(217, 217, 217, 0.7);
  backdrop-filter: blur(4px);
  z-index: 40;
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.5s ease-in-out, visibility 0s linear 0.5s;
}

@media (min-width: 1024px) {
  .menu {
    left: 67%;
  }
}

.menu.open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.5s ease-in-out, visibility 0s linear 0s;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 5rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .menu-header {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .menu-header {
    padding: 0 2rem;
  }
}

.close-btn {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.close-btn:hover {
  opacity: 0.7;
}

.close-icon {
  height: 36px;
  width: 60px;
}

.menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
  gap: 1rem;
}

@media (min-width: 640px) {
  .menu-nav {
    padding: 0 3rem;
  }
}

.menu-item {
  text-align: left;
  color: #000;
  font-size: 1.875rem;
  font-weight: 300;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  font-family: "Noto Serif JP", serif;
}

@media (min-width: 640px) {
  .menu-item {
    font-size: 2.25rem;
  }
}

.menu-item:hover {
  opacity: 0.7;
}

.menu-social {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
}

.social-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0.5rem;
  border: 2px solid #000;
  color: #000;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #f3f3f3;
}

/* ======================================
   Hero Section
   ====================================== */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-section {
    height: 700px;
  }
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.hero-slide.active {
  opacity: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  padding: 2rem 1.5rem 3rem 1.5rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 2rem 2rem 3rem 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 2rem 3rem 3rem 3rem;
  }
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 1.875rem;
  }
}

.hero-description,
.hero-text {
  font-size: 1rem;
  font-weight: 300;
  max-width: 42rem;
  line-height: 1.75;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .hero-description,
  .hero-text {
    font-size: 1.125rem;
  }
}

/* ヒーロー本文：スマホのみ追加改行 */
.hero-text-br--mobile {
  display: none;
}

@media (max-width: 767px) {
  .hero-text-br--mobile {
    display: block;
  }
}

/* ======================================
   Restaurant Logos Section
   ====================================== */
.logos-section {
  padding: 4rem 0;
  background: #fff;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .logos-section {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .logos-section {
    padding: 4rem 0;
  }
}

.logos-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 640px) {
  .logos-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .logos-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .logos-container {
    gap: 3rem;
    padding: 0 2rem;
  }
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-link {
  width: 100%;
  max-width: 240px;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s;
}

@media (min-width: 1024px) {
  .logo-link {
    margin-bottom: 2rem;
  }
}

.logo-link:hover {
  opacity: 0.6;
}

.logo-link img {
  width: 100%;
  height: auto;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 217, 217, 0.6);
  border: 1px solid #000;
  padding: 0.625rem 1.25rem;
  transition: all 0.3s;
  text-decoration: none;
}

.instagram-btn:hover {
  background: #000;
  border-color: #000;
}

.instagram-btn span {
  color: #333;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.instagram-btn:hover span {
  color: #fff;
}

.instagram-btn svg path,
.instagram-path {
  transition: stroke 0.3s;
}

.instagram-btn:hover svg path,
.instagram-btn:hover .instagram-path {
  stroke: #fff;
}

/* ======================================
   Section Headers & Title Lines
   ====================================== */
.section-header,
.section-header-left {
  position: relative;
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .section-header,
  .section-header-left {
    overflow-x: hidden;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 300;
  color: #333;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  min-width: 200px;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* Title Lines */
.title-line-left {
  display: none;
}

@media (min-width: 768px) {
  .title-line-left {
    display: block;
    position: absolute;
    top: 50%;
    right: 100%;
    height: 1px;
    background: #333;
    width: calc(50vw - 48px);
    margin-right: 1rem;
    transform: translateY(-50%);
  }
}

.title-line-right,
.title-line-right-ownerchef,
.title-line-right-company,
.title-line-right-contact {
  display: none;
}

@media (min-width: 768px) {
  .title-line-right {
    display: block;
    position: absolute;
    top: 50%;
    left: 100%;
    height: 1px;
    background: #333;
    width: 70vw;
    margin-left: 1rem;
    transform: translateY(-50%);
  }

  .title-line-right-ownerchef {
    display: block;
    position: absolute;
    top: 50%;
    left: 100%;
    height: 1px;
    background: #333;
    width: 65vw;
    margin-left: 1rem;
    transform: translateY(-50%);
  }

  .title-line-right-company {
    display: block;
    position: absolute;
    top: 50%;
    left: 100%;
    height: 1px;
    background: #333;
    width: 70vw;
    margin-left: 1rem;
    transform: translateY(-50%);
  }

  .title-line-right-contact {
    display: block;
    position: absolute;
    top: 50%;
    left: 100%;
    height: 1px;
    background: #333;
    width: 68vw;
    margin-left: 1rem;
    transform: translateY(-50%);
  }
}

.title-line-center {
  display: none;
}

@media (min-width: 768px) {
  .title-line-center {
    display: block;
    position: absolute;
    top: 50%;
    left: calc(100% + 1rem);
    height: 1px;
    background: #333;
    width: 200px;
    transform: translateY(-50%);
  }
}

@media (min-width: 1024px) {
  .title-line-center {
    width: 400px;
  }
}

@media (min-width: 1280px) {
  .title-line-center {
    width: 600px;
  }
}

.title-line-mobile {
  height: 1px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #333;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .title-line-mobile {
    display: none;
  }
}

/* ======================================
   Concept Section
   ====================================== */
.concept-section {
  background: #f3f3f3;
  padding: 2rem 0;
  /* overflow-x のみだと overflow-y が auto になり細い縦スクロールが出ることがあるため両軸を明示 */
  overflow: hidden;
}

@media (min-width: 768px) {
  .concept-section {
    padding: 0;
  }
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .concept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.concept-image {
  position: relative;
  height: 400px;
  order: 2;
}

@media (min-width: 768px) {
  .concept-image {
    height: auto;
    order: 1;
  }
}

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

.concept-content {
  position: relative;
  padding: 1.5rem 2rem;
  order: 1;
}

@media (min-width: 768px) {
  .concept-content {
    padding: 2.5rem 5rem;
    order: 2;
  }
}

@media (min-width: 1280px) {
  .concept-content {
    padding: 2.5rem 6rem;
  }
}

.concept-text {
  margin-top: 2rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .concept-text {
    margin-top: 4rem;
    padding-bottom: 2.5rem;
  }
}

.concept-subtitle {
  font-weight: 500;
  color: #333;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  letter-spacing: 0.07em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  margin-top: 0.4375rem;
}

@media (min-width: 768px) {
  .concept-subtitle {
    font-size: 2.25rem;
  }
}

.concept-description {
  color: #333;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 2.25rem;
  letter-spacing: 0.05em;
}

.section-title-left::after {
  content: none; /* 右側の線を消す */
}
/* ======================================
   Restaurant Section
   ====================================== */
.restaurant-section {
  background: #f3f3f3;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .restaurant-section {
    padding: 0;
  }
}

/* 見出しをグリッド上に全幅配置し、装飾線をセクション右端まで（レストラン・Owner-Chef） */
.section-heading-span-grid {
  width: 100%;
  box-sizing: border-box;
  background: #f3f3f3;
  padding: 1.5rem 2rem 0;
}

@media (min-width: 768px) {
  .section-heading-span-grid {
    padding: 2.5rem 5rem 0;
  }
}

@media (min-width: 1280px) {
  .section-heading-span-grid {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

.restaurant-section-heading--on-image,
.owner-chef-section-heading--on-image {
  padding: 1.5rem 2rem 0;
  background: transparent;
}

/* レストラン・Owner-Chef: 見出しを写真上にオーバーレイ（タブレット以上） */
@media (max-width: 767px) {
  .restaurant-section--heading-on-image,
  .owner-chef-section--heading-on-image {
    display: flex;
    flex-direction: column;
  }

  .restaurant-section-heading--on-image,
  .owner-chef-section-heading--on-image {
    order: -1;
  }
}

@media (min-width: 768px) {
  .restaurant-section--heading-on-image,
  .owner-chef-section--heading-on-image {
    position: relative;
  }

  .restaurant-section-heading--on-image,
  .owner-chef-section-heading--on-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 2.5rem 5rem 0;
    pointer-events: none;
    background: transparent;
  }

  .restaurant-section-heading--on-image .section-header--line-stretch,
  .owner-chef-section-heading--on-image .section-header--line-stretch {
    pointer-events: auto;
  }

  .restaurant-section--heading-on-image .restaurant-content.restaurant-content--below-heading {
    padding-top: 5.75rem;
  }

  .owner-chef-section--heading-on-image .owner-chef-content.owner-chef-content--below-heading {
    padding-top: 5.75rem;
  }
}

@media (min-width: 1280px) {
  .restaurant-section-heading--on-image,
  .owner-chef-section-heading--on-image {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

.restaurant-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .restaurant-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.restaurant-content {
  position: relative;
  padding: 1.5rem 2rem;
  z-index: 10;
  background: #f3f3f3;
}

@media (min-width: 768px) {
  .restaurant-content {
    padding: 2.5rem 5rem;
  }
}

@media (min-width: 1280px) {
  .restaurant-content {
    padding: 2.5rem 6rem;
  }
}

.restaurant-text {
  margin-top: 2rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .restaurant-text {
    margin-top: 4rem;
    padding-bottom: 2.5rem;
  }
}

.restaurant-name {
  font-weight: 300;
  color: #333;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  letter-spacing: 0.07em;
}

.restaurant-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.restaurant-logo-link {
  display: inline-flex;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

@media (min-width: 768px) {
  .restaurant-logo-container {
    margin-bottom: 3rem;
  }
}

.restaurant-logo {
  width: 10rem;
  height: auto;
}

@media (min-width: 768px) {
  .restaurant-logo {
    width: 12rem;
  }
}

.restaurant-description {
  color: #333;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 2.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
}

.read-more {
  margin-top: 3rem;
  text-align: right;
  cursor: pointer;
}

a.read-more {
  text-decoration: none;
  color: inherit;
  display: block;
}

.read-more span {
  display: block;
  color: #333;
  font-weight: 200;
  letter-spacing: 0.1em;
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 0;
}

.read-more svg {
  transition: all 0.3s ease-out;
  transform-origin: left;
}

.read-more:hover svg {
  transform: scaleX(1.1) translateX(0.25rem);
}

.restaurant-image {
  position: relative;
  height: 400px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .restaurant-image {
    height: auto;
    min-height: 700px;
  }
}

.restaurant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ======================================
   Photo Gallery / Scroll
   ====================================== */
.photo-scroll-section,
.photo-gallery {
  background: #f3f3f3;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

.photo-scroll-container {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.photo-scroll-track {
  display: flex;
  gap: 0;
  animation: scroll 40s linear infinite;
  width: max-content;
  margin: 0;
  padding: 0;
}

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

.photo-item {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

/* ======================================
   Owner-Chef Section
   ====================================== */
.owner-chef-section {
  background: #f3f3f3;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .owner-chef-section {
    padding: 0;
  }
}

.owner-chef-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}

@media (max-width: 767px) {
  .owner-chef-grid {
    overflow-x: hidden;
  }
}

@media (min-width: 768px) {
  .owner-chef-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.owner-chef-content {
  padding: 1.5rem 2rem;
  order: 1;
  min-width: 0;
}

@media (max-width: 767px) {
  .owner-chef-content {
    overflow-x: hidden;
  }
}

@media (min-width: 768px) {
  .owner-chef-content {
    padding: 2.5rem 5rem;
    order: 1;
  }
}

@media (min-width: 1280px) {
  .owner-chef-content {
    padding: 2.5rem 6rem;
  }
}

.owner-chef-image {
  height: auto;
  order: 2;
}



.owner-chef-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 30% 60%;
}

@media (max-width: 768px) {
  .owner-chef-image {
    overflow: hidden;
  }
  .owner-chef-image img {
    transform: scale(1.2);
    transform-origin: left center;  /* 右寄りの位置を中心に拡大 */
  }
}

.owner-chef-text {
  margin-top: 2rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .owner-chef-text {
    margin-top: 4rem;
    padding-bottom: 2.5rem;
  }
}

.owner-chef-name {
  font-weight: 300;
  color: #333;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  letter-spacing: 0.07em;
}

.owner-chef-bio {
  color: #333;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 2.25rem;
  letter-spacing: 0.05em;
}

.owner-chef-bio p {
  margin-bottom: 1.5rem;
}

.owner-chef-bio p:last-child {
  margin-bottom: 0;
}

/* ======================================
   Company Section
   ====================================== */
.company-section,
.company-section-new {
  background: #fff;
  padding: 4rem 0 5rem 0;
  overflow-x: hidden;
}

.company-header {
  padding: 0 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .company-header {
    padding: 0 5rem;
    margin-bottom: 4rem;
  }
}

@media (min-width: 1280px) {
  .company-header {
    padding: 0 6rem;
  }
}

.company-info-wrapper {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 640px) {
  .company-info-wrapper {
    padding: 0 2.5rem;
  }
}

@media (min-width: 1024px) {
  .company-info-wrapper {
    padding: 0 2rem;
  }
}

.company-info-box {
  background: #f3f3f3;
  border: none;
  padding: 2rem;
}

@media (min-width: 768px) {
  .company-info-box {
    padding: 2.5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .company-info-box {
    padding: 3rem 4rem;
  }
}

.company-info-grid {
  display: flex;
  flex-direction: column;
}

.info-row-company {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #c5c5c5;
}

@media (min-width: 768px) {
  .info-row-company {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
}

.info-row-company.last {
  border-bottom: none;
}

.info-label {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}

@media (min-width: 768px) {
  .info-label {
    font-size: 1.125rem;
  }
}

.info-value {
  font-size: 1.125rem;
  font-weight: 500;
  color: #333;
}

@media (min-width: 768px) {
  .info-value {
    font-size: 1.25rem;
  }
}

/* ======================================
   News Section
   ====================================== */
.news-section {
  background: #fff;
  padding: 32px 0;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .news-section {
    padding: 64px 0;
  }
}

.news-header {
  padding: 0 2rem;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .news-header {
    padding: 0 2.5rem;
  }
}

@media (min-width: 768px) {
  .news-header {
    padding: 0 5rem;
    margin-bottom: 64px;
  }
}

@media (min-width: 1024px) {
  .news-header {
    padding: 0 2rem;
  }
}
@media (min-width: 1280px) {
  .news-header {
    padding: 0 6rem;
  }
}

.news-container {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 640px) {
  .news-container {
    padding: 0 2.5rem;
  }
}

@media (min-width: 768px) {
  .news-container {
    padding: 0 5rem;
  }
}

@media (min-width: 1024px) {
  .news-container {
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .news-container {
    padding: 0 6rem;
  }
}



.news-list {
  margin: 0;
}

.news-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-item {
  width: 100%;
  text-align: left;
  border-bottom: none;
  padding: 24px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  position: relative;
}

.news-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #c5c5c5;
  transform: scaleY(0.5);
  transform-origin: bottom;
}

.news-item:hover {
  background-color: #f9f9f9;
}

.news-meta {
  margin-bottom: 0;
}

.news-date {
  color: #999;
  font-size: 16px;
  font-weight: 300;
  display: inline-block;
  margin-right: 16px;
}

.news-category {
  background-color: #d9d9d9;
  color: #666;
  margin-right: 5px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 300;
  display: inline-block;
}

.news-title {
  color: #333;
  font-size: 20px;
  font-weight: 300;
  margin-top: 12px;
  transition: opacity 0.3s ease;
  overflow-wrap: break-word;
}

.news-item:hover .news-title {
  opacity: 0.7;
}

.news-loading {
  text-align: center;
  padding: 32px;
  color: #666;
}

.news-empty {
  text-align: center;
  padding: 32px;
  color: #666;
}

.news-view-all {
  text-align: right;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .news-view-all {
    margin-top: 3rem;
  }
}

.view-all-btn {
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.view-all-btn span {
  display: block;
  color: #333;
  font-weight: 200;
  letter-spacing: 0.1em;
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 0;
  font-family: "Noto Serif JP", serif;
}

.view-all-btn svg {
  transition: all 0.3s ease-out;
  transform-origin: left;
}

.view-all-btn:hover svg {
  transform: scaleX(1.1) translateX(0.25rem);
}

/* ======================================
   Contact Section
   ====================================== */
.contact-section,
.contact-full-section {
  background: #fff;
  padding: 3rem 0 4rem 0;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .contact-full-section {
    padding: 4rem 0 5rem 0;
  }
}

.contact-header {
  padding: 0 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-header {
    padding: 0 5rem;
    margin-bottom: 4rem;
  }
}

@media (min-width: 1280px) {
  .contact-header {
    padding: 0 6rem;
  }
}

.contact-full-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 640px) {
  .contact-full-container {
    padding: 0 2.5rem;
  }
}

@media (min-width: 768px) {
  .contact-full-container {
    padding: 0 5rem;
  }
}

@media (min-width: 1024px) {
  .contact-full-container {
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .contact-full-container {
    padding: 0 6rem;
  }
}

.contact-content-wrapper {
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .contact-content-wrapper {
    margin-top: 4rem;
  }
}

.contact-phone-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #c5c5c5;
}

@media (min-width: 768px) {
  .contact-phone-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }
}

.contact-icon-text {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-text > div {
  min-width: 0;
}

.contact-icon-text svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .contact-subtitle {
    font-size: 2rem;
  }
}

.contact-phone-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin: 0.5rem 0;
  transition: opacity 0.3s;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .contact-phone-number {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .contact-phone-number {
    font-size: 3.5rem;
  }
}

.contact-phone-number:hover {
  opacity: 0.7;
}

.contact-phone-time {
  font-size: 0.875rem;
  color: #666;
  font-weight: 300;
}

@media (min-width: 768px) {
  .contact-phone-time {
    font-size: 1rem;
  }
}

.contact-interview-section {
  padding: 0;
  background: transparent;
  border-top: none;
}

.contact-subtitle-simple {
  font-size: 1.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .contact-subtitle-simple {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}

.contact-interview-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

@media (min-width: 768px) {
  .contact-interview-desc {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
}

.contact-interview-btn-container {
  text-align: right;
}

.contact-interview-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: rgba(217, 217, 217, 0.6);
  color: #333;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .contact-interview-btn {
    font-size: 1.125rem;
  }
}

.contact-interview-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ======================================
   Footer
   ====================================== */
.footer,
.footer-new {
  background: #f3f3f3;
  color: #333;
  padding: 3rem 2rem 2rem 2rem;
  border-top: 1px solid #949494;
}

@media (min-width: 768px) {
  .footer,
  .footer-new {
    padding: 4rem 2rem 2.5rem 2rem;
  }
}

.footer-content,
.footer-new-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-nav {
    margin-bottom: 1.5rem;
  }
}

.footer-link {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  font-family: "Noto Serif JP", serif;
}

@media (min-width: 768px) {
  .footer-link {
    font-size: 1.125rem;
  }
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-separator {
  color: #333;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .footer-separator {
    font-size: 1.125rem;
  }
}

.footer-logo {
  text-align: center;
  margin-bottom: 0;
}

.footer-logo img {
  height: 50px;
}

.footer-copyright,
.footer-new-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #333;
  font-weight: 300;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

@media (min-width: 768px) {
  .footer-copyright,
  .footer-new-copyright {
    font-size: 0.875rem;
  }
}

/* ======================================
   Utility Classes
   ====================================== */
.hidden {
  display: none;
} /* ======================================
   Section Headers & Title Lines
   ====================================== */
/* 共通見出しスタイル */

.section-title-common {
  font-size: 28px;
  font-weight: 300;
  color: #333;
  letter-spacing: 0.1em;
  position: relative;
  margin-bottom: 3px;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title-common {
    font-size: 36px;
  }
}

/* section-title-common: 768px以上で右側の線をコンテナ幅いっぱいまで（flex の残り領域） */
.section-header--line-stretch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
}

.section-title-line-desktop {
  display: none;
}

@media (min-width: 768px) {
  .section-header--line-stretch {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .section-header--line-stretch .section-title-common {
    flex-shrink: 0;
  }

  .section-title-line-desktop {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    height: 1px;
    background-color: #333;
    align-self: center;
  }
}

.section-title-line-mobile {
  height: 1px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background-color: #333;
}

@media (min-width: 768px) {
  .section-title-line-mobile {
    display: none;
  }
}
.section-title-left {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-align: left;
  margin-bottom: 3px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

@media (min-width: 768px) {
  .section-title-left {
    font-size: 36px;
  }
}

/* Title Lines */
.title-line-left {
  display: none;
}

@media (min-width: 768px) {
  .title-line-left {
    display: block;
    position: absolute;
    top: 50%;
    right: 100%;
    height: 1px;
    background: #333;
    width: calc(50vw - 48px);
    margin-right: 1rem;
    transform: translateY(-50%);
  }
}

