@charset "utf-8";


/*==========================================
 ベース
===========================================*/
*, *:before, *:after {
  box-sizing: border-box;
}

/*=== フォント ===*/
body { font-family: 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック','MS P Gothic', system-ui, sans-serif; font-weight: 500; }

/*=== 画像 ===*/
img {
  width: 100%;
  border: none;
  vertical-align: bottom;
  margin: 0;
  padding: 0;
}

/*=== ベースsection ===*/
body > section > section {
  max-width: 1024px;
  box-sizing: content-box;
  margin: 0 auto;
  padding: 0 7.33%;
  /*  
  margin: 0 7.33%;
  */
}

/*=== flexBOX ===*/
.flexBOX {
  display: flex;
  flex-wrap: wrap;
}

/*=== clearfix ===*/
.clearfix:after {
	height: 0;
	display: block;
	clear: both;
	visibility: hidden;
	content: "."; 
	zoom: 1;
	overflow: hidden;
  font-size: 0.1em;
  line-height: 0;
}

/*=== 表示切り替え ===*/
.pc_on { display: block; }
.sp_on { display: none; }

@media screen and (min-width: 0px) and (max-width:767px) {
.pc_on { display: none; }
.sp_on { display: block; }
}

/*=== aタグ ===*/
a { text-decoration: none; }
a:hover { text-decoration: underline; }


/*==========================================
 html
===========================================*/
html {
  font-size: 10px;
  line-height: 1;
  margin: 0;
  padding: 0;
}


/*==========================================
 body
===========================================*/
body {
  font-size: 1.4rem;
  color: #000000;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
}

@media screen and (min-width: 0px) and (max-width:767px) {
body {
  font-size: 1.6rem;
  padding-bottom: 80px;
}
}


/*==========================================
ヘッダー
===========================================*/
header {
  width: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  z-index: 1000;
  opacity: 0;
  transition: opacity 500ms;
}

header nav { border-bottom: #000000 solid 1px; }
header a { display: block; padding-bottom: 4px; }

header li {
  align-self: flex-start;
  position: relative;
}

header a img {
  vertical-align: top;
  transition: opacity 150ms ease-out;
}
header a:hover img { opacity: 0; }

header li a::after {
  content: '';
  width: 100%;
  height: 1px;
  background-color: #ff82aa;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transition: transform 150ms ease-out;
}
#gNav > li:not(:nth-of-type(1)) > a:hover::after,
#g_subNav > li > a:hover::after { transform: scaleX(1) }

#gNav {
  list-style: none;
  margin: 24px 48px;
  padding: 0;
}

#gNav > li:first-of-type a {
  width: 201px;
  height: 36px;
  margin-right: 72px;
}
#gNav > li:first-of-type a:hover img { opacity: 0.6; }

#gNav > li:nth-of-type(n + 2) a::before {
  content: '';
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  position: absolute;
  opacity: 0;
  transition: opacity 150ms ease-out;
}
#gNav > li a:hover::before { opacity: 1; }

#gNav > li:nth-of-type(n + 2) { margin-top: 12px; }

#gNav > li:nth-of-type(2) { width: 59px; margin-right: 72px; }
#gNav > li:nth-of-type(2) > a::before {
  width: 59px;
  height: 13px;
  background-image: url("../img/g_about_over.webp");
}

#gNav > li:nth-of-type(3) { width: 64px; }
#gNav > li:nth-of-type(3) > a::before {
  width: 64px;
  height: 13px;
  background-image: url("../img/g_works_over.webp");
}

#gNav > li:nth-of-type(4) { width: 82px; margin-left: auto; }
#gNav > li:nth-of-type(4) > a::before {
  width: 82px;
  height: 13px;
  background-image: url("../img/g_contact_over.webp");
}

/* プルダウンメニュー用 */
#gNav > li:nth-of-type(3):hover #g_subNav { display: block; }
#gNav > li:nth-of-type(3):hover > a img  { opacity: 0; }
#gNav > li:nth-of-type(3):hover > a::before  { opacity: 1; }
#gNav > li:nth-of-type(3):hover > a::after  { transform: scaleX(1); }

#g_subNav {
  list-style: none;
  display: none;
  position: absolute;
  top: 22px;
  left: 0;
  margin-top: -11px;
  padding: 0px 0 0 50px;
}

