/*
Theme Name: alpen-work-theme
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( 2rem, calc( 0.64rem + 3.7777777777777777vw ), 5.4rem );
  --fs-sec-title: clamp( 2rem, calc( 1rem + 2.7777777777777777vw ), 4.5rem );
  --fs-intro-title: clamp( 1.8rem, calc( 1.08rem + 2vw ), 3.6rem );
  --fs-bl-title: clamp( 1.8rem, calc( 1.44rem + 1vw ), 2.7rem );
  --fs-normal: clamp( 1.6rem, calc( 1.52rem + 0.2222222222222222vw ), 1.8rem );
  --fc-base: #000000;
  --ff-maru: "M PLUS Rounded 1c", sans-serif;
  --key-color: #38619E;
  --gray: #747474;
  --light-gray: #C4C4C4;
  --bg-blue: #DFF1FA;
  --bg-pale-blue: #FAFDFF;
}
html{
  font-size: 62.5%;
}
body {
  color: var(--fc-base);
  font-family: 'Noto Sans JP', Meiryo, "メイリオ", YuGothic, sans-serif;
  font-size: 1.8rem;
  line-height: 2;
  font-weight: 400;
  -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 {
  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;
}

/*--------------------------------------------------------------
# common-css
--------------------------------------------------------------*/
.no_scroll {
  overflow: hidden;
  height: 100vh;
}
.page_visual {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 760 / 160;
  margin-top: 7rem;
  background: url(/assets/img/common/page_visual_sp.jpg) no-repeat center / contain;
  @media (min-width:768px) {
    aspect-ratio: 1920 / 300;
    background-image: url(/assets/img/common/page_visual_pc.jpg);
    @media (min-width:992px) {
      margin-top: 10rem;
    }
  }
}
.page_title{
  font-family: var(--ff-maru);
  font-size: var(--fs-page-title);
  text-align: center;
  line-height: 1;
  &::after {
    display: block;
    content: attr(data-title);
    color: var(--key-color);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1.8rem;
  }
}
section {
  padding: 7rem 0;
  @media (min-width:768px) {
    padding: 10rem 0;
  }
}
.section_title{
  font-size: var(--fs-sec-title);
  font-family: var(--ff-maru);
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.5;
  width: fit-content;
  margin: 0 auto 1.5em;
  padding: 0 0.5em;
  transform: rotate(0.05deg);
  position: relative;
  z-index: 3;

  &::before {
    display: block;
    content:"";
    width: 100vw;
    height: 0.2rem;
    background: var(--key-color);
    position: absolute;
    top: 50%;
    left: calc(50% - 50vw);
    z-index: -2;
  }
  &::after {
    display: block;
    content:"";
    width: 100%;
    height: 100%;
    background: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
.block_title{
  font-size: var(--fs-bl-title);
  font-family: var(--ff-maru);
  line-height: 1.5;
}
.btn_wrap {
  margin-top: 5rem;
}
.btn{
  display: flex;
  color: #FFF;
  font-family: var(--ff-maru);
  justify-content: center;
  align-items: center;
  letter-spacing: 0.1em;
  line-height: 1.5;
  width: fit-content;
  min-width: 30rem;
  padding: 0.8em 1.6em;
  gap: 2rem;
  background: var(--key-color);
  border: 0.2rem solid var(--key-color);
  border-radius: 999rem;
  transform: rotate(0.05deg);

  &::after {
    display: block;
    content: "";
    width: 0.8em;
    height: 0.8em;
    border-right: 0.3rem solid currentColor;
    border-bottom: 0.3rem solid currentColor;
    transform: rotate(-45deg) skew(10deg, 10deg);
  }
  &:hover {
    color: var(--key-color);
    background: #FFF;
  }
}
.btn_square {
  display: block;
  color: #FFF;
  font-family: var(--ff-maru);
  font-size: var(--fs-bl-title);
  text-align: center;
  line-height: 1.5;
  max-width: 57.5rem;
  margin: 0 auto;
  padding: 1.2em 0.5em;
  background: var(--key-color);
  border: 0.2rem solid var(--key-color);
  border-radius: 1rem;
  transform: rotate(0.05deg);
  &::after {
    display: inline-block;
    content: "→";
    margin-left: 1em;
  }
  &:hover {
    color: var(--key-color);
    background: #FFF;
  }
}
.inline_block {
  display: inline-block
}
/*--------------------------------------------------------------
# base-layout
--------------------------------------------------------------*/
.container{
  width: min(95%,1200px);
  margin-right: auto;
  margin-left: auto;
}
.column2_img_text {
  padding: 2.5%;
  background: #FFF;
  border: 0.1rem solid var(--light-gray);
  border-radius: 1rem;
  @media (min-width: 768px) {
    display: flex;
    justify-content: space-between;
  }
  
  .img_wrap {
    margin-bottom: 1rem;
    @media (min-width: 768px) {
      width: 48%;
      margin-bottom: 0;
    }
  }
  .text_wrap {
    @media (min-width: 768px) {
      width: 48%;
    }
    .block_title {
      margin-bottom: 1em;
    }
    .btn_wrap {
      margin: auto 0 0 auto;
    }
  }
  + .column2_img_text {
    margin-top: 5rem;
  }
}
.grid_column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem,37rem));
  justify-content: center;
  gap: 4.5rem 3.75%;
  
  .item {
    display: flex;
    flex-direction: column;
    padding: 8%;
    background: #FFF;
    border: 0.1rem solid var(--light-gray);
    border-radius: 1rem;

    .block_title {
      margin-bottom: 0.2em;
    }
  }
}
/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
header .inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height: 7rem;
  gap: 3rem;
  background: #FFF;
  @media (min-width:992px) {
    height: 10rem;
  }
}
header .logo{
  width:calc(100% - 60px);
  max-width: 285px;
  margin-left: 2%;
}
header .gnav{
  display:none;
}
header .contact_btn {
  display:none;
}
.hamburger {
  & summary {
    display: block;
    list-style: none;
    width: 7rem;
    height: 7rem;
    background: linear-gradient(0, transparent, transparent 2%, #FFF 2%, #FFF 98%) no-repeat center / 5rem 0.2rem,var(--key-color);
    cursor: pointer;
    position: relative;

    &::before,
    &::after {
      content: '';
      display: block;
      height: 0.2rem;
      width: 5rem;
      background: #FFF;
      position: absolute;
      left: 1rem;
      z-index: 3;
      transition: 0.4s all ease;
    }
    &::before {
      top: 37%;
    }
    &::after {
      top: 60%;
    }
    & span {
      display: none;
    }
  }
  .sp_nav {
    width: 100%;
    height: 100vh;
    padding-top: 7rem;
    background: var(--key-color);
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transition: all 0.7s;

    & li {
      margin-bottom: 1.5em;

      & a {
        display: block;
        color: #FFF;
        font-family: var(--ff-maru);
        font-size: 1.8rem;
        text-decoration :none;
        padding: 0 .7em;
      }
    }
  }
  &[open] {
    & summary {
      background: var(--key-color);

      &::before {
        top: 50%;
        transform: rotate(45deg);
      }
      &::after {
        top: 50%;
        transform: rotate(-45deg);
      }
    }
    .sp_nav {
      opacity: 1;
      overflow: scroll;
    }
  }
}
@media (min-width: 992px) {
  .hamburger{
    display: none;
  }
  header .gnav {
    display:block;
    flex-grow: 1;
    max-width: 100rem;
    height: 100%;
    margin: 0 0 0 auto;
  }
  header .gnav_list {
    display:flex;
    flex-wrap:wrap;
    justify-content: right;
    height: 100%;
    margin: 0;

    & li {
      font-family: var(--ff-maru);
      font-weight: 700;
      text-align: center;

      & a {
        display: flex;
        color: var(--fc-base);
        align-items: center;
        height: 100%;
        padding: 0 1em;
        transform: rotate(0.05deg);
        &:hover {
          background: rgba(74, 178, 230, 0.3);
        }
      }
    }
  }
  header .contact_btn {
    display: block;
    color: #FFF;
    align-self: stretch;
    width: 13%;
    background: var(--key-color);
    border: 0.2rem solid var(--key-color);
    transition: 0.4s background ease;
    & a {
      display: flex;
      flex-direction: column;
      color: inherit;
      font-family: var(--ff-maru);
      justify-content: center;
      align-items: center;
      min-width: 7em;
      height: 100%;
      padding: 0.5em;
      transform: rotate(0.05deg);
      &::after {
        content: "CONTACT";
        font-size: 1.2rem;
        text-align: center;
      }
    }
    &:hover {
      color: var(--key-color);
      background: #FFF;
    }
  }
}
/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
.footer_contact {
  background: url(/assets/img/common/footer_contact_bg_sp.jpg) no-repeat center / cover;
  @media (min-width:768px) {
    background-image: url(/assets/img/common/footer_contact_bg_pc.jpg);
  }
}
.footer_contact .contact_title {
  color: var(--key-color);
  font-family: var(--ff-maru);
  font-size: var(--fs-page-title);
  line-height: 1;
  width: fit-content;
  margin: 0 auto;
  position: relative;

  &::before {
    display: block;
    content:"CONTACT";
    color: var(--fc-base);
    font-family: var(--ff-maru);
    font-size: var(--fs-normal);
    text-align: center;
    margin-bottom: 2em;
  }
  &::after {
    display: block;
    content:"";
    width: 100%;
    height: 0.3rem;
    margin-top: 3rem;
    background: #000;
  }
}
.footer_contact .text {
  font-family: var(--ff-maru);
  font-size: var(--fs-bl-title);
  width: fit-content;
  margin: 7rem auto;
}
.footer_contact .contact_btn_wrap {
  gap: 3rem 3.75%;
  
  & a {
    display: flex;
    flex-flow: column wrap;
    color: #FFF;
    font-family: var(--ff-maru);
    font-size: var(--fs-bl-title);
    justify-content: center;
    line-height: 1.5;
    height: 4.5em;
    padding: 0.5em 0 0.5em 25%;
    border: 0.3rem solid #FFF;
    border-radius: 1rem;
    transform: rotate(0.05deg);
    &.tel {
      background: url(/assets/img/common/icon_tel.svg) no-repeat center left 8% / 10%,#38B0E0;
    }
    &.line {
      background: url(/assets/img/common/icon_line.svg) no-repeat center left 8% / 10%,#00B900;
    }
    &.mail {
      background: url(/assets/img/common/icon_mail.svg) no-repeat center left 8% / 10%,#EAA503;
    }
  }
}
footer {
  background: var(--key-color);
}
footer .content_block {
  padding: 7rem 0;
  @media (min-width:768px) {
    display: flex;
    justify-content: space-between;
    gap: 0 2rem;
  }
}
footer .address_wrap {
  .logo {
    margin-bottom: 1.5rem;
  }
  & address {
    color: #FFF;
    font-style: normal;
    font-size: var(--fs-normal);
    margin-bottom: 1rem;
  }
}
footer .logo {
  max-width: 35rem;
  padding: 1rem 2rem 0;
  background: #FFF;
}
footer .nav_wrap {
  color: #FFF;
  margin-top: 2em;
  @media (min-width:768px) {
    margin-top: 0;
  }
  & dt {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2em;
  }
  & ul {
    display: flex;
    flex-flow: column wrap;
    @media (min-width:768px) {
     max-height: 18em;
    }
    & li {
      margin: 0 2.5em 0.5em 0;
      & a {
        color: #FFF;
        font-weight: 700;
      }
      &::before {
        content: "・";
      }
    }
  }
}
footer .copyright {
  color: #FFF;
  font-size: 1.2rem;
  text-align: center;
  padding-bottom: 2em;
}
/*--------------------------------------------------------------
# ページナビ
--------------------------------------------------------------*/
.wp-pagenavi {
	width: fit-content;
  margin: 7rem auto 0;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  color: var(--key-color);
  text-align: center;
  line-height: 1;
  width: 5rem;
	margin: 0.4em;
  padding: 0.8em 0;
  background: #FFF;
  border: 0.1rem solid currentColor;
}
.wp-pagenavi span.current {
  color: #FFF;
	background: var(--key-color);
}
.wp-pagenavi a:hover {
  background: rgba(56,97,158,0.3);
}


