@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@400;500&family=Shippori+Mincho:wght@400;500;600;700&display=swap");

:root {
  --color-main: #0c4808;
  --color-lightgreen: #92ca92;
  --color-normal-button: #94bf2d;
  --color-white: #ffffff;
  --color-pic-frame: #cfa972;
  --color-form: #f5f3ec;
  --color-form-border: #c7c4ba;
  --color-form-required: #b85c5c;
  --color-submit-normal: #fafafa;
}

h1,
h2,
h3,
.bouque-copy {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  color: var(--color-main);
}

/* ブログ記事本文・記事一覧の見出しは本文と同じフォントに戻す（記事タイトルh1は明朝のまま） */
.single h2,
.single h3,
.p-postList .p-postList__title {
  font-family: var(--swl-font_family);
  font-weight: 400;
}

/* 初期状態 */
.fade-left,
.fade-up {
  opacity: 0;
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

/* タイトル左からフェードイン */
.fade-left {
  transform: translateX(-40px);
}

/* 本文・画像は下からフェードイン */
.fade-up {
  transform: translateY(40px);
}

/* 表示された状態 */
.fade-left.is-visible,
.fade-up.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* フッター前の空白をなくす */
#content {
  margin-bottom: 0;
}

/* 固定ページの最後がフルワイド以外のときは、フッター前にフルワイドと同じ余白をつける */
.page .post_content > :last-child:not(.swell-block-fullWide) {
  padding-bottom: 60px;
}

/* 本文がフルワイドブロックから始まるページは、タイトル下の余白をフルワイドの padding だけにする */
.l-mainContent__inner > .post_content:has(> .swell-block-fullWide:first-child) {
  margin-top: 0;
}

/* 見出し下のベージュの下線（右に向かって透明に） */
.title-line,
.c-pageTitle {
  position: relative;
  padding-bottom: 0.6em;
}

.title-line::after,
.c-pageTitle::after {
  content: "";
  visibility: visible;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    #e6ded3 0%,
    rgba(230, 222, 211, 0) 100%
  );
}

/* ページタイトル（h1）：SWELLの「下線」スタイルの線を消す */
.c-pageTitle[data-style="b_bottom"] {
  border-bottom: none;
}

.c-pageTitle[data-style="b_bottom"] .c-pageTitle__inner {
  float: none;
  margin-bottom: 0;
  padding: 0.5em 0 0;
  border-bottom: none;
}

/* 記事ページ：タイトル横の日付 */
.c-postTitle__date {
  font-family: "Cormorant Infant", serif;
  font-weight: 500;
  color: var(--color-main);
}

/* 記事下のカテゴリー表示（点線ごと）を非表示 */
.p-articleFoot {
  display: none;
}

/* ブログ一覧・アーカイブ：日付をタイトルの上に */
.blog .p-postList__body,
.archive .p-postList__body {
  display: flex;
  flex-direction: column;
}

.blog .p-postList__meta,
.archive .p-postList__meta {
  order: -1;
  margin: 0 0 0.25em;
  color: var(--color-main);
}

/* NEWS 一覧：日付をタイトルの左に */
.news-list .p-postList__body {
  display: flex;
  align-items: center;
  gap: 2em;
}

.news-list .p-postList__meta {
  flex-shrink: 0;
  width: 12em;
  margin: 0;
}

.news-list .c-postTimes {
  opacity: 1;
}

.news-list .c-postTimes__posted {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-main);
}

/* 日付の時計アイコンを消す（サイト全体） */
.c-postTimes__posted::before {
  content: none;
}

/* パンくずの家アイコンを非表示 */
.p-breadcrumb .__home::before {
  content: none;
}

/* MOREボタン（下の線＋右下に斜めの矢印） */
.btn-more .swell-block-button__link {
  position: relative;
  padding: 1.5em 2em 0.8em calc(2em + 0.3em);
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  color: var(--color-main);
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 1.2em;
  letter-spacing: 0.3em;
  transition: opacity 0.25s;
}

