@charset "UTF-8";
/* PC */
/* セクション1 */
.section-1 {
  width: 100%;
  height: 100vh;
  background-image: url("../img/top/top1.png");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.h1-top {
  color: #fff;
  max-width: 90%;
  line-height: 1.3;
}
.h1-top h1 {
  font-size: 6rem;
  font-weight: 900;
  margin-bottom: 30px;
  font-family: "Roboto", sans-serif;
  letter-spacing: 2px;
}
.headline-border {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  display: inline-block;
  padding: 0 20px;
}
.headline-border::before, .headline-border::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 150px;
  height: 2px;
  background-color: #fff;
}
.headline-border::before {
  left: -150px;
  transform: translateY(-50%);
}
.headline-border::after {
  right: -150px;
  transform: translateY(-50%);
}
/* 共通のセクション背景 */
.image-section {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
}
/* セクション2の背景画像 */
.section-2 {
  background-image: url("../img/top/top2.png");
}
/* テキストボックス */
.section-inner {
  padding: 50px 60px;
  max-width: 600px;
}
.h2-top {
  font-size: 5rem;
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: 2px;
  line-height: 1;
  font-family: "Roboto", sans-serif;
}
.sub-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.description {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 30px;
  font-weight: 500;
}
.angled-border-button {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding-right: 50px;
  padding-bottom: 10px;
  padding-left: 40px;
}
.angled-border-button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(109% - 20px);
  height: 2px;
  background-color: #fff;
  transition: width 0.1s ease; /* ← 反応速度UP */
}
.angled-border-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 5px;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transform-origin: bottom right;
  transition: right 0.1s ease; /* ← 反応速度UP */
}
/* 🟡 ホバー時のアクション */
.angled-border-button:hover {
  opacity: 0.7;
}
.angled-border-button:hover::before {
  width: calc(111% - -2px); /* 下線だけ伸ばす */
}
.angled-border-button:hover::after {
  right: -20px; /* 位置だけ右に10pxスライド */
}
.section-3 {
  background-image: url("../img/top/top3.png");
}
.section-4 {
  background-image: url("../img/top/top4.png");
}
.section-5 {
  background-image: url("../img/top/top5.png");
}
.section-6 {
  background-image: url("../img/top/top6.png");
}
/* タブレット対応（画面幅1024px以下） */
@media screen and (max-width: 1024px) {}
/* タブレット対応（画面幅768px以下） */
@media screen and (max-width: 768px) {
  .h1-top h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    font-family: "Roboto", sans-serif;
    letter-spacing: 2px;
  }
  .headline-border::before, .headline-border::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 95px;
    height: 2px;
    background-color: #fff;
  }
  .headline-border::after {
    right: -95px;
    transform: translateY(-50%);
  }
  .headline-border::before {
    left: -95px;
    transform: translateY(-50%);
  }
}
@media screen and (max-width: 480px) {
  .section-1 {
    width: 100%;
    height: 23vh;
    background-image: url(../img/top/top1.png);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .h1-top h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
  }
  .headline-border {
    position: relative;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    padding: 0 20px;
  }
  .headline-border::before, .headline-border::after {
    width: 30px;
  }
  .headline-border::before {
    left: -20px;
  }
  .headline-border::after {
    right: -20px;
  }
  .image-section {
    height: auto;
    display: block;
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    color: #fff;
  }
  .section-inner {
    padding: 0;
  }
  .section-upper {
    height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .h2-top {
    font-size: 2rem;
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
  }
  .sub-title {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
    color: #fff;
    text-align: center;
  }
  .section-lower {
    background-color: #fff;
    padding: 30px 20px;
    color: #333;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .description {
    width: 80%;
    font-size: 0.8rem;
    line-height: 2;
    margin-bottom: 20px;
    font-weight: 500;
    color: #333;
    max-width: 90%;
  }
  .angled-border-button {
    font-size: 0.7rem;
    font-weight: 500;
    padding-right: 50px;
    padding-left: 40px;
    padding-bottom: 10px;
    color: #333;
    display: inline-block;
    align-self: flex-start;
    max-width: 90%;
    margin-left: 52%;
  }
  .angled-border-button::before {
    background-color: #333;
    width: 100%;
  }
  .angled-border-button::after {
    border-bottom: 2px solid #333;
    right: 0;
    width: 15px;
    height: 15px;
  }
}