@charset "UTF-8";

/*
 * 北千住パブリック法律事務所 採用サイト — 編集しやすいCSS
 *
 * カスタマイズの手順
 * 1. サイト全体の色・フォントは :root 内の変数を変更
 * 2. 各セクションの調整は該当するクラスを検索
 * 3. スマートフォン用の指定は @media (max-width: 640px) 内を変更
 * 4. OFFICEはファイル後半の「Scroll-driven perspective carousel」が最終的な指定
 *
 * 注意: 既存のスタイルと優先順位を維持するため、宣言順は変更していません。
 * 古いOFFICE関連ルールも上書き関係があるため残しています。
 */


/* ===== 01. 共通カラー・フォント（まずここを編集） ===== */
:root {
    --blue:#01809a;
    --blue-dark:#087b8a;
    --ink:#01809a;
    --muted:#71888b;
    --pale:#eaf4f6;
    --line:#c7dadd;
    --serif:"Noto Serif JP",serif;
    --sans:"Noto Sans JP",sans-serif;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:auto;
}

body {
    margin:0;
    color:var(--ink);
    font-family:"Yu Gothic",Meiryo,sans-serif;
    font-size:14px;
    line-height:1.9;
    overflow-x:hidden;
}

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

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

button {
    font:inherit;
}

.sp-only {
    display:none;
}

.a-mt-40 {
  margin-top: 40px !important;
}

/* ===== 02. ローディング ===== */
.site-loader {
    position:fixed;
    inset:0;
    z-index:1000;
    background:#087f8d;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    color:white;
}

.site-loader img {
    width: 240px;
    height: 50px;
}

.loader-mark {
    font:500 18px;
    letter-spacing:.12em;
}

.loader-line {
    width:70px;
    height:1px;
    background:rgba(255,255,255,.35);
    position:relative;
    overflow:hidden;
}

.loader-line:after {
    content:"";
    position:absolute;
    inset:0;
    background:white;
    transform:translateX(-100%);
    animation:loadline 1s ease forwards;
}

@keyframes loadline {
    to {
        transform:translateX(0);
    }
}

/* ===== 03. ヘッダー・ナビゲーション ===== */
.header {
    height:76px;
    position:absolute;
    z-index:50;
    top:0;
    left:0;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(12px);
}

.header-logo,.footer-logo {
    display:flex;
    align-items:center;
    gap:10px;
    line-height:1.35;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    max-width: 288px;
    padding-left: 40px;
}

.global-nav {
    display:flex;
    align-items:center;
    gap:clamp(18px,3vw,48px);
    margin-left:auto;
    margin-right:42px;
}

.global-nav a {
    font-size:14px;
    letter-spacing:.18em;
    position:relative;
}

.global-nav a:after {
    content:"";
    position:absolute;
    bottom:-8px;
    left:0;
    width:0;
    height:1px;
    background:var(--blue);
    transition:.3s;
}

.global-nav a:hover:after {
    width:100%;
}

.header-entry {
    height:76px;
    padding:0 28px;
    display:flex;
    align-items:center;
    gap:22px;
    background:var(--blue);
    color:white;
    font-size:16px;
    letter-spacing:.16em;
}

.header-entry span {
    background: url(../img/entry-pict.svg) no-repeat top / contain;
    width:31px;
    height:38px;
}

.menu-toggle {
    display:none;
}

/* ===== 04. メインビジュアル ===== */
.mv {
    height:100svh;
    min-height:620px;
    position:relative;
    color:white;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:#66858a;
}

.mv-image {
    position:absolute;
    inset:0;
    background:url("../img/mainvisual.png") center 42%/cover;
}

.mv-shade {
    position:absolute;
    inset:0;
}

.mv-content {
    position:relative;
    z-index:2;
    margin-left:20%;
    padding-top:18%;
}

.mv-kicker,.eyebrow,.small-label {
    font-size:9px;
    letter-spacing:.22em;
}

.mv-kicker {
    margin:40px auto 32px;
    opacity:.85;
    text-align: center;
    font-size:16px;
    border-top: 1px solid #fff;
    width: 300px;
    padding-top: 30px;
}

.mv-title {
    font:500 clamp(34px,4.2vw,68px)/1.65 var(--serif);
    letter-spacing:.08em;
    margin:0 0 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mv-copy {
    font-size:16px;
    line-height:2.2;
    font-family: var(--serif);
    letter-spacing:.12em;
    text-align: center;
    text-shadow: 0px 3px 18px rgba(0, 0, 0, 0.89);
    -webkit-text-stroke: 3px #000;
  paint-order: stroke fill;
}

.mv-side {
  height: 100%;
  width: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right:0%;
  top:0;
  letter-spacing: 0.2rem;
  font-size: 20px;
  writing-mode: vertical-rl;
  background-color: rgba(121, 161, 198, 0.5);
  font-family: var(--serif);
}

/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  left:2%;
  bottom:150px;
  writing-mode: vertical-rl;
}
/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #fff;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}


/* ===== 05. 共通セクション ===== */
.section-pad {
    position:relative;
    padding:130px max(7%,calc((100% - 1240px)/2));
    overflow:hidden;
}

.section-heading {
    position:relative;
    z-index:2;
    margin-bottom:55px;
}

.eyebrow {
    color:var(--blue);
    display:block;
    margin-bottom:15px;
}

.section-heading h2 {
    font:500 clamp(20px,3vw,28px)/1.5 var(--serif);
    letter-spacing:.12em;
    margin:0 0 10px;
}

.section-heading>p {
    font-size:12px;
    color:var(--muted);
    letter-spacing:.1em;
    margin:0;
}