#g_subNav > li {
  background: rgba(255,255,255,0.75);
  margin-top: 16px;
  padding-top: 4px;
}

#g_subNav > li:nth-of-type(1) { width: 83px; }
#g_subNav > li:nth-of-type(1) > a::before {
  width: 83px;
  height: 11px;
  background-image: url("../img/g_magazine_over.webp");
}

#g_subNav > li:nth-of-type(2) { width: 98px; }
#g_subNav > li:nth-of-type(2) > a::before {
  width: 98px;
  height: 11px;
  background-image: url("../img/g_book_over.webp");
}

#g_subNav > li:nth-of-type(3) { width: 101px; }
#g_subNav > li:nth-of-type(3) > a::before {
  width: 101px;
  height: 11px;
  background-image: url("../img/g_freepaper_over.webp");
}

#g_subNav > li:nth-of-type(4) { width: 106px; }
#g_subNav > li:nth-of-type(4) > a::before {
  width: 106px;
  height: 11px;
  background-image: url("../img/g_advertising_over.webp");
}

#g_subNav > li:nth-of-type(5) { width: 66px; }
#g_subNav > li:nth-of-type(5) > a::before {
  width: 66px;
  height: 11px;
  background-image: url("../img/g_others_over.webp");
}

#sp_gBtn { display: none; }

/* SP */
@media screen and (min-width: 0px) and (max-width:767px) {  
header {
  top: auto;
  background: rgba(255,255,255,0.85);
  padding-bottom: 88px;
  /* bottom: 88px; */
  /* bottom: -508px; */
  bottom: 0;
  opacity: 1;
  transform: translateY(577px);
  transition: transform 500ms;
}

#spMENUfixed_on { position: fixed; }
#spMENUfixed_on header { height: 100%; }
#spMENUfixed_on header nav { height: 100%; overflow-y: scroll; }
  
header a {  padding: 16px 0; }
  
#gNav {
  display: block;
  margin: 8px 32px 0;
}

#gNav li {
  border-bottom: #ccc solid 1px;
  padding: 0 0 0 8px;
  display: block;
}

header li a::after { content: none; }
  
#gNav > li:first-of-type a {
  height: auto;
  margin-right: 0;
}
#gNav > li:first-of-type a:hover img { opacity: 0.6; }

#gNav > li a:hover::before { opacity: 1; }

#gNav > li:nth-of-type(n + 2) { margin-top: 0; }
#gNav > li:nth-of-type(2) { width: 100%; margin-right: 0; }
#gNav > li:nth-of-type(2) > a img { width: 59px; }
#gNav > li:nth-of-type(3) { width: 100%; border-bottom: none; }
#gNav > li:nth-of-type(3) > a { border-bottom: #ccc solid 1px; }
#gNav > li:nth-of-type(3) > a img { width: 64px; }
#gNav > li:nth-of-type(4) { width: 100%; border-bottom: none; margin-left: 0; }  
#gNav > li:nth-of-type(4) > a img { width: 82px; }

#g_subNav {
  position: relative;
  top: 0;
  left: 0;
  margin-top: 0;
  padding: 0px 0 0 0;
  display: block;
}

#g_subNav > li {
  width: 100%;
  background: transparent;
  margin-top: 0;
  padding-top: 0;
}

#g_subNav > li:nth-of-type(1) { width: 100%; }
#g_subNav > li:nth-of-type(1) img { width: 83px; }
#g_subNav > li:nth-of-type(2) { width: 100%; }
#g_subNav > li:nth-of-type(2) img { width: 98px; }
#g_subNav > li:nth-of-type(3) { width: 100%; }
#g_subNav > li:nth-of-type(3) img { width: 101px; }
#g_subNav > li:nth-of-type(4) { width: 100%; }
#g_subNav > li:nth-of-type(4) img { width: 106px; }
#g_subNav > li:nth-of-type(5) { width: 100%; }
#g_subNav > li:nth-of-type(5) img { width: 66px; }

/* spボタン */
#sp_gBtn {
  width: 54px;
  height: 54px;
  background: #ff82aa;
  border-radius: 27px;
  display: block;
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 500ms;
}
#sp_gBtn:hover {
  /* opacity: 0.6; */
}

#sp_gBtn > span {
  width: 30px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 14px;
  left: 12px;
  transition: all 500ms;
}
  
