@charset "UTF-8";
/* ============================================================
   京都外国語大学 観光LP
   デザイン幅: PC 1728px / SP 375px(ブレークポイント 768px)
   色はアセット実測値を採用(波形PNGと地続きのため)
     メインブルー   #036EB7
     メインオレンジ #F29600
     アクセント黄   #FFF56D
     ディープブルー #0054A6
   PCは --u(=min(1px,100vw/1728))で全寸法をカンプ比率のまま縮小
   ============================================================ */

/* ---------- fonts ---------- */
/* DIN Pro Condensed Bold(支給TTF):
   カンプ上のDIN使用箇所(理由番号01-03/グラフ統計数字)は画像アセットに焼き込み済み。
   HTMLテキストで英数字見出しを追加する場合は .u-din を使用すること。 */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  color: #000;
  background: #fff;
  line-height: 2;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; vertical-align: bottom; border: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; }
hr { border: 0; }
figure { margin: 0; }
em { font-style: normal; }

/* ---------- design tokens ---------- */
:root {
  --blue:   #036EB7;
  --orange: #F29600;
  --yellow: #FFF56D;
  --deep:   #0054A6;
  --cream:  #FAF3AE;
  --lblue:  #D0E9F7;
  --lcream: #FCF1D4;
  --panel:  #F5FAFA;
  --bnrbg:  #FBF6E9;
  --fgblue: #188ABC;
  --fggreen:#4CB7A6;
  --u: min(1px, calc(100vw / 1728)); /* PC 1728px設計の縮小単位 */
}

/* ---------- utilities ---------- */
.u-sp, .fv__lead-sp { display: none !important; }
@media (max-width: 767px) {
  .u-pc, .fv__lead-pc { display: none !important; }
  .u-sp { display: block !important; }
  .fv__lead-sp, span.u-sp, br.u-sp, small.u-sp { display: inline !important; }
}


.sp-only { display: none !important; }
.sp-only-2 { display: none !important; }
.pc-only { display: block !important; }
.pc-only-2 { display: inline-block !important; }
@media screen and (max-width: 767px) {
	.sp-only { display: block !important; }
	.sp-only-2 { display: inline-block !important; }
	.pc-only { display: none !important; }
	.pc-only-2 { display: none !important; }
}


@media screen and (max-width: 767px) {
	.l-wrapper { width: calc(100% - 40px); margin-left: auto; margin-right: auto; }
}

.scrollin,
.scrollins__item {
	opacity: 0;
	-webkit-transform: translate(0, 70px);
	-ms-transform: translate(0, 70px);
	transform: translate(0, 70px);
}

.scrollin.is-visible,
.scrollins__item.is-visible {
	opacity: 1;
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	transform: translate(0, 0);
	-webkit-transition: 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	-o-transition: 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transition: 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   header
   ============================================================ */
.header {
  position: fixed;          /* スクロール追従(PC/SP共通) */
  top: 0; left: 0;
  width: 100%;
  z-index: 10;
  transition: background .3s ease, box-shadow .3s ease;
}
/* スクロールでFVを抜けたら白帯+影を出して可読性を確保(FV上では透明=カンプ通り) */
.header.is-scrolled {
  background: #fff;
  box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(0,0,0,.10);
}
/* 白帯時はボトムにもトップと同じ余白を入れ、ロゴ/アイコンを白帯内で上下均等に */
.header.is-scrolled .header__inner { padding-bottom: calc(40 * var(--u)); }
/* メニュー展開中は白帯/影を出さない(クリーム背景のメニューと馴染ませる) */
body.is-menu-open .header { background: transparent; box-shadow: none; }
/* メニュー展開中はヘッダを最前面へ上げ、ハンバーガー→×変形を見せる
   (ハンバーガー自体が×=閉じるボタンとして機能。ロゴ等はメニューのロゴと重なるので不可視化) */
body.is-menu-open .header { z-index: 110; }
/* body.is-menu-open .header__logo, */
body.is-menu-open .header__sns { visibility: hidden; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* フルブリード: 1728px超のワイド画面でもロゴ/アイコンを画面左右端に寄せる
     (max-width:1728で中央固定すると内側に寄ってしまうため撤廃)。
     左右マージンはカンプ実測 左40px/右51px(=39u+header__right 12u) */
  width: 100%;
  padding: calc(40 * var(--u)) calc(39 * var(--u)) 0;
  transition: padding .3s ease;
}
.header__logo { font-size: 0; }
.header__logo img { width: calc(212 * var(--u)); height: auto; }
.header__right { display: flex; align-items: center; gap: calc(51 * var(--u)); padding: 0 calc(12 * var(--u)) 0 0; }
.header__sns { display: flex; align-items: center; gap: calc(20 * var(--u)); } /* B-1: 24→20u。SNS間隔をカンプ実測(52.5/50)に寄せる */
/* 各アイコンの光学中心を同一線(カンプ center Y≈60)に揃える:
   li/a を中央寄せflex化し、imgのbaseline依存(vertical-align:bottom)を解消 */
.header__sns li { display: flex; align-items: center; }
.header__sns a { display: flex; align-items: center; transition: opacity .3s; }
.header__sns img { width: auto; height: calc(30 * var(--u)); vertical-align: middle; }
.header__sns li:nth-child(2) img { height: calc(24 * var(--u)); } /* YouTube カンプ実測 h24 */
.header__sns li:nth-child(3) img { height: calc(26 * var(--u)); } /* LINE 26 */
.header__sns a:hover { opacity: .7; }

.header__hamburger {
  position: relative;
  width: calc(24 * var(--u));
  height: calc(22 * var(--u));
}
.header__hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  /* 2段モーション: 開く時は線が中央へ寄ってから(top/bottom .15s)回転(.15s遅延);
     閉じる時は逆順(回転戻し→離れる)。0.3s で滑らかに×へ変形 */
  transition: top .15s .15s, bottom .15s .15s, transform .15s, opacity .15s;
}
.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__hamburger span:nth-child(3) { bottom: 0; }

