@charset "utf-8";

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-height: 1.8;
}

body {
  margin: 0;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s 0s ease;
}
a:hover, button:hover {
  text-decoration: none;
  color: #97875b;
}


button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: transparent;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1,h2,h3 {
  z-index: 1000;
}

p {
  font-size: 112.5%;
}

/* ===== Base ===== */
html,
body {
  font-family: "はんなり明朝", "Shippori Mincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "ＭＳ 明朝", "MS Mincho", serif;
  color: #080808;
  background: #fff url(/common/images/footer_bg.jpg) no-repeat center bottom;
  background-size: contain;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: transparent;
  box-shadow: none;
  transition: background .25s, height .25s, box-shadow .25s;
}

#header_inner {
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
}

#header.scrolled #header_inner {
  align-items: center;
}

#logo {
  margin: 0;
  line-height: 1;
}

#logo a {
  display: inline-block;
}

#logo img {
  height: 51px;
  display: block;
  transition: opacity .3s ease;
}
#header #logo img {
  content: url("/common/images/logo.png");
}

#header.scrolled #logo img {
  content: url("/common/images/logo_b.png");
}


.global-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}

.global-menu a {
  display: inline-block;
  line-height: 1;
  padding: 14px 0;
  font-size: 112.5%;
  letter-spacing: .1rem;
  font-weight: 400;
}

#menu-toggle {
  display: none;
}

#menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  margin: 7px auto 0 auto;
}

#header.scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  height: 64px;
}
#header.scrolled a {
  color: #080808;
}

#header.scrolled #logo img {
  height: 40px;
}

#header.scrolled #menu-toggle span {
  background: #080808;
}

/* ===== Global Nav ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle .menu_label {
  position: absolute;
  bottom: 2px;
  font-size: 11px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.05em;
  color: #2b9c6c;
  width: 100%;
  text-align: center;
  line-height: 1;
  background: none;
}

.global-menu {
  position: static;
  right: auto;
  height: auto;
  background: transparent;
  z-index: auto;
  display: block;
  transition: none;
  overflow: visible;
}

.global-menu ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 60px;
  width: auto;
  padding: 0;
}

.global-menu li {
  margin: 0;
  text-align: left;
}

.global-menu a {
  font-size: 100%;
  font-weight: normal;
  padding: 14px 0;
}

.global-menu a {
  color: transparent;
  background: linear-gradient(to right, rgb(194, 187, 149) 50%, #fff 50%) 100%;
  background-clip: text;
  background-size: 200% 100%;
  transition: background-position 0.3s;
}

.global-menu a:hover {
  background-position: 0 100%;
}

@media (max-width: 1200px) {
  
  #header_inner {
    padding: 1rem !important;
  }
  #logo img {
    width: 250px;
    height: auto;
  }
  #header.scrolled {
    height: auto;
  }  
  #header.scrolled #logo img {
    content: url("/common/images/logo.png");
    height: auto;
  }
  .container {
    padding: 0 1.5rem;
  }
  .menu-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
  }

  #recruit .menu-toggle span {
    background: #00547f;
  }

  .menu-toggle.active span {
    background: #fff;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-inner {
    flex-wrap: wrap;
  }
}


/* ===== Cart Banner ===== */
#cart_banner {
  position: fixed;
  right: 0;
  top: 32%;
  z-index: 9;
  color: #121D42;
  background: #fff;  
  border-top: 1px solid #121D42;
  border-bottom: 1px solid #121D42;
  border-left: 1px solid #121D42;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 30px 22px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  transition: all 0.5s 0s ease;
}
#cart_banner span {
  position: relative;
  font-size: 150%;
  letter-spacing: .2em;
  padding-top: 32px;
}
#cart_banner span::before {
  content: "";
  position: relative;
  display: inline-block;
  width: 36px;
  height: 31px;
  background: url('/common/images/icon_cart.png') no-repeat center;
  background-size: contain;
  margin-left: auto;
  left: 4px;
  top: -31px;
  transform: initial;
  transform-origin: center;
}
#cart_banner:hover span::before {
  content: "";
  position: relative;
  display: inline-block;
  width: 36px;
  height: 31px;
  background: url('/common/images/icon_cart_w.png') no-repeat center;
  background-size: contain;
  margin-left: auto;
  left: 4px;
  top: -31px;
  transform: initial;
  transform-origin: center;
}
#cart_banner:hover {
  background-position: bottom left;
  background-size: 100% 100%;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  background-color: #121D42;
  color: #fff;
}

/* ===== main_visual ===== */
#main_visual {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#main_visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/common/images/main.jpg) no-repeat center/cover;
  opacity: 0;
  z-index: 1;
  animation: imageFadeIn 3s ease-out forwards;
}

#main_visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #121D42;
  mix-blend-mode: hard-light;
  opacity: 1;
  z-index: 2;
  animation: overlayFade 3s ease-out forwards;
}

