/*
Theme Name: テーマ名
Author URI: https://wordpress.org/
Version: 1.0
Author: Saki Matsumoto & Yuka Kimura

*/


/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　共通部分
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  /* font-family: "Yu Gothic", YuGothic,"Noto Sans JP", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, sans-serif; */
  font-family: YuMincho,"Hiragino Mincho ProN",serif;
  color: #3A4C5C;
  background-color: #FAFAFA;
  /* 以下コンテンツ少ないときでもフッター最下部固定のため */
  display: flex; /* フレックスボックスに有効に */
  flex-flow: column; /* 要素を縦に並べる */
  min-height: 100vh; /* 最小でも画面の高さ分のbodyの高さを担保する */
}

.wrapper {
  overflow-x: hidden;
  flex: 1;/* コンテンツ少ないときでもフッター最下部固定のため */
}

img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

h1{
  font-weight: 400;
}
h2 {
  color: #3A4C5C;
  font-size: 26px;
  letter-spacing: 0.3rem;
  font-family: YuMincho,"Hiragino Mincho ProN",serif; Meiryo, メイリオ, sans-serif;
}

h3 {
  color: #3A4C5C;
  font-size: 500%;
  font-family: YuMincho,"Hiragino Mincho ProN",serif; Meiryo, メイリオ, sans-serif;
  font-weight: 200;
  letter-spacing: 0.2rem;
  margin: 20px 0;
}

h4 {
  color: #3A4C5C;
  font-size: 30px;;
  font-family: YuMincho,"Hiragino Mincho ProN",serif; Meiryo, メイリオ, sans-serif;
  margin: 20px 0 50px 0;
  font-weight: 600;
  letter-spacing: 0.36rem;
}

h6 {
  color: #3A4C5C;
  font-size: 1.5rem;
  font-family: YuMincho,"Hiragino Mincho ProN",serif; Meiryo, メイリオ, sans-serif;
  font-weight: 600;
  letter-spacing: 0.36rem;
  margin-top: 30px;
  margin-bottom: 20px;
}

p {
  color: #3A4C5C;
  font-family: YuMincho,"Hiragino Mincho ProN",serif; Meiryo, メイリオ, sans-serif;
  /* letter-spacing: 0.16rem; */
  line-height: 2;
  margin: 0;
  font-size: 16px;
}

.pc-br {
  display: block;
}

.tb-br {
  display: none;
}

.sp-br {
  display: none;
}

li {
  list-style: none;
}

/* fonts */
@font-face {
  font-family: "Canela Trial";
  src: url('/wp-content/themes/pekomaul/fonts/Canela-Thin-Trial.otf') format('opentype');
}

@font-face {
  font-family: "ADAM.CG PRO";
  src: url('/wp-content/themes/pekomaul/fonts/ADAM.CG PRO.otf') format('opentype');
}

@font-face {
  font-family: "Euphemia UCAS Bold";
  src: url('/wp-content/themes/pekomaul/fonts/Euphemia UCAS Bold 2.6.6.ttf') format('truetype');
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .tb-br {
    display: block;
  }

  h3 {
    font-size: 250%;
  }

  h4 {
    font-size: 26px;
  }
}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  h2 {

  }

  h3 {

  }

  h4 {

  }

  h6 {

  }

  p {

  }

  .pc-br {
    display: none;
  }

  .tb-br {
    display: none;
  }

  .sp-br {
    display: block;
  }
}


/* ーーーーーーーーーーアニメーションーーーーーーーーーー */
/* コンテンツをふわっと出現 （透明度変化）　*/
/* .fadein {
  opacity : 0;
  transition : all 900ms;
}

.fadein.scrollin {
  opacity : 1;
} */

/* スクロール時下からふわっと */
.scrollin {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.scrollin.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 画像が左からスライド＋ふわっと表示 */

.mask-slidein {
  overflow: hidden;
  display: inline-block;
  position: relative;
}

/* .mask-slidein img {
  display: block;
  clip-path: inset(0 100% 0 0); 
  transition: clip-path 0.8s ease;
} */

.mask-slidein img {
  display: block;
  clip-path: inset(0 100% 0 0); /* 初期状態：見えない（右側100%を隠す） */
  transition: clip-path 1.2s cubic-bezier(.215,.61,.355,1);
}

.mask-slidein.is-show img {
  clip-path: inset(0 0 0 0); /* 全面表示 */
}




/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/


 /* ーーーータブレットーーーーーーーーーーーーーーーーーー */
 @media screen and (max-width: 1024px){

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */

@media screen and (max-width: 520px) {

}





/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　 余韻ーー
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

.afterglow-line {
  display: inline-block;
  width: 64px;
  height: 1px;
  background-color:#3A4C5C;
  margin-left: 10px;
  vertical-align: baseline;  /* ← ここが重要！ */
  position: relative;
  top: 1em;  /* 文字に合わせて微調整。大体これで合う */
}




.arrow {
  position: relative;
  display: inline-block;
  width: 72px;
  height: 1px;
  margin-top: 16.3px;
  border-radius: 9999px;
  background-color: #a25e4b;
  transition: transform 0.4s ease; /* ← スライド用 */
}

.arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 24px;
  height: 1px;
  border-radius: 9999px;
  background-color: #a25e4b;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
  transition: transform 0.4s ease;
}

/* ホバー時に矢印全体を右にスライド */
.footer_button a:hover .arrow {
  transform: translateX(8px); /* お好みで距離調整 */
}

.ls0{
  letter-spacing: 0;
}

/* スマホの時右下TOTOP */
.pagetop{
  display: none;
}


@media screen and (max-width: 520px) {
.pagetop {
  display: block;
  position: fixed;
  right: 16px;    /* 画面右端からの距離 */
  bottom: 16px;   /* 画面下端からの距離 */
  width: 60px;    /* 画像サイズ調整 */
  height: 60px;
  z-index: 995;   /* 最前面に出す */
}

.pagetop img {
  width: 100%;
  height: auto;
  display: block;
}
/* デフォルトは非表示 */
.pagetop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* 表示するときの状態 */
.pagetop.show {
  opacity: 1;
  pointer-events: auto;
}

}