* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Serif JP", serif;
  background-color: rgba(240, 240, 240, 1);
}
h1,
h2 {
  font-weight: 600;
}
h2 {
  font-size: 28px;
}
p {
  font-weight: 400;
  font-size: 18px;
}
span {
  display: inline-block;
}
a {
  text-decoration: none;
  color: black;
}
ul {
  list-style: none;
}
.container {
  width: 1000px;
  max-width: 90%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  h2 {
    font-size: 20px;
  }
  p {
    font-size: 14px;
  }
}
/* header部分 */
.headerContainer {
  height: 130px;
  width: 100%;
  background-color: rgba(221, 219, 240, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;
}
.headerContainer img {
  height: 39px;
  width: 100px;
}
.headerContainer ul {
  display: flex;
  gap: 39px;
}
.headerContainer li a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
}
.headerItem span {
  font-size: 12px;
}
.hamburgerButton {
  display: none;
}
@media (max-width: 768px) {
  .headerContainer {
    height: 80px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
  }
  .headerContainer img {
    height: 39px;
    width: 130px;
  }
  .hamburgerButton {
    display: flex;
    width: 39px;
    height: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: none;
    position: fixed;
    right: 20px;
    z-index: 1200;
  }
  .hamburgerButton span {
    background-color: rgb(135, 135, 135);
    height: 3px;
    width: 30px;
    transition: all 0.3s;
  }
  .hamburgerButton.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  .hamburgerButton.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburgerButton.open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .headerNav {
    display: none;
  }
  /* ハンバーガーメニューオープン */
  .headerNav.open {
    display: block;
    width: 100%;
    height: 100vh;
    background-color: rgba(221, 219, 240, 1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  .headerNav.open ul {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    transform: translateY(-30px);
  }
  .headerNav.open li a {
    font-size: 18px;
  }
  .headerNav.open .headerItem span {
    font-size: 12px;
  }
}
/* header部分 */

/* hiroセクション */
.herosection {
  margin-top: 130px;
  width: 100%;
  height: 800px;
  overflow: hidden;
}
.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}
.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slideshow img.active {
  opacity: 1;
}
@media (max-width: 768px) {
  .herosection {
    margin-top: 80px;
    height: 350px;
  }
  .slideshow img {
    height: 350px;
  }
  .slideshow img:nth-child(2) {
    object-position: left;
  }
  .slideshow img:nth-child(3) {
    object-position: right;
  }
}
/* hiroセクション */

/* profileセクション */
.profileSection {
  margin-top: 100px;
}
.profileSection h2 {
  font-weight: 400;
  text-align: center;
  border-bottom: 1px solid rgb(187, 187, 187);
  padding-bottom: 2px;
}
.appealContainer {
  margin: 0 auto;
  width: 550px;
  max-width: 100%;
  margin-top: 100px;
  text-align: center;
}
.appealContainer p:nth-child(2) {
  margin-top: 50px;
}
.appealContainer p:nth-child(3) {
  margin-top: 10px;
}
.appealContainer p:nth-child(4) {
  margin-top: 50px;
}
.appealContainer p:nth-child(5) {
  margin-top: 10px;
}
.appealContainer p:nth-child(6) {
  margin-top: 50px;
}
.appealContainer p:nth-child(7) {
  margin-top: 10px;
}
@media (max-width: 768px) {
  .profileSection {
    margin-top: 50px;
  }
  .appealContainer {
    margin-top: 50px;
  }
}
/* profileセクション */

/* セクションの帯 */
.sectionImage {
  height: 300px;
  width: 100%;
  object-fit: cover;
  margin-top: 100px;
}
@media (max-width: 768px) {
  .sectionImage {
    height: 150px;
    margin-top: 50px;
  }
}
/* セクションの帯 */

/* メニューセクション */
.menusec h2 {
  text-align: center;
  margin-top: 100px;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
@media (max-width: 768px) {
  .menusec h2 {
    margin-top: 70px;
  }
}
/* カット部分 */
.cutContainer {
  margin-top: 100px;
  display: flex;
  justify-content: center;
}
.cutContainer img {
  height: 200px;
  width: 350px;
  max-width: 100%;
  border-radius: 39px;
}
.cutBackground {
  height: 290px;
  width: 320px;
  max-width: 100%;
  background-image: url("image/icon/cutbackground.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cutTitle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.cutTitle img {
  height: 30px;
  width: 30px;
  border-radius: 0;
  margin-top: 5px;
}
.cutTitle p {
  border-bottom: 1px solid black;
}
.cutBackground ul {
  margin-top: 20px;
  width: 180px;
}
.cutBackground ul li {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
@media (max-width: 1024px) {
  .cutContainer {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .cutContainer {
    margin-top: 70px;
  }
}
/* カット部分 */

/* カラー部分 */
.colorContainer {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.colorContainer img {
  height: 200px;
  width: 350px;
  max-width: 100%;
  border-radius: 39px;
}
.colorBackground {
  height: 290px;
  width: 339px;
  max-width: 100%;
  background-image: url("image/icon/colorbackground.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.colorTitle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.colorTitle img {
  height: 30px;
  width: 30px;
  border-radius: 0;
  margin-top: 20px;
}
.colorTitle p {
  border-bottom: 1px solid black;
}
.colorBackground ul {
  margin-top: 20px;
  width: 180px;
}
.colorBackground ul li {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.colorBackground p {
  max-width: 180px;
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
}
@media (max-width: 1024px) {
  .colorContainer {
    flex-wrap: wrap-reverse;
  }
}
/* カラー部分 */
/* メニューセクション */

/* ニュースセクション */
.newssec h2 {
  text-align: center;
  margin-top: 100px;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.newscontainer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 50px;
  gap: 50px;
}
.newsItem {
  width: 280px;
  height: 200px;
  background-image: url("image/icon/Frame 5.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.newsItem time {
  font-size: 16px;
}
.newsItem h3 {
  font-size: 16px;
  font-weight: 400;
}
.newsbtncontainer {
  display: flex;
  justify-content: flex-end;
  margin-top: 50px;
}
.newsbtn {
  display: inline-block;
  text-align: center;
  font-size: 18px;
  padding: 8px 15px;
  background-color: rgba(205, 203, 225, 1);
  border-radius: 100px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .newssec h2 {
    margin-top: 70px;
  }
  .newsbtncontainer {
    justify-content: center;
  }
  .newsbtn {
    font-size: 16px;
    padding: 6px 10px;
  }
}
/* ニュースセクション */

/* アクセスセクション */
.accesssec h2 {
  text-align: center;
  margin-top: 100px;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.accessContainer {
  display: flex;
  margin-top: 70px;
  max-width: 650px;
  justify-content: space-between;
  margin-bottom: 100px;
}
.accessContainer img {
  width: 312px;
  max-width: 100%;
  height: 250px;
}
.accessItem {
  text-align: center;
  width: 312px;
}
.accessItem p:nth-child(3) {
  margin-top: 30px;
}
.accessItem p:nth-child(5) {
  margin-top: 30px;
}
.accessBtnbackground {
  margin-top: 30px;
  height: 70px;
  width: 100%;
  position: relative;
}
.accessBtnbackground img {
  height: 60px;
  width: 230px;
  position: absolute;
  right: 0;
}
.accessBtnbackground p {
  position: absolute;
  right: 10px;
  top: 15px;
  color: rgb(255, 150, 150);
}
.yoyakuBtncontainer {
  display: flex;
  justify-content: center;
}
.yoyakuBtncontainer a {
  padding: 8px 15px;
  background-color: rgba(205, 203, 225, 1);
  border-radius: 100px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .accessContainer {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .accessBtnbackground p {
    right: 30px;
    top: 15px;
  }
  .yoyakuBtncontainer a {
    padding: 6px 10px;
    font-size: 16px;
  }
}
/* アクセスセクション */

/* フッター部分 */
footer {
  width: 100%;
  height: 70px;
  background-color: rgba(205, 203, 225, 1);
  display: grid;
  place-items: center;
}
/* フッター部分 */

/* スクロールアニメーション初期状態 */
.animated {
  opacity: 0;
  transform: translateY(35px);
  animation-delay: 0.5s;
  transition: all 1s ease-in-out;
}
.animated.show {
  opacity: 1;
  transform: translateY(0);
}