/* 開いている間: ハンバーガー3本線を×に変形
   上下の線が中央に寄って±45°回転、中央の線はフェードアウト */
body.is-menu-open .header__hamburger span {
  transition: top .15s, bottom .15s, transform .15s .15s, opacity .15s;
}
body.is-menu-open .header__hamburger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
body.is-menu-open .header__hamburger span:nth-child(2) {
  opacity: 0;
}
body.is-menu-open .header__hamburger span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 767px) {
  .header__inner { padding: 14px 16px 0; }
  .header.is-scrolled .header__inner { padding-bottom: 14px; } /* 白帯ボトムも上下均等に */
  .header__logo img { width: 158px; }
  .header__sns { display: none; }
  .header__hamburger { width: 18px; height: 14px; margin: 6px 2.5px 0 0; } /* B-2: 中心Y30・右端354へ寄せる */
}

/* ============================================================
   menu (全画面オーバーレイ)
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cream);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.menu.is-hidden { display: none; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__inner { display: flex; justify-content: center; align-items: center; min-height: 100%; }

/*	padding-bottom: calc(80 * var(--u));	*/

.menu__header {
  display: flex;
  align-items: center;        /* ヘッダ(.header__inner)と同一の整列でロゴ位置を一致させる */
  justify-content: space-between;
  padding: calc(40 * var(--u)) calc(39 * var(--u)) 0;
}
/*
.menu__logo { position: fixed; top: 40px; left: 40px; display: block; font-size: 0; } /* ヘッダ(.header__logo)と同じく行ボックスの余白を除去。開閉でロゴがズレないように */
.menu__logo img { width: calc(212 * var(--u)); height: auto; }
/* メニュー内の×は非表示。閉じる操作はヘッダのハンバーガー(×に変形)が担う。
   要素自体は残しアクセシビリティ(ボタン)も維持しつつ視覚的に隠す */
.menu__close {
  position: relative;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  margin: calc(8 * var(--u)) calc(13 * var(--u)) 0 0;
  visibility: hidden;
}
.menu__close span {
  position: absolute;
  top: 50%; left: 50%;
  width: calc(29 * var(--u));
  height: 1.5px;
  background: #000;
}
.menu__close span:nth-child(1) { transform: translate(-50%,-50%) rotate(45deg); }
.menu__close span:nth-child(2) { transform: translate(-50%,-50%) rotate(-45deg); }

/*.menu__nav { margin-top: calc(125 * var(--u)); }  A-1: 143→125u。item1中心 235 に補正 */
.menu__list { width: calc(704 * var(--u)); margin: 0 auto; text-align: center; }
.menu__list li { position: relative; }
/* 区切り線はレイアウトを占有させない(border-topだと項目高が1px増え下方ドリフトするため疑似要素で描画。ピッチ60を厳守) */
.menu__list li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #C9C28B;
}
.menu__list a {
  display: block;
  padding: calc(16 * var(--u)) 0;
  font-size: calc(18 * var(--u));
  font-weight: 700;
  line-height: calc(28 * var(--u));
  transition: opacity .3s;
}
.menu__list a:hover { opacity: .6; }

.menu__banners {
  display: flex;
  justify-content: center;
  gap: calc(40 * var(--u));
  /* B-5: ナビの margin-top 短縮(143→125u)でバナーが上がるため +15u 補正。
     バナー上端=ナビ下端448+33=481(カンプ一致) */
  margin-top: calc(33 * var(--u));
}
.menu__banner { display: block; transition: opacity .3s; }
.menu__banner:hover { opacity: .8; }
.menu__banner img { width: calc(212 * var(--u)); height: auto; }

