@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Playfair+Display:wght@400..900&display=swap");
@media screen and (min-width: 680px) {
  .pc {
    display: inline-block;
  }
  .sp {
    display: none;
  }
}
@media screen and (max-width: 680px) {
  .pc {
    display: none;
  }
  .sp {
    display: inline-block;
  }
}
:root {
  --green: #0c9351;
  --mizuiro: #40c5d3;
  --kimidori: #6bc949;
  --yellow: #fff000;
  --red: #971e23;
  --beige: #f0eee9;
  --serif: "Playfair Display", "Noto Serif JP", serif;
  --sans-serif: "Roboto", "Noto Sans JP", sans-serif;
  --text-color: #2c2a28;
}

body {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 500;
  background-color: #f7f4f2;
  color: #2c2a28;
}

p {
  font-size: 15px;
  line-height: 2;
  font-weight: 400;
}
@media (max-width: 768px) {
  p {
    font-size: 14px;
  }
}

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

a.alink {
  text-decoration: underline;
  color: var(--green);
}

section {
  padding: 2rem 0;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  color: #000;
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 0.15rem;
}

h3 {
  font-family: var(--serif);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.5rem;
}

h4 {
  font-family: var(--serif);
}

.bg-beige {
  background-color: #fefbf4;
}

.stripe {
  display: inline;
  background-image: repeating-linear-gradient(-45deg, #fff000, #fff000 7px, transparent 7px, transparent 14px);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.6em; /* 下線の太さ */
  padding-bottom: 0.15em; /* 文字と下線の距離 */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone; /* ← 行ごとに背景を複製 */
  line-height: 1.4;
}

.btn-ace2 {
  background-color: #404040;
  border-radius: 15px;
  color: #fff;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 300;
  cursor: pointer;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
}

.btn-ace {
  background-color: #404040;
  border-radius: 15px;
  color: #fff;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 100;
  position: relative;
  cursor: pointer;
  margin-bottom: 1rem;
}
.btn-ace h3 {
  font-family: var(--sans-serif);
}
.btn-ace .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.btn-ace h3 {
  font-size: 3vw;
  line-height: 1.4;
  letter-spacing: 0.1rem;
  margin: 0;
  line-height: 1.4;
  font-weight: 100;
}
@media (max-width: 768px) {
  .btn-ace h3 {
    font-size: 30px;
  }
}
.btn-ace h3.f-s {
  font-size: 2vw;
}
@media (max-width: 768px) {
  .btn-ace h3.f-s {
    font-size: 25px;
  }
}
.btn-ace span {
  font-size: 1.3vw;
  margin: 0;
  opacity: 0.9;
  font-weight: 200;
}
@media (max-width: 768px) {
  .btn-ace span {
    font-size: 20px;
  }
}
.btn-ace span.smaller {
  font-size: 70%;
}
.btn-ace::after {
  content: "";
  width: 150px;
  height: 150px;
  margin-left: 1.5rem;
  background: center/60% no-repeat url("img/ar-right.svg");
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .btn-ace::after {
    width: 50px;
    height: 50px;
  }
}
.btn-ace:hover::after {
  transform: translateX(5px);
}

#header {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.hamburger {
  position: fixed;
  right: 20px;
  top: 40px;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 200;
}

.hamburger__line {
  position: absolute;
  width: 30px;
  height: 1px;
  background-color: #333333;
  border-radius: 2px;
  transition: all 300ms ease;
  transform: rotate(0deg);
}

/* 線の位置（通常） */
.hamburger__line:nth-child(1) {
  top: 0px;
}

.hamburger__line:nth-child(2) {
  top: 9px;
}

.hamburger__line:nth-child(3) {
  top: 18px;
}

/* ×変形（2本） */
/* ×変形（3本） */
.hamburger.open .hamburger__line:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger__line:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* メニュー本体 */
.menu {
  flex-direction: column;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 300ms ease;
  width: 300px;
  background-color: rgba(255, 255, 255, 0.911);
  font-family: var(--serif);
  text-align: center;
  letter-spacing: 0.1rem;
  padding: 40px 40px 20px 40px;
  gap: 30px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 150;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
  color: inherit;
  padding-bottom: 20px;
  border-bottom: 1px solid #cfc4bb;
  justify-content: center;
}

.menu__item:last-child {
  border-bottom: none;
}

/* 初期状態 */
#menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.3s;
  visibility: hidden; /* ← ここを使うなら… */
}

/* 開いた状態 */
#menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible; /* ← これを必ず入れる */
}