#sp_gBtn span span {
  width: 100%;
  height: 1px;
  background-color: #fff;
  border-radius: 4px;
  display: block;
  margin-top: 7px;
}
#sp_gBtn span span:nth-of-type(1) { margin-top: 0; }

#sp_gBtn p {
  color: #fff;
  font-size: 10px;
  text-align: center;
  text-indent: 0.5px;
	line-height: 100%;	
  letter-spacing: 0.5px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
}
  
#sp_gBtn[data-open="true"] > span { transform: rotate(270deg); }

#sp_gBtn[data-open="true"] span span:nth-of-type(1),
#sp_gBtn[data-open="true"] span span:nth-of-type(3) { width: 18px; }

#sp_gBtn[data-open="true"] span span:nth-of-type(2) {
  width: 24px;
  transform: translate(5px,0px)
}
  
#sp_gBtn[data-open="true"] span span:nth-of-type(1) { transform: translate(2px,2px) rotate(-45deg); }
#sp_gBtn[data-open="true"] span span:nth-of-type(3) { transform: translate(2px,-2px) rotate(45deg); }
}


/*==========================================
メインビジュアル
===========================================*/
#mvBOX {
  /* max-width: 2250px; */ 
  background: #fff;
  font-size: 0;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  height: 100vh;
  /* margin: 0 auto; */
}

#mvBOX #allScreen {
  width: 100%;
  min-height: 100vh;
  background: #000;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 1;
  transition: opacity 200ms;
}

#mvBOX > div:first-of-type {
  width: 40%;
  min-width: 320px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  transform: translate(-50%, -50%);
}
#mvBOX > div:first-of-type h1 { margin: 0; padding: 0; }
#mvBOX > div:first-of-type h1 img { filter: drop-shadow(2px 2px 10px rgba(255,130,170,0.8)); /* filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.8)); */ }

#mvBOX > div:first-of-type a {
  width: 70px;
  height: 140px;
  display: block;
  position: relative;
  margin: 86px auto 0;
}
#mvBOX > div:first-of-type a img {
  width: 70px;
  position: absolute;
  bottom: 0;
  left: 0;
  filter: drop-shadow(2px 2px 10px rgba(255,130,170,0.8));
  /* filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.8)); */
}


#mvBOX > div:first-of-type a span {
  width: 36px;
  height: 36px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  top: 0;
  left: 50%;
  opacity: 0;
  transform: rotate(-45deg);
  margin-left: -18px;
  filter: drop-shadow(2px 2px 10px rgba(255,130,170,0.8));
  /* filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.8)); */
  animation: s_anime 2000ms infinite;  
}
#mvBOX > div:first-of-type a span:nth-of-type(1) {
  animation-delay: 0s;
}
#mvBOX > div:first-of-type a span:nth-of-type(2) {
  top: 32px;
  animation-delay: 150ms;
}
#mvBOX > div:first-of-type a span:nth-of-type(3) {
  top: 64px;
  animation-delay: 300ms;
}
@keyframes s_anime {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.dispW, .dispH { display: none; }

#mvBOX > div:nth-of-type(2) {
  visibility: hidden;
  position: relative;
  z-index: 1;
}

#mvBOX > div:nth-of-type(2) div {
  display: inline-block;
  position: relative;
  overflow: hidden;
}


/*
will-change: transform;
*/


#mvBOX > div:nth-of-type(2) div span {
  width: 100%;
  height: 100%;
  background-size: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}


#mvBOX > div:nth-of-type(2) div.coverChange span {
  /* will-change: transform; */
  transform: translateX(100%);
  transition: transform 700ms;
}

#mvBOX > div:nth-of-type(2) div.coverChange .coverON {
  z-index: 10;
  transform: translateX(0);
}
#mvBOX > div:nth-of-type(2) div.coverChange .coverOFF {
  transform: translateX(-100%);
}






#mvBOX > div:nth-of-type(2) img { visibility: hidden; }

#mvBOX > div:nth-of-type(2) img:nth-of-type(n + 2) {
  position: absolute;
  top: 0;
  left: 0;
}

#mvBOX #type4 {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#type4 .dispW { display: block; }
#type4 .sizeA { width: 102px; width: 8.5% }
#type4 .sizeB { width: 106px; width: 8.83333% }
#type4 .sizeC { width: 118px; width: 9.83333% }
/*
sizeA：102x144
sizeB：106x144
sizeC：118x144
*/

