/*下層共通*/
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}
/* 共通タイトル */
.sub_title {
  position: relative;
  text-align: center;
  margin: 0;
  background: #1f1e47 url(../img/header_bg.jpg) center top repeat;
  height: 360px; /* PC・SP 共通 */
  padding-top: 80px; /* PCヘッダー分 */
  display: flex;
  justify-content: center;
  align-items: center;
}
/* タイトル文字 */
.sub_title h1 {
  color: #fff;
  font-size: 2.25rem;
  text-shadow: 0 0 10px #1f1e47;
}
.bg-g {
  background: url(../img/back-g.jpg) center;
}
.bg-b {
  background: url(../img/back-b.jpg) center;
}
/* セクション見出し */
.section-heading {
  position: relative;
  padding: 0.5rem 0 1rem;
  margin-bottom: 4rem;
  /*font-weight: bold;*/
  font-size: 2.5rem;
  background: linear-gradient(90deg, #D96D00 0% 50%, #1F1E47 50%);
  background-repeat: no-repeat;
  background-size: 4rem 0.2rem;
  background-position: bottom;
  text-align: center;
}
.section-heading-w {
  position: relative;
  padding: 0.5rem 0 1rem;
  margin-bottom: 2rem;
  /*font-weight: bold;*/
  font-size: 2rem;
  text-align: center;
  color: #fff;
}
/* SP */
@media (max-width: 767px) {
  .section-heading {
    font-size: 2rem;
  }
  .sub_title {
    padding-top: 60px; /* SPヘッダー分に変更 */
  }
  .sub_title h1 {
    font-size: 1.7rem;
  }
}
/*.inner h2 {
  font-size: 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}*/
@media screen and (max-width: 767px) {
  .sub_title h1 .jp {
    font-size: 2rem;
  }
}
/*table*/
.detail {
  position: relative;
  margin: 0 auto 2em auto;
}
.detail dl {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
.detail dt {
  /* display: flex;*/
  /*align-items: center;*/
  font-weight: bold;
  color: #D96D00;
  border-bottom: 1px solid #D96D00;
  line-height: 1.5rem;
}
.detail dd {
  /*align-items: center;*/
  /*  font-weight:bold;
*/ line-height: 1.5rem;
}
@media screen and (min-width: 769px) {
  .detail dt {
    width: 30%;
    padding: 20px;
  }
  .detail dd {
    width: 70%;
    padding: 20px 20px 20px 40px;
    border-bottom: 1px solid #8584AC;
  }
}
@media screen and (max-width: 768px) {
  .detail dt {
    width: 100%;
    padding: 20px 0px 10px 0px;
    font-size: 1.5rem;
  }
  .detail dd {
    width: 100%;
    padding: 10px 20px 20px 0px;
  }
}
/*GoogleMapボタン*/
.map-btn-wrapper {
  margin: 0.5rem 0;
}
.map-btn-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1f1e47; /* 控えめブルー */
  color: #fff;
  font-size: 13px;
  font-weight: 400; /* やや細め */
  text-decoration: none;
  padding: 0 14px;
  height: 32px;
  border-radius: 6px;
  transition: background-color 0.3s, transform 0.2s;
}
.map-btn-subtle svg {
  margin-right: 6px; /* アイコンと文字の間隔 */
}
.map-btn-subtle:hover {
  background-color: #D96D00; /* 少し濃く */
  transform: translateY(-1px); /* 軽く浮く演出 */
  color: #fff;
}
/*id共通部分*/
.common_title {
  text-align: center;
  margin: 0 auto 1rem auto;
}
.common_title .en {
  display: block;
  font-size: 0.857rem;
}
.common_title .jp {
  font-size: 2rem;
  ;
  letter-spacing: 0.15rem;
}
.link_box ul li {
  margin-bottom: 10px; /* お好みの余白に調整してください */
}
.link_box ul li:not(:last-child) {
  margin-bottom: 10px;
}
/*swiper*/
.swiper-button-next, .swiper-button-prev {
  color: #D96D00 !important;
}
.swiper-pagination-bullet-active {
  background: #D96D00 !important;
}
/*002_
en_profile*/
#en_profile {}
#en_profile .inner {
  max-width: 1000px;
  margin: 4em auto;
  text-align: left;
}
@media (min-width: 768px) and (max-width: 1024px) {
	#en_profile .inner {
  margin: 4em;
}
}
@media (max-width: 767px) {
  #en_profile .inner {
    padding: 0 2rem;
  }
}
.en_greeting_box {
  display: flex;
}
.en_greeting_box .boxL {
  max-width: 70%;
}
.en_greeting_box .boxR {
  max-width: 30%;
  text-align: center
}
.en_greeting_box .boxR .owner {
  margin-top: 2rem;
  line-height: 1.2
}
.en_greeting_box .boxR .name {
  font-weight: bold;
  font-size: 1.250rem;
}
@media (min-width: 767px) {
  .en_greeting_box .boxL {
    padding-right: 2rem;
  }
}
@media (max-width: 767px) {
  .en_greeting_box {
    flex-direction: column;
  }
  .en_greeting_box .boxL {
    max-width: 100%;
    padding-bottom: 2rem;
  }
  .en_greeting_box .boxR {
    max-width: 100%;
  }
}
.en-company {
  padding: 2rem 0;
}
.en-company .inner p {
  letter-spacing: 0.1em;
  line-height: 2.4;
}
.en-company .map_area {
  position: relative;
  width: 100%;
  height: 678px;
  margin-top: 50px;
}
.en-company .map_area iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.en-kioke {
  padding: 2rem 0;
}
.kioke_ph {
  padding-top: 2rem;
}
/*003_
en_product*/
#en_product {}
#en_product .inner, #en_product .bg-g .inner {
  max-width: 1000px;
  padding: 4em 0;
  text-align: left;
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	#en_product .inner, #en_product .bg-g .inner {
    padding: 4em;
  }
}
@media (max-width: 767px) {
  #en_product .inner {
    padding: 0 2rem;
  }
}
/* =======================
各商品ブロック
======================= */
.product {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  gap: 20px;
}
.product_inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 0;
}
@media (max-width: 767px) {
  #en_product .inner, #en_product .bg-g .inner {
    padding: 2rem 2rem 4rem;
  }
}
/* スマホでは常に「画像 → テキスト」に統一 */
@media (max-width: 767px) {
  .product-img {
    order: 1;
  }
  .product-text {
    order: 2;
  }
}
/* =======================
画像
======================= */
.product-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
/* =======================
テキスト
======================= */
.product-text {
  line-height: 1.5;
  color: #333;
}
.product-text h2 {
  font-size: 2.125rem;
}
.product-text .sub {
  margin-top: 1rem;
  font-size: 0.875rem;
}
.product-text ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.product-text li {
  margin-bottom: 8px;
}
/* =======================
PCレイアウト（横並び）
======================= */
@media (min-width: 768px) {
  .product {
    flex-direction: row;
    align-items: flex-start;
  }
  .product-img {
    max-width: 35%;
  }
  .product-text {
    max-width: 65%;
    padding-left: 20px;
  }
}
.note-heading {
  font-weight: bold;
  padding: 1rem 0 1rem 0;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
/*004_
en_shop*/
#en_shop {}
#en_shop .inner {
  max-width: 1000px;
  margin: 4em auto;
  text-align: left;
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

#en_shop .inner {
  margin: 4em;
}
	}
