/* ================================================
   有限会社アミュージングデザインイトウ style.css #14294f
   青系統 × 黒白灰 でまとめたフラット・ミニマムデザイン #0A1F43
================================================ */

:root{
  /* ---- カラー ---- */
  --color-navy:      #0A1F43;  /* フッターロゴ・見出しなどに使う濃紺 */
  --color-blue:       #012396; /* メインブルー（アクセント） */
  --color-blue-light: #4d7fc9; /* ホバーなどの補助ブルー */
  --color-blue-hilight: #c6d8f3;
  --color-black:      #1a1a1a;
  --color-white:      #ffffff;
  --color-gray-100:   #f5f6f8; /* セクション背景の薄グレー */
  --color-gray-300:   #e2e4e8; /* 罫線・ボーダー */
  --color-gray-500:   #8a8f98; /* サブテキスト */
  --color-gray-700:   #4a4f58; /* スクロール時のヘッダー背景 */

  /* ---- フォントサイズ（指定値） ---- */
  --fs-body:        18px; /* 本文（個別に指定している箇所用） */
  --fs-copy-en:     95px; /* キャッチコピー（英語） */
  --fs-copy-jp:     30px; /* キャッチコピー（日本語） */
  --fs-nav:          18px; /* ヘッダーメニュー */
  --fs-heading-lg:   40px; /* 「事業内容」見出し */
  --fs-default:      15px; /* 個別に指定していない基本の文字サイズ */
  --fs-footer:       28px; /* フッターサイトマップ見出し用 */
  --fs-link-lg:       20px; /* リンク付きタイトル用 */
  --fs-tel-number:    30px; /* 電話番号 */
  --fs-phone-label:   12px; /* お問い合わせ案内 */
  --fs-table:         14px; /* 会社概要／採用情報テーブル用 */
  --fs-lubi:         10px; /* タイトル英語ルビ */

  /* ---- レイアウト ---- */
  --header-height: 120px;
  --header-height-sp: 60px;
  --section-title-gap: 5px; /* タイトル見出しの上の余白（共通） */
  --eyebrow-title-gap: 0px; /* アイキャッチラベルと見出しタイトルの距離（共通） */

  /* ---- フォント ---- */
  --font-en: "Google Sans", "Noto Sans", sans-serif;
  --font-jp: "Noto Sans jp", sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  font-family:var(--font-jp);
  font-size:var(--fs-default);
  line-height:1.8;
  color:var(--color-black);
  background:var(--color-white);
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family:inherit; border:none; background:none; cursor:pointer; }

.section-title{
  font-size:var(--fs-heading-lg);
  font-weight:700;
  letter-spacing:0.05em;
  text-align:center;
  color:var(--color-navy);
  line-height:1.3;
}

.text-link{
  text-decoration:underline;
  color:var(--color-blue);
}

/* ================================================
   タイトル見出しの上に置く小さな英文字（アイキャッチラベル）
================================================ */
.title-eyebrow{
  display:block;
  margin-bottom:var(--eyebrow-title-gap);
  padding-top:50px;
  font-family:var(--font-en);
  font-size:var(--fs-lubi);
  font-weight:600;
  letter-spacing:0.2em;
  color:var(--color-blue-light);
}

/* ================================================
   ローディング画面
================================================ */
#loading-screen{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--color-navy);
  transition:opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.loader{
  width:40px;
  height:40px;
  border:2px solid rgba(255,255,255,0.25);
  border-top-color:var(--color-white);
  border-radius:50%;
  animation:spin 0.9s linear infinite;
}
@keyframes spin{
  to{ transform:rotate(360deg); }
}

/* ================================================
   ヘッダー（スクロール追従・ミニマム）
================================================ */
#site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:var(--header-height);
  z-index:500;
  background:var(--color-navy);   /* ファーストビュー時はネイビー固定 */
  transition:background 0.3s ease, height 0.3s ease;
}
#site-header.is-scrolled{
  background:var(--color-gray-700);   /* スクロール時はグレー */
}

