
/* font */
@import url('https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@400;700&display=swap');


:root {
  /* Color */
  --c-main: #153C96;
  --c-base: #E2F6FF;
  --c-bu: #2EA7E0;
  --c-og: #FF9100;
  --c-yw: #FEE203;
  --c-gr: #7FBE26;
  --c-gr-l: #F2F9E9;
  --c-gy: #ddd;

  /* Font */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  /* Layout */
  --content-width: 1200px;
  --content-padding: 20px;

  /* Z-index */
  --z-header: 100;
  --z-modal: 1000;
}


body {
  font-family: YakuHanJPs, "LINE Seed JP", "游ゴシック体", "Yu Gothic", YuGothic, Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-feature-settings: "palt";
  scroll-behavior: smooth !important;
}

ul,ol {
  list-style: none;
}

figure {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}




/* 共通要素 */
.list1 {
  list-style: none;
  li {
    padding-left: 26px;
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    position: relative;
    line-height: 1.4;
    @media (width < 768px) {
      padding-left: 20px;
    }
    &:not(:first-of-type) {
      margin-top: .6em;
    }
    &::before {
      content: '';
      width: 7px;
      height: 7px;
      border-radius: 50%;
      border: 6px var(--c-bu) solid;
      display: block;
      position: absolute;
      top: .3em;
      left: 0;
      @media (width < 768px) {
        width: 7px;
        height: 7px;
        border: 4px var(--c-bu) solid;
        top: .2em;
      }
    }
  }
}


.cv-area {
  padding: 0 0 80px;
  text-align: center;
  @media (width < 768px) {
    padding: 0 5% 40px;
  }
  
  .cv-fukidashi {
    @media (width < 768px) {
      img {
        width: 100%;
      }
    }
  }
  
  .cv__catch {
    margin-bottom: 1.3em;
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 700;
    @media (width < 768px) {
      margin-bottom: .8em;
      line-height: 1.4;
      span {
        display: block;
      }
    }
  }
}

.button__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  a {
    margin-bottom: 1em;
    transition: .3s;
    &:hover {
      opacity: .7;
    }
    @media (width < 768px) {
      margin: .6em auto 1em;
      width: 90%;
      img {
        width: 100%;
      }
    }
  }
}

.shimekiri {
  margin-bottom: .6em;
  color: var(--c-og);
  font-weight: 700;
  font-size: clamp(18px, 3vw, 26px);
  background: linear-gradient(to bottom, transparent 70%, var(--c-yw) 70%);
  line-height: 1.2;
  text-align: center;
}


/* ヒーローイメージ */
.hero {
  padding-bottom: clamp(40px, 8vw ,80px);
  background: url(../img/bg_main.png) repeat-x center top;
  
  @media (width < 768px) {
    background: url(../img/bg_main.png) repeat-y center top / 150% auto;
  }
  
  .hero__head {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-self: flex-start;
    @media (width < 768px) {
      flex-direction: column;
      .hero__head__logo {
        width: 50%;
      }
      .hero__head__tokutyo {
        display: flex;
        justify-content: center;
        img {
          width: 86%;
          margin-right: -1%;
        }
      }
    }
  }
  
  h1 {
    text-align: center;
    @media (width >= 768px) {
      margin-top: -3em;
      padding: 0 5%;
      img {
        transform: scale(0.94);
      }
    }
    @media (width < 768px) {
      padding: 0 3% 1em;
    } 
  }
  
  h2 {
    text-align: center;
    @media (width >= 768px) {
      margin: -2.5em 0 2em;
      padding: 0 5% 20px;
      img {
        transform: scale(1.1);
      }
    }
    @media (width < 768px) {
      margin: 0 4% 2em;
      img {
        width: 100%;
      }
    }
  }
  @media (width < 768px) {
    .button__wrap {
      margin-right: auto;
      margin-left: auto;
      width: 90%;
    }
  }
}



/* 高専インターン研究セミナーとは？ */
.about {
  margin: clamp(30px, 8vw, 60px) auto 0;
  width: min(1000px, 90%);
  
  .about__ttl {
    font-weight: 700;
    font-size: clamp(18px, 2vw, 22px);
    @media (width >= 768px) {
      margin-bottom: .5em;
      display: inline-block;
      padding: .3em 2em;
      border-radius: 999em;
      color: #FFF;
      background: var(--c-main);
    }
    @media (width < 768px) {
      display: inline;
      background: linear-gradient(to bottom, transparent 70%, var(--c-yw) 70%);
      color: var(--c-main);
      line-height: 1.4;
    }
  }
  .about__catch {
    color: var(--c-main);
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.4;
    @media (width < 768px) {
      margin: .5em auto;
    }
  }
  .about__contents {
    display: flex;
    align-items: center;
    justify-content: space-between;
    @media (width >= 768px) {
      margin-top: -2em;
    }
    @media (width < 768px) {
      flex-direction: column-reverse;
    }
  }
  .about__list {
    @media (width < 768px) {
      padding: 2em 1em;
      border-radius: 1em;
      background: var(--c-base);
    }
 
  }
  .about__img {
    @media (width < 768px) {
      margin-bottom: -1.2em;
      width: 80%;
      position: relative;
      z-index: 2;
    }

  }
}