@charset "UTF-8";

/* 共通設定項目
-------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: rgba(251, 251, 255, 1);
  color: #252525;
  font-size: 100%;
  font-family: 'Josefin Sans', 'Noto Sans JP', sans-serif;
  text-align: center;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl {
  margin-top: 0;
}

p {
  line-height: 1.7;
}

img {
  vertical-align: bottom;
}

* {
  box-sizing: border-box;
}

ul li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #aaaaaa;
  cursor: pointer;
}

/* headerの設定
--------------------------------------------------  */

header {
  height: 70px;
  width: 100%;
  top: 0;

  position: fixed;
  z-index: 100;

  background-color: rgba(251, 251, 255, 1);
  transition: all 0.3s ease-out;
}

.header-inner {
  margin: 0 auto;
  max-width: 90vw;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  margin-bottom: 0;
  height: 60px;
  box-sizing: border-box;
}

.header-logo h1 {
  height: 100%;
}

.header-logo img {
  height: 100%;
}

.header-logo a {
  height: 100%;
  width: auto;
  display: block;
}

.main-menu {
  margin-bottom: 0;
  padding-left: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  list-style-type: none;
}

.main-menu__item {
  margin-left: 3vw;

  /* 子要素はみ出し防止のための高さ指定 */
  height: 2vh;
}

.main-menu__item a {
  /* ホバーアニメーションの親要素 */
  position: relative;

  font-size: 1rem;
  color: rgba(39, 39, 39, 0.5);
  text-decoration: none;
}

/* ホバーアニメーション */
.main-menu__item a::before {
  content: "";
  left: 100%;
  right: 100%;
  bottom: 0;
  height: 0.25vh;
  background-color: rgba(0, 255, 136, 1);
  -webkit-transition: left 0.2s ease, right 0.2s ease;
  -moz-transition: left 0.2s ease, right 0.2s ease;
  -o-transition: left 0.2s ease, right 0.2s ease;
  transition: left 0.2s ease, right 0.2s ease;

  /* ホバーアニメーションの子要素 */
  position: absolute;
}

.main-menu__item a:hover::before {
  left: 0;
  right: 0;
}

nav ul li.current a,
nav ul li a:hover {
  color: rgba(39, 39, 39, 1);
}

.child-menu {
  visibility: hidden;
  transform: scale(1, 0);
  transform-origin: top;
  opacity: 0;
  transition: .3s;
}

/* ホバー時の2層目メニュー */
.main-menu>li:hover>.child-menu {
  visibility: visible;
  transform: scale(1, 1);
  opacity: 1;
}


/* mainの設定
--------------------------------------------------  */
main {
  margin: 0 auto;
  margin-bottom: 0;
  max-width: 90vw;
}

/*WORKS,HOPE,CoNTENTセクションの共通設定
--------------------------------------------------  */
.works-section,
.hope-section {
  padding-top: 30vh;
}

.contact-section {
  padding: 30vh 0 30vh 0;
}

/*WORKS,HOPE,CONTACTセクションのグリッドレイアウト設定
--------------------------------------------------  */
.grid {
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  place-items: center;
}

.grid__title,
.flex__title {
  font-size: clamp(2rem, 1.643rem + 1.9vw, 4rem);

}

.grid__summary {
  font-size: clamp(1.5rem, 1.232rem + 1.43vw, 3rem);
}

.grid__summary p {
  margin-top: 1vh;
  font-size: clamp(1.5rem, 1.232rem + 1.43vw, 3rem);
}

.grid__caption,
.flex__caption {
  font-size:  clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
}

/* topセクションの設定
--------------------------------------------------  */

.top {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg {
  height: 100%;
  width: 100%;
  position: relative;
}

.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title {
  margin: 0;
  padding: 1vh 0;
  width: 100%;
  top: 50%;
  /*親のtopから50%*/
  left: 50%;
  /*親のleftから50%*/

  position: absolute;
  /*子要素abusolute*/

  text-align: center;
  transform: translateY(-50%) translateX(-50%);
  /*子要素自体の大きさを考慮*/
}

#logo-container__ayz img {
  max-width: 90%;
}

#logo-container__design img {
  max-width: 90%;
}



/* worksセクションの設定
--------------------------------------------------  */

/* Workコンテンツ */

.works-content {
  margin-top: 20vh;
  /* min-height: 100vh; */
}

.grid {
  margin-bottom: 10vh;
}

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.detail-title {
  grid-row: 1 / 2;
  grid-column: 1 / 3;
  font-size: clamp(1.2rem, 1.057rem + 0.76vw, 2rem)
}

.detail-description {
  /* margin-left: 5%; */
  text-align: left;
}

.detail-img img {
  width: 90%;
}

.detail-img a {
  display: block;
}

.caption{
  margin-bottom: 5%;
  font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
}

.description{
  margin-bottom: 5%;
  font-size: clamp(0.8rem, 0.764rem + 0.19vw, 1rem);
}

.date{
  margin-bottom: 5%;
  font-size: clamp(0.8rem, 0.764rem + 0.19vw, 1rem);
}