@media (max-width: 767px) {
  #en_shop .inner {
    padding: 0 2rem;
  }
}
.en_shop_box {
  display: flex;
}
.en_shop_box .boxL {
  width: 50%;
  padding-right: 4rem;
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
.en_shop_box .boxL {
  padding-right: 2rem;
}
	}
.en_shop_box .boxR {
  width: 50%;
}
/* スライダー本体 */
.swiper-1, .swiper-2 {
  position: relative;
  width: 100%; /* 親幅いっぱい */
}
/* ドットを枠外下に表示 */
.swiper-pagination-1, .swiper-pagination-2 {
  position: relative; /* absolute ではなく relative にする */
  margin: 1rem auto 0 auto; /* 上に余白を入れつつ中央寄せ */
  text-align: center;
  width: fit-content; /* ドット幅に合わせる */
}
/* ドットの見た目 */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  margin: 0 6px;
  border-radius: 50%;
  opacity: 1;
  transition: background 0.3s;
}
.swiper-pagination-bullet-active {
  background: #4F48BA;
}
.swiper-1, .swiper-2 img {
  width: 100%;
  object-fit: cover; /* はみ出した部分を切り取り、中央に合わせる */
}
.swiper-wrapper {
  transition-timing-function: ease-in-out; /* 滑らかな加速・減速 */
}
.en_shop_headbox {
  max-width: 1000px;
  text-align: center;
  margin: 4rem auto 2rem auto;
}
@media (min-width: 768px) {
  .en_shop_headph {
    text-align: center;
    margin: 0 auto 2rem auto;
  }
}
@media (max-width: 767px) {
  .en_shop_box {
    display: flex;
    flex-direction: column
  }
  .en_shop_box .boxL {
    width: 100%;
    padding-right: 0;
  }
  .en_shop_box .boxR {
    width: 100%;
  }
}
/*005_
en_factory_tour*/
#en_factory_tour {}
#en_factory_tour .inner {
  max-width: 1000px;
  margin: 4em auto;
  text-align: left;
}
@media (min-width: 768px) and (max-width: 1024px) {
#en_factory_tour .inner {
  margin: 4em;
}	
}
@media (max-width: 767px) {
  #en_factory_tour .inner {
    padding: 0 2rem;
  }
}
.factoryhead_unit .text-box {
  padding-top: 2rem;
  font-size: 1.250rem;
}
.chui {
    background-color: rgba(153, 0, 0, 0.75);
    font-size: 0.875rem;
    padding: 0.4em 0.6em;
    line-height: 2.2;
    color: #fff;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.note-heading {
  font-weight: bold;
  padding: 2rem 0 0 0;
  display: inline-block;
}
.note-heading:first-child {
  padding-top: 0rem
}
.ws_dd .block + .block {
  margin-top: 1em;
}
.visit_unit {
  padding: 2rem 0;
}
.get_unit {
  text-align: center; /* インライン／inline-block の子要素を中央に */
}
.get_unit p {
  margin: 0; /* もし p 要素に余白があれば揃える */
}
.get_unit > div {
  /* ボタンを包んでる div にも中央化を明示する（任意） */
  display: inline-block;
}
#en_factory_tour .enbtn_white {
  display: inline-block; /* inline-block にして中央対象に */
  /* または display: block にして幅を決めてから margin で中央にする方法もあり */
  margin: 20px auto 0; /* 上に余裕を持たせたいなら上マージンを調整 */
  /* 必要があれば幅を指定 */
  /* width: 200px; */
}
.flex-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 80px;
  box-sizing: border-box;
}
.flex-section:nth-child(even) {
  flex-direction: row-reverse;
}
/* 画像とテキストの幅 */
.flex-section img, .flex-section .box {
  flex: 0 0 48%;
  max-width: 48%;
  box-sizing: border-box;
}
.flex-section img {
  display: block;
  width: 100%;
  height: auto;
  /* PCで横並びの時だけ余白追加 */
  margin-right: 4%;
}
.flex-section:nth-child(even) img {
  /* 右画像の場合は左に余白 */
  margin-right: 0;
  margin-left: 4%;
}
.flex-section .box {
  /* ここにはmargin-topはレスポンシブ用に後で設定 */
}
/* レスポンシブ: 画像上、テキスト下 */
@media screen and (max-width: 768px) {
  .flex-section {
    flex-direction: column !important;
    margin-bottom: 40px;
  }
  .flex-section img, .flex-section .box {
    flex: 0 0 100%;
    max-width: 100%;
    margin-right: 0 !important; /* 横並び余白を解除 */
    margin-left: 0 !important;
  }
  .flex-section:nth-child(even) {
    flex-direction: column;
  }
  .flex-section .box {
    margin-top: 20px; /* 縦並び時の余白 */
  }
}
.nearby_unit {
  padding: 2rem 0;
}
.nearby_unit .link_waku {
  text-align: center
}
.nearby_unit .enbtn {
  display: flex;
  justify-content: center; /* 文字中央寄せ */
  align-items: center;
  width: 100%;
  max-width: 600px;
  height: 50px;
  position: relative;
  background: #4F48BA;
  border: 1px solid #4F48BA;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  padding: 3.5rem 35px; /* 右の矢印スペース調整 */
  transition: 0.3s;
  margin: 0 auto;
  line-height: 1.5
}
.nearby_unit a.enbtn:before {
  content: '';
  width: 6px; /* 矢印小さめ */
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 15px; /* 文字との距離を自然に */
  margin-top: -3px; /* 矢印中央 */
  transition: 0.3s;
}
.nearby_unit a.enbtn:hover {
  background: #fff;
  color: #4F48BA;
}
.nearby_unit a.enbtn:hover:before {
  border-color: #4F48BA;
}
@media (max-width: 736px) {
  .nearby_unit a.enbtn {
    max-width: 320px;
  }
}
/*006_
en_contact*/
#en_contact .inner {
  max-width: 1000px;
  margin: 4em auto;
  text-align: left;
}
@media (min-width: 768px) and (max-width: 1024px) {
#en_contact .inner {
  margin: 4em;
}	
}
@media (max-width: 767px) {
  #en_contact .inner {
    padding: 0 2rem;
  }
}
/************************************
** Contact form 7 CSSカスタマイズ
************************************/
/* 入力欄全体の設定 */
input[type="text"], input[type="password"], input[type="datetime"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], select, textarea {
  display: block;
  width: 100%;
  height: 45px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 1px solid #1F1E47;
  border-radius: 3px;
  box-shadow: none;
  background-color: #fff;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  transition: background-color 0.24s ease-in-out;
}
/* テキストエリアの設定 */
table.CF7_table textarea {
  resize: vertical;
  max-width: 100%;
  min-height: 300px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}
