@charset "UTF-8";
/**
 * Mori Farm Theme - メインSCSSファイル（ベース用）
 * 
 * このファイルには、全ページで共通して使用する基本的なスタイルのみを含みます。
 * ページ固有のコンポーネントは各ページ用のSCSSファイルに分離されています。
 * 
 * 使用用途：
 * - 管理画面
 * - その他の基本ページ
 * - フォールバック用
 */
/**
 * 変数定義
 * テーマ全体で使用する色、フォント、サイズなどの変数を定義
 */
/**
 * ミックスイン定義
 * 再利用可能なスタイルパターンを定義
 */
/**
 * リセットとベーススタイル
 * ブラウザ間の差異を吸収し、ベースとなるスタイルを定義
 */
/* 基本的なリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.7;
  color: #33230B;
  background-color: #fff;
  font-weight: 400;
  font-feature-settings: "palt";
}

/* リンクのデフォルトスタイル */
a {
  color: #4a7c59;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
a:hover {
  color: #3a5f47;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* 画像の基本設定 */
img {
  max-width: 100%;
  height: auto;
}

/* ボタンのリセット */
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

/* リストのリセット */
ul, ol {
  list-style: none;
}

/* フォームの基本設定 */
input, textarea, select {
  font: inherit;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

/**
 * タイポグラフィ
 * 見出し、段落、テキストスタイルを定義
 */
h1, h2, h3, h4, h5, h6 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #33230B;
}

h1 {
  font-size: 2.75rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

p {
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #33230B;
}

a {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #4a7c59;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #3a5f47;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.875rem;
    line-height: 1.1;
  }
  h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  h4 {
    font-size: 1.125rem;
    line-height: 1.4;
  }
}
/**
 * コンテナレイアウト
 * ページ全体のレイアウト構造を定義
 */
.container {
  min-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .container {
    min-width: 100%;
  }
}

/**
 * ヘッダーレイアウト - BEM記法
 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f2eee9;
  min-width: 1200px;
}
@media (max-width: 768px) {
  .header {
    min-width: 100%;
  }
}
.header__container {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .header__container {
    padding: min(3.3333333333vw, 25px);
  }
}

.branding__title {
  margin: 0;
}
.branding__title a {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 15px;
}
.branding__title a:hover {
  text-decoration: none;
  opacity: 0.8;
}
@media (max-width: 768px) {
  .branding__title a {
    column-gap: min(2vw, 15px);
  }
}
.branding__title-logo {
  width: 75px;
}
@media (max-width: 768px) {
  .branding__title-logo {
    width: min(13.3333333333vw, 100px);
  }
}
.branding__title-text {
  font-size: 21px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .branding__title-text {
    font-size: min(3.7333333333vw, 28px);
  }
}
.branding__title-logo-text {
  display: flex;
  width: 250px;
}
@media (max-width: 768px) {
  .branding__title-logo-text {
    width: min(42.6666666667vw, 320px);
  }
}
.branding__description {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #5a6c7d;
  margin: 0 0 0 1.5rem;
  letter-spacing: 0.01em;
}

/**
 * メインコンテンツレイアウト - BEM記法
 */
.footer {
  width: 100%;
  min-width: 1200px;
  background-color: #ffffff;
  padding: 0;
  margin-top: auto;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  position: relative;
}
@media (max-width: 768px) {
  .footer {
    min-width: 100%;
  }
}
.footer::before {
  content: "";
  width: 100%;
  height: 40px;
  background-image: url(/wp-content/themes/mori-farm/assets/img/top/wave_top.png);
  background-repeat: repeat-x;
  position: absolute;
  top: -40px;
}
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0 50px 0;
  text-align: center;
}
.footer__nav {
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
@media (max-width: 768px) {
  .footer__nav {
    margin-bottom: 30px;
    gap: 10px;
  }
}
.footer__nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 768px) {
  .footer__nav-row {
    gap: 15px;
  }
}
.footer__link {
  color: #33230B;
  text-decoration: none;
  font-size: 21px;
  transition: color 0.3s ease;
}
@media (max-width: 768px) {
  .footer__link {
    font-size: 14px;
  }
}
.footer__separator {
  color: #33230B;
  font-size: 21px;
}
@media (max-width: 768px) {
  .footer__separator {
    font-size: 14px;
  }
}
.footer__company-info {
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .footer__company-info {
    margin-bottom: 30px;
  }
}
.footer__company-name {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .footer__company-name {
    font-size: 28px;
    margin-bottom: 20px;
  }
}
.footer__address, .footer__phone {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.footer__address a, .footer__phone a {
  color: #33230B;
}
@media (max-width: 768px) {
  .footer__address, .footer__phone {
    font-size: 16px;
    margin-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .footer__social {
    margin-bottom: 30px;
  }
}
.footer__social-link {
  display: inline-block;
  width: 45px;
  height: 45px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.footer__social-link:hover {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .footer__social-link {
    width: 50px;
    height: 50px;
  }
}
.footer__social-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer__copyright {
  background-color: #f2eee9;
  padding: 15px;
  text-align: center;
}
@media (max-width: 768px) {
  .footer__copyright {
    padding: 15px;
  }
}
.footer__copyright-text {
  font-size: 11px;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .footer__copyright-text {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: min(20vw, 150px) 20px min(5.3333333333vw, 40px) 20px;
  }
  .footer__nav {
    margin-bottom: 40px;
    width: 100%;
  }
  .footer__nav-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px min(5.3333333333vw, 40px);
    justify-items: center;
    align-items: center;
  }
  .footer__link:nth-child(1) {
    grid-row: 1;
    grid-column: 1;
  }
  .footer__separator:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
  }
  .footer__link:nth-child(3) {
    grid-row: 1;
    grid-column: 3;
  }
  .footer__separator:nth-child(4) {
    display: none;
  }
  .footer__link:nth-child(5) {
    grid-row: 2;
    grid-column: 1/-1;
    justify-self: center;
  }
  .footer__separator:nth-child(6) {
    display: none;
  }
  .footer__link:nth-child(7) {
    grid-row: 3;
    grid-column: 1;
  }
  .footer__separator:nth-child(8) {
    grid-row: 3;
    grid-column: 2;
  }
  .footer__link:nth-child(9) {
    grid-row: 3;
    grid-column: 3;
  }
  .footer__link {
    font-size: min(5.0666666667vw, 38px);
    margin-bottom: 0;
    display: block;
    text-align: center;
  }
  .footer__separator {
    font-size: 16px;
    color: #33230B;
    display: inline-block;
  }
  .footer__company-info {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }
  .footer__company-name {
    font-size: min(8vw, 60px);
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: center;
  }
  .footer__address, .footer__phone {
    font-size: min(5.0666666667vw, 38px);
    margin-bottom: min(5.3333333333vw, 40px);
    line-height: 1.6;
    text-align: center;
    color: #33230B;
  }
  .footer__address {
    margin-bottom: 6px;
  }
  .footer__phone {
    margin-bottom: 0;
  }
  .footer__phone a {
    color: #33230B;
  }
  .footer__social-link {
    width: min(13.3333333333vw, 100px);
    height: min(13.3333333333vw, 100px);
  }
}
/**
 * グローバルナビゲーション
 * 
 * PCでは横並びメニュー、SPではハンバーガーメニュー形式で動作
 */
.global-navigation {
  position: relative;
}
.global-navigation__menu-toggle {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  width: min(11.4666666667vw, 86px);
  height: min(11.4666666667vw, 86px);
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.global-navigation__menu-toggle .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.global-navigation .menu-toggle__icon-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.global-navigation .menu-toggle__line {
  display: block;
  width: min(6.6666666667vw, 50px);
  height: 4px;
  background-color: #333333;
  margin: 0 auto;
  margin-bottom: min(1.6vw, 12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 1px;
  flex-shrink: 0;
  transform-origin: center center;
}
.global-navigation .menu-toggle__line:last-child {
  margin-bottom: 0;
}
.global-navigation__menu-toggle--active {
  background: #e9e9e9;
}
.global-navigation__menu-toggle--active .menu-toggle__line {
  position: absolute;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  transition: none;
}
.global-navigation__menu-toggle--active .menu-toggle__line:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}
.global-navigation__menu-toggle--active .menu-toggle__line:nth-child(2) {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.global-navigation__menu-toggle--active .menu-toggle__line:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  transition: transform 0.3s ease;
}
.global-navigation__menu {
  display: block;
}
.global-navigation__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-navigation__item {
  position: relative;
}
.global-navigation__item--contact {
  margin-left: 0;
}
.global-navigation__icon {
  display: inline-block;
  width: min(2.6666666667vw, 24px);
  height: min(2.6666666667vw, 24px);
  margin-right: min(0.8vw, 8px);
  vertical-align: middle;
  flex-shrink: 0;
}
.global-navigation__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.global-navigation__icon--thoughts {
  color: #8B4513;
}
.global-navigation__icon--careers {
  color: #228B22;
}
.global-navigation__icon--blog {
  color: #228B22;
}
.global-navigation__icon--company {
  color: #8B4513;
}
.global-navigation__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
.global-navigation__divider {
  width: 1px;
  height: min(4.2666666667vw, 40px);
  background: #ccc;
  margin: 0 min(1.0666666667vw, 8px);
  align-self: center;
}
@media (max-width: 768px) {
  .global-navigation__divider {
    display: none;
  }
}
.global-navigation__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.global-navigation__overlay--active {
  opacity: 1;
  visibility: visible;
}
.global-navigation--mobile .global-navigation__menu-toggle {
  display: block;
}
.global-navigation--mobile .global-navigation__menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 95vw;
  height: 100%;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  background: #fff;
  padding: min(2vw, 15px);
  padding-top: min(17.3333333333vw, 130px);
  display: block;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}
.global-navigation--mobile .global-navigation__menu--active {
  transform: translateX(0);
}
.global-navigation--mobile .global-navigation__list {
  display: flex;
  flex-direction: column;
  gap: min(1.3333333333vw, 10px);
}
.global-navigation--mobile .global-navigation__item {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: min(1.0666666667vw, 8px);
}
.global-navigation--mobile .global-navigation__item:last-child {
  border-bottom: none;
}
.global-navigation--mobile .global-navigation__link {
  display: flex;
  align-items: center;
  font-size: min(4.8vw, 36px);
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}
.global-navigation--mobile .global-navigation__link:hover {
  color: #3a5f47;
}
.global-navigation--mobile .global-navigation__icon {
  width: min(3.7333333333vw, 32px);
  height: min(3.7333333333vw, 32px);
  margin-right: min(1.0666666667vw, 8px);
  flex-shrink: 0;
}
.global-navigation--mobile .global-navigation__item--contact .global-navigation__link--contact {
  background: #8DB44F;
  color: white;
  height: min(16.6666666667vw, 125px);
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  border: none;
}
.global-navigation--mobile .global-navigation__item--contact .global-navigation__link--contact:hover {
  background: #7a9f42;
  color: white;
}
.global-navigation--desktop .global-navigation__menu-toggle {
  display: none;
}
.global-navigation--desktop .global-navigation__menu {
  position: static;
  transform: none;
  width: auto;
  height: auto;
  overflow: visible;
  background: transparent;
  padding: 0;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.global-navigation--desktop .global-navigation__overlay {
  display: none;
}
.global-navigation--desktop .global-navigation__list {
  display: flex;
  align-items: center;
  column-gap: 40px;
}
.global-navigation--desktop .global-navigation__item {
  border-bottom: none;
  padding-bottom: 0;
}
.global-navigation--desktop .global-navigation__item--contact {
  margin-left: 30px;
}
.global-navigation--desktop .global-navigation__item--contact .global-navigation__link--contact {
  background: #98ab3f;
  color: #fff;
  height: 50px;
  width: 160px;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.global-navigation--desktop .global-navigation__item--contact .global-navigation__link--contact:hover {
  background: #45a049;
  color: white;
}
.global-navigation--desktop .global-navigation__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  row-gap: 5px;
}
.global-navigation--desktop .global-navigation__link:hover {
  color: #3a5f47;
}
.global-navigation--desktop .global-navigation__link-icon {
  height: 38px;
  width: fit-content;
}

.global-navigation-open {
  overflow: hidden;
  width: 100%;
}

.global-navigation__link:focus,
.global-navigation__hamburger:focus {
  outline: none;
}

.global-navigation .global-navigation__menu-toggle {
  display: none;
}
.global-navigation .global-navigation__menu {
  position: static;
  transform: none;
  width: auto;
  height: auto;
  overflow: visible;
  background: transparent;
  padding: 0;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.global-navigation .global-navigation__overlay {
  display: none;
}

@media (max-width: 768px) {
  .global-navigation .global-navigation__menu-toggle {
    display: block;
  }
  .global-navigation .global-navigation__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 95vw;
    height: 100%;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    background: #fff;
    padding: min(20vw, 150px) min(6.6666666667vw, 50px) min(6.6666666667vw, 50px) min(6.6666666667vw, 50px);
    display: block;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }
  .global-navigation .global-navigation__menu--active {
    transform: translateX(0);
  }
  .global-navigation .global-navigation__list {
    display: flex;
    flex-direction: column;
    gap: min(1.3333333333vw, 10px);
  }
  .global-navigation .global-navigation__item {
    border-bottom: 1px solid #A5947E;
  }
  .global-navigation .global-navigation__item:last-child {
    border-bottom: none;
    margin-top: min(9.3333333333vw, 70px);
  }
  .global-navigation .global-navigation__link {
    display: flex;
    align-items: center;
    column-gap: min(6.6666666667vw, 50px);
    padding: min(6.6666666667vw, 50px) min(4vw, 30px);
    font-size: min(4.8vw, 36px);
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
  }
  .global-navigation .global-navigation__link img {
    width: min(8.6666666667vw, 65px);
  }
  .global-navigation .global-navigation__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(10.6666666667vw, 80px);
    text-align: center;
    flex-shrink: 0;
  }
  .global-navigation .global-navigation__icon img {
    width: auto;
  }
  .global-navigation .global-navigation__overlay {
    display: none;
  }
  .global-navigation .global-navigation__overlay--active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}
/**
 * ユーティリティクラス - BEM記法
 */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  background: #1a252f;
  color: #fff;
  font-weight: 700;
  left: 6px;
  padding: 8px 16px;
  position: absolute;
  text-decoration: none;
  top: -40px;
  transition: top 0.3s ease;
  z-index: 100000;
}
.skip-link:focus {
  top: 6px;
}

.u-hidden {
  display: none !important;
}

.u-visible {
  display: block !important;
}

.u-text-center {
  text-align: center !important;
}

.u-text-left {
  text-align: left !important;
}

.u-text-right {
  text-align: right !important;
}

.u-mt-0 {
  margin-top: 0 !important;
}

.u-mt-1 {
  margin-top: 0.5rem !important;
}

.u-mt-2 {
  margin-top: 1rem !important;
}

.u-mt-3 {
  margin-top: 1.5rem !important;
}

.u-mt-4 {
  margin-top: 2rem !important;
}

.u-mb-0 {
  margin-bottom: 0 !important;
}

.u-mb-1 {
  margin-bottom: 0.5rem !important;
}

.u-mb-2 {
  margin-bottom: 1rem !important;
}

.u-mb-3 {
  margin-bottom: 1.5rem !important;
}

.u-mb-4 {
  margin-bottom: 2rem !important;
}

.u-pt-0 {
  padding-top: 0 !important;
}

.u-pt-1 {
  padding-top: 0.5rem !important;
}

.u-pt-2 {
  padding-top: 1rem !important;
}

.u-pt-3 {
  padding-top: 1.5rem !important;
}

.u-pt-4 {
  padding-top: 2rem !important;
}

.u-pb-0 {
  padding-bottom: 0 !important;
}

.u-pb-1 {
  padding-bottom: 0.5rem !important;
}

.u-pb-2 {
  padding-bottom: 1rem !important;
}

.u-pb-3 {
  padding-bottom: 1.5rem !important;
}

.u-pb-4 {
  padding-bottom: 2rem !important;
}

.btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  border-radius: 9999px;
  background-color: #8B5E3C;
  position: relative;
  transition: all 0.3s ease;
  color: #fff;
}
.btn__txt {
  font-size: 20px;
  display: inline-flex;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .btn__txt {
    font-size: min(5.0666666667vw, 38px);
  }
}
.btn:hover {
  background-color: #A4714C;
  color: #fff;
}
.btn--link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  position: absolute;
  top: 50%;
  transform: rotate(45deg) translateY(-50%);
  right: 30px;
}
@media (max-width: 768px) {
  .btn--link::after {
    right: 8vw;
    top: 48%;
    width: 12px;
    height: 12px;
    border-right: 3px solid currentColor;
    border-top: 3px solid currentColor;
  }
}
@media (max-width: 768px) {
  .btn--external .btn__txt {
    font-size: min(4vw, 30px);
  }
}
.btn--external::after {
  content: "";
  width: 16px;
  height: 12px;
  background-image: url(/wp-content/themes/mori-farm/assets/img/icon_external.png);
  background-size: 100% auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
}
@media (max-width: 768px) {
  .btn--external::after {
    width: min(5.6vw, 42px);
    height: min(4.2666666667vw, 32px);
    background-size: 100% auto;
    right: 6vw;
  }
}
@media (max-width: 768px) {
  .btn {
    padding: min(6.6666666667vw, 50px) 0;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top__button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.back-to-top__button:hover {
  transform: translateY(-2px);
}
.back-to-top__icon {
  transition: transform 0.2s ease;
}
.back-to-top__button:hover .back-to-top__icon {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .back-to-top {
    display: none;
    bottom: 20px;
    right: 20px;
  }
  .back-to-top__icon {
    width: min(20.4vw, 153px);
    height: min(21.7333333333vw, 163px);
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

@media screen and (min-width: 1000px) {
  .back-to-top {
    right: calc(30px + 100vw - 100%);
  }
}
.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

@media (max-width: 768px) {
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
}

/*# sourceMappingURL=theme-base.css.map */