.nav-menu {
  list-style: none;
  font-family: "Noto Serif JP", serif;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  margin-right: 8rem;
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
}
.nav-menu li {
  padding: 1rem;
}
.nav-menu .nav-btn {
  background-color: var(--beige);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.icon img {
  width: 20px;
  height: 20px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* アニメーション */
/* 上から下 */
.slide-top-enter-active,
.slide-top-leave-active {
  transition: all 300ms ease;
}

.slide-top-enter-from,
.slide-top-leave-to {
  opacity: 0;
  transform: translateY(-20px);
}

.slide-top-enter-to,
.slide-top-leave-from {
  opacity: 1;
  transform: translateY(0);
}

#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
}
#hero-copy {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: stretch;
  justify-items: stretch;
}
@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* グリッド直下の子（a/div）は stretch に任せる。高さ100%は不要 */
.cards > * {
  display: flex;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* a の見た目調整だけ残す */
.cards > a {
  text-decoration: none;
  color: inherit;
}

/* カード本体は親（a）の中で高さを埋める */
.card-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* ここがポイント */
  flex: 1;
  /* height:100%; は外す */
  padding: 1rem;
  border: 4px solid var(--kimidori);
  border-radius: 15px;
  box-sizing: border-box;
}
.card-box h4 {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-align: center;
}
.card-box img {
  max-height: 80px;
  margin-bottom: 15px;
}
.card-box p {
  margin-bottom: 0;
  line-height: 1.5;
}

.b-mizuiro {
  border: 4px solid var(--mizuiro);
}

.modal {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}
.modal p {
  padding: 0 1rem;
  text-align: justify;
}
@media (max-width: 768px) {
  .modal {
    --bs-modal-margin: 2rem; /* デフォルトは .5rem */
  }
}
.modal h5 {
  font-size: 1rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--mizuiro);
  line-height: 1.8;
}

.modal-header {
  justify-content: center;
  flex-direction: column;
}
.modal-header img {
  width: 100px;
  margin-bottom: 1rem;
}

ul.list li {
  margin-bottom: 0.5rem;
}
ul.list li::marker {
  color: var(--green); /* 好きな色 */
  font-size: 1.6rem; /* 大きさ調整も可能 */
}

.youtube {
  width: 100%;
  aspect-ratio: 16/9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

.jirei-name {
  background-color: var(--mizuiro);
  color: white;
  text-align: center;
  border-radius: 30px;
  padding: 5px;
  margin-bottom: 1rem;
}

.jirei-face {
  border-radius: 50%;
}
@media (max-width: 768px) {
  .jirei-face {
    width: 130px;
  }
}

.jirei h4 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.8;
}

.qa {
  background-color: white;
  padding: 1rem;
  border-radius: 20px;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.qa-title {
  text-indent: -2rem; /* 1行目を左にずらす */
  padding-left: 2rem; /* 全体を右に寄せる */
}
.qa-title span {
  font-family: "Rubik", sans-serif;
  font-size: 1.7rem;
  margin-right: 0.5rem;
}

.color-q span {
  color: var(--mizuiro);
}

.color-a span {
  color: var(--red);
}

.policy-box {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
  font-weight: 400;
  font-size: 13px;
  height: 150px;
  overflow: scroll;
}
.policy-box h2 {
  font-size: 13px;
  font-weight: bold;
  margin: 1rem 0 0.6rem;
  letter-spacing: 0.1rem;
  color: #000;
}

.form-label {
  color: #0c0c0c;
}

.maru {
  color: var(--mizuiro);
  font-size: 0.6rem;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
  margin: 7rem 0;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: 20vw;
  padding-right: 1rem;
}
.scroll-infinity__item:nth-child(odd) {
  padding-top: 2rem;
}
@media (max-width: 768px) {
  .scroll-infinity__item {
    width: 50vw;
  }
}

.scroll-infinity__item > img {
  width: 100%;
  border-radius: 10px;
}

#footer {
  font-family: var(--serif);
  background-image: url(img/bg-gold-line.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 5rem 0 1rem;
}
#footer .footer-logo {
  width: min(300px, 70vw);
  margin-bottom: 1.5rem;
}

.copyright {
  margin-top: 3rem;
  font-size: 12px;
  color: #999999;
  letter-spacing: 0.05rem;
  font-family: var(--serif);
}

