@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
*/

@media screen and (max-width: 959px) {
    body {
        padding-bottom: 60px; /* 固定メニューの高さに合わせて余白を設定 */
    }
    .p-fixBtnWrap {
        bottom: 5.5em; /* 上に戻るボタンの位置を上に */
    }
    #fixed-bottom-menu {
        display: block;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 99;
        background-color: #000;
        padding: .3em .3em;
    }
    #fixed-bottom-menu .swell-block-column {
        padding: .5em;
    }
    #fixed-bottom-menu .swell-block-button__link[data-has-icon] {
        padding: 1em 1em;
    }    
}

@media screen and (min-width: 960px) {
    #fixed-bottom-menu, #fixed-sidebar-menu {
        display: none; /* PCでは非表示にする */
    }
}

/* SWELL: PCヘッダーを常に全幅に（透明/非透明どちらでも） */
@media (min-width: 1025px) {
  /* 幅制限している内側コンテナを解除し、フルブリードに */
  .l-fixHeader__inner,
  .l-header__inner,
  .l-fixHeader__inner > .c-container,
  .l-header__inner > .c-container,
  .l-fixHeader__inner .l-container,
  .l-header__inner .l-container {
    max-width: none !important;
    width: 100vw !important;
    /* 画面端まで広げつつ中央寄せを維持するテクニック */
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    /* 端がくっつきすぎないようにガターを確保（お好みで調整） */
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
  }

  /* ナビの左右を均等に広げたい場合（任意） */
  .p-globalNav__inner { justify-content: space-between; }
}

.loop-slider {
    display: flex;
    overflow: hidden;
    gap: 0rem; /* 画像間の余白を指定 */
}

.loop-slider .wp-block-group__inner-container,
.loop-slider .swell-block-columns {
    display: contents;
}

.loop-slider .swell-block-columns__inner {
    flex-wrap: nowrap;
    animation: infinity-scroll-left 10s infinite linear; /* アニメーションの時間を指定 */
}

.loop-slider .swell-block-column figure {
    width: 500px; /* 画像の横幅を指定（パソコン） */
    position: relative;
}

.loop-slider .swell-block-column figure::before {
    padding-top: 66.67%; /* 画像の縦横比を指定 */
    display: block;
    content: "";
}

.loop-slider .swell-block-column figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 959px) {
    .loop-slider .swell-block-column figure {
        width: 400px; /* 画像の横幅を指定（スマホ） */
    }
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* メインビジュアルの要素を下寄せ */
.p-mainVisual__textLayer { 
justify-content: flex-end; 
}

/* ヘッダーナビゲーション調整 */
.c-gnav>.menu-item>a .ttl {
font-size: 20px;
color: #000000;
font-weight: bold;
letter-spacing: 1.3px;
}

/* --- スマホでのみ表示 (599px以下) --- */
@media screen and (max-width: 599px) {
  .show-sp-only {
    display: block !important;
  }
}

/* --- それ以外の画面サイズ（タブレット・PC）では非表示 --- */
@media screen and (min-width: 600px) {
  .show-sp-only {
    display: none !important;
  }
}

/* タブレットでのみ表示 */
.show-on-tablet {
    display: none; /* デフォルトでは非表示にする */
}

/* SWELLのタブレットサイズ（600px以上）で表示 */
@media (min-width: 600px) {
    .show-on-tablet {
        display: block;
    }
}

/* SWELLのPCサイズ（1024px以上）で非表示 */
@media (min-width: 1024px) {
    .show-on-tablet {
        display: none;
    }
}

/* 全幅リッチカラムの左右余白 */
.zenpuku-frame-wrap {
  padding-left: clamp(16px, 2.5vw, 40px);
  padding-right: clamp(16px, 2.5vw, 40px);
  box-sizing: border-box;
}

/* 白枠の角丸ボックス */
.white-frame-box {
  border: 1.5px solid #fff;
  border-radius: 14px;
  padding: 28px 36px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(168, 139, 92, 0.12);
}

/* グリーン枠の角丸ボックス */
.green-frame-box {
  border: 1.5px solid #68B735;
  border-radius: 14px;
  padding: 28px 36px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(168, 139, 92, 0.12);
}

/* =====================================
   Contact Form 7 全体
===================================== */

.wpcf7 {
  width: 100%;
  color: #ecf0f1;
}

/* フォームを中央に配置 */
.wpcf7 form {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;

  /* PCでは2列 */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;

  /* 項目どうしの縦方向の余白 */
  row-gap: 30px;
}


/* =====================================
   Contact Form 7が自動生成する段落
===================================== */

/* WordPress・CF7標準の余白をリセット */
.wpcf7 form > p {
  margin: 0 !important;
}

/* 1番目の氏名を左側に配置 */
.wpcf7 form > p:nth-of-type(1) {
  grid-column: 1;
}

/* 2番目のメールアドレスを右側に配置 */
.wpcf7 form > p:nth-of-type(2) {
  grid-column: 2;
}

/* 3番目以降は横幅いっぱいに配置 */
.wpcf7 form > p:nth-of-type(n+3) {
  grid-column: 1 / -1;
}


/* =====================================
   項目名
===================================== */

.wpcf7 label {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

/* 項目名と入力欄の間の余白 */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 10px;
}


/* =====================================
   入力欄
===================================== */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  box-sizing: border-box;
}

/* 1行入力欄の高さ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select {
  min-height: 54px;
}

/* メッセージ本文の高さ */
.wpcf7 textarea {
  min-height: 280px;
  resize: vertical;
}


/* =====================================
   入力欄を選択したとき
===================================== */

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #ff8c00;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.25);
}


/* =====================================
   送信ボタン
===================================== */

/* 最後の段落に送信ボタンがある場合 */
.wpcf7 form > p:last-of-type {
  text-align: center;
  margin-top: 5px !important;
}

.wpcf7 input[type="submit"] {
  display: inline-block;
  width: auto;
  min-width: 240px;
  padding: 15px 40px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  background-color: #ff8c00;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #e67e00;
  transform: translateY(-2px);
}


/* =====================================
   エラーメッセージ・送信結果
===================================== */

.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: #fff3a6;
  font-size: 14px;
}

.wpcf7 .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 20px 0 0 !important;
}


/* =====================================
   スマホ・タブレット
===================================== */

@media screen and (max-width: 959px) {

  .wpcf7 form {
    padding-left: 20px;
    padding-right: 20px;

    /* スマホでは1列 */
    grid-template-columns: 1fr;

    /* 項目どうしの間隔 */
    row-gap: 26px;
  }

  /* 全項目を横幅いっぱいにする */
  .wpcf7 form > p:nth-of-type(n) {
    grid-column: 1 / -1;
  }

  .wpcf7 label {
    font-size: 17px;
  }

  .wpcf7 textarea {
    min-height: 220px;
  }

  .wpcf7 input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}