/*
 Theme Name:   ego_child
 Template:     ego_main
 Version:1.8
*/


/* メイン画像動画のカスタマイズ */
.p-header-video {height:100%;}
.p-header-content__button .p-button {border:2px solid #fff;}

@media only screen and (max-width: 767px){
.p-header-video{height:600px;}}

/* ページ全体のカスタマイズ */
.l-main{background:#fff1e8;}
.p-header__upper{display:none;}

/* テキストのレスポンシブ対応 */
p {font-size: 18px;}
@media only screen and (max-width: 767px){
  p {font-size: 20px;}
}

/* ページ幅によって自動改行 */
span {display: inline-block;}
.p-entry-page__inner {border: none;}

/* ヘッダーロゴ */
.p-header__logo img{
  background: rgb(255 255 255 / 64%);
  padding: 0 30px;
  width: 300px;
  }
.p-header__logo--mobile {
  background: rgb(255 255 255 / 64%);
  padding: 0 10px;
}

/* グローバルメニューのカスタマイズ */
.p-header__lower{ background-color: #8b5500 !important;
                  background-image:url('/wp-content/uploads/2025/07/headimage2.png');
                }
@media only screen and (max-width: 450px){
  .p-header__lower{background-image:url('/wp-content/uploads/2025/07/headimage-sp2.png');}
}
.p-header__lower::before{border: none;}
.p-header__lower-inner a {color:#fff !important;}
.p-global-nav li {background:#592800; }

/* グローバルナビのフォント調整 */
.p-global-nav {font-size: 11px; font-weight: bold;}

/* フッターレイアウト */
.p-footer{padding: 15px 0 !important;}
.p-footer__logo img{width:300px;}
.p-footer-nav__container {padding: 40px 14px 30px 60px; width: 100%;}
.p-footer-nav__area__inner {border: none;}
.p-footer-nav__container + .p-footer-nav__container {border: none;}
@media (max-width: 500px){
.p-footer-nav__area__inner {height: auto;}
.p-footer-nav__area__inner {padding: 5px 0 10px 0;}
.p-footer-nav__container {width: 50%; padding: 30px 0px 20px 0; }
.p-copyright {padding: 15px 0;}
}

/* テキストのclassカスタマイズ */
h2.toptext {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  padding-bottom: 30px;
  color:#3d2500;
}
h3.topread {
  text-align: center;
  font-size: 30px;
  padding-bottom: 30px;
  color:#3d2500;
}
/* ノート風テキストエリアのstyle */
.toptegakiback {
  margin: auto;
  padding: 20px 0px;
}

.toptegaki{
  font-family: '那欽' !important;
  text-align: center;
  color:#3d2500;
  margin:0 10px;
  line-height: 2.5em; /* 文字の高さ */
  padding: 20px 15px;
  background-image: linear-gradient(rgba(210, 210, 210, 0.4) 1px, transparent 1px), linear-gradient(to right, rgba(210, 210, 210, 0.4) 1px, transparent 1px);
  background-size: 20px 20px;
  background-color: #fffff9;
  background-position: -14px 14px;
  box-shadow: 3px 3px 5px #6d6d6d;
  }
.toptegaki span{text-align: left; font-size:25px;}
/* フォント関連レスポンシブ */
    @media (max-width: 500px){
      h2.toptext {font-size: 25px; padding-bottom: 0;}
      h3.topread {font-size: 18px; padding-bottom: 0;}
      .headtext {font-size: 25px;}
      .readtext {font-size: 18px;}
      .yellowtoptext {font-size: 17px; text-shadow: 1px 1px #4d4d4d; text-align: center;}
      .topcareful p {line-height: 1.6; margin-bottom: 20px; font-size: 14px;}
      ul.square li {padding: 0.4em 1em 0.1em 2.3em; font-size: 15px;}
      .toptegakiback {width: 100%;}
      .toptegaki p{font-size: 15px;}
      .toptegaki span{font-size:20px;}
    }
.topcareful {
  border: 2px solid #4d4d4d;
  padding: 15px;
  background: #ffffee;
  margin: auto;
  max-width: 900px;
}
.topcareful p {margin-bottom: 15px; line-height: 2;}
.headtext {
  font-size: 35px;
  color: #ffcc00;
}
.readtext {
  font-size: 20px;
}
.yellowtoptext {
  color: #e08600;
  text-shadow: 2px 2px black;
  font-size: 35px;
  font-weight: bold;
}
.bordertext {
  font-size: 25px;
  border-bottom:2px solid #ffcc00;
  margin-bottom: 10px !important;
  padding-top: 10px;
  font-weight: 700;
}
.block {
    display: inline-block;
    width: 100%;
    text-align: center;
    outline: none;
    position: relative;
    background-color: rgba(255,204,0,0);
    background-image: -webkit-linear-gradient(top, rgba(10,169,0,0), rgba(0,138,61,.9));
    background-image: linear-gradient(to bottom, rgba(255,204,0,0), rgba(255,204,0,0.2));
    border-bottom: 2px solid #aaa;
    box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.28);
    overflow: hidden;
    border-radius: 60px 3px;
    margin: 30px 0;
    padding: 0 15px;
}
.cartbecareful {
    color: #000000;
    font-size: 20px;
    border: 2px solid #f00;
    box-shadow: 0px 0px 4px 2px rgba(255, 0, 0, 0.28);
    overflow: hidden;
    padding: 0 15px;
}
/*　リストをセンターへ */
.listcenter{
    display: flex;
    align-items: center;
    flex-direction: column;
}
/* リストのカスタマイズ */
ul.square {
	padding: 0.5em;
	list-style: none;
}
ul.square li {
	position: relative;
	padding: 0.2em 1em 0.1em 2.3em;
	margin-bottom:5px;
	border-bottom: 1px solid #ffcc00;
  font-size: 20px;
}
ul.square li:after,
ul.square li:before {
	content:'';
	position: absolute;
	transform: rotate(45deg);
}
ul.square li:before {
	top: 0.7em;
	left: 0.2em;
	width: 12px;
	height: 12px;
	border:2px solid #000;
}
ul.square li:after {
	top: 0.9em;
	left: 0.7em;
	width: 14px;
	height: 14px;
	background: #ffcc00;
	transform: rotate(60deg);
}
/* 手順番号のリストカスタマイズ */
.fukidashitop{
  position: relative;
  display: inline-block;
  margin: 1.5em 15px 1.5em 0;
  padding: 10px 5px;
  width: 100%;
  height: auto;
  text-align: center;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  background: #ffcc00;
  box-sizing: border-box;
}
.fukidashitop::before{
  content: "";
  position: absolute;
  left: 40px;
  bottom: -15px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 20px solid #ffcc00;
  z-index: 0;
  transform: rotate(0deg);
}
.fukidashimaru {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 5px;
  width: 90px;
  height: 90px;
  line-height: 90px;
  text-align: center;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  box-sizing: border-box;
}

.fukidashimaru:after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  left: 24px;
  top: 28%;
  border: 5px solid #ffcc00;
  z-index: 0;
  transform: rotate(45deg);
}
/* ボタンのカスタマイズ */
.homebutton {width: 100%;}
.homebutton a {display: block; box-shadow: 4px 4px 10px 0px #4d4d4d;}
.homebutton a:hover{box-shadow: none;}
.activbutton {width: 100%;}
.activbutton a {display: block;}
.mainbutton {
  	display: inline-block;
  	width: 29%;
  	height: 70px;
  	text-align: center;
  	text-decoration: none;
  	outline: none;
  	position: relative;
  	background-color: rgba(255,204,0,0.5);
  	background-image: -webkit-linear-gradient(top, rgba(255,204,0,0), rgba(255,204,0,.9));
  	background-image: linear-gradient(to bottom, rgba(255,204,0,0), rgba(255,204,0,.9));
  	border-bottom:2px solid #aaa;
  	box-shadow: 1px 2px 1px rgba(0,0,0,0.28);
  	line-height: 70px;
  	overflow: hidden;
    border-radius: 10px;
    margin: 30px 15px !important;
  }
.mainbutton a {
    color: #3a3a3a !important;
    font-weight: bold;
    display: block;
    font-size: 20px;
  }
.mainbutton:hover {
  	text-decoration: none;
  	background-color: rgba(255,204,0.9);
  	background-image: -webkit-linear-gradient(top, rgba(255,204,0,0.9), rgba(255,204,0,0.9));
  	background-image: linear-gradient(to bottom, rgba(255,204,0,0.9), rgba(255,204,0,0.9));
  	border:1px solid #ffcc00;
  }
.mainbutton a:hover {
    color: #000 !important;
    text-decoration: none;
  }
.mainbutton::after {
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	-webkit-transform: scale(.5);
  	transform: scale(.5);
  }
.mainbutton:hover::after {
  	background: rgba(255,204,0,0.9);
  	-webkit-transform: scale(.5);
  	transform: scale(.5);
  }
@media only screen and (max-width: 500px) {
  .mainbutton {
    width: 100%;
    height: 50px;
    line-height: 50px;
    margin: 15px auto !important;
  }
  .mainbutton a{font-size:15px;}
}
/* レスポンシブtable */
table.wordtable {
  margin: 0 auto;
  border-collapse: collapse;
  border: none;
  width: 100%;
  table-layout: fixed;
  display: table-cell;
}
table.wordtable th {
  padding: 13px 5px 10px 5;
  text-align: left;
  border: 1px dashed #9e8e4e;
  background: #fff7b7;
}

table.wordtable td {
  padding: 15px 10px 10px 10px;
  text-align: left;
  vertical-align: top;
  border: 1px dashed #9e8e4e;
  line-height: 2;
  font-size: 18px;
}

@media only screen and (max-width: 500px) {
.wordtable th, .wordtable td {
        display: block;
        border: 1px dashed #9e8e4e;
        width: 100%;
        white-space: normal;
    }
    .wordtable th td:last-child {
        border-bottom: : 1px dashed #9e8e4e;
    }
}
.p-entry__body h3.wordhead {
    width: 100%;
    line-height: 2.8;
  }
}

/* カートボタンの設定 */
.p-entry-product__cart-button::before {color: #ffcc00;}
.p-button {color: #eee !important;}
.p-button:hover {color: #ffcc00 !important;}

/* ブロックの設定 */
.p-cb-blocks__catch {font-size: 30px;}
.p-cb-blocks__desc {font-size: 16px; font-weight: 100;}
@media only screen and (max-width: 500px) {
  .p-cb-blocks__catch {font-size: 20px;}
  .p-cb-blocks__desc {font-size: 13px;}
}

/* カテゴリごとのヘッダー */
.p-page-header__image02 {display: none;}
.category-11 .p-page-header__image02,.category-12 .p-page-header__image02,
.category-13 .p-page-header__image02 {display:block;}

/* 売り切れ表示 */
.p-entry-product__cart-soldout {background: #ff0000;}

/* 買い物を続けるボタン */
.continue_shopping_button {display: none !important;}

/* 住所選択 */
table.p-wc-customer_form.p-wc-customer_form--shipping {display: none;}

/* 商品ページのタブ設定 */
.p-entry-product__tab-content__inner{padding: 10px !important; background: transparent !important;}

/* カートのカスタマイズ */
@media (max-width: 480px) {
	.p-wc .p-wc-customer_form th { width: 65px !important; }
}

.p-wc input[type="text"], .p-wc input[type="email"], .p-wc input[type="url"], .p-wc input[type="password"], .p-wc td input[type="number"] {padding: 0 2px !important; }
@media (max-width: 480px) {
.p-wc input[type="text"], .p-wc input[type="email"], .p-wc input[type="url"], .p-wc input[type="password"], .p-wc td input[type="number"] {font-size: 13px !important;}
}

/*落ち葉の設定 */
.leaves-container {
  position: relative;
  width: 100%; /* コンテナの横幅 */
  overflow: hidden; /* コンテナからはみ出した要素を隠す */
}

/* ===== 落ち葉のスタイル ===== */

/* 落ち葉の共通スタイル */
.leaf {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  animation: animate-leaf 21s linear;
}

/* 落ち葉1 */
.leaf-1 {
  background-image: url('/wp-content/uploads/2025/07/leaf.png'); /* 任意のパスを記入 */
}

/* 落ち葉2 */
.leaf-2 {
  background-image: url('/wp-content/uploads/2025/07/leaf2.png'); /* 任意のパスを記入 */
}

/* 落ち葉3 */
.leaf-3 {
  background-image: url('/wp-content/uploads/2025/07/donguri.png'); /* 任意のパスを記入 */
}

/* 落ち葉4 */
.leaf-4 {
  background-image: url('/wp-content/uploads/2025/07/rand.png'); /* 任意のパスを記入 */
}

/* 落ち葉5 */
.leaf-5 {
  background-image: url('/wp-content/uploads/2025/07/rarabit.png'); /* 任意のパスを記入 */
}

/* 落ち葉6 */
.leaf-6 {
  background-image: url('/wp-content/uploads/2025/07/rand2.png'); /* 任意のパスを記入 */
}

/* ===== 落ち葉が降るアニメーション ===== */
@keyframes animate-leaf {
  0% {
    opacity: 0;
    top: 0;
    transform: rotate(0) translateX(30px) rotate(-20deg);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: 180vh;
    transform: rotate(720deg) translateX(0px) rotate(0deg);
  }
}
/* コンタクトフォームのカスタム */
.wpcf7-form-control-wrap{width: 200px;}
.cf-area {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 padding: 2em 0;
 border-bottom: 1px dashed #ccc;
 transition: all .3s;
}

.cf-area:last-child {
 border-bottom: none;
}

.cf-area dt {
 width: 200px;
 padding-right: 30px;
 text-align: right;
 line-height:1.5em;
}

.cf-area dd {
   flex: 1;
}

.cf-area input, .cf-area textarea {
 width: 100%;
 padding: 0.8em;
 border: none;
 background-color: #e6e6e6;
 font-size: 16px;
 resize: vertical;
 transition: all .3s;
}

.cf-area input:focus,.cf-area textarea:focus {
 outline: none;
 background: #ffbdbd;
}

.cf-hissu {
 background: #c50000;
 color: #fff;
 font-size: 0.8em;
 padding: 0 5px 2px;
 border-radius: 2px
}

.cf-nini {
 background: #0e5bff;
 color: #fff;
 font-size: 0.8em;
 padding: 0 5px 2px;
 border-radius: 2px
}


.cf-send input {
 display: block;
 background-color: #e55f16 !important;
 width: 300px;
 height: 60px;
 margin: 30px auto 0;
 border: none;
 border-radius: 10px;
 color: #fff;
 box-shadow: 2px 5px 15px 0 rgba(0, 0, 0, .2);
 font-size: 1.3em;
 font-weight: bold;
 transition: all .3s;
}

.cf-send input:hover {
 background-color: #ff7878 !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
 background-color: #fce3e3;
 border: none;
 text-align: center;
}

@media only screen and (max-width: 500px) {
 .nametop {
   font-size: 20px;
 }
 .nametop span{
   font-size: 33px;
   padding:0 8px;
 }
 .namehead {
   font-size: 13px;
 }
 .nametitle {
   font-size: 18px;
   padding: 0 15px;
 }
 .cf-area {
   display: block;
 }

 .cf-area dt {
   width: 100%;
   margin-bottom: 5px;
   padding-right: 0;
   text-align: left;
   line-height:1.5em;
 }
}
.wpcf7-form-control-wrap{width: 100%;}
/* 注文ページのスタイル調整 */
.p-body td, .p-body th{background: #fff1e8;}