/* 細長いバーの見た目 */
.line-reveal {
  width: 100%; /* 横幅いっぱい */
  height: 540px;
  background: url(img/line.png) center/cover no-repeat; /* パスは環境に合わせて */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 画面内に入ったら伸びる */
.line-reveal.is-inview {
  clip-path: inset(0 0 0 0);
}

@keyframes scroll-reveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.scrollbar-text_05 {
  animation: scroll-reveal 5s;
  display: inline-block;
  position: absolute;
  bottom: 0;
  padding: 10px 10px 110px;
  color: #dcd4cc;
  font-size: 12px;
  font-family: serif;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  left: 50%;
  transform: translateX(-50%);
}

.scrollbar_05 {
  animation: scroll-reveal 7s;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1px;
}

.scrollbar_05::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100px;
  background: #dcd4cc;
  animation: liner 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes liner {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  30% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  70% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.p-title {
  margin: auto;
}
.p-title img {
  width: min(500px, 80vw);
}

#promiss {
  position: relative;
  height: 150vh;
  margin-bottom: 6rem;
}
@media (max-width: 768px) {
  #promiss {
    height: 180vh !important;
  }
}
@media (max-width: 768px) {
  #promiss img {
    width: 70%;
    height: auto;
  }
}
#promiss p {
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-promiss {
    height: 220vh !important;
  }
}

.p01 {
  position: absolute;
  left: 25%;
}
@media (max-width: 768px) {
  .p01 {
    left: 5%;
  }
}

.p02 {
  position: absolute;
  top: 20%;
  right: 10%;
}
@media (max-width: 768px) {
  .p02 {
    top: 22%;
    right: 8%;
    text-align: right;
  }
}

.p03 {
  position: absolute;
  top: 47%;
  left: 15%;
}
@media (max-width: 768px) {
  .p03 {
    top: 50%;
    left: 5%;
  }
}

.p04 {
  position: absolute;
  top: 60%;
  right: 10%;
}
@media (max-width: 768px) {
  .p04 {
    top: 75%;
    right: 0;
    text-align: right;
  }
}

.p05 {
  position: absolute;
  top: 80%;
  left: 20%;
}
@media (max-width: 768px) {
  .p05 {
    top: 97%;
    left: 5%;
  }
}

#kasou-head {
  background-image: url(img/bg-gold-line.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}
#kasou-head .kasou-head-inner {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
  #kasou-head .kasou-head-inner {
    flex-direction: column;
  }
}
#kasou-head h1 {
  font-weight: 200;
  font-size: 4rem;
  letter-spacing: 0.1rem;
}
#kasou-head h1 span {
  font-weight: 400;
  display: block;
  font-size: 1.2rem;
}
#kasou-head .head-copy {
  margin-top: 5rem;
}
.section-title {
  text-align: center;
  padding: 20px 0;
  position: relative;
  width: 100%;
  margin-bottom: 4rem;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 90%;
  height: 1px;
  background-color: #d9d3cb; /* 薄いグレーライン */
  transform: translateX(-50%);
}

.section-title::before {
  top: 0;
}

.section-title::after {
  bottom: 0;
}

.section-title h2 {
  font-size: 22px;
  letter-spacing: 0.4em; /* 字間広め */
  margin: 0 0 8px 0;
  font-weight: 400;
  color: #222;
}

.section-title p {
  font-size: 12px;
  opacity: 0.8;
  margin: 0;
  letter-spacing: 0.05rem;
}

.job-card {
  background-color: #fff;
  padding: 1.2rem;
  margin: 1rem;
}
.job-card img {
  margin-bottom: 1.5rem;
}
.job-card h3 {
  text-align: center;
}

:root {
  --flow-bg: #fff; /* ボックス背景 */
  --flow-border: #eee5dd; /* 枠のほんのり色 */
  --brand-brown: #c9a57d; /* 番号と矢印の色 */
  --text-main: #222;
  --text-sub: #6f645a;
}

/* 全体の並び */
.flow-area {
  display: flex;
  flex-direction: column;
  gap: 28px; /* ボックス間の余白（矢印分も含む） */
  max-width: 900px;
  margin: 0 auto;
}

/* 各ボックス */
.flow-box {
  position: relative;
  background: var(--flow-bg);
  border-radius: 12px;
  padding: 22px 24px 22px 110px; /* 左は番号分あける */
}

/* 番号 */
.flow-box .no {
  position: absolute;
  left: 22px;
  top: 25%;
  transform: translateY(-50%);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 300;
  line-height: 1;
  color: var(--brand-brown);
  letter-spacing: 0.02em;
  font-family: "Noto Serif JP", serif; /* 任意 */
}

/* タイトル・本文 */
.flow-box h4 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
}

.flow-box p {
  margin: 0;
  line-height: 1.9;
  font-size: clamp(14px, 1.8vw, 16px);
}

