@charset "utf-8";
/* CSS Document */

/*common*/
:root {
  --main-text-color: #3e3a39;
  --bright-color: #FFFFFF;
  --background-color: #EFEFEf;
  --large-width: 1050px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: YakuHanJP_Narrow, "ryo-text-plusn", serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--main-text-color);
  font-size: 1.25rem; /* 20px */
  line-height: 2.476;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1rem;
    line-height: 1.5;
  }
}
h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
}
* html .layer_board_bg,
* html .layer_board {
  position: absolute;
}
img {
  width: 100%;
  height: auto;
}
p {
  margin-top: -0.738em;
  margin-bottom: -0.738em;
}
p + p {
  margin-top: 2.476em;
}

/* aタグの設定  アンダーライン*/
@media screen and (min-width: 768px) {
  a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  }
  a::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
  }
  a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
  }
}

/* ユーティリティ */
.hidden_sp {
  display: block;
}
.visible_sp {
  display: none;
}
.br_pc {
  display: inline;
}
.br_sp {
  display: none;
}
.mb2em {
  margin-bottom: 4.952em;
}
@media screen and (max-width: 767px) {
  .hidden_sp {
    display: none;
  }
  .visible_sp {
    display: block;
  }
  .br_pc {
    display: none;
  }
  .br_sp {
    display: inline;
  }
}

/* レイアウト */
.container {
  position: relative;
  width: var(--large-width);
  max-width: 100%;
  margin-inline: auto;
  padding-left: 25px;
  padding-right: 25px;
}
.container--thin {
  width: 717px;
}
.main {
  padding-top: 150px;
  padding-bottom: 150px;
}
.section {
  padding-bottom: 150px;
}
.main .section:last-child {
  padding-bottom: 0;
}
@media screen and (max-width: 767px) {
  .main {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .section {
    padding-bottom: 60px;
  }
}

/* 画像 */
.hi-shotphoto {
  margin-bottom: 150px;
}
@media screen and (max-width: 767px) {
  .figure {
    margin-bottom: 60px;
  }
  .container .figure {
    margin-left: -25px;
    margin-right: -25px;
  }
}

/* テキスト */
.heading {
  font-size: 3rem; /* 48px */
  line-height: 1.75;
  margin-bottom: 60px;
}
.heading_line {
  margin-bottom: 150px;
}
.heading_line--sub {
  border: 1px solid var(--main-text-color);
  position: relative;
  height: 37px;
}
.heading_line--sub_text {
  font-size: 2rem; /* 32px */
  line-height: 1.1;
  position: absolute;
  padding-left: 1px;
  padding-right: 5px;
  bottom: -7px;
  left: -1px;
  background-color: var(--bright-color);
}
.heading_line--main {
  border-bottom: 1px solid var(--main-text-color);
  text-align: center;
  font-size: 3rem; /* 48px */
  line-height: 1;
  padding-top: 46px;
  padding-bottom: 50px;
}
.title-01 {
  font-size: 2.375rem; /* 38px */
  line-height: 1.6316;
  margin-top: -0.316em;
  margin-bottom: 1.263em;
}
.title-02 {
  font-size: 2rem; /* 32px */
  line-height: 1.5;
  margin-top: -0.25em;
  margin-bottom: 0.375em;
}
.text_s {
  font-size: 1.1875rem; /* 19px */
  line-height: 1.368421052631579;
  margin-top: -0.1842em;
  margin-bottom: -0.1842em;
}
.text-center {
  text-align: center;
}
@media screen and (max-width: 767px) {
  .heading {
    font-size: 1.25rem; /* 20px */
    margin-bottom: 40px;
  }
  .heading_line {
    margin-bottom: 60px;
  }
  .heading_line--sub {
    height: 18px;
  }
  .heading_line--sub_text {
    font-size: 0.875rem; /* 14px */
    bottom: -5px;
  }
  .heading_line--main {
    border-bottom: 1px solid var(--main-text-color);
    font-size: 1.25rem; /* 20px */
    padding-top: 18px;
    padding-bottom: 20px;
  }
  .title-01 {
    font-size: 1.25rem; /* 20px */
  }
  .title-02 {
    font-size: 1.25rem; /* 20px */
  }
  .text_s {
    font-size: 1.1875rem; /* 19px */
    line-height: 1.368421052631579;
    margin-top: -0.1842em;
    margin-bottom: -0.1842em;
  }
}

/* ヘッダーナビ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 105px;
  padding-top: 25px;
  background-color: var(--bright-color);
  opacity: 90%;
  z-index: 100;
}
.header a {
  color: var(--main-text-color);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header_logo img {
  height: 45px;
  width: auto;
}
.gnav_list {
  display: flex;
  list-style: none;
  padding: 0;
}
.gnav_list a {
  display: block;
  /* padding: 0 10px; */
  margin-right: 25px;
}
.humburger,
.humburger_close {
  display: none;
}
@media screen and (max-width: 767px) {
  .header {
    height: 70px;
    padding: 0;
  }
  .header__container {
    position: fixed;
    top: -110%;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.79);
    transition: all .3s;
    z-index: 1000;
  }
  .header.is-open .header__container {
    top: 0;
  }
  .header__inner {
    position: absolute;
    display: block;
    width: 118px;
    top: 90px;
    left: calc(50% - 59px);
    z-index: 1000;
  }
  .header_logo {
    width: 78px;
    margin-bottom: 40px;
  }
  .header_logo img {
    width: 100%;
    height: auto;
  }
  .gnav_list {
    display: block;
    width: 118px;
    margin: 0 auto;
  }
  .gnav_list a {
    font-size: 1.25rem;
    padding: 10px 0;
    color: var(--bright-color);
  }
  .humburger {
    display: block;
    padding: 25px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0;
  }
  .humburger img {
    height: 19px;
    width: 24px;
  }
  .humburger_close {
    display: block;
    padding: 25px;
    position: absolute;
    right: 0;
    top: 0;
  }
  .humburger_close img {
    height: 19px;
    width: 19px;
  }
  .header.is-open .humburger {
    display: none;
  }
}