.header-inner{
  max-width:1800px;
  height:100%;
  margin:0 auto;
  padding:10px 25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.header-logo .logo-img{
  height:50px;
  width:auto;
  margin:10px;
}

.header-logo a{
  display:flex;
  align-items:center;
  gap:12px;
}
.header-company-name{
  font-size:18px;
  color:var(--color-white);
  letter-spacing:0.05em;
  white-space:nowrap;
}

/* ---- ヘッダー右側：電話番号＋メニュー ---- */
.header-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
}

.header-phone{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--color-white);
}
.header-phone-text{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}
.header-phone-label{
  font-size:var(--fs-phone-label);
  letter-spacing:0.05em;
  opacity:0.8;
}
.header-phone-note{
  font-size:var(--fs-phone-label);
  letter-spacing:0.05em;
  opacity:0.8;
}
.header-phone-icon{
  width:30px;
}
.header-phone-number{
  font-family:var(--font-en);
  font-size:var(--fs-tel-number);
  font-weight:600;
  letter-spacing:0.02em;
  color:var(--color-white);
}

.nav-list{
  display:flex;
  align-items:center;
  gap:28px;
}

.nav-list > li{
  position:relative;
}

.nav-list > li > a{
  display:block;
  font-size:var(--fs-nav);
  letter-spacing:0.08em;
  color:var(--color-white);
  padding:6px 0 2px 0; 
  position:relative;
}

.nav-list > li > a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background:var(--color-white);
  transition:width 0.3s ease;
}

.nav-list > li > a:hover::after{
  width:100%;
}

/* ---- 事業内容プルダウン ---- */
.has-dropdown .dropdown{
  position:absolute;
  top:100%;
  left:50%;
  min-width:120px;
  background:var(--color-white);
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
  padding:8px 0;
  opacity:0;
  visibility:hidden;
  transform:translate(-50%, 4px);
  transition:opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown{
  opacity:1;
  visibility:visible;
  transform:translate(-50%, 0);
}
.dropdown li a{
  display:block;
  padding:8px 16px;
  font-size:var(--fs-nav);
  color:var(--color-navy);
  white-space:nowrap;
  text-align:center;
}
.dropdown li a:hover{
  background:var(--color-gray-100);
}

/* ---- ハンバーガーメニュー（モバイル用） ---- */
.menu-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:32px;
  height:32px;
  z-index:600;
}
.menu-toggle span{
  display:block;
  width:100%;
  height:2px;
  background:var(--color-white);
  transition:transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2){ opacity:0; }
.menu-toggle.is-active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ================================================
   ファーストビュー
================================================ */
.hero{
  position:relative;
  width:100%;
  height:100vh;
  min-height:560px;
  overflow:hidden;
  background:var(--color-black); /* 画像未読込時のフォールバック */
}

/* ---- 最背面：フルワイド画像／読み込み後にふわっとフェードイン ---- */
.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  background:linear-gradient(135deg, #2a2a2a, #0d0d0d); /* 画像未設置時のフォールバック */
}
.hero-bg-img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.6s ease;
}
.hero-bg-img.is-loaded{
  opacity:1;
}

/* 画面全体に薄い黒を重ねて文字を読みやすくする */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(10,15,25,0.35);
  z-index:1;
}

/* ---- 下からカットインしてくる細い画像 ---- */
.hero-cutin-bottom{
  position:absolute;
  right:5%;
  top:40%;
  width:45%;
  min-width:160px;
  height:65%;
  z-index:2;
  overflow:hidden;
  background:rgba(10,31,67,0.55);   /* --color-navy(#0A1F43)の半透明。0.3〜0.7で濃さを調整 */
  transform:translateY(100%);
  opacity:0;
  transition:transform 1s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease;
}

.hero-cutin-bottom.is-in{
  transform:translateY(0);
  opacity:1;
}

/* ---- 右横からカットインしてくる画像 ---- */
.hero-cutin-right{
  position:absolute;
  right:0;
  top:30%;
  width:40%;
  min-width:160px;
  height:60%;
  z-index:2;
  overflow:hidden;
  background:var(--color-gray-500); /* 画像未設置時のフォールバック */
  transform:translateX(100%);
  transition:transform 1s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease;
}
.hero-cutin-right img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-cutin-right.is-in{
  transform:translateX(0);
  opacity:1;
}