#type4 div:nth-of-type(1),
#type4 div:nth-of-type(27) { margin-left: -5.3%; }
#type4 div:nth-of-type(14) { margin-left: -1.5%; }
#type4 div:nth-of-type(40) { margin-left: -0.5%; }

#mvBOX #type4_h { height: 100vh; }
#type4_h .dispW { display: block; }
#type4_h div { height: 25%; }

#type4_h div:nth-of-type(1),
#type4_h div:nth-of-type(14) { margin-left: -1.5%; }
#type4_h div:nth-of-type(27) { margin-left: -5.3%; }
#type4_h div:nth-of-type(40) { margin-left: -0.5%; }

#mvBOX #type5 { height: 100vh; }
#type5 .dispH { display: block; }
#type5 div { width: auto; height: 20%; }
#type5 div:nth-of-type(1) { margin-left: -5.3%; }
#type5 div:nth-of-type(11) { margin-left: -1.5%; }
#type5 div:nth-of-type(21) { margin-left: -5.3%; }
#type5 div:nth-of-type(31) { margin-left: -9.1%; }
#type5 div:nth-of-type(41) { margin-left: -1.5%; }

#mvBOX #frameSize {
  width: 100%;
  visibility: hidden;
  position: absolute;
  background: #ccc;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-top: 48%;
}

#mvBOX img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#mvBOX p {
  width: 100%;
  background: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  margin: 0;
  padding: 16px;
  
  display: none;
}

@media screen and (min-width: 0px) and (max-width:767px) {
#mvBOX > div:first-of-type {
  width: 80%;
  min-width: 280px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  transform: translate(-50%, -50%);
}
#mvBOX > div:first-of-type h1 { margin: 0; padding: 0;}

#mvBOX > div:first-of-type a {
  height: 120px;
  margin-top: 46px;
}

#mvBOX > div:first-of-type a span {
  width: 30px;
  height: 30px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  margin-left: -15px;
}

#mvBOX > div:first-of-type a span:nth-of-type(2) { top: 28px; }
#mvBOX > div:first-of-type a span:nth-of-type(3) { top: 56px; }
}


/*==========================================
アバウト
===========================================*/
#aboutBOX { padding-top: 189px; }

#aboutBOX a {
  color: #000;
  text-decoration: underline;
}
#aboutBOX a:hover { text-decoration: none; }

#aboutBOX h2 {
  width: 175px;
  margin: 0 auto;
  padding: 0;
}

#aboutBOX h3 {
  width: 236px;
  margin: 56px 0 0 0;
  padding: 0;
}

#aboutBOX p {
  line-height: 2rem;
  margin: calc( 24px + (14px - 20px) / 2 ) 0 calc( 0px + (14px - 20px) / 2 );
  padding: 0;
}
#aboutBOX #profile { margin-top: calc( 48px + (14px - 20px) / 2 ); }

#aboutBOX .flexBOX > div:first-of-type { width: 50.97%; /* 552px */ }

#aboutBOX .flexBOX > div:last-of-type {  
  width: 43.35%; /* 444px */
  min-height: 0%;
  align-content: flex-start;
  align-items: flex-start;
  margin: 120px 0 0 auto;
}

#aboutBOX .flexBOX > div:last-of-type img {
  width: 45.75%;
  display: block;
  margin-bottom: 8%;
}
#aboutBOX .flexBOX > div:last-of-type img:nth-of-type(even) { margin-left: auto; }

@media screen and (min-width: 0px) and (max-width:767px) {
#aboutBOX { padding-top: 48px; }
  
#aboutBOX h2 {
  width: 22.81%;
  width: 150px;
}
  
#aboutBOX h3 {
  width: 200px;
  margin-top: 32px;
  margin-top: 48px;
}

#aboutBOX p {
  line-height: 2.4rem;
  margin: calc( 32px + (16px - 24px) / 2 ) 0 calc( 0px + (16px - 24px) / 2 );
  padding: 0;
}
#aboutBOX #profile { margin-top: calc( 48px + (16px - 24px) / 2 ); }
  
#aboutBOX .flexBOX > div:first-of-type,
#aboutBOX .flexBOX > div:last-of-type {
  width: 100%;
}

