@charset "UTF-8";

/* ==========================================================================
   Foundation (CSS変数・リセット・ベーススタイル)
   ========================================================================== */
:root {
  --color-primary: #3db2e6;
  --color-secondary: #27378d;
  --color-text-main: #333333;
  --color-text-muted: #666666;
  --color-bg-base: #ffffff;
  --color-bg-light: #f5f5f5;
  --color-bg-menu: #e8ecef;
  --color-border: #e0e0e0;

  --font-family-base: 'Noto Sans JP', sans-serif;
  --font-family-en: 'Helvetica Neue', Arial, sans-serif;

  --content-max-width: 1500px;
  --header-height-pc: 80px;
  --header-height-sp: 60px;

  --transition-speed: 0.3s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ==========================================================================
   Layout (ヘッダー・フッター・コンテナ)
   ========================================================================== */
.l-container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .l-container {
    padding: 0 40px;
  }
}

.p-content-box {
  background-color: var(--color-bg-light);
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .p-content-box {
    padding: 60px;
  }
}

.l-header {
  width: 100%;
  height: var(--header-height-sp);
  background-color: var(--color-bg-base);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 1024px) {
  .l-header {
    height: var(--header-height-pc);
  }
}

.l-header__logo {
  padding-left: 20px;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 12rem;
}
@media (min-width: 1024px) {
  .l-header__logo {
    padding-left: 1rem;
    width: 16rem;
  }
}

.l-header__logo-mark {
  width: 24px;
  height: 24px;
  background-color: var(--color-secondary);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.l-header__nav-wrapper {
  display: none;
  height: 100%;
}
@media (min-width: 1024px) {
  .l-header__nav-wrapper {
    display: flex;
    align-items: center;
  }
}

.c-gnav {
  display: flex;
  height: 100%;
}

.c-gnav__item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.c-gnav__link {
  display: block;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.c-gnav__item--highlight {
  background: linear-gradient(to right, var(--color-primary), #60c5f0);
  color: #fff;
}
.c-gnav__item--dark {
  background: linear-gradient(to right, var(--color-secondary), #3c4fac);
  color: #fff;
}

.l-header__hamburger {
  display: block;
  padding: 20px;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .l-header__hamburger {
    display: none;
  }
}
.l-header__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  margin-bottom: 5px;
  transition: all var(--transition-speed);
}
.l-header__hamburger-line:last-child {
  margin-bottom: 0;
}

.l-main {
  padding-top: var(--header-height-sp);
  min-height: calc(100vh - var(--header-height-sp));
}
@media (min-width: 1024px) {
  .l-main {
    padding-top: var(--header-height-pc);
    min-height: calc(100vh - var(--header-height-pc));
  }
}

.l-footer {
  width: 100%;
  background-color: var(--color-bg-base);
  border-top: 1px solid var(--color-border);
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .l-footer {
    padding: 60px 40px;
  }
}
.l-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
@media (min-width: 768px) {
  .l-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
  }
}
.l-footer__logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 16rem;
}
.l-footer__info {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
/* フッターのリンク（プライバシーポリシー等） */
.l-footer__link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-speed);
}
.l-footer__link:hover {
  color: var(--color-primary);
}
@media (min-width: 768px) {
  /* PCでは右端に配置 */
  .l-footer__nav {
    margin-left: auto;
  }
}

/* ==========================================================================
   Object - Utility (汎用クラス)
   ========================================================================== */
