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

/* =========================================
   コンタクトフォームCSS
   ========================================= */

/*コンタクトフォーム7調整*/

.cf7__list {
  margin-bottom: 40px;
}

.wpcf7 input[type="file"] {
    width: 100%;
}

.cf7__list dt:nth-of-type(n),
.cf7__list dd:nth-of-type(n) {
  margin-top: 30px;
}

.cf7__list dt {
  width: 100%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 100%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #BE1D1D;
}

.cf7__optional {
  background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea{
  width: 100%;
  padding: 15px 20px;
  background: #F4F4F4;
	resize: none;
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: '';
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #F4F4F4;
  color: #a5a5a5;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 0 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
  text-align: center;
}

input[type="submit"] {
  width: 60%;
  height: 60px;
  background: #066AAB;
  color: #fff;
  transition: opacity .6s;
	font-weight: bold;
}

input[type="submit"]:hover {
  opacity: .6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

.wpcf7-spinner {
  display: none!important;
}

@media screen and (max-width: 767px) {
	
	.cf7__list {
  margin-bottom: 30px;
  }

  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .cf7__list dd:nth-of-type(n) {
    margin-top: 20px;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 0 0 0;
  }

  /* 送信ボタン */
  input[type="submit"] {
    width: 80%;
    height: 56px;
    font-weight: bold;
  }
}

/* プライバシーポリシーリンク */
.cf7__policy {
  margin: 25px 0 20px;
  text-align: center;
}

.cf7__policy-link {
  color: #BE1D1D; /* 赤色 */
  font-weight: bold;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 10px;
}

/* 同意チェックボックス */
.cf7__policy-check {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}

/* 同意チェックと送信ボタンの間の余白を広げる */
.cf7__policy {
  margin-bottom: 50px; /* ← ここを増やすと余白が広がります（デフォルト20px） */
}

.cf7__policy-check input[type="checkbox"] {
  margin-right: 8px;
}

.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}


/* =========================================
   info-list 一覧
   ========================================= */

.info-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* カード */
.info-list__item {
  margin-bottom: 28px;
  border: 1px solid #C5A021;
  border-radius: 2px;
  background: #fff;
  padding: 16px;
}
.info-list__item:last-child { margin-bottom: 0; }

/* リンク */
.info-list__link {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}

/* 画像エリア（比率固定：16:9） */
.info-list__thumb {
  width: 40%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  /* 16:9固定 */
  aspect-ratio: 16 / 9;
  background: #CABF96;
}
.info-list__thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NEWバッジ */
.info-list__badge--new {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: #C5A021;
  color: #fff;
  letter-spacing: 0.06em;
  pointer-events: none;
}

/* テキストエリア */
.info-list__body {
  width: 60%;
  padding: 12px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

/* 日付（サイズ拡大） */
.info-list__date {
  font-size: 13px; /* 変更: 11px → 13px */
  color: #C5A021;
  letter-spacing: 0.04em;
}

/*
  タイトル
  h2ではなくpタグを使用。SWELLのh2スタイルが当たらないよう
  クラス名で直接スタイリングし、!importantで上書きを防ぐ
*/
.info-list__title {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  color: #000000 !important;
  letter-spacing: 0.03em !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* 抜粋（3行省略） */
.info-list__excerpt {
  font-size: 13px;
  line-height: 1.9;
  color: #4B4B4B;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* 続きを読む（サイズ拡大） */
.info-list__readmore {
  font-size: 13px; /* 変更: 12px → 13px */
  color: #C5A021;
  letter-spacing: 0.04em;
}

/* 記事なし */
.info-list__empty {
  text-align: center; /* もともとあるが念のため明示 */
  color: #bbb;
  padding: 48px 0;
  font-size: 14px;
  width: 100%;        /* 追加：flex内で横幅を確保 */
  display: block;     /* 追加：flex子要素でも独立したブロックに */
}


.info-pagination { margin-top: 48px; text-align: center; }
.info-pagination__list {
  display: inline-flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.info-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: 1px solid #F0E9CD; border-radius: 1px;
  font-size: 12px; color: #000000;
  text-decoration: none; background: #fff;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.info-pagination .page-numbers:hover { border-color: #CABF96; color: #CABF96; }
.info-pagination .page-numbers.current {
  background: #C5A021; border-color: #F0E9CD;
  color: #fff; font-weight: 600; pointer-events: none;
}
.info-pagination .prev.page-numbers,
.info-pagination .next.page-numbers { color: #000000; border-color: #CABF96; }



/* =========================================
   info-single 詳細
   ========================================= */

.info-single__back {
  display: inline-block; font-size: 12px;
  color: #C5A021; text-decoration: none;
  letter-spacing: 0.04em; margin-bottom: 28px;
}
.info-single__back:hover { text-decoration: underline; }

.info-single__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.info-single__date { font-size: 11px; color: #AAA293; letter-spacing: 0.04em; }
.info-single__badge--new {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  background: #C5A021; color: #fff; letter-spacing: 0.06em;
}

.info-single__title {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700; line-height: 1.6;
  color: #000000; letter-spacing: 0.03em;
  margin: 0 0 24px;
}

/* アイキャッチ画像（ドロップシャドウあり） */
.info-single__eyecatch {
  width: 100%;
  margin-bottom: 32px;
  overflow: visible; /* shadowが切れないようvisibleに */
}
.info-single__eyecatch img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
}

.info-single__content {
  font-size: 16px; line-height: 1.95; color: #3D3D3D; margin-bottom: 32px;
}
.info-single__content p { margin-bottom: 1.4em; }
.info-single__content h2 {
  font-size: 16px; font-weight: 700; color: #544C3D;
  margin: 2em 0 0.8em; padding-left: 10px;
  border-left: 2px solid #C5A021;
}

/* セクション */
.info-single__sections { margin: 0.8em 0; }
.info-single__section { margin-bottom: 32px; }
.info-single__section:last-child { margin-bottom: 0; }
.info-single__section-title {
  font-size: 18px; font-weight: 700; color: #544C3D;
  margin: 0 0 12px; padding-left: 10px;
  border-left: 2px solid #C5A021; line-height: 1.5;
}
.info-single__section-body { font-size: 16px; line-height: 1.95; color: #555; margin: 0; }

/* 区切り線 */
.info-single__divider { border: none; border-top: 1px solid #CABF96; margin: 0 0 28px; }

/* 前後ナビ */
.info-single__nav-inner {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
}
.info-single__nav-prev, .info-single__nav-next { flex: 1; }
.info-single__nav-next { text-align: right; }
.info-single__nav-label {
  display: block; font-size: 10px;
  color: #C5A021; letter-spacing: 0.04em; margin-bottom: 5px;
}
.info-single__nav-link {
  font-size: 13px; color: #C5A021; text-decoration: none; line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.info-single__nav-link:hover { text-decoration: underline; }
.info-single__nav-index { flex: 0 0 auto; }
.info-single__nav-back {
  display: inline-block; font-size: 12px; color: #C5A021;
  border: 1px solid #C5A021; border-radius: 2px;
  padding: 6px 18px; text-decoration: none;
  letter-spacing: 0.04em; white-space: nowrap;
  background-color: #fff;
}
.info-single__nav-back:hover { border-color: #C5A021; color: #fff; background-color: #C5A021; }



/* =========================================
   info-top-list TOPページ用
   ========================================= */

.info-top-list {
  list-style: none;
  margin: 0;
  padding: 0; /* 左余白なし */
}

/* SWELLの .post_content ul による padding-left を上書き */
.post_content .info-top-list {
  padding-left: 0 !important;
}

.info-top-list__item {
  border-top: 1px solid #CABF96;
}
.info-top-list__item:last-child {
  border-bottom: 1px solid #CABF96;
}

.info-top-list__link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 18px 12px 18px 12px; /* 上下18px、左右12px */
}

.info-top-list__date {
  display: block;
  font-size: 12px;
  color: #C5A021;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.info-top-list__title {
  display: block;
  font-size: 15px;
  color: #000000;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

/* 記事なし表示（上下線なし） */
.info-top-list__empty {
  text-align: center; /* もともとあるが念のため明示 */
  font-size: 14px;
  color: #999;
  padding: 24px 0 24px 12px;
  /* border-top・border-bottom を削除 */
}

/* TOPリスト：日付とNEWバッジの横並びラッパー */
.info-top-list__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* TOPリスト：日付（margin-bottomをラッパー側に移動） */
.info-top-list__date {
  display: block;
  font-size: 12px;
  color: #C5A021;
  letter-spacing: 0.1em;
  margin-bottom: 0; /* ラッパーのmargin-bottomに委譲 */
}

/* TOPリスト：NEWバッジ */
.info-top-list__badge--new {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  background: #C5A021;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.4;
  flex-shrink: 0;
}


/* =========================================
   info-single__img 呼び出し用画像
   ========================================= */

/* figure 共通（常に左寄せ） */
.info-single__img {
  display: block;
  margin: 0.8em auto 0.8em 0;  /* 上下 0.8em 固定（左寄せ維持） */
}
.info-single__img img {
  display: block;
  width: auto;      /* 元サイズ基準（引き伸ばさない） */
  height: auto;
  max-width: 100%;  /* コンテナ・画面幅を超えない */
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* サイズ（figure の max-width で制御） */
.info-single__img--s    { max-width: 300px; }
.info-single__img--m    { max-width: 500px; }
.info-single__img--l    { max-width: 760px; }
.info-single__img--full { max-width: 100%; }


@media (max-width: 768px) {

  /* 一覧：縦並び */
  .info-list__link { flex-direction: column; }
  .info-list__thumb {
    width: 100%;
    /* 縦並び時も16:9を維持 */
    aspect-ratio: 16 / 9;
  }
  .info-list__body { width: 100%; padding: 14px 4px 4px; gap: 12px; }

  /* 詳細：前後ナビ縦並び */
  .info-single__nav-inner { flex-direction: column; gap: 20px; }
  .info-single__nav-next { text-align: left; }
  .info-single__nav-index { order: -1; width: 100%; text-align: center; }

.info-single__content {
  font-size: 14px;
}

.info-single__section-title {
  font-size: 16px;
}

.info-single__section-body { font-size: 14px; }

.info-list__title {
  font-size: 16px !important;
}

}