#aboutBOX .flexBOX > div:last-of-type {
  justify-content: space-between;
  margin-top: 32px;
}
  
#aboutBOX .flexBOX > div:last-of-type img {
  width: 30%;
  display: block;
  margin-bottom: 6%;
}
#aboutBOX .flexBOX > div:last-of-type img:nth-of-type(even) { margin-left: 0; }
}


/*==========================================
ワークス
===========================================*/
/* モーダル */
.mfp-content > div {
	max-width: 80%;
  background: #fff;
  position: relative;
	margin: 40px auto;	
	padding: 48px;
}

.mfp-content img { margin-bottom: 48px; }
.mfp-content img:last-of-type { margin-bottom: 0; }

.mfp-close {
  font-size: 40px;
  opacity: 1;
}
.mfp-close-btn-in .mfp-close { color: #95979c; transition: color 200ms; }
.mfp-close-btn-in .mfp-close:hover { color: #000; }

.popup-modal-dismiss {
  text-align: center;
  margin: 56px 0 0 0;
  padding: 0;
}

.popup-modal-dismiss a {
  background: #fff;
  border: #ff82aa solid 1px;
  border-radius: 3px;
  color: #ff82aa;  
  line-height: 100%;
  text-indent: 1.2rem;
  text-decoration: none;
  letter-spacing: 1.2rem;
  display: inline-block;
  padding: 12px 32px 11px;
  transition: background 200ms;
}
.popup-modal-dismiss a:hover {
  background: #ff82aa;
  color: #fff;
}

.mfp-bg {
  opacity: 0;
  transition: opacity 300ms;
}
.mfp-bg.mfp-ready { opacity: 0.8; }
.mfp-bg.mfp-removing { opacity: 0; }

.mfp-wrap .mfp-content {
  opacity: 0;
  transition: opacity 200ms;
}
.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }
.mfp-wrap.mfp-removing .mfp-content { opacity: 0; }
/* モーダル */


#worksBOX {
  padding-top: 208px;
}

#worksBOX > section { margin: 112px 0 -80px; }
#worksBOX > section:first-of-type { margin-top: 0; }

#worksBOX h2 {
  width: 186px;
  margin: 0 auto;
  padding: 0;
}
#worksBOX h2 img { margin-left: -2px; }

#worksBOX h3 {
  margin: 48px 0 24px;
  padding: 0;
}

#magazineBOX h3 { width: 115px; }
#bookBOX h3 { width: 137px; }
#freepaperBOX h3 { width: 137px; }
#advertisingBOX h3 { width: 158px; }
#othersBOX h3 { width: 91px; }

#worksBOX .thumbnail {
  width: 29.1%;
  max-width: 298px;
  margin: 0 64px 80px 0;
  margin: 0 6.35% 7.81% 0;
}
#worksBOX .thumbnail:nth-of-type(3n) { margin-right: 0; }

#worksBOX .thumbnail > a {
  width: 100%;
  box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.5);
  color: #000;
  display: block;
  position: relative;
  cursor: pointer;
}

#worksBOX .titleText {
  width: 100%;
  background: rgba(255,255,255,0.75);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  padding: 9px 8px;
  transition: opacity 300ms;
}
#worksBOX .thumbnail:hover .titleText { opacity: 1; }

#worksBOX .titleText h4,
#worksBOX .titleText p {
  opacity: 0;
  transition: all 150ms ease-out 50ms;
}

#worksBOX .thumbnail:hover .titleText h4,
#worksBOX .thumbnail:hover .titleText p {
  opacity: 1;
  transform: translateY(0);
}

#worksBOX .titleText h4 {
  color: #FF82AA;
  font-size: 1.33vw;
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1.66vw;
  line-height: 2rem;
  margin: calc( 0px + ( 16px - 20px) / 2 ) 0;
  padding: 0;
  transform: translateY(-30px);
  
}

#worksBOX .titleText p {
  font-size: 1vw;
  font-size: 1.2rem;
  line-height: 1.33vw;
  line-height: 1.6rem;
  margin: calc( 8px + ( 12px - 16px) / 2 ) 0 calc( 0px + ( 12px - 16px) / 2 );
  padding: 0;
  transform: translateY(30px);
}

@media screen and (min-width:1200px) {
}