.u-dummy-img {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1rem;
  width: 100%;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.u-dummy-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.u-text-center { text-align: center; }
.u-mb-40 { margin-bottom: 40px; }
.u-mb-60 { margin-bottom: 60px; }
.u-mb-80 { margin-bottom: 80px; }
.u-mt-40 { margin-top: 40px; }
.u-mt-80 { margin-top: 80px; }

.u-bg-white-box {
  background-color: #fff;
  padding: 20px;
}
@media (min-width: 768px) {
  .u-bg-white-box {
    padding: 40px;
  }
}

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

/* ==========================================================================
   Object - Component (再利用可能なパーツ)
   ========================================================================== */
/* パンくずリスト */
.c-breadcrumb {
  width: 100%;
  padding: 18px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .c-breadcrumb {
    padding: 26px 0;
    margin-bottom: 50px;
  }
}
.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  list-style: none;
}
.c-breadcrumb__item {
  font-size: 0.7rem;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
@media (min-width: 768px) {
  .c-breadcrumb__item {
    font-size: 0.75rem;
  }
}
/* 2件目以降の前に細いスラッシュ状の区切りを表示 */
.c-breadcrumb__item + .c-breadcrumb__item::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 12px;
  background-color: var(--color-border);
  transform: rotate(20deg);
  vertical-align: middle;
}
@media (min-width: 768px) {
  .c-breadcrumb__item + .c-breadcrumb__item::before {
    margin: 0 16px;
  }
}
/* リンク：ホバーで下線が左から伸びる */
.c-breadcrumb__link {
  position: relative;
  display: inline-block;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-speed);
}
.c-breadcrumb__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--transition-speed);
}
.c-breadcrumb__link:hover {
  color: var(--color-primary);
}
.c-breadcrumb__link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
/* 現在地 */
.c-breadcrumb__item--current {
  font-weight: 500;
  color: var(--color-text-main);
}

.c-section-title {
  text-align: center;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .c-section-title {
    margin-bottom: 60px;
  }
}
.c-section-title__en {
  font-family: var(--font-family-en);
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
}
.c-section-title__ja {
  font-size: 2.5rem;
  color: var(--color-primary);
  display: block;
  margin-top: 5px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .c-section-title__ja {
    font-size: 1.75rem;
  }
}