/* 下線を右に延長 */
.btn-more .swell-block-button__link::before {
  content: "";
  position: absolute;
  left: 100%;
  bottom: -1px;
  width: 25px;
  height: 1px;
  background-color: currentColor;
}

/* 延長した下線の先端から左上に向かう斜線 */
.btn-more .swell-block-button__link::after {
  content: "";
  position: absolute;
  left: calc(100% + 25px - 30px);
  bottom: -1px;
  width: 30px;
  height: 1px;
  background-color: currentColor;
  transform-origin: right center;
  transform: rotate(35deg);
}

.btn-more .swell-block-button__link:hover {
  background: none;
  border-color: currentColor;
  color: var(--color-main) !important;
  opacity: 0.6;
}

/* =========================
   HOME
========================= */

/* CONCEPT */
.concept-title {
  text-align: center;
  font-size: 48px !important;
  border: none !important;
  color: var(--color-lightgreen);
  padding: 0;
  margin-bottom: 1.5em !important;
}

/* フッター前のCTAエリアの空白削除 */
.home-cta {
  margin-bottom: 0;
}

/* 4つのこだわり　Pointテキスト */
.value-point {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  color: var(--color-lightgreen);
}

/* =========================
   Products
========================= */
/* 写真の枠飾り */
.pic-frame img {
  border: 8px solid var(--color-white);
  outline: 1px solid var(--color-pic-frame);
}

/* =========================
   Contact Form
========================= */
.wpcf7-form > p {
  margin-bottom: 1em;
}

/* フォーム全体を中央に配置（ラベルは左揃えのまま） */
.wpcf7-form {
  max-width: 500px;
  margin-inline: auto;
}

/* 必須バッジ */
.required {
  font-size: 0.75em;
  color: var(--color-form-required);
  margin-left: 0.5em;
}

/* CF7 フォームの入力欄 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  background-color: var(--color-form);
  border: 1px solid var(--color-form-border);
}

/* CF7 プライバシーポリシー */
.privacy-policy {
  text-align: center;
}

.privacy-policy-link {
  border-bottom: 1px solid var(--color-main);
}

/* CF7 送信ボタン */
.wpcf7-submit {
  margin-top: 2em !important;
  padding: 1em 0;
  width: 100%;
  background-color: var(--color-submit-normal);
  color: var(--color-main);
  border: 1px solid var(--color-main);
}

.wpcf7-submit:hover {
  background-color: var(--color-main);
  color: var(--color-submit-normal);
}

/* リッチカラムが1列になる幅（SWELLのタブレット幅）*/
@media (max-width: 959px) {
  /* CONCEPTのカラム下の余白（縦並び時は広めに） */
  .concept-columns {
    max-width: 500px;
    margin-inline: auto;
  }

  /* CONCEPTのカラム下の余白（縦並び時は広めに） */
  .concept-summery {
    margin-bottom: 8em !important;
  }
}

/* カラムが1列になる幅（SWELLのタブレット幅） */
@media (max-width: 840px) {
  
 /* =========================
   HOME
　========================= */ 
  .bouquet-reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .news-list .p-postList__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25em;
  }

  .news-list .c-postTimes__posted {
    font-size: 13px;
  }


}

@media (max-width: 599px) {
  /* 固定ページの最後がフルワイド以外のときは、フッター前にフルワイドと同じ余白をつける */
  .page .post_content > :last-child:not(.swell-block-fullWide) {
    padding-bottom: 40px;
  }

  /* CF7 フォームの入力欄 SP幅調整*/
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 select,
  .wpcf7 textarea,
  .wpcf7-submit {
    width: 100%;
  }

  /* 商品写真の横幅を揃える（ブロックで指定した幅を上書き） */
  .pic-frame img {
    width: 100% !important;
  }

  /* 商品写真の間の余白を、カラム間の余白（1.5rem）に揃える */
  .post_content .pic-frame {
    margin-bottom: var(--swl-clmn-mrgn--y, 1.5rem) !important;
  }
}
