/*
Theme Name: theme-seiwa-recruit
Author: BLUE SEVEN
*/

@charset "utf-8";
/* CSS Document */

/*--------------------------------------------------------------
/* reset / base
---------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
:root {
  --fs-page-title: clamp( 2.4rem, calc( 1.2857142857142858rem + 3.0952380952380953vw ), 5rem );
  --fs-sec-title: clamp( 2rem, calc( 1.3571428571428573rem + 1.7857142857142856vw ), 3.5rem );
  --fs-bl-title: clamp( 1.6rem, calc( 1.2142857142857142rem + 1.0714285714285714vw ), 2.5rem );
  --fs-large: clamp( 1.4rem, calc( 1.1428571428571429rem + 0.7142857142857143vw ), 2rem );
  --fs-normal: clamp(1.4rem,calc(1.275rem + 0.3vw),1.6rem);
  --ff-en: "Jost", sans-serif;
  --fc-base : #5C5C5F;
  --key-color: #AC9275;
  --bg-bage: #FAF6EB;
  --accent-red: rgba(197,0,24,0.79);
  --accent-green: #98A93F;
}
html{
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  color: var(--fc-base);
  font-family: 'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN', Hiragino Sans, Noto Sans JP,sans-serif;
  font-size: 1.6rem;
  line-height: 1.875;
  font-weight: 500;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  margin:0;
}
p,
ol,
ul,
li,
dl,
dt,
dd,
th,
td,
figcaption{
  font-size: var(--fs-normal);
  margin: 0;
  padding: 0;
}
th{
  font-weight:700;
}
ol,
ul{
  list-style-type:none;
}
a{
  color: #008CFF;
  font-size: var(--fs-normal);
  text-decoration: none;
  transition-duration: 0.4s;
}
img {
  max-width:100%;
  height:auto;
}
table {
  border-collapse: collapse;
}
figure{
  margin:0;
}
video {
  filter: drop-shadow(0px 0px rgba(0,0,0,0));
  outline: none;
  border: none;
}

/*--------------------------------------------------------------
# base-layout
--------------------------------------------------------------*/
section {
  padding: 7rem 0;
  @media (min-width:768px) {
    padding: 14rem 0;
  }
}
.page_visual + section {
  padding-top: 0;
}
.container{
  width: min(95%,540px);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px) {
  .container {
    width: min(95%,1000px);
  }
}
/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
header {
  position: relative;
  z-index: 9999;
}
header .logo {
  margin: 1.9% 0 0 1.9%;

  .wrap {
    display: flex;
    font-family: var(--ff-en);
    font-size: var(--fs-bl-title);
    line-height: 1;
    align-items: center;
    gap: 0 2rem;
  }
  & img {
    flex-shrink: 0;
    width: min(17vw,11.7rem);
  }
  & span > span {
    display: block;
    font-size: 120%;
  }
}
header .header_btn {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
}
header .entry_btn {
  display: flex;
  color: #FFF;
  font-family: var(--ff-en);
  font-size: 1.6rem;
  justify-content: center;
  align-items: center;
  height: 5rem;
  padding: 0 1em;
  background: var(--accent-green);
  @media (min-width:768px) {
    font-size: clamp( 2rem, calc( -0.8444444444444443rem + 3.7037037037037033vw ), 3.6rem );
    height: 10rem;
  }
}
.hamburger {
  & summary {
    display: block;
    list-style: none;
    width: 5rem;
    height: 5rem;
    margin: 0 0 0 auto;
    background: linear-gradient(0,var(--key-color), var(--key-color) 100%) no-repeat center / 4rem 0.2rem,var(--bg-bage);
    cursor: pointer;
    position: relative;
    @media (min-width:768px) {
      width: 10rem;
      height: 10rem;
    }

    &::before,
    &::after {
      content: '';
      display: block;
      height: 0.2rem;
      width: 4rem;
      background: var(--key-color);
      position: absolute;
      left: 0.5rem;
      z-index: 3;
      transition: 0.4s all ease;
      @media (min-width:768px) {
        left: 3rem;
      }
    }
    &::before {
      top: 37%;
    }
    &::after {
      top: 60%;
    }
    & span {
      display: none;
    }
  }
  .gnav {
    width: 100%;
    height: 100vh;
    padding-top: 12rem;
    background: var(--bg-bage);
    transform: scale(0);
    transform-origin: top right;
    transition: all 0.7s;

    & li {
      margin-bottom: 1em;

      &:last-child {
        border-bottom: none;
      }
      & a {
        display: block;
        color: #FFF;
        font-size: 1.8rem;
        text-decoration :none;
        padding: .7em;
      }
    }
  }
  &[open] {
    & summary {
      background: var(--bg-bage);

      &::before {
        top: 50%;
        transform: rotate(45deg);
      }
      &::after {
        top: 50%;
        transform: rotate(-45deg);
      }
    }
    .gnav {
      transform: scale(1);
    }
  }
}
@media (min-width: 992px) {
  header #nav_list {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    list-style: none;
    margin: 0;
    gap: 2%;

    & li {
      font-weight: 700;
      text-align: center;

      & a {
        color: var(--fc-base);
      }
    }
  }
}
/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
footer {
  padding-top: 8rem;
  @media (min-width:768px) {
    padding-top: 16rem;
  }
}
footer .f_link_list {
  width: min(95%,54rem);
  margin: 0 auto 4rem;
  @media (min-width:768px) {
    display: flex;
    justify-content: space-between;
    width: min(95%,176rem);
    margin: 0 auto 8rem;
    gap: 0 2%;
  }

  & li {
    container-type: inline-size;
    margin: 0 auto 2rem;
    background: var(--accent-red);
    border-radius: 5rem;
    @media (min-width:768px) {
      width: 32%;
      margin: 0;
    }
    & a {
      display: block;
      color: #FFF;
      text-align: center;
      padding: 1.5em 1em;
      @media (min-width:768px) {
        padding: 2.8em 1em;
      }
      &::before {
        display: block;
        content: attr(data-title);
        font-family: var(--ff-en);
        font-size: 8cqw;
        line-height: 1;
      }
      &::after {
        display: block;
        content: "";
        width: 2.9em;
        height: 2em;
        margin: 0.5rem auto 0;
        background: #FFF;
        mask:url(/assets/img/common/link_arrow.svg) no-repeat center /contain;
        --webikit-mask:url(/assets/img/common/link_arrow.svg) no-repeat center /contain;
      }
    }
  }
}
footer .content_block {
  width: min(95%,54rem);
  margin: 0 auto 2rem;
  @media (min-width:768px) {
    display: flex;
    width: min(95%,92rem);
    gap: 0 7%;
  }
}
footer .logo {
  margin-bottom: 3.5rem;
}
footer address {
  font-style: normal;
}
footer .sns_list {
  margin-top: 1.9rem;
  & li {
    display: inline-block;
    margin-right: 2.5rem;
  }
}
footer #fnav_list {
  display: grid;
  grid-auto-columns: max-content;
  & a {
    color: var(--fc-base);
  }
}
footer .copyright {
  font-family: var(--ff-en);
  font-size: 1.3rem;
}