@keyframes imageFadeIn {
  0%   { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes overlayFade {
  0%   { opacity: 1; }
  100% { opacity: 0.8; }
}

#main_visual .container {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}

#main_visual h1 {
  font-size: 60px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: .04em;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  animation: fade_up_soft 2.8s cubic-bezier(.25,.8,.25,1) 1s both;
  will-change: transform, opacity, filter;
}

#main_visual p {
  margin-top: 120px;
  font-size: 150%;
  letter-spacing: .1rem;
  opacity: 0;
  transform: translateY(36px);
  filter: blur(4px);
  animation: fade_up_soft 3s cubic-bezier(.25,.8,.25,1) 1.5s both;
  will-change: transform, opacity, filter;
}

@keyframes fade_up_soft {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #main_visual h1,
  #main_visual p,
  #main_visual a[role="button"],
  #main_visual button,
  #main_visual .btn {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

#main_visual h1 span {
  font-size: 150%;
  letter-spacing: .1rem;
}

/* ===== About ===== */
#about {
  position: relative;
  padding: 200px 0;
}

#about .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 64px;
}

#about h2 {
  font-size: 48px;
  margin: 0 0 80px 0;
  font-weight: normal;
  letter-spacing: .06em;
}

#about p {
  line-height: 2;
  color: #333;
  margin: 0;
}

#about::after {
  content: "";
  position: absolute;  
  display: inline-block;
  width: 323px;
  height: 309px;
  background: url('/common/images/mark.png') no-repeat center;
  background-size: contain;
  margin-left: auto;
  right: 4%;
  top: 150px;
  transform: initial;
  transform-origin: center;
}

.advanced {
  opacity: 0;
  transform: translateY(13%);
  transition: opacity 1.8s cubic-bezier(0.33, 1, 0.68, 1),
              transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.advanced.isActive {
  opacity: 1;
  transform: translateY(0);
}
.img_fade_left {
  position: relative;
  transform: translateY(100px);
  transition: transform 1.2s ease-out;
}

.img_fade_left.isActive {
  transform: translateY(0);
}

@media (max-width: 1200px) {
  #about h2 {
    font-size: 36px;
    margin-bottom: 3rem;
  }
  #about .container.mb50:nth-of-type(2) .img_fade_left {
    order: 2;
  }
  #about .container.mb50:nth-of-type(2) .advanced {
    order: 1;
  }
}

/* ===== Links ===== */
#links {
  padding: 72px 0 0;
}

#links .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 76px;
  align-items: start;
}

@media (max-width: 1200px) {
  #links {
    padding: 0;
  }
}

.tile {
  display: block;
  transition: .2s;
}

.tile figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.tile img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform .35s;
}

.tile figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: opacity .35s;
}

.tile:hover figure::after {
  opacity: 0;
}

.tile:hover img {
  transform: scale(1.04);
}

.tile figcaption {
  padding: 12px 6px 0 6px;
  font-size: 150%;
  text-align: center;
}

@media (max-width: 1200px) {
  .tile figcaption {
    font-size: 125%;
  }
}


/* ===== Footer ===== */
#footer {
  position: relative;
  color: #000;
  margin-top: 240px;
}

#footer .container {
  padding: 64px 24px 28px;
}

#foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  justify-content: center;
  font-size: 87.5%;
  margin-bottom: 5rem;
}

#foot-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#foot-logo {
  height: 26px;
}

@media (max-width: 1200px) {
  #footer {
    margin-top: 4rem;
  }
  #foot-nav {
    gap: .5rem 1rem;
  }
  .global-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 29, 66, 0.95);
    transform: translateX(100%);
    transition: .25s;
    padding-top: 72px;
    z-index: 5000;
  }
  .global-menu.active {
    transform:translateY(0)
  }
  .global-menu a, #header.scrolled a {
    color: #fff;
  }
  .global-menu ul {
    flex-direction: column;
    gap: 20px;
    padding: 0 24px;
  }

  #menu-toggle {
    display: block;
    position: relative;
    z-index: 11;
    width: 40px;
    height: 40px;
    background: transparent;
  }

  #menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 7px auto 0 auto;
  }

  #header {
    position: fixed;
    background: transparent;
  }

  #header.scrolled {
  background: rgb(18 29 66 / 80%);
    backdrop-filter: saturate(180%) blur(10px);
  }

  .open .global-menu {
    transform: none;
  }

  #main_visual {
    min-height: 400px;
  }
  #main_visual h1 {
    font-size: 30px;
    margin-top: 30%;
  }

  #main_visual p {
    font-size: 125%;
    margin-top: 4rem;
  }
  #about {
    padding: 3rem 0;
  }
  #about .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #about::after {
    top: 260px;
    right: 2%;
    width: 200px;
  }

  #links .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tile img {
    height: 220px;
  }

  #cart_banner {
    display: none;
  }
}

.sp_br {
  display: none;
}
.pr_br {
  display: inline;
}

@media (max-width: 768px) {
  .sp_br {
    display: inline;
  }
  .pc_br {
    display: none;
  }
}