/* ▼ ボックス間の丸い矢印（次のボックスの上に重ねる） */
.flow-box + .flow-box::before,
.flow-box + .flow-box::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.flow-box + .flow-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px; /* カードの間に浮かせる */
  transform: translateX(-50%);
  width: 28px; /* ←ここで画像サイズ調整 */
  height: 28px;
  background: center/contain no-repeat url("img/ar-down.svg");
  z-index: 5;
}

/* スマホ微調整 */
@media (max-width: 560px) {
  .flow-box {
    padding: 18px 16px 18px 86px;
  }
  .flow-box .no {
    left: 16px;
  }
}
.imgs {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto; /* 中央寄せ */
}

/* 1枚目 */
.imgs img:nth-child(1) {
  display: block;
  width: 80%; /* お好みサイズに調整 */
}

/* 2枚目（重ねて少し下にずらす） */
.imgs img:nth-child(2) {
  position: absolute;
  top: 320px; /* 下へずらす値 */
  left: 50px; /* 右へずらす値 */
  width: 80%;
  background: #fff;
}

/* ✅ スマホ時は縦積み */
@media (max-width: 560px) {
  .imgs {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    gap: 16px;
  }
  .imgs img:nth-child(2) {
    position: static;
    top: auto;
    margin-left: auto;
  }
}
.serif-title {
  color: #beb39e;
  font-size: 3rem;
  text-align: center;
  margin: 2rem;
  font-family: var(--serif);
  letter-spacing: 0.2rem;
}
.serif-title span {
  font-size: 1rem;
  color: var(--text-color);
  display: block;
}
@media (max-width: 768px) {
  .serif-title {
    font-size: 2rem;
    line-height: 1.6;
  }
}

.st-box {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 22px 24px 22px 110px; /* 左は番号分あける */
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .st-box {
    padding: 22px 24px 22px 70px; /* 左は番号分あける */
  }
}

/* 番号 */
.st-box .no {
  position: absolute;
  left: 22px;
  top: 25%;
  transform: translateY(-50%);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 300;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.02em;
  font-family: "Noto Serif JP", serif; /* 任意 */
}
@media (max-width: 768px) {
  .st-box .no {
    top: 15%;
  }
}

/* タイトル・本文 */
.st-box h4 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
}

.st-box p {
  margin: 0;
  line-height: 1.9;
  font-size: clamp(14px, 1.8vw, 16px);
}

.under {
  position: sticky;
  top: 0;
}

.base {
  height: 200vh;
}

.over {
  margin-top: -100vh;
  position: relative;
  height: 100vh;
  background: url("img/office-dark.jpg") center/cover no-repeat;
  color: #fff;
}
@media (max-width: 768px) {
  .over {
    margin-top: 0;
    height: 180vh;
  }
}
.over h2 {
  color: white;
  margin-bottom: 2rem;
}

.gaiyou {
  background: url("img/office-dark.jpg") center/cover no-repeat;
  color: #fff;
  padding-top: 5rem;
}

/* ▼ せり上がって前面にかぶさる “黒いパネル” 本体 */
.cover-panel {
  padding: 6rem 0;
}
@media (max-width: 768px) {
  .cover-panel {
    padding: 3rem 0;
  }
}

/* パネル内レイアウト */
.side {
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  opacity: 0.7;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 100;
}
@media (max-width: 768px) {
  .side {
    font-size: 1rem;
    padding: 3rem 0;
  }
}

:root {
  --bs-border-color: #dee2e67e;
}

.table > :not(caption) > * > * {
  padding: 1.5rem;
  background-color: transparent;
  color: white;
  font-family: var(--serif);
}
@media (max-width: 768px) {
  .table > :not(caption) > * > * {
    padding: 1rem;
  }
}

.table th {
  white-space: nowrap;
  letter-spacing: 0.15rem;
  font-weight: normal;
}
@media (max-width: 768px) {
  .table th {
    border-bottom: 0px;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .table th,
  .table td {
    display: block;
    width: 100%;
  }
}

.form-control {
  padding: 1rem;
}

.modal {
  color: #2c2c2c;
}
.modal h1 {
  font-family: var(--serif);
}
.modal h2 {
  font-size: 1rem;
}
.modal p {
  font-size: 14px;
  line-height: 1.4;
}

.modal-header {
  flex-direction: row;
}

h1#logo-box {
  padding: 15px;
  display: block;
}

h1#logo-box img {
  width: 250px;
}/*# sourceMappingURL=aceline.css.map */