.c-hero {
  width: 100%;
  height: 250px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .c-hero {
    height: 350px;
    padding: 0 10%;
  }
}
.c-hero__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}
.c-hero__bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.c-hero__title {
  color: #fff;
  font-family: var(--font-family-en);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .c-hero__title {
    font-size: 3.5rem;
  }
}
.c-hero__subtitle {
  color: #fff;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

.c-table {
  width: 100%;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.c-table th, .c-table td {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.c-table th {
  /*width: 30%;*/
  font-weight: 700;
  background-color: var(--color-bg-base);
}
.c-table tr:last-child th, .c-table tr:last-child td {
  border-bottom: none;
}
.c-table--striped th {
  background-color: #e6f4fc;
  color: var(--color-text-main);
  border-bottom: none;
  white-space: nowrap;
}
.c-table--striped td {
  border-bottom: 1px solid var(--color-bg-light);
}
.c-table--striped tr:nth-child(even) td {
  background-color: #fff;
}
.c-table--striped tr:nth-child(odd) td {
  background-color: var(--color-bg-light);
}

.c-table-compare {
  width: 100%;
  border: 1px solid var(--color-border);
  background-color: #fff;
}
.c-table-compare th, .c-table-compare td {
  border: 1px solid var(--color-border);
  padding: 20px;
}
.c-table-compare thead th {
  background-color: #f0f8ff;
  text-align: center;
}
.c-table-compare tbody th {
  width: 20%;
  text-align: center;
  background-color: var(--color-bg-base);
  font-weight: 700;
}
@media (max-width: 767px) {
  .c-table-compare th, .c-table-compare td {
    display: block;
    width: 100% !important;
  }
}

/* ==========================================================================
   Object - Project (ニュースリスト・ページネーション)
   ========================================================================== */
.p-news-list {
  border-top: 1px solid var(--color-border);
}
.p-news-item {
  border-bottom: 1px solid var(--color-border);
}
.p-news-link {
  display: flex;
  flex-direction: column;
  padding: 25px 10px;
  transition: background-color var(--transition-speed);
  color: var(--color-text-main);
}
@media (min-width: 768px) {
  .p-news-link {
    flex-direction: row;
    align-items: center;
  }
}
.p-news-link:hover {
  background-color: var(--color-bg-light);
  opacity: 1;
}
.p-news-meta {
  width: 140px;
  font-family: var(--font-family-en);
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .p-news-meta { margin-bottom: 0; }
}
.p-news-content {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}
.p-news-title {
  font-size: 1rem;
  font-weight: 400;
}
.p-news-arrow {
  display: none;
}
@media (min-width: 768px) {
  .p-news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    margin-left: 30px;
    transition: all var(--transition-speed);
  }
  .p-news-arrow svg {
    width: 14px;
    height: 14px;
  }
  .p-news-link:hover .p-news-arrow {
    background-color: var(--color-primary);
    color: #fff;
  }
}

/* ==========================================================================
   Layout - 記事用コンテナ
   ========================================================================== */
.l-container-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
}
@media (max-width: 768px) {
  .l-container-article {
    padding: 60px 20px;
  }
}

/* ==========================================================================
   Object - Project (記事本体)
   ========================================================================== */
.p-article {
  background-color: #fff;
}
@media (max-width: 768px) {
  .p-article {
    padding: 0;
  }
}
.p-article__header {
  margin-bottom: 50px;
}
.p-article__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .p-article__title {
    font-size: 1.5rem;
  }
}
.p-article__date {
  color: #888;
  font-size: 0.9rem;
}
.p-article__content {
  font-size: 1rem;
  line-height: 2;
}
.p-article__content p {
  margin-bottom: 30px;
}
.p-article__content h2 {
  font-size: 1.6rem;
  margin: 60px 0 30px;
  padding-bottom: 15px;
  font-weight: 700;
  position: relative;
}
.p-article__content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e8a33d, #d9534f);
}
.p-article__content h3 {
  font-size: 1.3rem;
  margin: 40px 0 20px;
  font-weight: 700;
  border-left: 4px solid #e8a33d;
  padding-left: 15px;
}
.p-article__content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 4px;
}
.p-article__content .u-bg-yellow {
  background: linear-gradient(transparent 60%, #fff48f 60%);
  padding: 0 2px;
}
.p-article__back {
  text-align: center;
  margin-top: 60px;
}

.c-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.c-pagination__list {
  display: flex;
  align-items: center;
  gap: 10px;
}
.c-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  background-color: #fff;
  color: var(--color-text-main);
  border-radius: 4px;
  transition: all var(--transition-speed);
  font-family: var(--font-family-en);
}
.c-pagination__link:hover {
  background-color: var(--color-bg-light);
  opacity: 1;
}
.c-pagination__link.is-active {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.c-pagination__link--next,
.c-pagination__link--prev {
  width: auto;
  padding: 0 15px;
}

/* ==========================================================================
   Object - Project (記事詳細ページ)
   ========================================================================== */
.l-container-article {
  width: 100%;
  max-width: 930px;
  margin: 40px auto 80px;
  padding: 30px 20px;
  background-color: var(--color-bg-light);
}
@media (min-width: 768px) {
  .l-container-article {
    padding: 60px 40px;
    margin: 80px auto 120px;
  }
}

.p-article {
  background-color: #fff;
  padding: 30px 20px;
}
@media (min-width: 768px) {
  .p-article {
    padding: 60px 80px;
  }
}

.p-article__header {
  margin-bottom: 40px;
}
.p-article__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .p-article__title {
    font-size: 2rem;
  }
}
.p-article__date {
  font-family: var(--font-family-en);
  color: var(--color-text-muted);
}
.p-article__content {
  line-height: 1.8;
  font-size: 1rem;
  color: var(--color-text-main);
}
.p-article__content p {
  margin-bottom: 1.5em;
}

.p-article__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 60px 0 30px;
  position: relative;
  padding-bottom: 15px;
}
@media (min-width: 768px) {
  .p-article__content h2 {
    font-size: 1.75rem;
  }
}
.p-article__content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 4px;
  background: linear-gradient(to right, #e67e22 50%, #e74c3c 50%);
}

.p-article__content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 20px;
}
@media (min-width: 768px) {
  .p-article__content h3 {
    font-size: 1.5rem;
  }
}

.u-bg-yellow {
  background-color: #fdf5b4;
  font-weight: 700;
  padding: 2px 5px;
}

/* ==========================================================================
   Object - Project (スマホメニュー)
   ========================================================================== */
.p-sp-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-menu);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease;
  overflow: hidden;
}
.p-sp-menu.is-active {
  opacity: 1;
  pointer-events: auto;
}

