#title {
  height: 600px;
  width: 100%;
  color: #000000;
  font-size: 70px;
  font-weight: 500;
  display: grid;
  align-content: center;
  text-align: center;
  margin: 0px;
  background-image: url(../images/title-image-large.png);
  background-size: cover;
  div {
    font-size: 36px;
    font-weight: 600;
  }
  p {
    font-family: "Jost", sans-serif;
    margin: 0px;
  }
}
#comment-box {
  width: 310px;
  /* height: 200px; */
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #b0e0e6;
  border-radius: 15px;
  z-index: 9;
  .comment-inner {
    padding: 20px;
  }
  .button-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 25px;
    font-weight: 900;
    color: #fff;
    &:hover {
      color: #f9c557;
    }
  }
  p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
  }
  input {
    width: 92%;
    height: 45px;
    margin-top: 10px;
    padding: 0px 4%;
    border: none;
    font-size: 18px;
    font-weight: 600;
  }
  input:focus {
    outline: #f9c557 1px solid;
  }
  .submit {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
  .button-orange {
    width: 94px;
    height: 38px;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: #f9c557;
    font-size: 18px;
    font-weight: 600;

    &:hover {
      color: #f9c557;
      background-color: #fff;
    }
  }

  .balloon2-top {
    position: relative;
    display: inline-block;
    margin-top: 14px;
    padding: 4px 10px;
    min-width: 120px;
    background: #b0e0e6;
    border: solid 2px #fff;
    border-radius: 5px;
    box-sizing: border-box;
    p {
      font-size: 16px;
    }
  }

  .balloon2-top:before {
    content: "";
    position: absolute;
    top: -25px;
    left: 50%;
    margin-left: -16px;
    border: 13px solid transparent;
    border-bottom: 13px solid #b0e0e6;
    z-index: 2;
  }

  .balloon2-top:after {
    content: "";
    position: absolute;
    top: -29px;
    left: 50%;
    margin-left: -17px;
    border: 14px solid transparent;
    border-bottom: 14px solid #fff;
    z-index: 1;
  }

  .balloon2-top p {
    margin: 0;
    padding: 0;
  }
}
/* セクションごとのヘッダー共通設定 */
#section-header {
  position: sticky;
  z-index: 2;
  p {
    margin: 0;
    text-align: center;
  }
  .main {
    font-family: "Jost", sans-serif;
    font-size: 50px;
    font-weight: 500;
    color: #b0e0e5;
  }
  .sub {
    font-size: 20px;
    color: #333;
  }
}

#container {
  margin: auto;
  margin-top: -50px;

  /* ・見出し */
  .caption::before {
    content: "";
    display: inline-block;
    position: relative;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #cfe5d8;
    margin-right: 0.25em;
  }
  .caption {
    font-size: 30px;
    font-weight: 500;
    padding-bottom: 15px;
  }

  /* ボタン */
  .button-blue {
    position: relative;
    z-index: 2;
    display: flex;
    margin: 50px auto 100px auto;
    border-radius: 50px;
    width: 100%;
    max-width: 325px;
    height: 53px;
    color: #fff;
    border: 2px solid #b0e0e6;
    background-color: #b0e0e6;
    overflow: visible;
    cursor: pointer;
    align-items: center;
    text-decoration: none;
    p {
      font-size: 16px;
      font-weight: 600;
      margin: auto;
    }
    .circle {
      margin: 0px 15px 0px -20px;
      width: 25px;
      height: 25px;
      font-size: 16px;
      background-color: #fff;
      color: #b0e0e6;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }
    &:hover {
      background-color: #cfe5d8;
      border: 2px solid #cfe5d8;
      .circle {
        color: #cfe5d8;
      }
    }
  }
  .button-white {
    display: flex;
    margin: 50px auto 100px auto;
    border-radius: 50px;
    width: 100%;
    max-width: 325px;
    height: 53px;
    color: #333;
    border: 2px solid #fff;
    background-color: #fff;
    overflow: visible;
    cursor: pointer;
    align-items: center;
    p {
      font-size: 16px;
      font-weight: 600;
      margin: auto;
    }
    .circle {
      margin: 0px 10px 0px -20px;
      width: 25px;
      height: 25px;
      font-size: 16px;
      background-color: #b0e0e6;
      color: #fff;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }
    &:hover {
      background-color: #b0e0e6;
      border: 2px solid #b0e0e6;
      p {
        color: #fff;
      }
      .circle {
        color: #b0e0e6;
        background-color: #fff;
      }
    }
  }
}
/* INFORMATION 更新情報 */
#information {
  width: 75%;
  max-width: 1600px;
  margin: auto;
  background: white;
  box-shadow: 0px 0px 20px #c8c8c8;
  border-radius: 10px;

  .info-inner {
    /* padding: 50px 0; */
    padding: 4% 0;
  }

  /* INFORMATION 更新情報の部分 */
  .info-header {
    padding-bottom: 10px;
    p {
      margin: 0;
      text-align: center;
    }
    .main {
      font-family: "Jost", sans-serif;
      font-size: 50px;
      font-weight: 500;
      color: #b0e0e5;
    }
    .sub {
      font-size: 20px;
      color: #333;
    }
  }

  /* リスト表示 */
  .info-list {
    width: 90%;
    margin: auto;
    ul {
      margin: 0;
      padding: 0;
    }
    li {
      list-style: none;
      border-bottom: #ddd solid;
    }
    a {
      display: flex;
      align-items: center;
    }
    a,
    a:visited {
      text-decoration: none;
    }
    a:hover {
      .letter {
        color: var(--main-color);
        transition: .2s;
      }
    }
    p {
      margin-left: 20px;
    }

    .date-and-cat {
      display: flex;
      align-items: center;
      .date {
        color: #66c6e2;
        width: 80px;
      }
      .category {
        width: 90px;
        padding: 2px 8px;
        min-height: 23px;
        line-height: 22px;
        border-radius: 5px;
        font-weight: 500;
        text-align: center;
        color: white;
        background: #66c6e2;
        overflow-wrap: break-word;
      }
    }
    .letter {
      color: #333;
    }
  }
}