.section-bg-word {
    position:absolute;
    z-index:0;
    top:70px;
    left:-12px;
    writing-mode:vertical-rl;
    font:clamp(62px,10vw,180px)/1 var(--serif);
    letter-spacing:.08em;
    color:#00536c;
    pointer-events:none;
    opacity:.3;
    z-index: 100;
}

/* ===== 06. ABOUT ===== */
.about {
    padding-top:345px;
    background: url(../img/about-bg.png) no-repeat top / contain;
    position: relative;
}

.about-title {
  padding-left: 40px;
  margin-top: 345px;
}

.about-intro {
    display:grid;
    grid-template-columns:1.2fr 1.2fr;
    gap:7%;
    align-items:center;
    position:relative;
    z-index:1;
}

.philosophy {
    position: relative;
}

.about-text {
    padding:15px 0 15px 7%;
}

.small-label {
    color:var(--blue);
    display:block;
    margin-bottom:18px;
}

.about-text h3,.recruit-message h3 {
    font:500 clamp(23px,2.4vw,30px)/1.6 var(--serif);
    letter-spacing:.08em;
    margin:0 0 40px;
}

.about-text span {
    font:500 clamp(23px,2.4vw,24px)/1.6 var(--serif);
}

.about-text p,.recruit-copy p {
    font-size:14px;
    line-height:2.4;
    color:#6e8588;
}


/* ========================================
   PHILOSOPHY
======================================== */

.philosophy {
  --ph-blue: #008bb3;
  --ph-dark: #263d4b;
  --ph-text: #657782;
  --ph-line: #d8e8f0;
  --ph-light: #d9edf9;

  position: relative;
  padding: 60px 0 0px;
  overflow: hidden;
}

.philosophy *,
.philosophy *::before,
.philosophy *::after {
  box-sizing: border-box;
}

.philosophy__inner {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}

/* ========================================
   セクション見出し
======================================== */

.philosophy__header {
  margin-bottom: 30px;
  text-align: center;
}

.philosophy__label {
  display: block;
  margin-bottom: 16px;
  color: var(--ph-blue);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
}

.philosophy__title {
  margin: 0;
  font: 500 clamp(20px, 3vw, 28px) / 1.5 var(--serif);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
  margin-bottom: 40px;
}

.philosophy__header p {
    color: var(--muted);
}

/* ========================================
   理念一覧
======================================== */

.philosophy__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 各理念 */
.philosophy__item {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 45px;
  padding: 60px 65px 65px;
  background: #fff;
  overflow: hidden;
  transition:
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

/* 右下の三角形 */
.philosophy__item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 110px;
  height: 100px;
  background: var(--ph-light);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* ホバー */
.philosophy__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 80, 120, 0.06);
}

/* ========================================
   左側：番号
======================================== */

.philosophy__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 2px;
}

.philosophy__number {
  display: block;
  color: var(--ph-light);
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.06em;
  font-family: var(--serif);
}

.philosophy__en {
  display: block;
  margin-top: 16px;
  padding-left: 5px;
  color: var(--ph-blue);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

/* ========================================
   右側：本文
======================================== */

.philosophy__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.philosophy__sub {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--ph-blue);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.philosophy__content h3 {
  position: relative;
  margin: 0 0 32px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--ph-line);
  color: var(--ph-dark);
  font: 500 clamp(20px, 2vw, 27px)/ 1.5 var(--serif);
  line-height: 1.6;
  letter-spacing: 0.1em;
  color:#01809a;
}

/* 見出し下のアクセント */
.philosophy__content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 70px;
  height: 2px;
  background: var(--ph-blue);
}

.philosophy__content p {
  margin: 0 0 20px;
  color:var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 2.25;
  letter-spacing: 0.055em;
}

.philosophy__content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   実績リンク
======================================== */

.philosophy__link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ph-blue);
  color: var(--ph-blue);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition:
    gap 0.3s ease,
    opacity 0.3s ease;
}

.philosophy__link span {
  font-size: 20px;
  line-height: 1;
}

.philosophy__link:hover {
  gap: 40px;
  opacity: 0.7;
}

/* ========================================
   タブレット
======================================== */