@media screen and (min-width: 0px) and (max-width:767px) {
/* モーダル */
.mfp-content > div {
	max-width: 90%;
	margin: 24px auto;	
	padding: 48px 16px 16px;
}

.mfp-content img { margin-bottom: 16px; }
  
.popup-modal-dismiss { margin: 24px 0 8px; }
.popup-modal-dismiss a { font-size: 1.4rem; }
/* モーダル */
  
#worksBOX { padding-top: 80px; }
#worksBOX > section { margin: 0; }
#worksBOX h2 { width: 159px; }
#worksBOX h2 img { margin-left: 0; }
#worksBOX h3 { margin: 32px 0 16px; }
#worksBOX > section:first-of-type h3 { margin-top: 48px; }
  
#worksBOX .thumbnail > a {
  width: 100%;
  box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.5);
  color: #000;
  display: block;
  position: relative;
  cursor: pointer;
}

#worksBOX .thumbnail {
  width: 46%;
  max-width: auto;
  margin: 0 64px 80px 0;
  margin: 0 6.35% 7.81% 0;
  margin: 0 0 8% 0;
}
#worksBOX .thumbnail:nth-of-type(odd) { margin-right: 8%; }
#worksBOX .thumbnail:nth-of-type(3n) { margin-right:; }
  
#worksBOX .thumbnail:hover .titleText { opacity: 0; }
  
#worksBOX .titleText h4,
#worksBOX .titleText span {
    display: none;
}
}




/*==========================================
コンタクト
===========================================*/
#contactBOX {
  max-width: 928px;
  padding-top: 208px; 
}

#contactBOX .hidden {
  opacity: 0;
}

#contactBOX h2 {
  width: 243px;
  margin: 0 auto 56px;
  padding: 0;
}

#contactBOX h2 + p {
  line-height: 2.4rem;
  text-align: center;
  margin: calc( 0px ( 14px - 24px ) / 2 ) 0;
  transition: opacity 150ms;
}
#contactBOX h2 + p span { color: #ff89b4; }

#contactBOX form { transition: opacity 150ms; }

#contactBOX dl {
  margin: 0;
  padding: 8px 0 0 0;
}

#contactBOX dt {
  width: 35.37%;
  width: 25%;
  min-height: 24px;
  height: 100%;
  line-height: 2.4rem;
  display: block;
  margin: 0;
  padding: 34px 0 0;
  float: left;
  clear: both;
}
#contactBOX dt .required, #contactBOX dt .optional { display: none; }
#contactBOX dt:not(:nth-of-type(2))::after { content: ' ※'; color: #ff89b4; }

#contactBOX dd {
  width: 64.63%;
  width: 75%;
  min-height: 24px;
  line-height: 2.4rem;
  display: block;
  margin: 0;
  float: left;
}

#contactBOX dl::after {
  content: "";
  font-size: 0px;
  line-height: 0%;
  display: block;
  margin: 0px;
  padding: 0px;
  clear: both;
}

#contactBOX #mail_form input[type="text"],
#contactBOX #mail_form input[type="email"],
#contactBOX #mail_form input[type="tel"],
#contactBOX #mail_form textarea {
	width: 100%;
	height: 40px;
	background: #fafafa;
  border: 1px solid #FF89B4;
	border-radius: 3px;
  font-size: 1.4rem;
	margin: 24px 0 0 0;
  padding: 0px 10px;
}

#contactBOX #mail_form .name input[type="text"] { width: 49%; }
#contactBOX #mail_form .name input[type="text"]:first-of-type { margin-right: 2%; }

#contactBOX #mail_form textarea {
	height: 240px;
  display: block;
  padding: 10px;
}

#contactBOX #mail_form input[type="text"]:focus,
#contactBOX #mail_form input[type="email"]:focus,
#contactBOX #mail_form input[type="tel"]:focus,
#contactBOX #mail_form textarea:focus {
	background: #fff;
  box-shadow: 3px 3px rgba(220,221,221,0.75);
	outline: none;
}

#contactBOX #mail_form input[type="button"] {
	width: 100%;
  max-width: 300px;
  background: #ff89B4;
  border: none;
  border-radius: 3px;
  color: #fff;
  font-size: 1.8rem;
  text-align:center;
	text-indent: 1.2rem;
	line-height: 100%;	
  letter-spacing: 1.2rem;
  display: block;
  margin: 56px auto 0;
  margin: 72px auto 0;
  padding: 12px 15px;
  transition: background 200ms;
  
  -webkit-appearance: none;
}