/* margin */
.mb0 {margin-bottom: 0 !important;}
.mt1r {margin-top:1rem !important;}.mt2r {margin-top:2rem !important;}.mt3r {margin-top:3rem !important;}.mt4r {margin-top:4rem !important;}.mt5r {margin-top:5rem !important;}
.mb1r {margin-bottom:1rem !important;}.mb2r {margin-bottom:2rem !important;}.mb3r {margin-bottom:3rem !important;}.mb4r {margin-bottom:4rem !important;}.mb5r {margin-bottom:5rem !important;}
.ml1r {margin-left:1rem !important;}.ml2r {margin-left:2rem !important;}.ml3r {margin-left:3rem !important;}.ml4r {margin-left:4rem !important;}.ml5r {margin-left:5rem !important;}
.mr1r {margin-right:1rem !important;}.mr2r {margin-right:2rem !important;}.mr3r {margin-right:3rem !important;}.mr4r {margin-right:4rem !important;}.mr5r {margin-right:5rem !important;}
.mx1r {margin-left:1rem !important;margin-right:1rem !important;}.mx2r {margin-left:2rem !important;margin-right:2rem !important;}.mx3r {margin-left:3rem !important;margin-right:3rem !important;}.mx4r {margin-left:4rem !important;margin-right:4rem !important;}.mx5r {margin-left:5rem !important;margin-right:5rem !important;}
.my1r {margin-top:1rem !important;margin-bottom:1rem !important;}.my2r {margin-top:2rem !important;margin-bottom:2rem !important;}.my3r {margin-top:3rem !important;margin-bottom:3rem !important;}.my4r {margin-top:4rem !important;margin-bottom:4rem !important;}.my5r {margin-top:5rem !important;margin-bottom:5rem !important;}

.mt10 {margin-top:10px !important;}.mt20 {margin-top:20px !important;}.mt30 {margin-top:30px !important;}.mt40 {margin-top:40px !important;}.mt50 {margin-top:50px !important;}.mt60 {margin-top:60px !important;}.mt70 {margin-top:70px !important;}.mt80 {margin-top:80px !important;}.mt90 {margin-top:90px !important;}.mt100 {margin-top:100px !important;}
.mb10 {margin-bottom:10px !important;}.mb20 {margin-bottom:20px !important;}.mb30 {margin-bottom:30px !important;}.mb40 {margin-bottom:40px !important;}.mb50 {margin-bottom:50px !important;}.mb60 {margin-bottom:60px !important;}.mb70 {margin-bottom:70px !important;}.mb80 {margin-bottom:80px !important;}.mb90 {margin-bottom:90px !important;}.mb100 {margin-bottom:100px !important;}
.ml10 {margin-left:10px !important;}.ml20 {margin-left:20px !important;}.ml30 {margin-left:30px !important;}.ml40 {margin-left:40px !important;}.ml50 {margin-left:50px !important;}.ml60 {margin-left:60px !important;}.ml70 {margin-left:70px !important;}.ml80 {margin-left:80px !important;}.ml90 {margin-left:90px !important;}.ml100 {margin-left:100px !important;}
.mr10 {margin-right:10px !important;}.mr20 {margin-right:20px !important;}.mr30 {margin-right:30px !important;}.mr40 {margin-right:40px !important;}.mr50 {margin-right:50px !important;}.mr60 {margin-right:60px !important;}.mr70 {margin-right:70px !important;}.mr80 {margin-right:80px !important;}.mr90 {margin-right:90px !important;}.mr100 {margin-right:100px !important;}
.mx10 {margin-left:10px !important;margin-right:10px !important;}.mx20 {margin-left:20px !important;margin-right:20px !important;}.mx30 {margin-left:30px !important;margin-right:30px !important;}.mx40 {margin-left:40px !important;margin-right:40px !important;}.mx50 {margin-left:50px !important;margin-right:50px !important;}.mx60 {margin-left:60px !important;margin-right:60px !important;}.mx70 {margin-left:70px !important;margin-right:70px !important;}.mx80 {margin-left:80px !important;margin-right:80px !important;}.mx90 {margin-left:90px !important;margin-right:90px !important;}.mx100 {margin-left:100px !important;margin-right:100px !important;}
.my10 {margin-top:10px !important;margin-bottom:10px !important;}.my20 {margin-top:20px !important;margin-bottom:20px !important;}.my30 {margin-top:30px !important;margin-bottom:30px !important;}.my40 {margin-top:40px !important;margin-bottom:40px !important;}.my50 {margin-top:50px !important;margin-bottom:50px !important;}.my60 {margin-top:60px !important;margin-bottom:60px !important;}.my70 {margin-top:70px !important;margin-bottom:70px !important;}.my80 {margin-top:80px !important;margin-bottom:80px !important;}.my90 {margin-top:90px !important;margin-bottom:90px !important;}.my100 {margin-top:100px !important;margin-bottom:100px !important;}