/* LONG TERM INTERNSHIP 長期インターン */
#intern-ship {
  background: #f8f8f9;
  margin-top: 115px;

  .intern-inner {
    width: 75%;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 25px;
  }
  .comment {
    text-align: center;
    font-size: 18px;
    margin-top: 50px;
    p {
      margin: 0.5rem 0;
      color: #333;
    }
  }
  /* イラストと概要の部分 */
  .content {
    ul {
      padding: 0;
    }
    .indent {
      text-indent: 1em;
    }
    .bullet-list {
      li:nth-child(n + 2)::before {
        content: "・";
      }
    }
    .content-list {
      display: flex;
      padding-top: 50px;
      align-items: center;
    }
    img {
      max-width: 251px;

      aspect-ratio: 1;
      border-radius: 10px;
      /* background: #b0e0e5; */
    }
    .caption-content {
      padding-left: 50px;
      list-style: none;
      li {
        margin: 0;
        padding-top: 0;
        padding-bottom: 0.5rem;
        text-align: start;
        color: #333;
      }
    }
  }

  .caption {
    margin-top: 50px;
    margin-bottom: 10px;
    padding-bottom: 0;
    text-indent: 0em;
    color: #333;
    text-align: center;
  }
}

/* ABOUT APPLICATION 応募について */
#about-application {
  .about-app-inner {
    width: 75%;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 90px;
    padding-bottom: 25px;
    color: #333;
  }
  /* #containerからオーバーライド */
  .caption {
    margin-top: 50px;
    text-align: center;
  }

  /* 選考の流れ */
  .steps {
    display: flex;
    justify-content: space-between;

    .step {
      width: 31%;
      display: flex;
      flex-direction: column;
      align-items: center;
      .step-number {
        font-family: "Jost", sans-serif;
        font-size: 30px;
        font-weight: 500;
        margin: 15px 0 0 0;
        color: #cfe5d8;
      }
      .step-title {
        font-size: 24px;
        font-weight: 500;
        margin: 5px 0 0 0;
      }
      .step-about {
        line-height: 30px;
      }
    }
    img {
      max-height: 174px;
      /* aspect-ratio: 1; */
    }
  }
}

