@charset "UTF-8";
/* 共通 */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Libre Bodoni';
  color: #333232;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
.wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 4%;
}
.sub-title {
  font-size: 2rem;
  display: inline-block;
  border-bottom: 1px solid #333232;
  margin: 0 90% 50px 0;
}
#about,
#service,
#works {
  padding: 50px 0;
  text-align: center;
}
.site-img{
	display: flex;
	justify-content: center;
	gap: 50px;
	margin-top: 3rem;
}

.site-img p{
	text-align: center;
}

.box1,
.box2{
	width: 30%;
	height: 100%;
}

/* Header */
.page-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}
.main-nav ul {
  display: flex;
  gap: 100px;
}
.main-nav a {
  color: #333232;
}
/* Mainvisual */
.mainvisual {
  background-image: url(../images/pc_toppage.webp);
  /* background-repeat: no-repeat; ress.css指定 */
  background-size: cover;
  background-position: center;
  min-height: calc(100svh - 60px);
  /* min-height指定を削除し縦横比固定 */
  /* aspect-ratio: 16/6; */
  padding-top: 2%;
  padding-left: 45%;
}
.mainvisual p {
  font-size: clamp(3rem, 7vw, 6rem);
  font-family: serif;
  text-transform: uppercase;
  color: #333232;
  opacity: 0;
  text-shadow: 2px 2px 2px #aaa;
  animation: fadein 1.5s 1s forwards;
}
@keyframes fadein {
  0% {
    transform: translate(0, 300px);
  }
  30% {
    opacity: 0.3;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
/* About */
.about-container {
  display: flex;
  justify-content: center;
	gap: 20px;
}
.about-container img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin: 0 0 10px;
}
.about-container p {
  width: 50%;
  padding: 5rem 0 0 0;
  text-align: justify;
}
/* SERVICE */
.service-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.mouthhover {
  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative;
}
.mouthhover .caption {
  font-size: 100%;
  color: #fffafa;
  padding-top: 90px;
  padding-right: 70px;
}
.mouthhover .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; /* マスクを表示しない */
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.mouthhover:hover .mask {
  opacity: 1; /* マスクを表示する */
  padding-left: 90px; /* 右にずらす */
}

/* WORKS */
.flex {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.flex img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
}
.mouthhoverv2 {
  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative; /* 相対位置指定 */
}
.mouthhoverv2 .captionv2 {
  font-size: 150%;
  text-align: center;
  padding-top: 100px;
  color: #fffafa;
}
.mouthhoverv2 .maskv2 {
  width: 100%;
  height: 100%;
  position: absolute; /* 絶対位置指定 */
  top: 0;
  left: 0;
  border-radius: 16px;
  opacity: 0; /* マスクを表示しない */
  background-color: rgba(0, 0, 0, 0.61); /* マスクは半透明 */
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.mouthhoverv2:hover .maskv2 {
  opacity: 1; /* マスクを表示する */
}

.chirashi-size img{
	max-width: 60%;
	height: auto;
}

.item img {
  width: 700px;
  height: 350px;
}
#works h3 {
  padding: 1.25rem 0;
}
.item video{
	width: 100%;
	height: 100%;
}

/* CONTACT */
.contents h2 {
  font-size: 1.7rem;
  margin: 0 77% 50px 0;
}
.contact div {
  padding-bottom: 1.6rem;
  border-bottom: 1px dashed #6cc6c4;
}
.contact > p:last-of-type {
  margin-bottom: 1rem;
  padding: 0; /* 入力内容確認ページ対応 */
  background: none; /* 入力内容確認ページ対応 */
}
.contact label {
  display: block;
  padding: 1rem 0;
}
.contact input[type='text'],
.contact input[type='email'],
.contact select,
.contact textarea {
  width: 100%;
  max-width: 28em;
  padding: 0.4rem 0.8rem;
  border: 1px solid #4a72bf;
  font-size: 1rem; /* iOS対応 */
  color: #515151;
}
.contact input[type='text'],
.contact select {
  width: 14em;
}
.contact textarea {
  height: 8em;
  vertical-align: top;
  border-radius: 0; /* iOS対応 */
}
input:focus,
select:focus,
textarea:focus {
  background-color: #e8f0fe;
}
.contact button[type='submit'] {
  background: #4a72bf;
  color: #fffafa;
  padding: 0.6rem 2rem;
  margin: 2rem auto;
}
button[type='submit']:hover {
  opacity: 0.6;
}
.btn-wrapper {
  text-align: center;
}

/* FOOTER ---------------- */
.copyright {
  padding: 20px 0;
  background: #4a72bf;
  color: #fffafa;
  text-align: center;
}
.copyright a {
  color: #fffafa;
}
/* ページトップボタン */
.pagetop {
  cursor: pointer;
  position: fixed;
  right: 5%;
  bottom: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  transition: 0.3s;
  color: #fffafa;
  background: #4a72bf;

  /*   デフォルトは非表示 */
  opacity: 0;
}
.pagetop:hover {
  box-shadow: 0 0 10px #00a6c4;
}

/*----------------- スマホ版
---------------------------------------*/
@media (max-width: 800px) {
  /* 共通 */
  .wrapper {
    width: 90%;
  }
  #service,
  #works {
    padding: 0 0 50px 0;
    text-align: center;
  }
  #about {
    padding: 50px 0;
    text-align: center;
  }
  .main-nav ul {
    gap: 30px;
  }

	.site-img{
		display: block;
	}
	.box1,
	.box2{
		width: 50%;
		margin: 3rem auto;
	}
  /* Mainvisual */
  .mainvisual {
    background-image: url(../images/sp_toppage.webp);
    /* background-repeat: no-repeat; ress.css指定 */
    background-size: cover;
    background-position: center;
    min-height: calc(100svh - 60px);
    /* min-height指定を削除し縦横比固定 */
    /* aspect-ratio: 16/6; */
    padding-top: 8%;
    padding-left: 2%;
  }
  .mainvisual p {
    font-size: clamp(4rem, 7vw, 6rem);
    font-family: serif;
    text-transform: uppercase;
    color: #333232;
    opacity: 0;
    text-shadow: 2px 2px 2px #aaa;
    animation: fadein 1.5s 1s forwards;
  }
  @keyframes fadein {
    0% {
      transform: translate(0, 300px);
    }
    30% {
      opacity: 0.3;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 1;
      transform: translate(0, 0);
    }
  }
  .about-container {
    display: block;
  }
  .about-container p {
    width: auto;
    font-size: 0.75rem;
    padding: 0;
  }
  /* SERVICE */
  .service-container {
    flex-direction: column;
    gap: 20px;
  }
  .service-container li {
    margin-bottom: 50px;
  }
  .mouthhover .caption {
    font-size: 120%;
    color: #fffafa;
    padding-top: 45%;
    padding-right: 90px;
  }
  /* WORKS */
  .flex {
    display: block;
  }
  .flex img {
    margin-bottom: 20px;
  }
  .item {
    width: 100%;
    height: auto;
  }
  .mouthhoverv2 .maskv2 {
    width: 100%;
    height: 100%;
  }
	.chirashi-size img{
	max-width: 40%;
	height: auto;
}
  /* CONTENTS */
  .contents h2 {
    margin: 0 40% 50px 0;
  }
  .contact input[type='text'],
  .contact input[type='email'],
  .contact select,
  .contact textarea {
    width: 100%;
  }
  /* ページトップボタン */
  .pagetop {
    display: none;
  }
}

/*----------------- babystep.html
---------------------------------------*/
.w-sub-title{
	text-align: center;
	margin: 60px 0 60px 0;
}
.w-container dt{
	font-size: 1.25rem;
border-bottom: 1px solid #333232;
display: inline;
}
.w-container dd{
	margin-bottom: 20px;
}

/*----------------- jajauma.html
---------------------------------------*/
.jaja-box1,
.jaja-box2{
	width: 60%;
	height: 100%;
}

@media (max-width: 800px) {
.jaja-box1,
	.jaja-box2{
		width: 80%;
		margin: 3rem auto;
	}
}

/*----------------- banpaku.html
---------------------------------------*/
.ban-box1{
	margin: 3rem auto;
	text-align: center;
}

.ban-box1 img{
	width: 50%;
}