.category{
  margin-bottom: 5%;
  padding: 5px;

  font-size: clamp(0.5rem, 0.446rem + 0.29vw, 0.8rem);
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;

  border: solid 1px #00ff00;
  border-radius: 5px;
}


/* スライダー */
.swiper-area {
  /* 矢印の親要素 */
  position: relative;
  margin-top: 2.5vh;
  overflow: hidden;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 矢印の幅確保 */
.swiper-container{
  width: 90%;
}

.swiper-wrapper {
  width: 100%;
  margin: auto;
}

.swiper-slide img {
  width: 90%;
  height: auto;
}


/* サムネイル */
.thumb-list {
  padding: 20px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(0.5rem, 0.446rem + 0.29vw, 0.8rem);
}

/* サムネイルの大きさ */
.thumb-item {
  margin: 2%;
  flex: 0 0 8%;
}

.thumb-item a {
  padding: 5%;
  transition: 0.25s;
}

/* サムネイルがアクティブになった時 */
.thumb-media-active span {
  color: #252525;
}

.thumb-media-active a {
  border-radius: 10px;

  background: #fbfbff;
  box-shadow: 31px 31px 76px #dadade,
    -31px -31px 76px #ffffff;
}

.thumb-item img {
  max-width: 100%;
  height: auto;
}

.thumb-link {
  display: block;
}

/* フェードアップのアニメーション */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 矢印 */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;

  &:after {
    position: absolute;
    content: ""; /* 空指定してデフォルトの矢印を消す */
    width: 0; 
    height: 0;
    border-style: solid;
    top: -50%;
  }
}

/* 次へ矢印をカスタマイズ */
.swiper-button-next {
  right: 25px;

  &::after {
    border-width: 16px 0 16px 20px;
    border-color: transparent transparent transparent #252525;
    left: 100%;
  }
}

/* 前へ矢印をカスタマイズ */
.swiper-button-prev {
  left: 25px;

  &::after {
    border-width: 16px 20px 16px 0;
    border-color: transparent #252525 transparent transparent;
    right: 100%;
  }
}


/* スクロールアニメ非表示 */
.scroll{
  display: none;
}





/* HOPEセクションの設定 
--------------------------------------------------  */
.hope-section {
  min-height: 60vh;
}

.grid__img img {
  width: 50%;
}

.citing {
  color: #aaaaaa;
}

/* CONTACTセクションの設定
--------------------------------------------------  */

.contact-section {
  min-height: 80vh;
}

.contact-section .grid__caption {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}

.mail {
  text-align: center;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  margin: auto;
  border-radius: 50%;

  background: #fbfbff;
  box-shadow: 50px 50px 45px #e4e4e8,
    -50px -50px 45px #ffffff;
  transition: 0.25s;
}

.button:hover {
  box-shadow: 16px 16px 32px #f8f8fc,
    -16px -16px 32px #fefeff;
  border: solid 1px #00ff00;
}

/* モーダルを開くボタン */
.modal-open{
  /* position: fixed;
  top: 50%;
  left: 50%;
  font-size: 16px;
  font-weight: bold;
  width: 300px;
  height: 60px;
  color: #fff;
  background: #000;
  border: none;
  cursor: pointer;
  translate: -50% -50%; */
}

/* モーダルと背景の指定 */
.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 100;
}

/* モーダルの擬似要素の指定 */
.modal:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active{
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.modal-container{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  /* max-width: 600px; */
  width: 90%;
}

/* モーダルを閉じるボタンの指定 */
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content{
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content p{
  margin: 1em 0;
}

.thanks{
  opacity: 0;
}

.display{
  opacity: 1;
}

.none{
  display: none;
}

.panel{
  display: flex;
}

.form-explanation{
  width: 50%;
  padding-right: 5%;
}

form{
  width: 50%;
}

.form span{
  margin-left: 5px;
  font-size: 12px;
  color: rgb(255, 109, 109);
}

.form dd{
  margin-bottom: 1rem;
}

/* フォームのデザイン */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
textarea {
  border: none;
  width: 100%;
  background-color:#f1f1f1;
}

input[type="text"], 
input[type="email"], 
input[type="tel"]{
  height:3rem;
}

textarea{
  height: 6rem;
}


input[type="submit"] {
  border: none;
  background-color: #252525;
  color: #fbfbff;
  /* margin: 20px 0; */
  padding: 2rem;
  width: 100%;
}

/* footerの設定
--------------------------------------------------  */
footer {
  margin-top: 0;
  padding: 3vh 5%;
  height: 100%;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;

  color: #ffffff;
  background-color: #252525;
}

.profile {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  text-align: left;
  font-size: 12px;
}

.create {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  font-size: 12px;
}

footer img {
  height: 80%;
}

.gratitude {
  display: table;
  text-align: right;
  font-size: 12px;
}

.gratitude span:nth-child(1),
.gratitude span:nth-child(2),
.gratitude span:nth-child(3),
.gratitude span:nth-child(4),
.gratitude span:nth-child(5),
.gratitude span:nth-child(6) {
  color: #00ff00;
}