/* QUESTION BOX 質問箱 */
#question-box {
  width: 75%;
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 25px;
  background-color: #cfe5d8;
  border-radius: 40px;

  /* ?マークの配置用クラス */
  .icons {
    padding: 7.5%;
    padding-top: 50px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* 左右?アイコン */
    .question-icon {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      height: 268px;
      width: 26%;

      /* 位置調整用付与クラス */
      img {
        width: auto;
      }
      .upper {
        max-height: 108px;
        height: 100%;
      }
      .lower {
        max-height: 75px;
        height: 100%;
      }
      .left {
        align-self: flex-start;
      }
      .right {
        align-self: flex-end;
      }
    }

    /* 真ん中boxアイコン */
    .q-box-icon {
      display: flex;
      height: 268px;
      aspect-ratio: 1;
      background-color: #ffffff;
      border-radius: 50%;
      align-items: center;
      img {
        margin: auto;
      }
    }
  }

  /* 共通セクションヘッダーをオーバーライド */
  #section-header {
    .main {
      color: #fff;
    }
  }

  /* イラストと説明文 */
  .introduction {
    width: 75%;
    margin: auto;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .illust {
      width: 45%;
      background: #fff;
      border-radius: 15px;
      img {
        height: 251px;
        margin: auto;
        display: block;
      }
    }
    p {
      width: 50%;
      line-height: 34px;
      font-size: 18px;
      margin: 0;
    }
  }

  /* 共通ボタンをオーバーライド */
  .button-white {
    max-width: 270px;
    margin: 50px auto 45px auto;
  }
}

/* LEARNING CONTENTS 学習コンテンツ */
#learning-contents {
  margin: auto;
  margin-top: 115px;
  margin-bottom: 145px;
  width: 70%;
  max-width: 1600px;
  .learning-inner {
    color: #333;
  }
  /* イラストと概要の部分 */
  .content {
    ul {
      margin: 0;
      padding: 0;
    }
    .content-list {
      display: flex;
      padding-top: 50px;
      align-items: center;
      justify-content: center;
    }
    img {
      max-width: 251px;
      aspect-ratio: 1;
      border-radius: 10px;
      /* background: #b0e0e5; */
    }
    .caption-content {
      padding-left: 50px;
      .caption {
        padding-bottom: 25px;
        font-size: 30px;
      }
      p {
        margin: 0;
        text-align: start;
        color: #333;
        font-size: 18px;
      }
    }
  }
  /* 共通ボタンオーバーライド */
  .button-blue {
    margin: 55px auto auto 50px;
    max-width: 270px;
  }
}

/* DAILY LIFE インターン生の日常 */
#daily-life {
  background: #f8f8f9;
  .daily-inner {
    width: 75%;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 85px;
    padding-bottom: 20px;

    #card-list {
      margin-top: 25px;
    }
  }
}

/* 浮いてる画像設定 */
.intern-inner,
.about-app-inner,
.learning-inner,
.daily-inner {
  position: relative;
}
.float-img {
  position: absolute;
  z-index: 1;
}
.float-img-01 {
  right: -14%;
  top: -90px;
}
.float-img-02 {
  left: -11%;
  bottom: -128px;
}
.float-img-03 {
  z-index: -1;
  right: -13%;
  bottom: 40px;
}
.float-img-04 {
  left: -14%;
  top: -30px;
}
.float-img-05 {
  right: -8%;
  top: -70px;
}

