@charset "UTF-8";
/* ==========================
   共通スタイル
========================== */

html {
  font-size: 100%;
  /* scroll-behavior: smooth; */
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #222;
}

/* トップページだけアニメーションする */
.page-home .section {
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 下層ページは最初から表示 */
body:not(.page-home) .section {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

h3, h4 {
  font-weight: normal;
}

.english {
  font-family: 'Montserrat', sans-serif;
}

.section-border {
  width: 95%;
  height: 1px;
  margin: 0 auto 2rem auto;
  background-color: #333;
}

.title {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

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

/* ==========================
   セクション共通アニメーション
========================== */
.section {
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* ==========================
   初期状態
========================== */

/* メイン画面は非表示スタート */
.main-screen {
  opacity: 0;
  pointer-events: none;
}

/* ==========================
   skip-loading（2回目以降）
========================== */

html.skip-loading .first-text {
  display: none !important;
}

html.skip-loading .main-screen {
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: none !important;
}

/* ==========================
   ぼかし幕
========================== */

.first-blur {
  position: fixed;
  inset: 0;
  height: 100svh;
  background: rgba(0,0,0,0.15);
  filter: blur(8px);
  opacity: 1;
  transition: opacity 0.9s ease;
  z-index: 120;
  pointer-events: none;
}

.first-blur.hide {
  opacity: 0;
}

/* ==========================
   ローディング文字（初回のみJSで制御）
========================== */

.first-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: #757575;
  z-index: 130;
  pointer-events: none;
  opacity: 0;
}

/* フェードイン（JSで .is-active を付与） */
.first-text.is-active {
  animation: textFadeIn 1.2s forwards 0.2s;
}

@keyframes textFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.first-text.fadeOut {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ==========================
   メイン画面（FV）
========================== */

.main-screen {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
  transition: opacity 1.8s ease 0.2s;
}

.main-screen.show {
  opacity: 1;
  pointer-events: auto;
}

.main-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: zoomIn 100s ease-out forwards;
}

@keyframes zoomIn {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}

/* ==========================
   タイプライター文字
========================== */

.typewriter-text {
  font-family: 'Shippori Mincho', serif;
  position: absolute;
  top: 18%;
  left: 7%;
  color: #fff;
  font-size: 1.3rem;
  white-space: pre-line;
}

.typewriter-text p {
  margin: -13px;
}

/* カーソル */
.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 0.6s steps(1) infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* ==========================
   ロゴ
========================== */

.logo-fade {
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  opacity: 0;
  display: none;
  animation: microFadeIn 1.2s ease-out forwards;
  animation-play-state: paused;
}

@keyframes microFadeIn {
  from { opacity: 0; transform: scale(0.995); }
  to   { opacity: 1; transform: scale(1); }
}

/* ==========================
   レスポンシブ
========================== */
/* ノートPC・タブレット横（768px〜1023px） */
@media (min-width: 768px) {
  .main-screen {
    height: 100svh;
  }

  .typewriter-text {
    top: 20%;
    font-size: 1.5rem;
  }
}

/* デスクトップ（1024px〜） */
@media (min-width: 1600px) {
  .typewriter-text {
    font-size: 2rem;
  }
}



/* =====================
   ヘッダー
===================== */
/* 初期状態（ローディング中） */
.page-home .header-loading {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* 表示状態 */
.page-home .header-loading.show {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================
   Header
========================== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

/* ローディング制御（後でJSから .show を付ける） */
.header-loading {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.header-loading.show {
  opacity: 1;
  pointer-events: auto;
}

/* Menuボタン */
.menu-btn {
	position: relative;
  z-index: 1100;
  margin: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  cursor: pointer;
	color: #fff;
}

/* ==========================
   Overlay menu
========================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
	z-index: 900;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  height: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 0;
}

.nav-list a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}




/* ==========================
   concept
========================== */
.concept {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 6rem auto;
  padding: 0 1.5rem;
}

/* 画像 + 文章 */
.concept-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
	justify-content: center;
}

.concept-img {
  width: 30%;
	min-width: 215px;
  aspect-ratio: 5 / 6;
  background-image: url("../images/concept-room.webp");
  background-size: cover;
  background-position: center;
  flex-shrink: 0; /* 画像の縮小を防ぐ */
}

.concept-item {
	max-width: 800px;
	margin: 0 auto;
	width: 100%;
}

/* キャッチコピー */
.catch-text {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* 説明文 */
.concept-text {
  font-size: 1rem;
  line-height: 2.4;
}

/* 初期状態：透明＆下に少しズレてる */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease-out, transform 2s ease-out;
}

/* 表示時に適用される */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延用（下のテキストを遅らせる） */
.delay {
  transition-delay: 0.4s;
}


@media (min-width: 768px) {
  .concept {
    margin-bottom: 8rem;
    max-width: 1600px;
  }

	.concept-item {
		max-width: 800px;
    margin: 0 auto;
    width: 100%;
	}

  .concept-top {
    gap: 12rem;
		margin-bottom: 10rem;
  }

  .catch-text {
    font-size: 1.5rem;
  }

	.concept-text {
    font-size: 1rem;
    line-height: 3;
	}
}

/* ==========================
   conceptとserviceの間の画像
========================== */
.section-gallery {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4vw;
	padding: 0 1.5rem;
}

.section-gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.section-gallery-01 {
  margin-top: 3vw;
}
.section-gallery-02 {
	margin-top: 0;
}
.section-gallery-03 {
  margin-top: 5vw;
}
.section-gallery-04 {
  margin-top: 0;
}

.section-gallery img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.section-gallery img.show {
  opacity: 1;
  transform: translateY(0);
}


@media (min-width: 768px) {
  .section-gallery {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2vw;
  }

  .section-gallery img {
    width: 17vw;
    max-width: 360px;
  }

  .section-gallery-01 {
		margin-top: 4vw;
	}
  .section-gallery-02 {
		margin-top: 0;
	}
  .section-gallery-03 {
		margin-top: 6vw;
	}
  .ssection-gallery-04 {
		margin-top: 2vw;
	}
}


/* ==========================
   service
========================== */
.service-wrapper {
  max-width: 1800px;
  margin: 0 auto 6rem auto;
  padding: 0 1.6rem;
}

.service-title-item {
	margin-bottom: 1.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.4rem;
}

.service-item {
	background-color: #fff;
  padding-bottom: 1.6rem;
	min-width: 320px;
}

.service-item > p {
	font-size: 1rem;
}

.service-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ccc;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-info-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.6rem 0;
}

.service-title-ja {
  display: inline-block;
  padding: 1rem 1.4rem;
  font-size: 1.3rem;
	font-weight: bold;
  border: 1px solid #333;
  border-radius: 50%;
  text-align: center;
  width: min(250px, 53vw);
  white-space: nowrap;
}

.service-eng {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.service-text {
  padding: 1.2rem 1.6rem 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
}


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

@media (min-width: 1440px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

	.service-title-ja,
  .service-text,
  .service-eng {
    font-size: 1.3rem;
  }
}


/* ===============================
   topics
=============================== */
.topics {
  max-width: 1800px;
  margin: 0 auto 3rem auto;
  padding: 0 1.5rem;
}

.topics-title-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
	border-top: 1px solid #333;
  border-bottom: 1px solid #333;
	padding: 0.5rem 0;
}

.topics-title {
	font-size: 1.2rem;
}

.topics-ticker-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.topics-ticker {
  display: inline-block;
  animation: ticker-scroll 25s linear infinite;
}

.topics-ticker span {
  margin-right: 3rem;
}

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

.topics-grid {
  display: grid;
	grid-template-columns: repeat(1, 1fr);
  gap: 1.6rem;
}

/* カード */
.topics-item {
	border: 1px solid transparent; /* 初期状態は枠線なし */
  transition: all 0.3s ease;
  background: #fff;
}

.topics-item:hover {
  border-color: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* フォーカスも対応（キーボード用） */
.topics-item:focus-within {
  border-color: #007acc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.topics-link {
  display: block;
}


.topics-img {
  width: 100%;
  overflow: hidden;
}

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

.topics-card {
  padding: 1rem;
}

.topics-card > p {
	font-size: 1rem;
}

.topics-label {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #333;
  margin-bottom: 0.5rem;
	font-weight: bold;
}

.topics-card-item {
  margin-bottom: 1rem;
}

.view-more {
  text-align: center;
  margin: 3rem 0;
}

.view-more-btn {
  display: inline-block;
  padding: 1rem 6rem;
  font-size: 1.4rem;
  border: 1px solid #333;
  background: none;
  border-radius: 0;
  cursor: pointer;
  transition: 0.3s;
}

.view-more-btn:hover {
  background: #333;
  color: #fff;
}


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

	.topics-title {
		font-size: 1.3rem;
	}

  .topics-ticker span {
    font-size: 1rem;
  }
}


/* ===============================
   topicsとcompanyの間の画像
=============================== */
.section-hero img {
  width: 100%;
  display: block;
}


/* ===============================
   Company
=============================== */
.company {
  padding: 3rem 1.5rem 2rem;
}

.company-content {
  max-width: 1000px;
  margin: 0 auto;
}

.company .title {
  margin-bottom: 1.5rem;
}

.company-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.company-info-item dt {
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.875rem;
}

.company-info-item dd {
  font-size: 1rem;
  opacity: 0.9;
}

/* ===================================================
   Access
=================================================== */
.access {
  padding: 0 1.5rem;
	margin-bottom: 2rem;
}

.access-content {
  max-width: 1000px;
  margin: 0 auto;
}

.access .title {
  margin-bottom: 1.5rem;
}

.access-info p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.access-map {
  margin-top: 1.5rem;
  width: 100%;
  height: 260px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link-wrap {
  margin-top: 1.5rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  text-decoration: none;
  color: #111;
  position: relative;
  padding-bottom: 0.2rem;
}

.map-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #111;
}

.map-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #111;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  padding-left: 1px; /* 少し中央寄せ */
  transition: transform 0.2s ease;
}

.map-link:hover .map-arrow {
  transform: translateX(4px);
}


/* ================================
   PC レイアウト（大きくしすぎない）
================================ */
@media (min-width: 768px) {
  .company-info-item dt {
    font-size: 1.3rem;
  }

  .company-info-item dd {
    font-size: 1.5rem;
  }

	.access-info p {
    font-size: 1.5rem;
	}

  .access-map {
    height: 360px;
  }
}

/* page-top */
.page-top {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  margin: 2rem 1rem 1.5rem;
}

.page-top-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
	text-align: center;
  width: 90px;
  height: 90px;
  border: 2px solid #333;
  border-radius: 50%;
  text-decoration: none;
  color: #333;
  line-height: 1.2;
  position: relative;
}

/* ▼ 山形矢印を CSS だけで作る */
.page-top-btn .arrow {
  width: 12px;
  height: 12px;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  transform: rotate(45deg); /* ↑ の形に変換 */
  margin-top: 10px;
}



/* contact */
.contact {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.contact-title-item {
  margin-bottom: 2rem;
}

/* モバイル：縦並び */
.contact-form .form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.contact-form label {
  margin-bottom: 0.5rem;
  font-weight: bold;
	font-size: 0.875rem;
  white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 10rem;
}

/* 送信ボタン → デザイン復活 */
.form-submit {
  margin-top: 1.5rem;
}

.submit-btn {
  background-color: #222;
  color: #fff;
  padding: 0.5rem 3rem;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: background-color .2s ease;
}

.submit-btn:hover {
  background-color: #3a3a3a;
}

@media (min-width: 900px) {
  .contact-form .form-field {
    display: flex;
    flex-direction: row; /* ← これが無かった！横並び復活 */
    align-items: center;
    gap: 1rem;
  }

  .contact-form label {
    width: 190px;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .contact-form input,
  .contact-form textarea {
    flex: 1;
    max-width: none;
  }

  .contact-form textarea {
    min-height: 10rem;
  }
}


/* --------------------
   footer
-------------------- */
.footer {
  padding: 2rem 1rem;
  background: #111;
  color: #fff;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 左側：スマホでは全部縦並び */
.footer-large-text {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

/* 住所・住所（小さめ統一） */
.footer-info p {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

/* 電話番号だけ強調 */
.footer-info p.footer-tel {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 1;
}

/* 右側メニュー（縦並び） */
.footer-menu {
  margin-top: 2rem;
}

.footer-menu li {
  margin-bottom: 0.7rem;
}

/* ----- リンクの色と下線ホバー ----- */
.footer-menu a {
  font-size: 0.875rem;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* 下線（最初は幅0で非表示） */
.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: #fff; /* 通常は白 */
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* ホバー時：文字色も線も薄いカラーに */
.footer-menu a:hover {
  opacity: 1;
  color: #bbb; /* 優しい薄い色 */
}

.footer-menu a:hover::after {
  width: 100%;
  background-color: #bbb; /* 文字色と合わせる */
}

/* コピーライト部分 */
.footer-bottom {
  margin-top: 1.5rem;
}

.footer-bottom small {
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.7;
}

.privacy-link {
  font-size: 0.75rem;
  color: #fff;
  opacity: 0.7;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.privacy-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.privacy-link:hover {
  opacity: 1;
  color: #bbb;
}

.privacy-link:hover::after {
  width: 100%;
  background-color: #bbb;
}

/* --------------------
   タブレット以上で横並び
-------------------- */
@media (min-width: 768px) {
  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
  }

  .footer-left,
  .footer-right {
    flex: 1;
  }

  .footer-right {
    text-align: right;
  }

  .footer-large-text {
    font-size: 4rem;
  }

  .footer-menu {
    margin-top: 0;
  }

  /* PCでは少し読みやすく調整 */
  .footer-info p {
    font-size: 1.3rem;
  }

  .footer-tel {
    font-size: 1.8rem; /* PCではさらに強調 */
  }

  .footer-menu a {
    font-size: 1.3rem;
  }

  .privacy-link {
    font-size: 0.875em;
  }
}
