@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  background-color: #FFFFFE;
  color: #454545;
  font-family: 'Josefin Sans', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-optical-sizing: auto;
}
a {
  color: #454545;
  text-decoration: none;
  display: block;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
.wrapper {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 35px;
}
.container {
  margin: 200px 0 150px;
}
p {
  font-weight: 400;
  line-height: 32px;
  color: #333;
}
#header ul li {
  font-weight: 350;
}
h2 {
  color: #454545;
  font-weight: 700;
  font-size: 45px;
  text-align: center;
}
#footer p {
  font-size: 11px;
}

/*-------------------------------------------
header
-------------------------------------------*/
#header {
  height: 72px;
  box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 25%);
  display: flex;
  padding: 0px 64px 12px;
  align-items: flex-end;
  background-color: #FFFFFE;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 1;
  z-index: 2;
}
h1 {
  max-width: 120px;
  width: 100%;
  height: auto;
  line-height: 0;
}
.nav {
  display: flex;
  margin: 0 0 0 auto;
}
.nav-page {
  display: flex;
  width: 310px;
  justify-content: space-between;
  transform: translateY(+5px);
}
.nav-page li a:hover {
  text-decoration: underline;
}
.nav-sns {
  display: flex;
  width: 92px;
  justify-content: space-between;
  margin-left: 40px;
}
.nav-sns li {
  font-size: 20px;
  line-height: 0;
}
.nav-sns li a:hover {
  color: #aeaeae;
}

/*-------------------------------------------
work
-------------------------------------------*/
.content {
  margin: 50px 0 75px;
  width: 100%;
  height: auto;
  position: relative;
}
#slider li {
  text-align: center;
}
#slider li img {
  display: inline-block;
  height: auto;
}
#slider {
  width: 100%;
  margin: 0 auto;
  line-height: 0;
}
h4 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #454545;
  margin-bottom: 12px;
}
.subtitle {
  display: block;
  color: #333;
  font-size: 16px;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 350;
  margin-bottom: 28px;
}
.container p {
  font-size: 14px;
  line-height: 24px;
  color: #333;
  font-weight: 400;
  text-align: justify;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
}
/* 矢印のスタイル */
.prev-arrow, .next-arrow {
  position: absolute;
  bottom: 0;
  transform: translateY(+2px);
  cursor: pointer;
  z-index: 10;
}
.prev-arrow {
  left: 0;
}
.next-arrow {
  right: 0;
}
/* ドットのスタイル */
/* dotsを丸くカスタマイズするCSS */
.dots-wrap {
  display: flex;
  justify-content: center;
  margin: 35px 0 0;
}
.dots-wrap li {
  width: 8px;
  height: 8px;
  margin: 0 8px;
  background-color: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dots-wrap li:hover,
.dots-wrap li.slick-active {
  background-color: #333;
}
.dots-wrap li button {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0;
  border: none;
  background-color: transparent;
}

/*-------------------------------------------
nav-button
-------------------------------------------*/
/* ベーススタイル */
.nav-button ul {
  padding: 0;
  margin: 0;
  display: flex; /* リストを横並びに */
  justify-content: center; /* 中央揃え */
  align-items: center; /* 垂直方向に揃え */
  gap: 100px; /* 各アイテムの間隔 */
  margin-bottom: 50px;
}
.nav-button li {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 12px;  
}
.nav-button li a {
  color: #9a9a9a;
  transition: color 0.3s; /* スムーズな色変化 */
}
.nav-button li svg {
  display: block; /* 画像をブロック要素に */
  margin: 0 auto; /* 画像を中央揃え */
  width: auto; /* アスペクト比を維持 */
  height: 30px;
  margin-bottom: 5px;
  transition: fill 0.3s;
  fill: #9a9a9a;
}
.nav-button .here {
  color: #333;
  transition: color 0.3s
}
/* .prevをホバーした場合 */
.nav-button .prev:hover a,
.nav-button .prev:hover svg,
.nav-button .prev:active a,
.nav-button .prev:active svg {
  color: #333; 
  fill: #333;
}
/* .prevをホバーした場合に.hereのスタイルを変更 */
.nav-button .prev:hover ~ .here,
.nav-button .prev:active ~ .here {
  color: #9a9a9a; 
}
.nav-button .prev:hover ~ .here svg,
.nav-button .prev:active ~ .here svg {
  fill: #9a9a9a;
}

.nav-button ul:has(.next:hover) .here,
.nav-button ul:has(.next:active) .here {
  color: #9a9a9a; 
}

.nav-button ul:has(.next:hover) .here svg,
.nav-button ul:has(.next:active) .here svg {
  fill: #9a9a9a;
}
.nav-button .next:hover a,
.nav-button .next:hover svg,
.nav-button .next:active a,
.nav-button .next:active svg {
  color: #333; 
  fill: #333;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  width: 100%;
  height: 50px;
  box-shadow: 0px -1px 4px 0px rgb(0 0 0 / 25%);
  text-align: center;
  display: table; 
  background-color: #FFFFFE;
}
#footer p {
  display: table-cell; 
  vertical-align: middle;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .wrapper {
    padding: 0 25px;
  }
  .container {
    margin: 50px 0 75px;
 
  }
  p {
    font-size: 14px;
    line-height: 24px;
  }
  h2 {
    font-size: 38px;
    margin-bottom: 50px;
    margin-top: 140px;
    line-height: 1;
  }

/*------
header
------*/
#header {
  display: block;
  height: 90px;
  padding: 0px 25px;
}
h1 {
  width: 105px;
  margin-top: 13px;
}
.nav {
  flex-direction: column-reverse;
  transform: translateY(-7px);
}
.nav-page {
  width: 100%;
}
.nav-sns {
  width: 102px;
  margin: 0 0 0 auto;
  transform: translateY(-14px);
}
.nav-page li a:active,
.nav-sns li a:active {
  transform: scale(1.2);
}
.content {
  width: 100%;
  height: auto;
  margin-bottom: 50px;
}
.dots-wrap {
  margin: 27px 0 0;
  transform: translateY(0%);
}
.prev-arrow, .next-arrow {
  top: calc(100% - 10px);
  transform: translateY(-11px);
}
.subtitle {
  margin-bottom: 24px;
}
.nav-button ul {
  gap: 75px; /* 各アイテムの間隔 */
}
}