.p-sp-menu__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-sp-menu__close-line {
  position: absolute;
  width: 30px;
  height: 1px;
  background-color: #333;
}
.p-sp-menu__close-line:nth-child(1) { transform: rotate(45deg); }
.p-sp-menu__close-line:nth-child(2) { transform: rotate(-45deg); }

.p-sp-menu__inner {
  padding: 80px 30px 0;
  flex: 1;
  position: relative;
  z-index: 2;
}
.p-sp-menu__item {
  border-bottom: 1px solid #c0c4c8;
}
.p-sp-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  color: #333;
}
.p-sp-menu__link .ja {
  font-size: 1.1rem;
  font-weight: 500;
}
.p-sp-menu__link .en {
  font-size: 0.8rem;
  font-family: var(--font-family-en);
  color: #666;
}

.p-sp-menu__bg-shape {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  height: 40%;
  background-color: var(--color-primary);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.p-sp-menu__bottom {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background-color: #fff;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.p-sp-menu__contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  color: var(--color-primary);
  font-family: var(--font-family-en);
  font-size: 1.25rem;
  font-weight: 700;
}
.p-sp-menu__contact .arrow {
  font-weight: 400;
}

/* ==========================================================================
   Object - Project (各ページ固有スタイル)
   ========================================================================== */
.p-top-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  position: relative;
}
.p-top-hero__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}
.p-top-hero__bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}
.p-top-hero__copy {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  z-index: 1;

}
@media (min-width: 768px) {
  .p-top-hero__copy { font-size: 3.5rem; }
}

.p-top-hero___en {
position: absolute;
right: 5rem;
bottom: -4rem;
width: 40rem;
z-index: 10;
}
@media (max-width: 768px) {
  .p-top-hero___en {
  right: 0;
    left: 0;
    margin: auto;
    bottom: -2rem;
    width: 19rem;
  }
}

.p-top-message {
  background-color: var(--color-bg-base);
  position: relative;
}
.p-top-message__inner {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.p-top-message__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.p-top-message__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-top-message__body {
  padding: 3rem 1.25rem;
  text-align: center;
  background-color: var(--color-bg-base);
}
.p-top-message__script {
  font-family: 'Brush Script MT', cursive, var(--font-family-en);
  font-size: 3rem;
  color: #f39c12;
  margin-bottom: 1.25rem;
}
.p-top-message__text {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.p-top-message__sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}
@media (min-width: 769px) {
  /* 写真が全幅を占めて、bodyをその上に絶対配置 */
  .p-top-message__inner {
    grid-template-columns: 1fr;
    /* imgの高さに合わせてinnerが追従するよう設定 */
    display: flex;
    align-items: stretch;
  }
  .p-top-message__img {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 58rem;
  }
  /* 写真の上に重ねて右寄せ配置 */
  .p-top-message__body {
    position: relative;
    z-index: 1;
    width: 58%;
    margin-left: auto;
    /* imgのmin-heightに揃えて親全体をカバー */
    min-height: 58rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 4rem 3rem 4rem 8rem;
    /* 右(白)←左(透過)でフェードして写真に溶け込む */
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 20%, rgba(255, 255, 255, 1) 50%);
  }
  .p-top-message__text {
    font-size: 2rem;
    letter-spacing: 3px;}
}