.menu__sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(30 * var(--u));
  /* B-5: バナー位置補正に合わせ SNS も再調整。SNS中心≈668(カンプ668.5)に一致 */
  margin-top: calc(52 * var(--u));
}
.menu__sns li { display: flex; align-items: center; }
.menu__sns a { display: flex; align-items: center; transition: opacity .3s; }
.menu__sns img { width: auto; height: calc(30 * var(--u)); vertical-align: middle; }
.menu__sns li:nth-child(2) img { height: calc(24 * var(--u)); }
.menu__sns li:nth-child(3) img { height: calc(26 * var(--u)); }
.menu__sns a:hover { opacity: .7; }

@media (max-width: 767px) {
  .menu__inner { padding-bottom: 60px; }
  .menu__header { padding: 14px 16px 0; } /* ヘッダ(.header__inner SP 14px)と一致させ開閉ズレ解消 */
  .menu__logo img { width: 158px; }
  .menu__close { width: 16px; height: 16px; margin: 7px 6px 0 0; }
  .menu__close span { width: 20px; }
  .menu__nav { margin-top: 97px; } /* A-5: 110→97。実測ヘッダ下端47+97+30=item1中心174(カンプ一致) */
  .menu__list { width: min(335px, calc(100% - 40px)); }
  .menu__list a { font-size: 14px; padding: 15px 0; line-height: 30px; } /* A-5: 22→30。item高=60(ピッチ60) */
  .menu__banners { gap: 15px; margin-top: 24px; } /* B-5: ナビ高変化を補正。バナー上端=ナビ下端387+24=411(カンプ一致) */
  .menu__banner img { width: 150px; }
  .menu__sns { gap: 30px; margin-top: 40px; }
  .menu__sns img { height: 30px; }
  .menu__sns li:nth-child(2) img { height: 21px; }
  .menu__sns li:nth-child(3) img { height: 26px; }
}

/* メニュー展開中は背面スクロール固定 */
body.is-menu-open { overflow: hidden; }

/* ============================================================
   FV
   ============================================================ */
.fv {
  position: relative;
  background: var(--cream);
  z-index: 1; /* kv下端を青帯の上に重ねる */
}
.fv__inner {
  position: relative;
  height: calc(1047 * var(--u));
  max-width: 1728px;
  margin: 0 auto;
}
.fv__kv {
  position: absolute;
  top: calc(88 * var(--u));
  left: calc(609 * var(--u));
  width: calc(755 * var(--u));
  z-index: 2;
  pointer-events: none;
	opacity: 0;
}
.fv__kv img { width: 100%; height: auto; }
.fv__title {
  position: absolute;
  top: calc(268 * var(--u));
  left: calc(363 * var(--u));
  width: calc(416 * var(--u));
  z-index: 3;
}
.fv__title img { width: 100%; height: auto; }
.fv__lead {
  position: absolute;
  top: calc(690 * var(--u));
  left: calc(364 * var(--u));
  z-index: 3;
  font-size: calc(17 * var(--u));
  font-weight: 700;
  line-height: 2;
}

.fv__title,
.fv__lead { opacity: 0; }
.fv__kv { transform: translateY(300%); }
.fv__kv._fire { 
  animation: fvKvRisePc 1.5s .1s ease-in-out forwards;
}
.fv__title._fire,
.fv__lead._fire { animation: fvFadeIn .5s ease forwards; }
.fv__title._fire {  }
.fv__lead._fire {  }
@media (max-width: 767px) {
  /* 375px設計を中央寄せ(中間幅対策)。375px未満は縮小許容 */
  .fv__inner { height: 1042px; max-width: 375px; margin: 0 auto; } /* A-4再検証: 実測でbaseline(1027)の青波左端=1058≒カンプ1057のため据置。1057化は+30過剰ズレを生む */
  .fv__kv {
    top: 82px;
    left: 50%;
		transform: translate(-50%, 100%);
    width: 344px;
    max-width: calc(100vw - 31px); /* 320pxでもはみ出さない */
    z-index: 2;
		opacity: 0;
  }
	.fv__kv._fire { 
/*		animation: fvKvRiseSp 1.5s cubic-bezier(.2,.7,.3,1) .1s both;*/
    animation: fvKvRiseSp 1.5s ease forwards;
	}
  .fv__title {
    top: 251px;
    left: 32px;
    width: 221px;
    z-index: 3;
  }
  .fv__lead {
    top: 734px;
    left: 30px;
    right: 20px;
    font-size: 15px;
    line-height: 2;
  }
	.fv__title._fire,
	.fv__lead._fire { animation: fvFadeIn 0.5s 1.0s ease forwards; }
}