/* 入力欄とテキストエリア共通 */
.CF7_table input, .CF7_table select, .CF7_table textarea {
  border: 1px solid #d8d8d8;
}
/* table */
table.CF7_table {
  width: 100%;
  margin: 0 auto;
  border: none !important
}
table.CF7_table tr {
  border-top: 1px solid #e5e5e5;
}
table.CF7_table th {
  width: 30%;
  background-color: #F3F7FA;
  font-size: 15px;
  vertical-align: middle;
}
@media (min-width: 768px) and (max-width: 1023px) {
  table.CF7_table th {
    width: 35%;
  }
}
/* 背景を削除 */
table.CF7_table tr, table.CF7_table th, table.CF7_table td {
  padding: 0.75rem 0.75rem !important;
  background: none !important;
  border: none !important;
}
.single .entry-content table.CF7_table, .page .entry-content table.CF7_table {
  display: table;
}
.CF7_table ::placeholder {
  color: #797979;
}
/* レスポンシブ */
@media screen and (max-width: 767px) {
  .CF7_table tr, .CF7_table td, .CF7_table th {
    display: block;
    width: 100% !important;
    line-height: 2.5em;
  }
  .CF7_table th {
    background-color: #F3F7FA;
  }
}
/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
  background-color: #1F1E47;
  border: 2px solid #1F1E47;
  color: #fff;
  font-weight: bold;
  margin: 20px auto;
  padding: 0.5rem 2rem;
  transition: all 0.5s 0s ease;
}
.wpcf7 input.wpcf7-submit:hover {
  background: #fff;
  color: #1F1E47;
}
.CF7_btn {
  text-align: center;
  margin: 20px;
}
.wpcf7-spinner {
  width: 0;
  margin: 0;
}
#en_contact .inner .message {
  font-size: 1.250rem;
}
.hissu {
  color: #990000;
  font-size: 1.2rem;
  line-height: 1;
}
.waku {
  padding: 1rem;
  border: 1px solid #1f1e47;
  margin: 2rem 0;
}
.en_contact_form {
  margin-top: 2rem;
}
.privacy_link {
  text-decoration: underline;
  margin-top: 2rem;
}
.en_contact_form dl {
  display: flex;
  flex-wrap: wrap; 
  align-items: center; 
}
.en_contact_form dt {
  width: 20%;
  box-sizing: border-box;
}
.en_contact_form dd {
  width: 80%;
  box-sizing: border-box;
  padding: 0.5rem 0;
}
@media (max-width: 1024px) {
  #en_contact .inner {
    padding: 15px 2rem;
  }
}
@media (max-width: 600px) {
  .en_contact_form dl {
    display: block;
  }
  .en_contact_form dt, .en_contact_form dd {
    width: 100%;
  }
}
.wpcf7-form textarea[name="your-message"] {
  min-height: 220px;
}
/*007_
en_privacy_policy*/
#en_pp .inner {
  max-width: 1000px;
  padding-bottom: 2em;
  margin: 4em auto;
  text-align: left;
}
#en_pp .inner h2 {
  border-bottom: 1px solid #2B417E;
  margin: 2em 0 1em 0;
  padding-bottom: 0.5em;
  font-size: 1.5rem;
}
#en_pp .inner h3 {
  margin: 2em 0 1em 0;
  padding-bottom: 0.5em;
  font-size: 1rem;
}
@media screen and (max-width: 1024px) {
  #en_pp section {
    width: 100%;
  }
  #en_pp .inner {
    padding: 20px
  }
}
/*404*/
#notfound .sub_title {
  text-align: center;
  position: relative;
  margin: 0;
  padding: 3em;
  height: 600px;
  background: url(../img/pp_title.png) center top no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
}
@media (max-width: 768px) {
  #notfound .sub_title {
    background-position: center;
    height: 360px;
  }
}
#notfound-404 {
  text-align: center;
}
#notfound-404 .inner {
  max-width: 1000px;
  padding: 2em;
  margin: 2em auto;
  text-align: center;
}
#notfound-404 .inner h2 {
  margin: 0;
}
@media (max-width: 820px) {
  #notfound-404 .inner {
    text-align: left;
  }
}