#contactBOX #mail_form input[type="button"]:hover {
	background: #f7b8cf;
  border: none;
  cursor: pointer;	
}

#contactBOX #mail_form dl dd span.error_blank { margin-top: 5px; }

#contactBOX #thanks {
  text-align: center;
  display: none;
  position: relative;
  z-index: 10;
  margin-bottom: 200px;
  transition: opacity 150ms;
}

#contactBOX #thanks p {
  line-height: 2.4rem;
  margin: calc( 32px + (14px - 24px) / 2 ) 0 calc( 0px + (14px - 24px) / 2 );
  padding: 0;
}

#contactBOX #thanks p:last-of-type span {
  text-decoration: underline;
  cursor: pointer;
}
#contactBOX #thanks p:last-of-type span:hover { text-decoration: none; }

@media screen and (min-width: 0px) and (max-width:767px) {
#contactBOX {
  max-width: auto;
  padding-top: 80px;
}

#contactBOX h2 {
  width: 207px;
  margin-bottom: 32px;
}
  
#contactBOX h2 + p { text-align: left; }

#contactBOX dl {
  margin-top: -16px;
  padding: 0;
}

#contactBOX dt {
  width: 100%;
  float: none;
}

#contactBOX dd {
  width: 100%;
  float: none;
}

#contactBOX #mail_form input[type="text"],
#contactBOX #mail_form input[type="email"],
#contactBOX #mail_form input[type="tel"],
#contactBOX #mail_form textarea {
  font-size: 1.6rem;
	margin: 0;
}

#contactBOX #mail_form input[type="button"] {
	-webkit-appearance: none;
}
  
#contactBOX #mail_form dl dd span.error_blank { display: block; margin-top: 4px; }

#contactBOX #thanks {
  text-align: left;
  margin-bottom: 0px;
}

#contactBOX #thanks p {
  line-height: 2.4rem;
  margin: calc( 32px + (16px - 24px) / 2 ) 0 calc( 0px + (16px - 24px) / 2 );
}

#contactBOX #thanks p:last-of-type {
  text-align: center;
}
}
  

/*==========================================
 フッダー
===========================================*/
footer {
  margin: 0 48px;
  padding: 120px 0 32px;
}

footer small {
  width: 240px;
  display: block;
}

footer a {
  color: #000;
  font-size: 1.2rem;
  margin-left: auto;
  padding-top: 16px;
}

#privacy h2 {
  font-size: 2.4rem;
  margin: 0;
  padding: 0;
}

#privacy h3 {
  font-size: 1.8rem;
  margin: 48px 0 0 0;
  padding: 0;
}

#privacy p:not(:last-of-type) {
  line-height: 2rem;
  margin: calc( 16px + (14px - 20px) / 2 ) 0 calc( 0px + (14px - 20px) / 2 );
  padding: 0;
}
#privacy p:last-of-type {
  margin-top: 56px;
}

#privacy ol {
  margin: 16px 0 0 24px;
  padding: 0;
}
#privacy ol ol { margin-top: 0; }

#privacy li {
  line-height: 2rem;
  margin: calc( 8px + (14px - 20px) / 2 ) 0;
  padding: 0;
}

/* SP */
@media screen and (min-width: 0px) and (max-width:767px) {
footer {
  display: block;
  margin: 0 7.33%;
  padding-bottom: 16px;
}

footer small {
  width: 240px;
  display: block;
}

footer a {
  margin-left: 0;
  padding-top: 8px;
  
}
  
#privacy h2 { font-size: 2rem; }
#privacy h3 { font-size: 1.6rem; }
}


/*==========================================
 スクロールアニメーション
===========================================*/
.scrollin {
  visibility: visible !important;
  animation: scrollin 1s
}

@keyframes scrollin {
  0% {
    opacity: 0;
    transform: translateY(-20px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}


/* -- mailform.css ここから -------------------------------------------------------------------------------- */
span.loading {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 255, 255, 255, 0.2 );
	border-right: 5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -25px;
	margin-left: -25px;
  z-index: 200;
}

@media screen and (min-width: 0px) and (max-width:767px) {
span.loading {
	top: 45%;
}
}

@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}
/* -- mailform.css ここまで -------------------------------------------------------------------------------- */