/* ---- 左上：ロゴ＋社名 ---- */
.hero-brand{
  position:absolute;
  top:28px;
  left:32px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:10px;
}
.hero-logo{
  height:30px;
  width:auto;
}
.hero-company-name{
  color:var(--color-navy);
  font-size:15px;
  letter-spacing:0.06em;
}

/* ---- 左側：キャッチコピー（時差フェードイン） ---- */
.hero-copy{
  position:absolute;
  left:15%;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  display:flex;
  flex-direction:column;
}
.copy-line{
  opacity:0;
  transform:translateX(-36px);
  transition:opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.hero-copy.is-in .copy-line{
  opacity:1;
  transform:translateX(0);
}
/* 1要素ずつ左から時差をつけてフェードイン */
.hero-copy.is-in .copy-line:nth-child(1){ transition-delay:0.1s; }
.hero-copy.is-in .copy-line:nth-child(2){ transition-delay:0.45s; }
.hero-copy.is-in .copy-line:nth-child(3){ transition-delay:0.8s; }
.hero-copy.is-in .copy-line:nth-child(4){ transition-delay:1.2s; }

.copy-en{
  font-family:var(--font-en);
  font-size:var(--fs-copy-en);
  font-weight:600;
  color:var(--color-white);
  line-height:1.3;
  letter-spacing:0.01em;
}
.copy-jp{
  margin-top:14px;
  font-family:var(--font-jp);
  font-size:var(--fs-copy-jp);
  font-weight:500;
  color:var(--color-white);
  letter-spacing:0.03em;
}

/* ================================================
   事業内容セクション
================================================ */
.business-section{
  padding:var(--section-title-gap) 24px 96px;
  background:var(--color-white);
}
.business-section .section-title{
  width:1400px;
  max-width:none;
  margin-bottom:40px;
}

.business-list{
  width:1400px;
  max-width:none;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:80px; /* テキストボックスが画像に重なる分、間隔を広めに確保 */
}

.business-card{
  display:flex;
  align-items:center;
  position:relative;
  max-width:100%;
  margin:0 auto;
}

/* ---- 画像部分 ---- */
.business-card-img{
  width:62%;
  flex-shrink:0;
  aspect-ratio:16/9;
  overflow:hidden;
  position:relative;
  z-index:1;
  background:var(--color-gray-100);
}
.business-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s ease;
}
.business-card:hover .business-card-img img{
  transform:scale(1.06);
}

/* ---- 画像に横から重なるテキストボックス ---- */
/* ---- 画像に横から重なるテキストボックス ---- */
.business-card-box{
  position:relative;
  overflow:hidden;   /* 追加：右上の画像のはみ出し部分を隠す */
  z-index:2;
  width:60%;
  margin-left:-14%;
  margin-top:5%;
  min-height:490px;
  padding:50px 50px;
  background:var(--color-blue);
  box-shadow:0 12px 32px rgba(20,41,79,0.12);
  transition:box-shadow 0.3s ease, transform 0.3s ease;
}
.business-card:hover .business-card-box{
  box-shadow:0 16px 40px rgba(20,41,79,0.18);
  transform:translateY(-4px);
}

/* ---- 右上：枠からはみ出す装飾画像 ---- */
.business-corner-img{
  position:absolute;
  top:var(--corner-offset-y, 50px);   /* マイナスにするほど外側にはみ出す */
  right:var(--corner-offset-x, 50px);
  width:var(--corner-size, 140px);
  height:var(--corner-size, 140px);
  object-fit:cover;
  z-index:0;   /* タイトル・本文より奥に配置 */
  pointer-events:none;
}

.business-title{
  position:relative;   /* 装飾画像より手前に来るように */
  z-index:1;
  font-size:40px;
  font-weight:700;
  color:var(--color-white);
  margin-bottom:12px;
}
.business-subtitle{
  position:relative;   /* 装飾画像より手前に来るように */
  z-index:1;
  font-size:20px;      /* タイトル40px・本文18pxの中間 */
  font-weight:700;
  line-height:1.6;
  color:var(--color-white);   /* 青背景上で白のタイトルと差がつく淡いブルー */
}
.business-desc{
  position:relative;
  z-index:1;
  font-size:var(--fs-body);
  color:var(--color-white);
  line-height:1.9;
  padding:30px 20px 0 0;
  margin-bottom:16px;
}