/* 大きい要素収縮用 */
@media screen and (max-width: 1080px) {
  /* ABOUT APPLICATION 応募について */
  #about-application {
    .steps {
      img {
        max-height: 135px;
      }
      .step {
        .step-number {
          font-size: 26px;
        }
        .step-title {
          font-size: 22px;
        }
      }
    }
  }

  /* QUESTION BOX 質問箱 */
  #question-box {
    .icons {
      padding-top: 32px;
      img {
        height: 87px;
      }
      .question-icon {
        height: 159px;
      }
      .q-box-icon {
        height: 159px;
      }
    }
    .introduction {
      width: 84%;
      p {
        line-height: 26px;
        font-size: 16px;
      }
      .illust {
        img {
          height: 199px;
        }
      }
    }
    .button-white {
      margin: 25px auto;
    }
  }
}
/* タブレット版以下 */
@media screen and (max-width: 768px) {
  #title {
    height: 411px;
    font-size: 50px;
    background-image: url(../images/mobile-toppage-image.png);
    p {
      width: 90%;
      margin: auto;
    }
  }
  #comment-box {
    width: 275px;
    /* height: 180px; */
    .comment-inner {
      padding: 10px;
      p {
        font-size: 16px;
      }
    }
    .button-close {
      top: 0px;
      right: 0px;
    }
    input {
      height: 35px;
      font-size: 16px;
    }
    .balloon2-top {
      padding: 0px 10px;
      p {
        font-size: 16px;
      }
    }
    .button-orange {
      width: 85px;
      height: 30px;
      font-size: 16px;
    }
  }
  /* セクションごとのヘッダー共通設定 */
  #section-header {
    .main {
      font-size: 36px;
    }
    .sub {
      font-size: 18px;
    }
  }

  #container {
    .caption {
      font-size: 26px;
    }
    .caption::before {
      width: 20px;
      height: 20px;
      top: 1px;
    }
  }

  /* INFORMATION 更新情報 */
  #information {
    width: 90%;
    /* INFORMATION 更新情報の部分 */
    .info-header {
      .main {
        font-size: 36px;
      }
      .sub {
        font-size: 18px;
      }
    }
    /* リスト表示の部分 */
    .info-list {
      li {
        flex-wrap: wrap;
        padding: 10px 0;
        a {
          display: flex;
          align-items: flex-start;
          flex-direction: column;
        }
      }
      p {
        margin: 0;
        margin-left: 10px;
      }

      .date-and-cat {
        flex-wrap: wrap;
        .category {
          min-width: 60px;
          width: auto;
          padding: 0 10px;
          min-height: 20px;
          line-height: 20px;
          font-size: 12px;
        }
      }
    }
  }

  /* LONG TERM INTERNSHIP 長期インターン */
  #intern-ship {
    margin-top: 75px;
    .intern-inner {
      width: 92%;
      .button-blue {
        margin: 20px auto 35px auto;
      }
    }
    .comment {
      text-align: left;
      font-size: 16px;
    }
    /* 概要 */
    .content {
      .content-list {
        padding-top: 25px;
      }
      img {
        max-width: 210px;
        margin-right: 25px;
        margin-bottom: 25px;
      }
      .caption-content {
        padding-left: 0;
        .caption {
          font-size: 26px;
        }
        p {
          font-size: 16px;
        }
      }
    }

    /* こんなものを作りました #containerからオーバーライド */
    .caption {
      text-align: left;
      margin-bottom: 5px;
    }
  }

  /* ABOUT APPLICATION 応募について */
  #about-application {
    .about-app-inner {
      width: 92%;
    }
  }

  /* QUESTION BOX 質問箱 */
  #question-box {
    width: 92%;
    border-radius: 20px;
    #section-header {
      .sub {
        font-size: 20px;
      }
    }
    .introduction {
      width: 90%;
      flex-direction: column;
      .illust {
        width: 100%;
        max-width: 312px;
      }
      p {
        width: 100%;
        max-width: 312px;
        margin-top: 15px;
      }
    }
  }

  /* LEARNING CONTENTS 学習コンテンツ */
  #learning-contents {
    width: 92%;
    margin: 65px auto;
    .content {
      .content-list {
        padding-top: 25px;
      }
      img {
        max-width: 210px;
        margin-right: 25px;
        margin-bottom: 25px;
      }
      .caption-content {
        padding-left: 0;
        .caption {
          font-size: 26px;
        }
        p {
          font-size: 16px;
        }
      }
    }
    .button-blue {
      margin: 25px auto auto 0px;
    }
  }

  /* DAILY LIFE インターン生の日常 */
  #daily-life {
    .daily-inner {
      width: 92%;
      padding-top: 60px;
      padding-bottom: 75px;
    }
    .button-blue {
      margin: 40px auto 55px auto;
    }
  }

  /* 浮いてる画像設定 */
  .float-img-01 {
    right: 0;
    top: -55px;
    img {
      width: 130px;
    }
  }
  .float-img-02 {
    left: 0;
    bottom: -85px;
    img {
      width: 136px;
    }
  }
  .float-img-03 {
    z-index: 1;
    right: -7px;
    bottom: -30px;
    img {
      width: 130px;
    }
  }
  .float-img-04 {
    left: -3%;
    top: -100px;
    img {
      width: 120px;
    }
  }
  .float-img-05 {
    right: 0;
    top: -40px;
    img {
      width: 140px;
    }
  }
}

/* スマホ版 */
@media screen and (max-width: 600px) {
  /* LONG TERM INTERNSHIP */
  #intern-ship {
    /* イラストと概要の部分 */
    .content {
      .content-list {
        flex-direction: column;
      }
      img {
        margin-right: 0;
      }
    }
  }

  /* ABOUT APPLICATION 応募について */
  #about-application {
    .steps {
      display: block;
      .step {
        width: 100%;
      }
    }
  }
  /* QUESTION BOX 質問箱 */
  #question-box {
    .icons {
      justify-content: center;
      .question-icon {
        display: none;
      }
    }
  }
  /* LEARNING CONTENTS 学習コンテンツ */
  #learning-contents {
    .learning-inner {
      .content {
        li {
          flex-direction: column;
        }
        img {
          margin-right: 0;
        }
      }
      .button-blue {
        margin: auto;
        margin-top: 25px;
      }
    }
  }
}