.p-top-banners {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 4rem auto;
  position: relative;
  z-index: 10;
  gap: 2rem;
}
/* TOPページのみめり込み */
.p-top-message .p-top-banners {
  margin-top: -6rem;
  margin-bottom: 0;
  padding-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  position: absolute;
  bottom: -15rem;
  left: 0;
  right: 0;
  margin: auto;
}
@media (max-width: 768px) {
  .p-top-message .p-top-banners {
    margin-top: 0;
    position: relative;
    bottom: auto;
    padding-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .p-top-banners { grid-template-columns: 1fr 1fr; }
}
.p-top-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.p-top-banner:hover {
  opacity: 1;
}
@media (min-width: 1024px) {
  .p-top-banner { height: 400px; }
}
.p-top-banner__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  transition: transform 0.5s ease;
}
/* 画像をbannerに隙間なくcover */
.p-top-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-top-banner:hover .p-top-banner__bg {
  transform: scale(1.05);
}
/* 左下に固定 */
.p-top-banner__box {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--color-secondary);
  color: #fff;
  padding: 20px 30px;
  z-index: 1;
}
.p-top-banner__title {
  font-family: var(--font-family-en);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.p-top-banner__subtitle {
  font-size: 0.8rem;
  margin-top: 5px;
}

.p-top-news {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}
/* 背景動画：セクション全体に広がる */
.p-top-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter:grayscale(100%);
}
/* 白半透過オーバーレイ 30% */
.p-top-news__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1;
}
/* コンテンツはオーバーレイの上 */
.p-top-news__header,
.p-news-list,
.p-top-news .u-text-center {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.p-top-news__header {
  display: flex;
  align-items: center;
  margin-bottom:40px;
  margin-top: 14rem;
}
@media (max-width: 768px) {
  .p-top-news__header {
    margin-top: 0;
  }
}

.p-top-news__title {
  font-family: var(--font-family-en);
  font-size: 3rem;
  font-weight: 700;
}
.p-top-news__title::first-letter {
  color: var(--color-primary);
}

.page-company .c-hero{
  margin-bottom: 0;
}

.p-company-slogan {
  width: 100%;
  background-image: url('../img/p_top_mes_bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  margin-bottom: 80px;
  padding: 60px 20px;
}
.p-company-container {
  max-width: 900px;
  margin: 0 auto;
}
/* 写真上に重なる水色ボックス */
.p-company-slogan__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  background-color: var(--color-primary);
  color: #fff;
}
@media (min-width: 768px) {
  .p-company-slogan {
    padding: 80px 40px;
  }
  .p-company-slogan__inner {
    padding: 80px 60px;
  }
}
.p-company-slogan__label {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
}
.p-company-slogan__label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: #fff;
  margin: 15px auto 0;
}
.p-company-slogan__catch {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
@media (min-width: 768px) {
  .p-company-slogan__catch { font-size: 2.5rem; }
}
.p-company-slogan__text {
  margin-bottom: 40px;
  font-size: 1.35rem;
}
.p-company-slogan__policy-title {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.p-company-slogan__policy-list {
  text-align: left;
  display: inline-block;
}
.p-company-slogan__policy-item {
  margin-bottom: 10px;
  font-size: 1.125rem;
  list-style-type: decimal;
}

.p-company-greeting {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 80px;
  max-width: 800px;
  margin: 0 auto;
}
.p-company-greeting__text {
  max-width: 800px;
  margin-bottom: 40px;
  text-align: left;
}
.p-company-greeting__name {

  max-width: 10rem;
  margin-left: auto;
}
.p-company-greeting__name div {
text-align: left;
max-width: 10rem;
}
.p-company-greeting__name small {
  display: block;
  font-size: 1rem;
  letter-spacing: 1px;
}
.p-company-greeting__name strong {
  font-size: 1.5rem;
}

/* 挨拶下の工場写真：上から白くフェードイン */
.p-company-photo {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.p-company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-company-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to bottom, #fff 0%, transparent 100%);
  z-index: 1;
}

.p-process {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.p-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 100%;
  background-color: var(--color-primary);
  display: none;
  z-index: -1;
}
@media (min-width: 768px) {
  .p-process { gap: 0; }
  .p-process::before { display: block; }
}

.p-process__item {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.p-process__item:nth-child(6) {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .p-process__item {
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    margin-bottom: 60px;
  }
}
.p-process__content {
  flex: 1;
  padding: 30px 20px;
  background-color: var(--color-bg-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 25rem;
}
.p-process__content p {
  font-size: 1.125rem;

}
@media (min-width: 768px) {
  .p-process__content { padding: 60px 80px; }
  .p-process__item:nth-child(even) {
    flex-direction: row-reverse;
  }
}
.p-process__image {
  flex: 1;
  position: relative;
  min-height: 250px;
}
@media (min-width: 768px) {
  .p-process__image {
    max-width: 50%;
    min-height: auto;
  }
}
.p-process__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-process__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--color-primary);
}
.p-process__num {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-family-en);
}
.p-process__name {
  font-size: 2rem;
  font-weight: 700;
}

.p-facility-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 60px;
}
@media (min-width: 768px) {
  .p-facility-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
.p-facility-gallery__item {
  text-align: center;
}
.p-facility-gallery__img {
  margin-bottom: 10px;
}

.p-works-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
@media (min-width: 768px) {
  .p-works-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .p-works-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
.p-works-gallery__item {
  aspect-ratio: 4/3;
}

.p-contact-tel {
  background-color: #fff;
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 4px;
}
.p-contact-tel__title {
  font-weight: 700;
  margin-bottom: 20px;
}
.p-contact-tel__numbers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .p-contact-tel__numbers {
    flex-direction: row;
    gap: 40px;
  }
}
.p-contact-tel__num {
  font-size: 1.2rem;
  font-weight: 700;
}
.p-contact-tel__num span {
  color: var(--color-primary);
  margin-right: 5px;
  font-size: 1rem;
}
.p-contact-tel__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.p-form {
  max-width: 800px;
  margin: 0 auto;
}
.p-form__note {
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 30px;
}
.p-form__note span { color: red; }
.p-form__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}
@media (min-width: 768px) {
  .p-form__item {
    flex-direction: row;
    align-items: flex-start;
  }
}
.p-form__label {
  font-weight: 700;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .p-form__label {
    width: 250px;
    margin-bottom: 0;
    padding-top: 10px;
  }
}
.p-form__label span {
  color: red;
  font-size: 0.8rem;
  margin-left: 5px;
  vertical-align: super;
}
.p-form__input {
  flex: 1;
}
.p-form__input input[type="text"],
.p-form__input input[type="email"],
.p-form__input input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: #fff;
}
.p-form__input textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: #fff;
  height: 150px;
  resize: vertical;
}
.p-form__radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}
.p-form__radio-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.p-form__submit {
  text-align: center;
  margin-top: 40px;
}
.c-btn-submit {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 15px 60px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color var(--transition-speed);
  border-radius: 4px;
}
.c-btn-submit:hover {
  background-color: #333;
}
.c-btn-back {
  display: inline-block;
  padding: 15px 60px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition-speed);
}
.c-btn-back:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}
.p-form__privacy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 30px;
}