/* ---- リンク：右下固定 ---- */
.business-link{
  position:absolute;
  right:36px;
  bottom:32px;
  z-index:1;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:var(--fs-body);
  color:var(--color-white);
  font-weight:600;
}
.business-link-icon{
  width:25px;
  transition:transform 0.3s ease;
}
.business-card:hover .business-link-icon{
  transform:translateX(6px);   /* ホバーで矢印がすっと右に動く */
}

/* ================================================
   トップページ：インフォメーション＋会社概要／採用情報（横並び）
================================================ */
.highlights-section{
  padding:var(--section-title-gap) 24px 100px;
  background:var(--color-white);
}
.highlights-inner{
  max-width:1400px;
  margin:0 auto;
  display:flex;
  align-items:stretch;
  gap:60px;
}

/* ---- 左：インフォメーション ---- */
.highlights-news{
  flex:1.2;
  min-width:0;
}
.highlights-news .section-title{
  margin-bottom:40px;
}
.news-list{
  width:100%;
}
.news-item{
  display:flex;
  align-items:baseline;
  gap:24px;
  padding:24px 0;
  border-bottom:1px dashed var(--color-gray-300); /* グレー点線の罫線 */
}
.news-item:first-child{
  border-top:1px dashed var(--color-gray-300); /* 一覧の一番上にも罫線をつける */
}
.news-date{
  flex-shrink:0;
  width:130px;
  font-family:var(--font-en);
  font-size:var(--fs-body);
  color:var(--color-gray-500);
}
.news-text{
  font-size:var(--fs-body);
  color:var(--color-black);
}
.news-link{
  color:var(--color-blue);
  text-decoration:underline; /* PDFリンクだと分かるように下線をつけています */
}

/* ---- 右：会社概要／採用情報（縦並びの帯カード） ---- */
.highlights-info{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.info-bar{
  position:relative;
  display:flex;
  align-items:center;
  height:46%;
  padding:0 24px;
  overflow:hidden;
  border-top:1px solid var(--color-gray-300);
  border-right:1px solid var(--color-gray-300);
  border-bottom:1px solid var(--color-gray-300);
  border-left:5px solid var(--color-blue);
  background:var(--color-white);
  transition:box-shadow 0.3s ease, transform 0.3s ease;
}
.info-bar::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:var(--color-blue);   /* 単色でバー全体を確実に青にする */
  opacity:0;
  transform:translateX(100%);
  transition:opacity 0.4s ease, transform 0.4s ease;
}
.info-bar:hover::before{
  opacity:1;
  transform:translateX(0);
}
.info-bar-title{
  position:relative;
  z-index:2;
  padding:30px;
  font-size:25px;
  font-weight:700;
  color:var(--color-navy);
  text-align:left;
  transition:color 0.3s ease;   /* 復活：色の変化を滑らかにする */
}
.info-bar:hover .info-bar-title{
  color:var(--color-white);   /* 復活：ホバーで白文字に */
}
.info-bar:hover{
  box-shadow:0 8px 20px rgba(20,41,79,0.12);
  transform:translateY(-2px);
}

/* ================================================
   フッター（5段構成）
================================================ */
.site-footer{
  background:var(--color-gray-300);
  padding:50px 24px 10px;
}
.footer-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* ---- 一段目：サイトマップ ---- */
.footer-sitemap{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:baseline;
  gap:40px;
  margin-top: 0px;
  margin-bottom:40px;
}
.footer-sitemap a{
  font-size:18px;
  color:var(--color-navy);
  transition:opacity 0.3s ease;
}
.footer-sitemap a:hover{
  opacity:0.6;
}

/* ---- 二段目：会社ロゴ ---- */
.footer-logo{
  height:40px;
  width:auto;
  margin-bottom:10px;
}

/* ---- 三段目：会社名 ---- */
.footer-company-name{
  font-size:12px;
  color:var(--color-navy);
  margin-bottom: 10px;
}

/* ---- 四段目：アイコンバッジ ---- */
.footer-badges{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  margin-bottom:25px;
}
.footer-badges img{
  margin-top: 10px;
  height:25px;
  width:auto;
}

/* ---- 五段目：コピーライト ---- */
.footer-copyright{
  font-size:10px;
  color:var(--color-gray-500);
  opacity:0.8;
}