/* フッター */
.footer {
  background-color: var(--background-color);
  padding-top: 60px;
  padding-bottom: 30px;
  /* margin-top: 100px; */
}
.footer-heading {
  border: 1px solid var(--main-text-color);
  width: 100%;
  height: 37px;
  position: relative;
  margin-bottom: 40px;
}
.footer-heading--text {
  position: absolute;
  bottom: -7px;
  left: -1px;
  font-size: 1.75rem;
  line-height: 1.1;
  background-color: var(--background-color);
}
.footer-mail {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
}
.footer-mail a {
  color: var(--main-text-color);
}
.material-icons {
  font-size: 3rem;
  margin-right: 30px;
}
.footer-note {
  font-family: sans-serif;
  font-size: 0.875rem;
  line-height: 1.2857;
  margin-bottom: 25px;
}
.copy {
  font-family: sans-serif;
  font-size: 0.75rem;
  line-height: 1;
  text-align: right;
}
@media screen and (max-width: 767px) {
  .footer {
    padding-top: 30px;
    padding-bottom: 25px;
  }
  .footer-heading {
    height: 18px;
    margin-bottom: 18px;
  }
  .footer-heading--text {
    bottom: -4px;
    font-size: 0.875rem;
  }
    .footer-mail {
    font-size: 1rem;
  }
  .material-icons {
    font-size: 1.5rem;
    margin-right: 10px;
  }
  .footer-note {
    font-size: 0.625rem;
    margin-bottom: 16px;
  }
  .copy {
    font-size: 0.5rem;
  }
}

/* トップ画像 */
.top_hero_img__wrapper {
  position: relative;
  font-size: 0;
}
.top_hero_img {
  width: 100%;
  height: 100%;
}

.top_logo__wrapper {
   position: absolute;
  inset: 0;                /* ← 画面全体に広げる */
  display: flex;
  align-items: center;     /* 縦中央 */
  justify-content: center; /* 横中央 */
  z-index: 100;
  pointer-events: none;    /* ロゴが邪魔しない */
}
.top_logo {
  width: min(60vw, 420px);
}

/* トップour mission */
.top_our-mission .flag {
  display: flex;
  gap: 30px;
}
.top_our-mission .flag--reverse {
  flex-direction: row-reverse;
}
.top_our-mission .flag + .flag {
  margin-top: 100px;
}
.top_our-mission .flag .flag__img {
  width: 45%;
  flex-shrink: 0;
  flex-grow: 0;
}
.top_our-mission-heading {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}
.top_our-mission-heading--sub {
  font-size: 1.0625rem; /* 17px */
  line-height: 1.058823529411765;
}
.top_our-mission-heading--number {
  font-size: 3.75rem; /* 60px */
  line-height: 1;
  padding-left: 30px;
  border-left: 1px solid var(--main-text-color);
}

