/* --- フォントの使い分け設定 --- */

/* UDデジタル教科書体 N-R (標準) */
@font-face {
  font-family: "UD-DigiKyokasho-Custom";
  src: url("font/UDDIGIKYOKASHON-R.TTC") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* UDデジタル教科書体 N-B (太字) */
@font-face {
  font-family: "UD-DigiKyokasho-Custom";
  src: url("font/UDDIGIKYOKASHON-B.TTC") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* TA-丸ゴGF05 */
@font-face {
  font-family: "TA-MaruGo-Custom";
  src: url("font/TA-丸ゴGF05.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* 1. M PLUS 1 (全般・モダンな箇所) */
.font-mplus {
  font-family: "M PLUS 1", sans-serif;
}

/* 2. UDデジタル教科書体 Pro (説明文・読みやすさ重視) */
.font-ud {
  font-family: "UD-DigiKyokasho-Custom", sans-serif;
}

/* 3. TA-おおにし (筆文字風：メインビジュアルや見出し) */
.zen-kurenaido-regular {
  font-family: "Zen Kurenaido", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* 4. TA-丸ゴGF05 (柔らかい見出し・商品名) */
.font-marugo {
  font-family: "TA-MaruGo-Custom", sans-serif;
}

/* --- 基本設定 --- */
body {
  font-family: "M PLUS 1", sans-serif;
  color: #723b0c;
  background-color: #fffdf5;
  line-height: 1.8;
  overflow-x: hidden;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 20px; /* 余白を広げて高級感を出す */
}

.white-bg {
  background-color: #fff;
}

/* --- ヘッダー --- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 20px;
}
.logo {
  width: 240px;
}

/* --- メインビジュアル --- */
.hero {
  background: url("img/hero-mv.png") no-repeat center center / cover;
  height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}
.vertical-text {
  writing-mode: vertical-rl;
  font-size: 3rem;
  color: #fff;
  margin-left: 12%;
  letter-spacing: 0.6em;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}
.large-text {
  font-size: 8rem;
  letter-spacing: 0.2em;
  margin-top: 160px;
}

/* --- マーカー見出し共通 --- */
.marker-base {
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  padding: 20px 60px;
  margin-bottom: 60px;
  font-weight: 300;
  display: table;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  position: relative;
}
/* 個別のマーカー画像指定 */
.marker-yellow-lime {
  background-image: url("img/marker-yellow-lime.png");
  max-width: 800px;
  width: 100%;
  font-size: 2.4rem;
}
.marker-yellow-pale {
  background-image: url("img/marker-yellow-pale.png");
  max-width: 800px;
  width: 100%;
  font-size: 2.4rem;
}
.marker-orange {
  background-image: url("img/marker-orange.png");
  max-width: 800px;
  width: 100%;
  font-size: 2.4rem;
}
.marker-yellow-gold {
  background-image: url("img/marker-yellow-gold.png");
  max-width: 800px;
  width: 100%;
  font-size: 2.4rem;
}
.marker-blue {
  background-image: url("img/marker-blue.png");
  max-width: 800px;
  width: 100%;
  font-size: 2.4rem;
}

/* --- 導入 --- */
.intro {
  padding: 192px 20px 160px 20px;
}

.intro h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 60px;
}
.intro span {
  font-size: 3rem;
}
.intro-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  margin-left: 160px;
  margin-bottom: 160px;
}
.intro-flex h2 {
  width: 100%;
  font-weight: 100;
}
.intro-flex span {
  margin-left: 60px;
}
.intro-img {
  position: absolute;
  width: 50%;
  left: -140px;
  z-index: 100;
}
.intro-text p {
  margin-bottom: 1.5em;
  text-align: center;
  font-size: 1.25rem;
}

/* --- 工程 --- */
.process-list {
  gap: 20px;
  text-align: center;
}
.process-list div {
  margin-bottom: 60px;
}
.process-list p {
  margin-bottom: 20px;
}

.process-item {
  max-width: 100%;
  display: flex;
  gap: 20px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.process-item p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-item img {
  width: 100%;
  max-width: 200px;
}
.process-note {
  padding: 30px;
  margin-top: 50px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 400%;
  letter-spacing: 0.4rem;
}

/* --- レシピ --- */
/* 見出しズレ */
.recipe {
  position: relative;
  z-index: 1;
  padding-bottom: 160px;
}

.recipe-card {
  margin-top: -120px;
  background: #fff;
  padding: 92px 50px 50px 50px;
  border-radius: 51px;
  border: 1px solid #f0e6d2;
}
.recipe-card h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.3rem;
  color: #723B0C;
}
.recipe-flex {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}
.recipe-flex img {
  width: 48%;
  border-radius: 42px;
}
.ingredients {
  width: 48%;
}
.ing-title {
  font-weight: 300;
  margin-bottom: 10px;
}
.ing-list {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}
.recipe-steps {
  /* border-top: 1px dashed #ccc; */
  padding-top: 20px;
  font-size: 0.95rem;
}
.recipe-steps li {
  margin-bottom: 8px;
}

/* --- 商品 --- */
.products {
  background-color: #fff;
  position: relative;
}

.products > div > h2 {
  position: relative;
  margin-top: -140px;
}

.product-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.product-item {
  text-align: center;
}
.product-item img {
  width: 220px;
  transition: transform 0.3s;
}
.product-item img:hover {
  transform: translateY(-5px);
}
.product-item h4 {
  margin: 15px 0 5px;
}
.price {
  font-weight: 300;
  color: #b08d57;
}
.tax-note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* --- お問い合わせ --- */
.contact {
  background-color: #fff;
}
.contact h2 {
  margin-top: -100px;
}
.contact-form {
  color: #646464;
  max-width: 650px;
  margin: 0 auto;
  padding: 40px;
}
.form-group {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-group label {
  width: 160px;
  padding-top: 10px;
  font-weight: 300;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
}
.submit-btn {
  background: #fff;
  border: 1px solid #333;
  color: #723B0C;
  height: 64px;
  max-width: 400px;
  width: 100%;
  padding: 15px 80px;
  display: block;
  margin: 30px auto 0;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 32px;
}
.submit-btn:hover {
  background: #333;
  color: #fff;
}

/* --- フッター --- */
footer {
  padding: 80px auto;
  background: #fff;
  text-align: center;
}
.map-area {
  margin-bottom: 40px;
}

.gmap {
  width: 800px;
  height: 498px;
}

.footer-info {
  font-size: 0.9rem;
  color: #646464;
}
.company-details {
  margin: 72px auto 160px auto;
  width: 40%;
}

.company-details p {
  padding-bottom: 10px;
}

.company-item {
  width: 100%;
  margin-bottom: 16px;
  padding-inline: 4%;
  display: flex;
  justify-content: space-between;
  border-bottom: solid 1px;
}

.company-item-meta {
  width: 50%;
  text-align: left;
}

.company-item-ttl {
  width: 72px;
  text-align-last: justify; /* Chrome・Firefox用 */
  text-justify: inter-ideograph; /* IE・Edge用 */
}

.copyright {
  padding-bottom: 2%;
  font-size: 0.8rem;
  color: #999;
}

/* --- 送信完了画面 --- */
.send-container {
    width: 100%;
    min-height: 100vh; /* 画面の高さに合わせる */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
}

.send-box {
    background: #fff;
    padding: 60px 40px;
    border-radius: 40px; /* FAQと合わせた丸み */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.send-box h1 {
    font-size: 24px;
    color: #7A8EBC; /* FAQのラベルと同じ色 */
    margin-bottom: 24px;
    text-wrap: balance; /* ちょうどいい改行 */
}

.send-box p {
    font-size: 16px;
    color: #646464;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* 戻るボタン */
.back-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #7A8EBC;
    color: #fff !important;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
}

.back-btn:hover {
    background: #6a7da8;
    transform: translateY(-2px);
}

/* エラー時のスタイル変更 */
.send-box.error h1 {
    color: #e57373;
}
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}


/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .section {
    margin: 0 auto;
  }
  .logo{
    width: 160px;
  }
  
  .hero {
    background: url("img/hero-mv.png") no-repeat 64% 0 / cover;
  }
  .marker-base {
    font-size: 2rem !important;
  }

  .gmap {
    padding-inline: 10%;
    width: 100%;
    height: 320px;
  }

  .intro {
    padding: 80px 20px 80px 20px;
  }

  .intro-flex {
    flex-direction: column-reverse;
    align-items: center;
  }

  .intro-flex,
  .intro-flex span {
    margin-inline: 0;
    margin-bottom: 4%;
  }

  .recipe-flex,
  .process-list,
  .product-grid,
  .form-group {
    flex-direction: column;
    align-items: center;
  }
  .intro-img,
  .recipe-flex img,
  .form-group label {
    width: 100%;
    text-align: center;
  }

  .intro-img {
    position: relative;
    left: unset;
  }

  .ingredients {
    width: unset;
  }

  .form-group input,
  select,
  textarea {
    width: 100%;
  }
  .vertical-text {
    font-size: 2rem;
  }
  .large-text {
    font-size: 4rem;
  }

  .recipe-card {
    margin-top: -96px;
  }
}

@media (max-width: 450px) {
  .marker-base {
    margin-bottom: 24px;
    font-size: 1.2rem !important;
  }


  .vertical-text {
    margin-bottom: 208px;
  }

  .intro {
    padding: 40px 20px 40px 20px;
  }

  .intro h2 {
    font-size: 1.1rem;
  }

  .intro-text p {
    font-size: unset;
  }

  .recipe-card {
    margin-top: -56px;
    border-radius: 24px;
  }

  .process-item {
    flex-direction: column;
  }

  .products > div > h2 {
    margin-top: -120px;
  }

  .contact-form {
    padding-top: 0;
  }

  .submit-btn {
    height: 48px;
    padding: 4px 80px;
  }
  .company-details {
    margin: 32px auto 56px auto;
    width: 70%;
  }
}