@keyframes fvFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes fvKvRiseSp {
	from { opacity: 0; }
  to {
		opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes fvKvRisePc {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   リード帯(波形バンド)
   ============================================================ */
.band { position: relative; }
.band::before,
.band::after {
  content: "";
  display: block;
  height: calc(82 * var(--u));
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
/* 透過部に前後セクションの背景色を敷く(波の継ぎ目防止) */
.band--blue::before  { background-image: url("../img/wave_blue_top.png");      background-color: var(--cream); }
.band--blue::after   { background-image: url("../img/wave_blue_bottom.png");   background-color: var(--lblue); }
.band--orange::before{ background-image: url("../img/wave_orange_top.png");    background-color: var(--lblue); }
.band--orange::after { background-image: url("../img/wave_orange_bottom.png"); background-color: var(--lcream); }
.band--blue   .band__inner { background: var(--blue); }
.band--orange .band__inner { background: var(--orange); }

.band__inner {
  text-align: center;
  color: #fff;
  margin-top: -1px;    /* サブピクセルの継ぎ目防止 */
  margin-bottom: -1px;
}
.band--blue   .band__inner { padding-top: calc(397 * var(--u)); padding-bottom: calc(134 * var(--u)); }
.band--orange .band__inner { padding-top: calc(196 * var(--u)); padding-bottom: calc(157 * var(--u)); }

.band__title { font-size: 0; }
.band__title img { width: auto; }
.band__title--sec01 img { height: calc(62 * var(--u)); transform: translateX(calc(-12 * var(--u))); }
.band__title--sec02 img { height: calc(62 * var(--u)); }

.band__rule {
  width: calc(998 * var(--u));
  height: 1px;
  margin: calc(38 * var(--u)) auto 0;
  background: #fff;
}
.band__lead {
  margin-top: calc(30 * var(--u));
  font-size: calc(16 * var(--u));
  font-weight: 700;
  line-height: 2;
}

@media (max-width: 767px) {
  .band::before,
  .band::after {
    height: 35px;
    background-size: 732px 35px; /* 要素にぴったり充填(サブピクセル隙間=継ぎ目線の防止) */
    background-repeat: no-repeat;
  }
  .band::before { background-position: -180px top; }
  .band::after  { background-position: -180px top; }
  .band--blue .band__inner {
    padding-top: 76px;
    padding-bottom: 56px;
  }
  .band--orange .band__inner {
    padding-top: 60px;
    padding-bottom: 56px;
  }
  .band__title--sec01 img { height: auto; width: 288px; transform: none; }
	.band__title--sec02 img { width: 240px; height: auto; }
  .band__title-text {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: .01em;
  }
  .band__title-text em {
    color: var(--yellow);
    font-size: 130%;
  }
  .band__rule { width: calc(100% - 40px); margin: 20px auto 0; } /* 335px固定をやめコンテンツ幅(左右20px)に追従 */
  .band--orange .band__rule { margin-top: 20px; }
  .band__lead {
    width: calc(100% - 40px); /* 同上: テキストボックス幅をコンテンツ幅に追従 */
    margin: 17px auto 0;
    font-size: 15px;
    text-align: left;
    line-height: 2;
  }
}

/* ============================================================
   セクションボディ(理由ブロック+Tips)
   ============================================================ */
.sec-body { position: relative; display: flow-root; }
/* padding-bottomはTipsカード高を+8/+13した分を相殺し、波・次セクション位置を不変に保つ */
.sec-body--blue   { background: var(--lblue);  padding-bottom: calc(114 * var(--u)); }
.sec-body--orange { background: var(--lcream); padding-bottom: calc(148 * var(--u)); }

/* --- 理由ブロック --- */
.reason { margin-top: calc(121 * var(--u)); }
.reason + .reason { margin-top: calc(70 * var(--u)); }
.reason__title {
  position: relative;
  z-index: 2;
  margin-bottom: calc(-24 * var(--u));
  text-align: center;
  font-size: 0;
}
.reason__title img.u-pc { height: calc(97 * var(--u)); width: auto; }

.reason__card {
  position: relative;
  width: calc(1100 * var(--u));
  height: calc(403 * var(--u));
  margin: 0 auto;
  padding: calc(70 * var(--u)) calc(70 * var(--u)) 0;
  background: #fff;
  border-radius: calc(20 * var(--u));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.reason__card--tall { height: calc(425 * var(--u)); }

.reason__text { width: calc(500 * var(--u)); }
.reason__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(10 * var(--u));
}
.reason__label span {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: calc(27 * var(--u));
  font-weight: 700;
  /* シビアな余白制御: line-height:1 で行間を殺し、padding で四辺を均等に。
     Noto Sans JPは字面が低く出るため top<bottom の非対称で"見た目"を均等化
     (カンプ実測 top9/bottom11/left9/right12) */
  line-height: 1;
  padding: calc(7 * var(--u)) calc(9 * var(--u)) calc(11 * var(--u));
  white-space: nowrap;
}
.reason__label--orange span { background: var(--orange); }
.reason__label em { color: var(--yellow); font-style: normal; } /* ラベル内の黄色強調(カンプ準拠) */

.reason__body {
  margin-top: calc(23 * var(--u));
  width: calc(490 * var(--u));
  font-size: calc(15 * var(--u));
  line-height: 2;
  text-align: justify;
}

/* 図版は白カード内で上下均等(垂直センター)。カードの padding は top70/bottom0 と非対称のため
   flex の align-self:center では中央に来ない。カードを基準に絶対配置で“カード全高”の垂直センターに置く。
   右端は padding 70u を踏襲(カンプ実測: 図版右端=カード右端−70px)。 */
.reason__fig { position: absolute; top: 50%; right: calc(70 * var(--u)); transform: translateY(-50%); flex-shrink: 0; font-size: 0; }
.reason__fig--crcl { transform: translateY(-46%); }
.reason__fig img.u-pc,
.reason__fig img:not(.u-sp) { width: calc(430 * var(--u)); height: auto; }
/* 理由03(sec02)のみ443px幅 */
.reason__fig img[src*="sec02_fig_03"] { width: calc(443 * var(--u)); }
/* B-3: sec01 理由01のみカンプは図版が約11px下寄り(他カードは厳密中央で一致) */
.sec01 .reason:first-child .reason__fig { transform: translateY(calc(-50% + 11px)); }

/* --- Tips カード --- */
.tips {
  position: relative;
  width: calc(1100 * var(--u));
  /* カンプ下白余白49pxに合わせる(sec1=298u)。下流は sec-body 下paddingで相殺し不変 */
  height: calc(298 * var(--u));
  margin: calc(99 * var(--u)) auto 0;
  background: #fff;
  border-radius: calc(20 * var(--u));
  padding: calc(51 * var(--u)) calc(50 * var(--u)) 0 calc(86 * var(--u));
}
.tips__arrow {
  position: absolute;
  top: calc(51 * var(--u));
  left: 0;
  font-size: 0;
}
.tips__arrow img { width: calc(101 * var(--u)); height: auto; } /* アセット203×201の正比率を維持(変倍防止) */

.tips__text { width: calc(490 * var(--u)); } /* カンプ本文右端 x918 に合わせる(右カラム x960 と衝突しない) */
.tips__title {
  position: relative;
  min-height: calc(100 * var(--u));
  padding: calc(13 * var(--u)) 0 0;
	padding-left: calc(30 * var(--u));
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  color: var(--blue);
  font-size: calc(20 * var(--u));
  font-weight: 700;
  line-height: 1.4;
}
.tips__title ._emp { font-size: calc(30 * var(--u)); font-weight: 600; }
.tips__title small {
  display: inline-block;
  font-size: calc(20 * var(--u));
  font-weight: 700;
  line-height: 1.5;
  margin-top: calc(2 * var(--u));
}
.tips--orange { height: calc(303 * var(--u)); } /* sec2は就職実績リストが長いぶん高め。下白余白49pxに */
.tips--orange .tips__title { color: var(--orange); border-color: var(--orange); }
.tips__body {
  margin-top: calc(18 * var(--u));
  font-size: calc(14 * var(--u));
  line-height: calc(26 / 14);
  text-align: justify;
}

.tips__fig {
  position: absolute;
  top: calc(51 * var(--u));
  right: calc(50 * var(--u));
  font-size: 0;
}
.tips__fig img.u-pc { width: calc(404 * var(--u)); height: auto; }

/* 就職実績(Tips2 右カラム) — pc_sec02_tipstitle.png は@1xのためHTMLテキスト化 */
.tips__results {
  position: absolute;
  top: calc(51 * var(--u));
  right: calc(50 * var(--u));
  width: calc(404 * var(--u));
}
.tips__results-head {
  background: var(--lcream);
  color: var(--orange);
  text-align: center;
  font-size: calc(14 * var(--u));
  font-weight: 700;
  line-height: calc(28 * var(--u));
}
.tips__results-body {
  margin-top: calc(12 * var(--u));
  font-size: calc(13 * var(--u));
  line-height: calc(24 / 13);
  text-align: justify;
}
.tips__results-note {
  font-size: calc(11 * var(--u));
  text-align: right;
  margin-top: calc(2 * var(--u));
}

@media (max-width: 767px) {
  .sec-body--blue   { padding-bottom: 82px; }
  .sec-body--orange { padding-bottom: 61px; }

  .reason { margin-top: 74px; }
  /* A-3: sec2先頭の理由ブロックは帯下端から44px(sec1の74より30px詰める=カンプ準拠)。
     SP全体の+31px累積ドリフトの主因を解消 */
  .sec02 .reason:first-child { margin-top: 44px; }
  .reason + .reason { margin-top: 61px; }
  /* 見出し画像の白帯へのオーバーラップ量(2行組: 約55 / 1行組: 14)
     ラベルは見出し画像下端から常に31px下 → padding-top = オーバーラップ + 31 */
  .reason__title { margin-bottom: -55px; }
  .sec01 .reason:nth-of-type(2) .reason__title,
  .sec02 .reason:nth-of-type(2) .reason__title { margin-bottom: -14px; }
  .sec02 .reason:nth-of-type(3) .reason__title { margin-bottom: -43px; }
  .sec01 .reason:nth-of-type(2) .reason__card,
  .sec02 .reason:nth-of-type(2) .reason__card { padding-top: 45px; }
	.sec01 .reason:nth-of-type(2) .reason__card { padding-bottom: 40px; }
  .sec02 .reason:nth-of-type(3) .reason__card { padding-top: 74px; }
  /* SPタイトル画像は@2x: width/height属性(=実寸50%)に任せる */
  .reason__title img.u-sp { display: inline-block !important; }

  .reason__card,
  .reason__card--tall {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 86px 20px 40px;
    border-radius: 0;
    display: block;
  }
  .reason__text { width: 100%; }
  .reason__label { gap: 7px; }
  .reason__label span {
    font-size: 21px;
    /* シビアな余白制御: line-height:1 + padding(カンプ実測 top7/bottom8/left7/right9)
       字面が低いため top<bottom で見た目を均等化 */
    line-height: 1;
    padding: 6px 7px 8px;
    white-space: normal;
  }
  .reason__body {
    margin-top: 25px;
    width: 100%;
    font-size: 14px;
    line-height: 2;
  }
  .reason__fig { position: static; transform: none; margin-top: 23px; text-align: center; }
  /* PC用の縦センター transform(508行・高詳細度)がSPに漏れて図が本文に重なるのを是正(同詳細度で打ち消す) */
  .sec01 .reason:first-child .reason__fig { transform: none; }
  /* 図版は335px固定をやめ、内側コンテンツ幅にフィットさせる(広い端末で置き去りにしない。本文と同幅) */
  .reason__fig img,
  .reason__fig img.u-sp,
  .reason__fig img:not(.u-sp),
  .reason__fig img[src*="sec02_fig_03"] { width: 100%; max-width: none; height: auto; }

  .tips,
  .tips--orange {
    width: calc(100% - 40px); /* 白カードの左右マージンを常に20pxに(広い端末でも335px固定にしない) */
    height: auto;
    margin: 61px auto 0;
    border-radius: 0;
    padding: 16px 20px 30px; /* 内側余白も四辺20pxで統一 */
  }
  .tips__arrow { position: static; float: left; margin: 7px 12px 6px -20px; display: none; }
  .tips__arrow img { width: 62px; height: auto; } /* 変倍解消: 正方形アセットを潰さない(カンプ実測 約62×61px) */
  .tips__text { width: 100%; }
  .tips__title {
		position: relative;
    min-height: 0;
		border: none;
    border-top: 0;
		margin-bottom: 28px;
    padding: 0 0 0 52px;
    font-size: 18px;
    line-height: 1.25;
  }
	.tips__title ._emp { font-size: 24px; font-weight: 700; }
  .tips__title small { font-size: 18px; margin-top: 2px; }
	.tips__title::before { position: absolute; top: 50%; transform: translateY(-50%); left: -20px; display: block; width: 62px; aspect-ratio: 101/100; background-repeat: no-repeat; background-position: 0 50%; background-size: contain; content: ""; }
/*
  .tips--orange .tips__title { font-size: 24px; line-height: 1.25; }
  .tips--orange .tips__title small { display: inline-block; font-size: 18px; }
	.tips--orange .tips__title small:last-of-type { transform: translateY(-6px); }
*/
  /* 罫線は見出しの直下(カンプ準拠: 見出し→罫線→本文) */
	.tips__title::after { position: absolute; bottom: -17px; left: 0; display: block; width: 100%; height: 1px; content: ""; }	
	.tips--blue .tips__title::before { background-image: url("../img/arrow_01.png"); }
	.tips--blue .tips__title::after { background: var(--blue); }
	
	.tips--orange .tips__title::before { background-image: url("../img/arrow_02.png"); }
  .tips--orange .tips__title::after { background: var(--orange); }
  .tips__body { margin-top: 0; font-size: 13px; line-height: calc(24 / 13); }
  .tips__fig { position: static; margin-top: 24px; text-align: center; }
  .tips__fig img.u-sp { display: inline-block !important; width: 100%; max-width: 100%; height: auto; } /* カード内容幅に追従(295px固定をやめる) */

  .tips__results { position: static; width: 100%; margin-top: 20px; }
  .tips__results-head { font-size: 14px; line-height: 30px; }
  .tips__results-body { margin-top: 10px; font-size: 12.5px; line-height: calc(22 / 12.5); letter-spacing: -.03em; } /* カンプの7行組に揃える */
  .tips__results-note { font-size: 11px; text-align: left; margin-top: 4px; }
}

/* ============================================================
   world(学部セクション)
   ============================================================ */
.world { background: #fff; display: flow-root; padding-bottom: calc(141 * var(--u)); }
.world__head {
  position: relative;
  max-width: 1728px;
  margin: 0 auto;
  height: calc(413 * var(--u)); /* A-6: 407→413u(+6)。world一帯の-6px上ズレを補正しパネル1上端をy7647へ */
}
.world__title {
  position: absolute;
  top: calc(158 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  font-size: 0;
}
.world__title img.u-pc { width: calc(402 * var(--u)); height: auto; }
.world__photo { position: absolute; font-size: 0; }
.world__photo--01 { top: calc(102 * var(--u)); left: calc(338 * var(--u));  width: calc(274 * var(--u)); }
.world__photo--02 { top: calc(100 * var(--u)); left: calc(1126 * var(--u)); width: calc(278 * var(--u)); }
.world__photo img { width: 100%; height: auto; }

/* --- 学部パネル --- */
.faculty { position: relative; }
.faculty__panel {
  position: relative;
  width: calc(1200 * var(--u));
  height: calc(440 * var(--u));
  margin: 0 auto;
  background: var(--panel);
  /* カンプ実測: 学部パネル背景は角丸なし(四隅90°の直角)。border-radiusは付けない */
}
.faculty--global { margin-top: calc(131 * var(--u)); }

.faculty__text {
  position: absolute;
  top: 0; left: calc(100 * var(--u)); /* 264+100=364 */
  width: calc(510 * var(--u));
  height: 100%;
}
/* 英ラベル〜サブコピーの頭ブロック: 左に縦アクセントライン4px(カンプ x364-367, y7597-7723 h127) */
.faculty__head {
  margin-top: calc(-50 * var(--u)); /* パネル上端より50px上 = 線上端 */
  border-left: calc(4 * var(--u)) solid var(--fgblue);
  padding-left: calc(24 * var(--u)); /* テキスト起点 364+4+24 = x392 */
}
.faculty--global .faculty__head { border-color: var(--fggreen); }
.faculty__en {
  position: relative;
  top: calc(-5 * var(--u)); /* インク上端を線上端に揃える(レイアウト高さは不変) */
  font-size: calc(16 * var(--u));
  font-weight: 700;
  line-height: calc(24 * var(--u));
  color: var(--fgblue);
}
.faculty--global .faculty__en { color: var(--fggreen); }
.faculty__name {
  margin-top: calc(-5 * var(--u));
  font-size: calc(50 * var(--u));
  font-weight: 700;
  line-height: 1.2;
  color: var(--fgblue);
  letter-spacing: .02em;
}
.faculty--global .faculty__name { color: var(--fggreen); }
.faculty__copy {
  margin-top: calc(21 * var(--u));
  font-size: calc(20 * var(--u));
  font-weight: 700;
  line-height: 1.3; /* 線下端=サブコピー直下になるよう行箱を詰める */
}
.faculty__body {
  margin-top: calc(22 * var(--u));
  width: calc(480 * var(--u)); /* コンテンツ1000px = テキスト480 + 間40 + 図表480。図表との間隔を40pxに */
  font-size: calc(15 * var(--u));
  line-height: 2;
  text-align: justify;
}
.faculty__photo.u-pc {
  position: absolute;
  top: calc(-50 * var(--u)); /* パネル上端に50pxオーバーラップ */
  right: calc(100 * var(--u)); /* 図表右端=コンテンツ右端x1364(間40px・コンテンツ1000pxちょうどに) */
  width: calc(480 * var(--u));
  font-size: 0;
}
.faculty__photo img { width: 100%; height: auto; }

.faculty__btn {
  position: absolute;
  left: calc(300 * var(--u)); /* 664-364 */
  bottom: calc(60 * var(--u)); /* 8086-8026 */
  width: calc(400 * var(--u));
}
.faculty__btn a {
  display: block;
  height: calc(60 * var(--u));
  line-height: calc(60 * var(--u));
  border-radius: calc(30 * var(--u));
  background: var(--fgblue);
  color: #fff;
  text-align: center;
  font-size: calc(16 * var(--u));
  font-weight: 700;
  transition: opacity .3s;
}
.faculty--global .faculty__btn a { background: var(--fggreen); }
.faculty__btn a:hover { opacity: .8; }

@media (max-width: 767px) {
  .world { padding-bottom: 0; } /* SPはパネル下端=バナーゾーン上端(白帯なし) */
  .world__head { max-width: 375px; margin: 0 auto; height: 257px; }
  .world__title {
    top: 46px;
    left: 34px;
    transform: none;
  }
  .world__title img.u-sp { display: inline-block !important; width: 165px; }
  .world__photo--sp {
    top: 40px;
    left: 202px;
    right: 18px; /* 375pxで幅155px。375px未満は縮小(はみ出し防止) */
    width: auto;
  }

  .faculty { background: var(--panel); }
  .faculty--global  { margin-top: 96px; }
  .faculty__panel {
    position: static;
    width: 100%;
    height: auto;
    border-radius: 0;
    background: none;
    padding-top: 0.1px; /* 子のネガティブマージンの相殺防止 */
    padding-bottom: 40px;
  }
  .faculty--global .faculty__panel { margin-bottom: 0; }
  .faculty__text { position: static; width: 100%; }
  /* 見出し左の縦線: head(en+学部名+サブコピー)に border-left を当て、enの上端〜サブコピー下端まで自動で覆う
     (カンプ: x20・幅3px。テキストは線の右 x37 へインデント) */
  .faculty__head {
    margin: -40px 0 0;
    border-left: 3px solid var(--fgblue);
    padding-left: 14px;          /* テキスト起点 20+3+14 = x37 */
  }
  .faculty--global .faculty__head { border-color: var(--fggreen); }
  .faculty__en {
    position: static;
    top: auto;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
  }
  .faculty__name {
    margin: 1px 0 0;
    font-size: 35px;
    line-height: 1.2;
  }
  .faculty__copy { margin: 3px 0 0; font-size: 14px; line-height: 1.6; }
  .faculty__photo.u-sp { margin-top: 17px; font-size: 0; }
  .faculty--foreign .faculty__photo.u-sp img { width: 100%; height: 218px; object-fit: cover; }
  .faculty--global  .faculty__photo.u-sp img { width: 100%; height: 223px; object-fit: cover; }
  .faculty__body {
    margin: 21px 0 0;
    width: auto;
    font-size: 14px;
    line-height: 2;
  }
  .faculty__btn {
    position: static;
    width: 100%;
    margin-top: 24px;
  }
  .faculty__btn a {
    height: 60px;
    line-height: 60px;
    border-radius: 30px;
    font-size: 16px;
  }
}

/* ============================================================
   banner
   ============================================================ */
.banner { background: var(--bnrbg); }
.banner__inner {
  display: flex;
  justify-content: center;
  gap: calc(40 * var(--u));
  padding: calc(80 * var(--u)) 0 calc(81 * var(--u));
}
.banner__item { display: block; font-size: 0; transition: opacity .3s; }
.banner__item:hover { opacity: .8; }
.banner__item img { width: calc(424 * var(--u)); height: auto; }

@media (max-width: 767px) {
  .banner__inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
  }
  .banner__item { width: calc(100% - 40px); max-width: 480px; } /* コンテンツ幅に追従(335px固定をやめる。過大化防止に480pxで上限) */
  .banner__item img { width: 100%; max-width: 100%; }
}

/* ============================================================
   footer
   ============================================================ */
.footer { background: #fff; }
.footer__logo { display: block; 
  text-align: center;
  padding: calc(55 * var(--u)) 0;
  font-size: 0;
}
.footer__logo img { width: calc(212 * var(--u)); height: auto; }

@media (max-width: 767px) {
  .footer__logo { padding: 25px 0 26px; }
  .footer__logo img { width: 159px; }
}




/* css for Recruit footer template */

.r-footer{ background: #fff; padding: 20px 15px; overflow: hidden; position: relative; z-index: 1000; font-family: var(--ff-nosa); }
.r-footer__list li{ margin: 1px 0 0; letter-spacing: 0.1em; }
.r-footer__list li a{ position: relative; padding: 0 0 0 10px; font-size: 12px; color: #333;}
.r-footer__list li a::before{ content: ""; width: 0; height: 0; position: absolute; top: 5px; left: 0; border-style: solid; border-width: 4px 0 4px 5px; border-color: transparent transparent transparent #454545;}
.r-footer__box{ margin: 25px 0 0; text-align: center;}
.r-footer__box a{ display: block; width: 258px; height: 37px;}
@media print, screen and (max-width: 680px){
	
	.r-footer__list { position: relative; left: 50%; transform: translateX(-50%); display: inline-block; }
}
@media print, screen and (min-width: 681px){
	.r-footer{ display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 10px 30px 20px;}
	.r-footer__list{ display: flex; transform: translateY(5px);}
	.r-footer__list li{ margin: 0;}
	.r-footer__list li a{ padding-left: 5px; font-size: 15px; text-decoration: none;}
	.r-footer__list li a::after{ content: "｜"; padding: 0 0 0 5px;}
	.r-footer__list li a::before,
	.r-footer__list li:last-child a::after{ display: none;}
	.r-footer__box{ margin: 0;}
	
	.r-footer__box a { margin: 0 auto; }
	
}