/* more button */
.more_button {
  display: block;
  border: 1px solid var(--main-text-color);
  width: 100%;
  height: 22px;
  position: relative;
  margin-top: 20px;
}
.more_button--text {
  background-color: var(--bright-color);
  color: var(--main-text-color);
  font-size: 1.125rem; /* 18px */
  line-height: 1.1;
  position: absolute;
  left: -1px;
  bottom: -4px;
}
@media screen and (min-width: 768px) {
  .flag{
    margin-top: 100px;
  }
}
.flag{
  margin-top: 40px;
}
.last-flag{
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .top_our-mission .flag {
    flex-direction: column;
  }
  .top_our-mission .flag--reverse {
    flex-direction: column;
  }
  .top_our-mission .flag + .flag {
    margin-top: 60px;
  }
  .top_our-mission .flag .flag__img {
    width: 100%;
  }
  .top_our-mission-heading {
    justify-content: flex-end;
    border: 1px solid var(--main-text-color);
    position: relative;
  }
  .top_our-mission-heading--sub {
    font-size: 0.875rem; /* 14px */
    position: absolute;
    bottom: -3px;
    left: -1px;
    padding-left: 1px;
    padding-right: 5px;
    background-color: var(--bright-color);
  }
  .top_our-mission-heading--number {
    font-size: 2.125rem; /* 34px */
    padding-left: 15px;
    padding-right: 15px;
  }
  .top_our-mission .text_s {
    display: none;
  }
  .more_button {
    height: 18px;
  }
  .more_button--text {
    font-size: 0.875rem; /* 14px */
    left: unset;
    right: -1px;
    bottom: -4px;
    padding-left: 5px;
  }
}

/* 下層our mission */
.mission-heading {
  display: flex;
  margin-bottom: 60px;
  margin-top: 80px;
}
.mission-heading__number {
  padding-right: 40px;
  border-right: 1px solid var(--main-text-color);
}
.mission-heading__number--sub {
  font-size: 1.0625rem;
  line-height: 1.059;
}
.mission-heading__number--number {
  font-size: 4.5rem;
  line-height: 1;
}
.mission-heading .title-01 {
  margin-bottom: -0.316em;
  padding-left: 40px;
}
@media screen and (max-width: 767px) {
  .mission-heading {
    display: block;
    margin-bottom: 30px;
    margin-top: 20px;
  }
  .mission-heading__number {
    position: relative;
    padding-right: 0;
    border: 1px solid var(--main-text-color);
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
  }
  .mission-heading__number--sub {
    font-size: 0.875rem; /* 14px */
    position: absolute;
    bottom: -3px;
    left: -1px;
    padding-left: 1px;
    padding-right: 5px;
    background-color: var(--bright-color);
  }
  .mission-heading__number--number {
    font-size: 2.125rem; /* 34px */
    padding-left: 15px;
    padding-right: 15px;
    border-left: 1px solid var(--main-text-color);
  }
  .mission-heading .title-01 {
    margin-bottom: inherit;
    padding-left: 0;
  }
}

/* Swiper */
.swiper {
  margin-top: 60px;
}
/* Swiper のイージングを止める*/
.swiper .swiper-wrapper {
  transition-timing-function: linear;
}

/* about */
.about__inner {
  display: flex;
  gap: 30px;
}
.about__content {
  font-size: 1.125rem;
  line-height: 1.7778;
  width: calc(50% - 15px);
}
.about__content dl {
  display: flex;
}
.about__content dl > dt {
  width: 4.5em;
  margin-right: 30px;
  flex-grow: 0;
  flex-shrink: 0;
}
.about__map {
  width: calc(50% - 15px);
}
.about__map iframe {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 767px) {
  .about__inner {
    flex-direction: column;
  }
  .about__content {
    width: 100%;
    font-size: 1rem;
  }
  .about__content dl > dt {
    margin-right: 20px;
  }
  .about__map {
    width: 100%;
    aspect-ratio: 1 / 1;
  }
}

/* recuruit */
.recruit dl {
  margin-top: 2.476em;
  margin-bottom: 2.476em;
}
.recruit dd {
  padding-left: 1em;
}
.recruit dl:last-of-type {
  margin-bottom: 0;
}
.recruit dl.dl_list > .dt_item::before {
  content: '◯';
}
.recruit dl.dl_list > .dd_item ul {
  padding-left: 1em;
}
.recruit ol {
  list-style: none;
}
.recruit .button {
  /* background-color: var(--main-text-color); */
  border: solid 1px;
  color: var(--main-text-color);
  display: block;
  width: 100%;
  text-align: center;
}
.recruit .button:hover{
  background-color: #dcdddd;
  transition: 0.5s ;
}