@media (max-width: 1024px) {
  .philosophy {
    padding: 100px 0;
  }

  .philosophy__inner {
    width: calc(100% - 48px);
  }

  .philosophy__item {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 30px;
    padding: 45px 40px;
  }

  .philosophy__number {
    font-size: 90px;
  }

  .philosophy__content p {
    font-size: 14px;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media (max-width: 767px) {
  .philosophy {
    padding: 75px 0 85px;
  }

  .philosophy__inner {
    width: calc(100% - 32px);
  }

  .philosophy__header {
    margin-bottom: 45px;
  }

  .philosophy__label {
    font-size: 11px;
  }

  .philosophy__title {
    font-size: 29px;
  }

  .philosophy__lead {
    margin-top: 20px;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.05em;
  }

  .philosophy__list {
    gap: 16px;
  }

  .philosophy__item {
    display: block;
    padding: 30px 0px 38px;
  }

  .philosophy__item::after {
    width: 65px;
    height: 60px;
  }

  .philosophy__side {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
  }

  .philosophy__number {
    font-size: 30px;
  }

  .philosophy__en {
    margin-top: 0;
    padding-left: 0;
    font-size: 10px;
  }

  .philosophy__sub {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .philosophy__content h3 {
    margin-bottom: 22px;
    padding-bottom: 18px;
    font-size: 19px;
    letter-spacing: 0.05em;
  }

  .philosophy__content p {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 2.1;
    letter-spacing: 0.02em;
  }

  .philosophy__link {
    gap: 20px;
    margin-top: 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .philosophy__item,
  .philosophy__link {
    transition: none;
  }
}


.about-photo {
    position:relative;
}

.photo-caption {
    position:absolute;
    bottom:18px;
    left:20px;
    color:white;
    font-size:9px;
    letter-spacing:.22em;
    text-shadow:0 1px 8px #333;
}

.feature-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin:105px 0 95px;
    padding:0 3%;
}

.feature-card {
    border:1px solid var(--line);
    padding-bottom:22px;
}

.feature-img {
    height:190px;
    overflow:hidden;
}

.feature-img img,.edu-card img,.office-gallery img,.interview-card img {
    transition:transform .8s cubic-bezier(.2,.7,.2,1);
}

.feature-card:hover img,.edu-card:hover img,.office-gallery figure:hover img,.interview-card:hover img {
    transform:scale(1.05);
}

.feature-card-content {
  padding: 0 16px 16px;
}

.feature-card-title {
  display: flex;
  justify-content: baseline;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.feature-num,.edu-card>span {
    display:block;
    color:var(--blue);
    font:40px var(--serif);
}

.feature-card h3,.edu-card h3 {
    font:500 16px var(--serif);
}

.feature-card p,.edu-card p {
    font-size:14px;
    color:var(--muted);
    line-height:2.1;
    margin:0;
    margin-top:20px;
}

.practice-row {
    display:grid;
    grid-template-columns:1fr 1.5fr;
    gap:10%;
    align-items:center;
    padding:42px 6%;
}

.practice-row h3 {
    font:500 23px/1.8 var(--serif);
    margin:0;
    text-align: center;
}

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

.practice-row li {
    border-top:1px solid #cbdcde;
    padding:10px 16px;
    font-size:13px;
    display:flex;
    justify-content:space-between;
}

.practice-row li:last-child {
    border-bottom:1px solid #cbdcde; 
}

.practice-row li span {
    background-color: var(--blue);
    color: #fff;
    font-size: 10px;
    letter-spacing: .15em;
    text-align: center;
    display: block;
    width: 100px;
    padding-top: 3px;
}

/* ===== 07. EDUCATION ===== */
.education {
    background:#f1f7f8;
    padding-top:135px;
}

.education-bg {
    position:absolute;
    inset:0;
    background:url("../img/education-bg.png") center/cover;
}

.education .section-heading,.education-lead,.education-grid {
    position:relative;
}

.education-lead {
    max-width:520px;
    margin:-25px 0 42px auto;
    font-size:12px;
    color:var(--muted);
    line-height:2.2;
}

.education-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-top: 120px;
}

.edu-card {
    background:rgba(255,255,255,.88);
    padding:0 0 20px;
    box-shadow:0 12px 35px rgba(38,82,88,.06);
    overflow:hidden;
    height:360px;
}

.edu-card-second {
  margin-top: 40px !important;
}

.edu-card-third
 {
  margin-top: 80px !important;
}

.edu-card-fourth {
  margin-top: 120px !important;
}

.edu-card img {
    height:155px;
}

.edu-card>span,.edu-card h3,.edu-card p {
    margin-left:18px;
    margin-right:18px;
}

.edu-card>span {
    font-size: 40px;
    margin-top: -40px;
}

.edu-card h3 {
    font-size:18px;
}

/* ===== 08. OFFICE ===== */
.office {
    padding-top:135px;
    padding-bottom:155px;
}

.office-gallery {
    position:relative;
    height:470px;
    margin:0 3%;
}

.office-gallery figure {
    position:absolute;
    margin:0;
    overflow:hidden;
}

.office-gallery figure img {
    will-change:transform;
}

.office-gallery figcaption {
    position:absolute;
    left:0;
    bottom:0;
    background:white;
    color:var(--blue);
    padding:9px 18px;
    font-size:9px;
    letter-spacing:.15em;
}

.office-main {
    width:54%;
    height:370px;
    left:0;
    top:0;
}

.office-sub {
    width:36%;
    height:245px;
    right:0;
    top:65px;
}

.office-small {
    width:31%;
    height:205px;
    right:15%;
    bottom:0;
}

.office-note {
    text-align:center;
    font-size:11px;
    color:var(--muted);
    margin:15px auto 0;
}

/* ===== 09. INTERVIEW ===== */
.interview {
    background:#f6f8f8;
    padding-top:130px;
}

.interview-visual {
    position:absolute;
    inset:0 0 auto;
    height:390px;
}

.interview-lead {
  text-align: center;
  margin-bottom: 60px;
  font-family: var(--serif);
}

.interview-lead h3 {
  font-size:36px;
}

.interview-lead p {
  font-size:14px;
}

.interview .section-heading {
    margin-bottom:60px;
}

a.person-link:link {
  display: block;
  margin: 30px auto;
  border-radius: 40px;
  background-color: #01809a;
  color: #fff;
  max-width:300px;
  min-width:150px;
  text-align: center;
  padding: 10px 0;
}

a.person-link:visited {
  color: #fff;
}

.representative {
    display:grid;
    grid-template-columns:34% 1fr;
    gap:5%;
    align-items:center;
    max-width:1200px;
    margin:0 auto 100px;
    position:relative;
    margin-top: 120px;
}

.representative-photo {
    box-shadow:18px 18px 0 #dcebed;
    position: relative;
    margin: 0 auto;
    max-width: 300px;
}

.interview-name {
  position: absolute;
  bottom:0;
  width:100%;
  text-align: center;
  padding: 20px 20px 30px;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
}

.interview-name span {
  font-size: 14px;
}

.representative-text h3 {
    font:500 clamp(22px,2.5vw,34px)/1.8 var(--serif);
    letter-spacing:.08em;
    margin:0 0 18px;
}

.representative-text p {
    font-size:14px;
    color:var(--muted);
    line-height:2.3;
}

.person-name {
    display:block;
    margin-top:25px;
    font-size:13px;
}

.person-name small {
    color:var(--blue);
    font-size:9px;
    letter-spacing:.18em;
    margin-left:15px;
}

.interview-list {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px;
    max-width:950px;
    margin:auto;
}

.interview-card {
    background:white;
    display:grid;
    grid-template-columns:48% 1fr;
    min-height:205px;
    box-shadow:0 12px 35px rgba(38,82,88,.05);
    overflow:hidden;
}

.interview-card>div {
    padding:23px 18px;
    text-align: center;
}

.interview-card span {
    font-size:14px;
    letter-spacing:.18em;
    color:var(--blue);
}

.interview-card h3 {
    font:500 16px var(--serif);
    margin:10px 0;
}

.interview-card p {
    font-size:10px;
    color:var(--muted);
}

.round-link {
    display:inline-flex;
    align-items:center;
    gap:18px;
    border:1px solid rgba(255,255,255,.65);
    border-radius:40px;
    padding:8px 15px;
    font-size:11px;
    letter-spacing:.15em;
    font-family: var(--sans);
}

.interview-card .round-link {
    border-color:var(--line);
    color:#fff;
    background-color: #01809a;
}

.round-link:visited {
  color: #fff;
}

/* ===== 10. RECRUIT ===== */
.recruit {
    padding-top:300px;
}

.recruit-bg {
    position:absolute;
    inset:0 0 auto;
    height:360px;
    background:url("../img/recruit-bg.png") center 40%/cover;
}

.recruit .section-bg-word {
    color:rgba(67,131,151,.42);
}

.recruit-content {
    position:relative;
}

.recruit-content ul {
    display: block;
    list-style: none;
    width: 800px;
    border-top: #69c5d7 1px solid;
    margin: 0 auto;
}

.recruit-content ul.first {
    margin-top: 80px;   
}

.recruit-content ul.last {
    border-bottom: #69c5d7 1px solid;
}

.recruit-content ul li {
    display: inline-block;
    vertical-align:middle ;
    padding: 30px;
    color: #666666;

}

.recruit-content ul li.title {
    width: 38%;
    text-align:center;
}

.recruit-content ul li.text {
    width: 60%;
}

.recruit-message h3 {
    font-size:28px;
}

.recruit-copy p {
    margin-top:0;
}

/* ===== 11. ENTRY ===== */
.entry {
    background:#e9eff2;
    text-align:center;
    padding-top:105px;
    padding-bottom:100px;
}

.entry .section-heading {
    margin-bottom:35px;
}

.entry .section-heading h2 {
    font-size:32px;
}

.entry span.title-line {
    display: block;
    width: 100px;
    border-radius: 5px;
    height: 5px;
    background: #01809a;
    margin: 0 auto;
}

.flow-list {
    max-width:1200px;
    margin:0 auto;
    text-align:left;
}

.flow-item {
    display:grid;
    grid-template-columns:60px 55px 1fr 30px;
    gap:18px;
    align-items:center;
    background:white;
    margin-bottom:10px;
    padding:14px 22px;
    min-height:78px;
}

.flow-num {
    font:25px var(--serif);
    color:#9bb9bd;
}

.flow-icon {
    font-size:23px;
    color:var(--blue);
    text-align:center;
}

.flow-item h3 {
    font:500 14px var(--serif);
    margin:0;
}

.flow-item p {
    font-size:10px;
    color:var(--muted);
    margin:2px 0 0;
}

.flow-arrow {
    color:var(--blue);
    font-size:17px;
}

.entry-button {
    display:inline-flex;
    align-items:center;
    gap:35px;
    background:#b83e4a;
    color:white;
    border-radius:30px;
    padding:16px 32px;
    margin-top:35px;
    font-size:11px;
    letter-spacing:.1em;
    transition:.3s;
}

.entry-button:hover {
    background:#94313b;
    transform:translateY(-3px);
}

.entry-caption {
    font-size:9px;
    color:#8a9a9d;
    margin-top:14px;
}

/* ===== 12. FOOTER ===== */
.footer {
    background:#01809a;
    color:white;
    padding:55px 7% 22px;
}

.footer-top {
    padding-bottom:45px;
}

.footer-logo {
    border-color:white;
    color:white;
    text-align: center;
    margin: 0 auto;
    margin-top: 60px;
    padding-left: 0;
}

.footer-top>p {
    font:italic 20px var(--serif);
    letter-spacing:.1em;
}

.footer-top span {
    display: block;
    width: 180px;
    height: 5px;
    background-color: #fff;
    border-radius: 5px;
    margin: 0 auto;
    margin-top: 40px;
}

.back-top {
    font-size:9px;
    letter-spacing:.16em;
}

.footer-bottom {
    padding-top:18px;
    font-size:16px;
    letter-spacing:.12em;
    text-align: center;
}

.text-link {
    display:inline-flex;
    align-items:center;
    gap:25px;
    border-bottom:1px solid var(--blue);
    padding:8px 0;
    color:var(--blue);
    font-size:11px;
    margin-top:12px;
}

.text-link span {
    font-size:16px;
}

.reveal {
    opacity:1;
    transform:none;
}

/* ===== 13. タブレット ===== */
@media(max-width:900px) {
    .global-nav {
        gap:16px;
        margin-right:20px;
    }
    .global-nav a {
        font-size:8px;
    }
    .section-pad {
        padding-left:6%;
        padding-right:6%;
    }
    .feature-grid {
        gap:18px;
        padding:0;
    }
    .education-grid {
        grid-template-columns:repeat(2,1fr);
    }
    .edu-card img {
        height:190px;
    }
    .office-gallery {
        margin:0;
        height:400px;
    }
    .office-main {
        height:310px;
    }
    .office-sub {
        height:210px;
    }
    .office-small {
        height:170px;
    }
    .interview-card {
        grid-template-columns:1fr;
    }
    .interview-card>img {
        height:180px;
    }
    .interview-card>div {
        padding:15px;
    }
    .representative {
        gap:6%;
    }
}

/* ===== 14. スマートフォン ===== */
@media(max-width:640px) {
    .sp-only {
        display:block;
    }
    .header {
        height:62px;
        padding:0 5%;
    }
    .header-logo {
        font-size:9px;
    }
    .logo-symbol {
        width:30px;
        height:30px;
        font-size:13px;
    }
    .global-nav,.header-entry {
        display:none;
    }
    .menu-toggle {
        display:flex;
        flex-direction:column;
        justify-content:center;
        gap:6px;
        width:42px;
        height:42px;
        border:0;
        background:var(--blue);
        padding:11px;
        position:relative;
        z-index:70;
        display: none;
    }
    .menu-toggle span {
        height:1px;
        width:100%;
        background:white;
        transition:.3s;
    }
    .menu-toggle.is-active span:first-child {
        transform:translateY(3.5px) rotate(45deg);
    }
    .menu-toggle.is-active span:last-child {
        transform:translateY(-3.5px) rotate(-45deg);
    }
    .menu-panel {
        position:fixed;
        z-index:60;
        inset:0;
        background:#087f8d;
        color:white;
        display:flex;
        align-items:center;
        justify-content:center;
        clip-path:circle(0 at calc(100% - 42px) 31px);
        transition:clip-path .65s cubic-bezier(.7,0,.2,1);
        pointer-events:none;
    }
    .menu-panel.is-open {
        clip-path:circle(150% at calc(100% - 42px) 31px);
        pointer-events:auto;
    }
    .menu-panel nav {
        width:75%;
        display:flex;
        flex-direction:column;
    }
    .menu-panel a {
        font:italic 27px var(--serif);
        letter-spacing:.08em;
        padding:14px 0;
        border-bottom:1px solid rgba(255,255,255,.25);
    }
    .menu-panel small {
        display:block;
        font:10px var(--sans);
        letter-spacing:.1em;
        opacity:.7;
    }
    .mv {
        height:760px;
        min-height:0;
        max-height:100svh;
    }
    .mv-image {
        background-position:55% center;
    }
    .mv-content {
        margin:0 7%;
        padding-top:70px;
    }
    .mv-kicker {
        font-size:7px;
        letter-spacing:.12em;
        margin-bottom:22px;
    }
    .mv-title {
        font-size:clamp(29px,8vw,42px);
        line-height:1.8;
    }
    .mv-copy {
        font-size:11px;
    }
    .mv-side {
        display: none;
    }
    .section-pad {
        padding:85px 6%;
    }
    .section-bg-word {
        font-size:58px;
        left:-13px;
        top:35px;
    }
    .section-heading {
        margin-bottom:35px;
        padding-left:8%;
    }
    .section-heading h2 {
        font-size:20px;
    }
    .section-heading>p {
        font-size:10px;
    }
    .about {
        padding-top:95px;
    }
    .about-intro {
        grid-template-columns:1fr;
        gap:25px;
    }
    .about-text {
        padding:0 4%;
    }
    .about-title {
  padding-left: 0px;
}
    .about-text h3 {
        font-size:23px;
    }
    .about-text p,.recruit-copy p {
        font-size:11px;
    }
    .about-photo {
        height:250px;
        margin-left:8%;
    }
    .about-photo:before {
        left:-15px;
        top:15px;
    }
    .feature-grid {
        grid-template-columns:1fr;
        gap:28px;
        margin:65px 3%;
    }
    .feature-card {
        display:block;
        grid-template-columns:42% 1fr;
        column-gap:18px;
        padding-bottom:17px;
    }
    .feature-img {
        grid-row:span 3;
        height:130px;
    }
    .feature-num {
        font-size:21px;
        margin:0;
    }
    .feature-card h3 {
        font-size:14px;
        margin:0;
    }
    .feature-card p {
        font-size:10px;
    }
    .practice-row {
        grid-template-columns:1fr;
        gap:20px;
        padding:25px 7%;
    }
    .practice-row h3 {
        font-size:20px;
    }
    .practice-row li {
        font-size:11px;
    }
    .education {
        padding-top:90px;
    }
    .education-lead {
        font-size:11px;
        margin:0 2% 25px;
    }
    .education-grid {
        grid-template-columns:1fr 1fr;
        gap:12px;
    }
    .edu-card img {
        height:125px;
    }
    .edu-card>span {
        font-size:20px;
        margin-top:10px;
    }
    .edu-card h3 {
        font-size:12px;
    }
    .edu-card p {
        font-size:9px;
        line-height:1.8;
    }
    .edu-card>span,.edu-card h3,.edu-card p {
        margin-left:12px;
        margin-right:12px;
    }
    .office {
        padding-top:90px;
        padding-bottom:95px;
    }
    .office-gallery {
        height:350px;
        margin:0 2%;
    }
    .office-main {
        width:72%;
        height:230px;
    }
    .office-sub {
        width:48%;
        height:155px;
        top:110px;
    }
    .office-small {
        width:45%;
        height:130px;
        right:25%;
        bottom:0;
    }
    .office-gallery figcaption {
        font-size:7px;
        padding:6px 10px;
    }
    .office-note {
        font-size:10px;
        line-height:2;
        margin:25px 5% 0;
    }
    .interview {
        padding-top:90px;
    }
    .interview-visual {
        height:250px;
    }
    .representative {
        grid-template-columns:38% 1fr;
        gap:7%;
        margin-bottom:60px;
    }
    .representative-photo {
        height:210px;
        box-shadow:9px 9px 0 #dcebed;
    }
    .representative-text h3 {
        font-size:18px;
    }
    .representative-text p {
        font-size:10px;
        line-height:2;
    }
    .person-name {
        font-size:11px;
    }
    .interview-list {
        grid-template-columns:1fr;
        gap:16px;
    }
    .interview-card {
        grid-template-columns:42% 1fr;
        min-height:155px;
    }
    .interview-card>img {
        height:100%;
    }
    .interview-card>div {
        padding:13px;
    }
    .interview-card h3 {
        font-size:13px;
    }
    .interview-card p {
        font-size:9px;
    }
    .interview-card .round-link {
        padding:6px 10px;
        font-size:7px;
    }
    .recruit {
        padding-top:90px;
        padding-bottom:90px;
    }
    .recruit-bg {
        height:260px;
    }
    .recruit-content {
        grid-template-columns:1fr;
        gap:15px;
        padding:25px 7%;
        margin-top:20px;
    }
    .recruit-message h3 {
        font-size:22px;
    }
    .entry {
        padding-top:75px;
        padding-bottom:75px;
    }
    .entry .section-heading h2 {
        font-size:25px;
    }
    .flow-item {
        grid-template-columns:35px 30px 1fr 18px;
        gap:8px;
        padding:12px 10px;
        min-height:70px;
    }
    .flow-num {
        font-size:20px;
    }
    .flow-icon {
        font-size:18px;
    }
    .flow-item h3 {
        font-size:12px;
    }
    .flow-item p {
        font-size:9px;
    }
    .entry-button {
        font-size:10px;
        padding:14px 22px;
        gap:20px;
    }
    .footer {
        padding:38px 6% 18px;
    }
    .footer-top {
        display:grid;
        grid-template-columns:1fr auto;
        gap:22px;
        padding-bottom:28px;
    }
    .footer-top>p {
        grid-column:1/-1;
        grid-row:2;
        font-size:16px;
        margin:0;
    }
    .footer-logo {
        font-size:9px;
    }
    .back-top {
        font-size:8px;
    }
    .footer-bottom {
        font-size:7px;
        gap:10px;
    }
    .footer-bottom small:last-child {
        display:none;
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        transition-duration:.01ms!important;
    }
    .reveal {
        opacity:1;
        transform:none;
    }
}

/* Office redesign: sticky scroll gallery with WebGL and image fallback */
.office {
    height:310vh;
    position:relative;
    overflow:clip;
    background:#fff;
}

.office-scroll-track {
    height:100%;
    position:relative;
}

.office-stage {
    height:100svh;
    min-height:620px;
    position:sticky;
    top:0;
    overflow:hidden;
    isolation:isolate;
    background:linear-gradient(180deg,#eaf6fa 0%,#f9fcfd 60%,#fff 88%);
}

.office-backdrop {
    position:absolute;
    inset:0 0 25%;
    background:linear-gradient(180deg,rgba(231,247,252,.28),rgba(255,255,255,.92)),url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=80') center/cover;
    filter:blur(5px);
    opacity:.7;
    transform:scale(1.06);
}

.office-diagonal {
    position:absolute;
    z-index:0;
    pointer-events:none;
    background:rgba(255,255,255,.7);
}

.office-diagonal-a {
    width:72%;
    height:22%;
    top:0;
    left:-8%;
    clip-path:polygon(0 0,100% 0,0 100%);
}

.office-diagonal-b {
    width:45%;
    height:28%;
    top:0;
    right:0;
    clip-path:polygon(40% 0,100% 0,100% 68%,0 100%);
}

.office-sideword {
    position:absolute;
    z-index:1;
    left:-12px;
    top:10%;
    writing-mode:vertical-rl;
    font:clamp(64px,10vw,150px)/.95 var(--serif);
    letter-spacing:.08em;
    color:rgba(67,131,151,.42);
    pointer-events:none;
}

.office-heading {
    position:absolute;
    z-index:3;
    top:9%;
    left:15%;
    right:5.5%;
    display:flex;
    align-items:center;
    gap:18px;
    color:#078b9b;
}

.office-heading h2 {
    white-space:nowrap;
    font:500 clamp(14px,1.6vw,42px) var(--serif);
    letter-spacing:.24em;
    margin:0;
    margin-left:-60px;
}

.office-heading span {
    height:1px;
    background:#69c5d7;
    flex:1;
}

.heading-recruit {
    top: 20%;
}

.office-showcase {
    position:absolute;
    z-index:2;
    top:23%;
    left:14%;
    right:6%;
    height:45%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:7%;
}

.office-frame {
    position:relative;
    overflow:visible;
    flex:none;
    filter:drop-shadow(0 8px 18px rgba(41,103,119,.08));
}

.office-frame:before {
    content:'';
    position:absolute;
    inset:11% -5% -7% -9%;
    background:rgba(131,190,208,.28);
    z-index:-1;
    clip-path:polygon(0 7%,100% 0,100% 100%,0 88%);
}

.office-frame-left {
    width:57%;
    height:100%;
    transform:rotate(-2deg);
}

.office-frame-right {
    width:38%;
    height:73%;
    transform:rotate(-3deg) translateY(10%);
}

.office-webgl,.office-image-fallback {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    clip-path:polygon(0 7%,100% 0,100% 89%,0 100%);
}

.office-webgl {
    z-index:1;
    opacity:0;
}

.office-frame.is-webgl .office-webgl {
    opacity:1;
}

.office-frame.is-webgl .office-image-fallback {
    visibility:hidden;
}

.office-image-label {
    position:absolute;
    z-index:3;
    left:-7%;
    top:43%;
    width:37%;
    min-width:150px;
    background:#fff;
    padding:15px 24px;
    color:#058ba3;
    transform:rotate(2deg);
}

.office-frame-right .office-image-label {
    left:-6%;
    width:54%;
    transform:rotate(3deg);
}

.office-image-label strong {
    display:block;
    font:500 clamp(11px,1.2vw,15px) var(--serif);
    letter-spacing:.16em;
}

.office-image-label small {
    display:block;
    font-size:8px;
    letter-spacing:.2em;
}

.office-image-label i {
    display:block;
    width:25px;
    height:1px;
    background:#087f8d;
    margin-top:9px;
}

.office-description {
    position:absolute;
    z-index:3;
    top:76%;
    width:90%;
    left:5%;
    text-align:center;
}

.office-description p {
    font-size:clamp(10px,.95vw,14px);
    line-height:2.15;
    letter-spacing:.12em;
    color:#64747b;
    margin:0;
}

.office-progress {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-top:30px;
    font:14px var(--serif);
    color:#078b9b;
}

.office-progress-line {
    display:block;
    width:85px;
    height:2px;
    background:#c9e2e8;
}

.office-progress-line b {
    display:block;
    width:33.333%;
    height:100%;
    background:#078b9b;
    transform-origin:left;
    transition:width .1s;
}

.office-progress small {
    font:14px var(--sans);
    letter-spacing:.12em;
    margin-left:8px;
}

@media(max-width:640px) {
    .office {
        height:280vh;
    }
    .office-stage {
        min-height:0;
        height:100svh;
    }
    .office-heading {
        top: 5%;
        left:22%;
        right:6%;
    }
    .office-sideword {
        font-size:62px;
        top:12%;
        left:1%;
    }
    .office-showcase {
        top:27%;
        left:15%;
        right:5%;
        height:37%;
        gap:2%;
        align-items:flex-start;
    }
    .office-frame-left {
        width:66%;
        height:80%;
        transform:rotate(-2deg);
    }
    .office-frame-right {
        width:46%;
        height:60%;
        transform:rotate(-3deg) translate(-16%,65%);
    }
    .office-image-label {
        min-width:0;
        width:67%;
        left:-9%;
        top:46%;
        padding:9px 10px;
    }
    .office-frame-right .office-image-label {
        width:90%;
        left:-7%;
    }
    .office-image-label strong {
        font-size:9px;
    }
    .office-image-label small {
        font-size:6px;
    }
    .office-description {
        top:73%;
        left:8%;
        width:84%;
    }
    .office-description p {
        font-size:10px;
        line-height:2;
        letter-spacing:.02em;
    }
    .office-description br {
        display:none;
    }
    .office-progress small {
        font-size:7px;
    }
    .section-bg-word {
        display: none;
    }
}

@media(prefers-reduced-motion:reduce) {
    .office {
        height:auto;
    }
    .office-stage {
        position:relative;
        min-height:700px;
    }
    .office-progress {
        display:none;
    }
}

/* Scroll-driven perspective carousel */
.office {
    height:410vh;
}

.office-showcase.office-carousel {
    display:block;
    perspective:1250px;
    perspective-origin:50% 50%;
    transform-style:preserve-3d;
    top:24%;
    height:45%;
    overflow:visible;
}

.office-carousel-card {
    position:absolute;
    top:0;
    left:0;
    width:62%;
    height:100%;
    margin:0;
    transform-style:preserve-3d;
    backface-visibility:hidden;
    will-change:transform,opacity;
    filter:drop-shadow(0 18px 22px rgba(20,71,91,.2));
}

.office-carousel-card img {
    width:100%;
    height:100%;
    object-fit:cover;
    clip-path:polygon(0 7%,100% 0,100% 89%,0 100%);
}

.office-carousel-card .office-image-label {
    top:43%;
    left:-5%;
    width:45%;
    min-width:140px;
    transform:none;
}

.office-carousel-card figcaption {
    margin:0;
}

@media(max-width:640px) {
    .office {
        height:380vh;
    }
    .office-showcase.office-carousel {
        top:28%;
        left:12%;
        right:5%;
        height:34%;
    }
    .office-carousel-card {
        width:73%;
    }
    .office-carousel-card .office-image-label {
        min-width:0;
        width:68%;
        padding:9px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .office {
        height:auto;
    }
    .office-carousel-card {
        position:relative;
        display:inline-block;
        width:47%;
        height:190px;
        visibility:visible!important;
        transform:none!important;
        opacity:1!important;
    }
    .office-showcase.office-carousel {
        display:flex;
        flex-wrap:wrap;
        gap:3%;
        height:auto;
        position:relative;
        top:auto;
        left:auto;
        right:auto;
        margin:140px 5% 30px;
    }
    .office-carousel-card .office-image-label {
        display:none;
    }
}

/* Stabilize reveal layers and prevent CSS/GSAP opacity transitions from competing. */
.reveal,.feature-card,.edu-card,.interview-card,.flow-item {
    opacity:1;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}

.office-carousel-card {
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
}


/* ========================================
   選考情報セクション
======================================== */

/* カード一覧 */
.flow-list {
  width: min(1344px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 38px;
}

/* カード共通 */
.flow-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 180px;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* 右下の三角形 */
.flow-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100px;
  height: 90px;
  background: var(--flow-light-blue);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

/* 大きな番号 */
.flow-num {
  color: #9bb9bd;
  font-family: Arial, sans-serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.045em;
}

/* カード本文 */
.flow-content {
  flex: 1;
  min-width: 0;
}

/* アイコン＋見出し */
.flow-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 10px;
}

.flow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: var(--flow-blue);
}

.flow-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-heading h3 {
  margin: 0;
  color: var(--flow-blue);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.22em;
}

.flow-content > p {
  margin: 10px 0 0 16px;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.15;
  letter-spacing: 0.16em;
}

/* ========================================
   03 選考スケジュール
======================================== */

.flow-item--wide {
  grid-column: 1 / -1;
  min-height: 268px;
  padding-top: 36px;
  padding-bottom: 38px;
}

.flow-item--wide .flow-num {
  margin-top: 0;
}

.flow-item--wide .flow-heading {
  margin-bottom: 22px;
}

.flow-item--wide .flow-content {
  max-width: 986px;
}

.flow-schedule {
  width: 100%;
  border-top: 1px solid #01809a;
}

.flow-schedule__row {
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid #01809a;
}

.flow-schedule__date {
  width: fit-content;
  max-width: 100%;
  margin-left: 13px;
  padding: 10px 12px;
  background: #edf6fa;
  color: var(--flow-blue);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.17em;
}

.flow-schedule__detail {
  padding: 8px 12px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.14em;
}

.flow-schedule__detail a:link {
    text-decoration: underline;
}

.flow-schedule__detail a:hover {
    text-decoration: underline;
    color: #01809a;
}

.a-text-small {
    font-size: 12px;
}

/* ========================================
   下部案内・ボタン
======================================== */

.flow-footer {
  margin: 54px auto 0;
  text-align: center;
}

.flow-footer p {
  margin: 0 0 40px;
  color: #333;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.16em;
}

.flow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 20px 36px;
  border-radius: 100px;
  background: #9f1c27;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.flow-button:hover {
  background: #9f1c27;
  transform: translateY(-3px);
}

/* ========================================
   タブレット
======================================== */

@media (max-width: 1100px) {
  .flow-list {
    width: calc(100% - 48px);
    gap: 28px;
  }

  .flow-item {
    padding: 26px 22px;
  }

  .flow-num {
    flex-basis: 90px;
    font-size: 66px;
  }

  .flow-heading {
    gap: 12px;
  }

  .flow-heading h3 {
    font-size: 22px;
    letter-spacing: 0.12em;
  }

  .flow-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .flow-content > p {
    margin-left: 0;
    font-size: 13px;
  }
}
.footer-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 40px;
    font-size: 16px;
}

/* ========================================
   スマートフォン
======================================== */
h4 {
    font-size: 16px;
    margin-bottom: -10px;
    font-family: var(--serif);
    padding-left:1em;
    margin-top: 0px;
}
@media (max-width: 767px) {
    h4 {
    font-size: 16px;
    margin-bottom: 0px;
    font-family: var(--serif);
    padding-left:0em;
    margin-top: 10px;
}
  .selection-section {
    padding: 30px 0 55px;
  }

  .flow-list {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .flow-item {
    min-height: auto;
    padding: 24px 20px 30px;
  }

  .flow-item::after {
    width: 64px;
    height: 60px;
  }

  .flow-num {
    flex: 0 0 68px;
    margin-top: 8px;
    font-size: 52px;
  }

  .flow-heading {
    min-height: 44px;
    gap: 12px;
    margin-bottom: 12px;
  }

  .flow-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .flow-heading h3 {
    font-size: 19px;
    letter-spacing: 0.12em;
  }

  .flow-content > p {
    margin: 0;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.07em;
  }

  .pc-only {
    display: none;
  }

  .flow-item--wide {
    grid-column: auto;
    padding-bottom: 32px;
  }

  .flow-item--wide .flow-num {
    margin-top: 0;
  }

  .flow-item--wide .flow-heading {
    margin-bottom: 18px;
  }

  .flow-schedule__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .flow-schedule__date {
    margin-left: 0;
    padding: 8px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .flow-schedule__detail {
    padding: 6px 8px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .flow-footer {
    width: calc(100% - 32px);
    margin-top: 40px;
  }

  .flow-footer p {
    margin-bottom: 25px;
    font-size: 12px;
  }

  .flow-button {
    width: 100%;
    min-height: 68px;
    padding: 16px 20px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .practice-row li {
    display:block;
    text-align: center;
}

.practice-row li span {
    margin: 0 auto;
}

.representative {
    display: block;
}

.interview-name {
    padding: 10px 20px 15px;
    font-size: 18px;
}

.representative-photo {
    height: auto;
    box-shadow: 9px 9px 0 #dcebed;
}

.representative-text {
    margin-top: 40px;
}

.interview-lead h3 {
    font-size: 20px;
}

.recruit-content ul {
    display: block;
    width: 100%;
    padding: 20px 0;
}

.recruit-content ul li {
    display: block;
}

.recruit-content ul li.title {
    width: 100%;
}

.recruit-content {
    padding: auto;
}

.recruit-content ul li {
    display: block;
    padding: 10px 0;
}

.recruit-content ul li.text {
    width: 100%;
}

.flow-item {
    position: relative;
    display: block;
    align-items: flex-start;
    min-height: 180px;
    background: #fff;
    overflow: hidden;
    isolation: isolate;
}
.footer-menu ul {
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none;
    gap: 40px;
    font-size: 16px;
    padding: 0;
    display: none;
}

    .footer-top {
        display: block;
        grid-template-columns: 1fr auto;
        gap: 22px;
        padding-bottom: 10px;
    }
    .footer-top span {
    display: block;
    width: 180px;
    height: 5px;
    background-color: #fff;
    border-radius: 5px;
    margin: 0 auto;
    margin-top: 20px;
}

.footer-top span {
        display: none;
    }
      .footer-logo {
    margin-top: 0;
}

    .office-sideword {
        display: none;
    }

        .about-photo {
        height: auto;
    }

    .edu-card-second {
    margin-top: 0px !important;
}

    .edu-card-third {
    margin-top: 0px !important;
}

    .edu-card-fourth {
    margin-top: 0px !important;
}

.edu-card {

    height: auto;
}

.education-grid {
    margin-top: 20px;
}
}

@media (prefers-reduced-motion: reduce) {
  .flow-button {
    transition: none;
  }
}