/* ==========================================================================
   Project: p-privacy (プライバシーポリシー)
   ========================================================================== */
/* 前文 */
.p-privacy__lead {
  font-size: 0.9rem;
  line-height: 2.2;
  letter-spacing: 0.05em;
  margin-bottom: 55px;
}

/* 各条項ブロック */
.p-privacy__section {
  margin-bottom: 50px;
}
.p-privacy__section:last-of-type {
  margin-bottom: 0;
}

/* 条項見出し */
.p-privacy__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

/* 条項本文 */
.p-privacy__text {
  font-size: 0.9rem;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

/* 箇条書き（番号付き） */
.p-privacy__list {
  margin-top: 20px;
  padding-left: 1.6em;
}
.p-privacy__item {
  font-size: 0.9rem;
  line-height: 2.2;
  letter-spacing: 0.05em;
  list-style: decimal;
  margin-bottom: 12px;
}
.p-privacy__item:last-child {
  margin-bottom: 0;
}

/* 事業者情報 */
.p-privacy__info {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.p-privacy__info-term {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.p-privacy__info-desc {
  font-size: 0.9rem;
  line-height: 2.1;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
}
.p-privacy__info-desc:last-child {
  margin-bottom: 0;
}

/* PC表示 */
@media (min-width: 768px) {
  .p-privacy__lead {
    font-size: 0.95rem;
  }
  .p-privacy__title {
    font-size: 1.125rem;
  }
  .p-privacy__text,
  .p-privacy__item,
  .p-privacy__info-desc {
    font-size: 0.95rem;
  }
  /* 事業者情報は左右2カラム */
  .p-privacy__info-list {
    display: flex;
    flex-wrap: wrap;
  }
  .p-privacy__info-term {
    width: 140px;
    margin-bottom: 25px;
  }
  .p-privacy__info-desc {
    width: calc(100% - 140px);
  }
}