/* recruitページ　メールアドレスコピー　ここから */
.mailto-wrapper {
  position: relative;
}
.mailto-message {
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  position: absolute;
  display: none;
  width: auto;
  white-space: nowrap;
  font-size: 12px;
  background-color: black;
  color: white;
  padding: 2px 6px;
  border-radius: 2px;
  &:after {
    content: '';
  }
}
.mailto-wrapper:hover .mailto-message {
  display: block;
}
/* recruitページ　メールアドレスコピー　ここまで */


/* スクロールフェードイン */
.fadeIn {
  transition: 2s;
  opacity: 0;
}

.fadeIn.animated {
  opacity: 1;
}

/* topページvision-text部分　上の空きの設定 */
@media screen and (min-width: 768px) {
  .container-top{
    margin-top: 150px;
  }
}
/* topページvision-text部分　行間設定 */
@media screen and (max-width: 767px) {
  .vision-text br {
    display: none;
  }
}
.vision-text .box{
    margin-top: 45px;
    }

@media screen and (min-width: 768px) {
  .vision-text .box{
    margin-top: 70px;
  }
}

/* トップour mission */
@media screen and (min-width: 768px) {
  .top_our-mission{
    margin-top: 100px;
  }
}
@media screen and (max-width: 767px) {
.our-mission-text br{
  display: none;
  }
}
/* topページour mission部分　topのアキ設定 */
@media screen and (min-width: 768px) {
  .our-mission-box{
    margin-top: 200px;
  }
  .sunsetphoto {
    margin-top: 150px;
  }
}
/* aboutページ　上の空きの設定 */
@media screen and (min-width: 768px) {
  .container-about{
    margin-top: 50px;
  }
  .container-about .box {
    margin-top: 70px;
  }
  .container-about-umaimon{
    margin-top: 100px;
  }
}

/* aboutページcontainer-about部分　行間設定 */
@media screen and (max-width: 767px) {
  .container-about br {
    display: none;
  }
}
.container-about .box{
    margin-top: 45px;
    }

/* recruitページ点線の設定 */
.mb2em {
  margin-top: 50px;
}
.mb2em .norecruit {
  border-bottom: dotted 2px;
  padding-bottom: 3px;
}
@media screen and (max-width: 767px) {
  .mb2em {
    margin-top:  15px;
  }
  .mb2em .norecruit {
    border-bottom: dotted 2px;
    padding-bottom: 3px;
  }
}
/* オープニングアニメーションの設定 */
.start {
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9000;
  margin: 0 auto;
}
.start .opening {
  font-size: 2.5rem;
  width: 700px;
  letter-spacing: 0.35rem;
}
.start p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .start {
display: none;
 }
  .start .opening {
    font-size: 0.75rem;
    width: 300px;
    letter-spacing: 0.15rem;
  }
}
  /* Swiper */
@media screen and (min-width: 768px) {
  .swiper {
    margin-top: 150px;
  }
}

.flag__content a {
  color:inherit;
  text-decoration: none;
}

/* ====== 画像リンクのアンダーラインアニメーション無効化 ====== */
a img {
  display: block;
}

a img {
  pointer-events: none;
}

/* 親 a のアンダーラインを消す（画像リンクのみ適用） */
a:has(> img)::after {
  display: none !important;
}


.banner img {
  transition: opacity .3s ease;
}

.banner:hover img {
  opacity: 0.8;
}

.banner {
  margin-top: 50px;
}



/* ロゴ初期状態（非表示） */

.top_logo {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}


/* ロゴ表示用 */
.top_logo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================
   HERO VIDEO – PC / SP 切替・全画面 確定版
================================== */

.top_hero_img__wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

/* 動画とロゴの基準 */
.video-hero {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 動画本体 */
.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* PC / SP 切替 */
.pc-video {
  display: block;
}

.sp-video {
  display: none;
}

@media screen and (max-width: 767px) {
  .pc-video {
    display: none;
  }
  .sp-video {
    display: block;
  }
}

/* ロゴ中央 */
.top_logo__wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.top_logo {
  width: min(60vw, 420px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}

.top_logo.is-visible {
  opacity: 1;
  transform: translateY(0);
}
