@charset "UTF-8";
@import url("_root.css");

/*
* 共通スタイル
*/
html {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--body-text-size-sp);
  font-weight: 400ss;
  background-color: var(--body-background-color);
  /* background-image: url('../../images/body_back.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center; */
  @media screen and (min-width:769px) {
    font-size: var(--body-text-size-pc);
  }
  &::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../../images/body_back.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}


/* ヘッダー */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 16px 16px 16px;
  padding: 0;
  @media screen and (min-width:769px) {
    margin: 16px;
  }
  /* ロゴ */
  .header-logo {
    display: inline-block;
    margin-bottom: 24px;
    a {
      display: block;
      margin: 0 auto;
      text-align: center;
    }
    img {
      margin: 0 auto;
      width: 80%;
      height: auto;
      @media screen and (min-width: 769px) {
        width: 400px;
        height: auto;
      }
    }
  }
}

/* メニュー */
nav {
  display: block;
  margin: 0 auto;
  margin: 16px 16px;
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  @media screen and (min-width:769px) {
    margin: 40px 0;
  }

  ol {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    list-style-type: none;

    li {
      position: relative;
      margin: 0;
      padding: 0;
      &::after {
        content: '';
        display: block;
        position: absolute;
        top: 20%;
        right: 0;
        width: 1px;
        height: calc(100% - 40%);
        background-color: #FFFFFF;
      }
      &:last-of-type {
        &::after {
          display: none;
        }
      }
      a {
        display: block;
        padding: 0 0.8rem;
        width: 100%;
        height: 100%;
        font-weight: 500;
        color: #ffffff;
        text-decoration: none;
        text-align: center;
        &:hover {
          text-decoration: none;
        }
      }
    }
  }
}


/* リンク */
a {
  position: relative;
  color: inherit;
  transition: all 0.6s;
  text-decoration: none;

  &:hover:not(.no-underline) {
    color: inherit;
    &::after {
      transform: scale(1, 1);
    }
  }
  /* &:not(:has(img, svg)) {
    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: #FFFFFF;
      transition: all .3s;
      transform: scale(0, 1);
      transform-origin: left top;
    }
  } */
  &.underline-black {
    border-bottom: 1px solid #101010;
  }
  &.hover-underline {
    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      transition: all .3s;
      transform: scale(0, 1);
      transform-origin: left top;
    }
  }
  &.hover-underline-white {
    &::after {
      background-color: #FFFFFF;
    }
  }
  &.hover-underline-black {
    &::after {
      background-color: #121212;
    }
  }
  img {
    transition: all 0.6s;

    &:hover {
      opacity: 0.88;
    }
  }
}

/* テキスト揃え */
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* セクション */
section {
  margin: 0 auto;
  padding: 0;
}

/* コンテンツ幅 */
.contents {
  width: 100%;
}
.contents-1280 {
  margin: 0 auto;
  padding: 0 16px;
  max-width: calc(1280px - 32px);
}
.contents-960 {
  margin: 0 auto;
  padding: 0 16px;
  max-width: calc(960px - 32px);
}

/* 白BOX */
.box-white {
  margin-bottom: 64px;
  padding: 40px 24px;
  background-color: #FFFFFF;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.64));
  @media screen and (min-width:769px) {
    margin-bottom: 80px;
    padding: 48px;
  }  
}

/* 見出し */
h1 {
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  text-align: center;
}

/* Backリンク */
.page-back {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0 auto;
  padding: 24px 16px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-align: center;
  background-color: #FFFFFF;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.64));
  @media screen and (min-width: 769px) {
    padding: 40px 16px;
  }
  a {
    position: relative;
    padding-left: 26px;
    &::after {
      content: '';
      display: block;
      position: absolute;
      top: 2px;
      right: auto;
      bottom: 0;
      left: 0;
      width: 20px;
      height: 20px;
      background-image: url(../../images/arrow_left.svg);
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      transition: all 0.3s ease;
    }
    &:hover {
      &::after {
        left: -4px
      }
    }
  }
}

/* フッター */
footer {
  margin: 80px auto 16px auto;
  @media screen and (min-width:769px) {
    margin-top: 80px auto 16px auto;
  }
  .copy {
    color: #FFFFFF;
    font-size: 12px;
    text-align: center;
  }
}


/* フォーム */
input[type=text]
, input[type=email] {
  padding: 8px;
  width: 100%;
  font-size: inherit;
  border: 1px solid #a2a2a2;
  border-radius: 4px;
}
textarea {
  padding: 8px;
  width: 100%;
  font-size: inherit;
  border: 1px solid #a2a2a2;
  border-radius: 4px;
}