@charset "UTF-8";

* {
  box-sizing: border-box;
}

/* ==========================================
   1. 基本設定（body）
   ========================================== */
body {
  margin: 0;
  padding: 0;
  /* フォント: Noto Sans JP を適用 */
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  /* 色設定: 目に優しい低コントラスト */
  color: #2B2B2B;
  background-color: #FAF7F2;
  /* 文字の滑らかさ設定（Mac/iPhone用） */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

/* テキストを中央に */
.text-center {
  text-align: center;
}

/* ==========================================
   2. レイアウト（左右の余白設定）
   ========================================== */
section,
article {
  max-width: 1240px;
  /* PCでの最大幅を広めに確保 */
  margin: 0 auto;
  /* 【スマホ用】左右の余白を5pxに設定して画面を広く使う */
  padding: 0 5px;
  box-sizing: border-box;
}

/* 【PC・タブレット用】768px以上では左右に20pxのゆとりを持たせる */
@media screen and (min-width: 768px) {

  section,
  article {
    padding: 0 20px;
  }
}

/* ==========================================
   3. 見出しのデザイン
   ========================================== */
h1,
h2,
h3,
h4 {
  line-height: 1.4;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  color: #6B7C93;
}

/* h2: 左側に金色のアクセント線 */
h2 {
  font-size: 1.5em;
  /* スマホ向けサイズ */
  border-left: 6px solid #E67E22;
  padding: 0.2em 0.5em;
}

/* h3: 下側に薄い線 */
h3 {
  font-size: 1.2em;
  /* スマホ向けサイズ */
  border-bottom: 2px solid #D6D6D6;
  padding-bottom: 0.3em;
}

/* 【PC用】大きな画面では見出しの文字を大きくする */
@media screen and (min-width: 768px) {
  h2 {
    font-size: 1.7em;
  }

  h3 {
    font-size: 1.4em;
  }

  h2,
  h3 {
    padding-top: 10px;
  }

  .heading-title {
    font-size: 24px;
  }
}

@media screen and (min-width: 992px) {
  .heading-title {
    font-size: 28px;
  }
}

/* ==========================================
   4. 共通パーツ（リンク・画像・リスト）
   ========================================== */
/* リンク：下線を消して透明度で変化を見せる */
a {
  padding: 0px 3px;
  color: #275a94;
  text-decoration: none;
  border-bottom: none !important;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* 画像：角を少し丸めてプロ感を出す */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 4px;
}

/* リスト・区切り線のリセット */
ul,
ol {
  padding: 0;
  list-style: none;
}

hr {
  border: 0;
  height: 1px;
  background: #eee;
  margin: 2em 0;
}

/* ==========================================
   ヘッダー（共通パーツ）
   ========================================== */

/* メニューが開いている時に背景をスクロールさせない設定 */
body.open {
  overflow: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  /* 上下中央に揃えることで、ロゴとボタンのラインを美しく整えます */
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 5px 15px;
  position: relative;
  z-index: 100;
}

/* ロゴのレスポンシブ対応 */
header .header-logo {
  flex: none;
}

header .header-logo img {
  display: block;
  width: 100%;
  /* PCでの最大サイズ。スマホでは画面幅に合わせて自動縮小されます */
  max-width: 360px;
  height: auto;
}

/* ハンバーガーボタン（スマホ用） */
.header-button {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  border: none;
  width: 75px;
  height: 75px;
  background-color: transparent;
  z-index: 110;
  /* メニューより上に配置 */
  cursor: pointer;
  outline: none;
}

.header-button .icon {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: #E67E22;
  transition: .3s ease;
}

.header-button .icon:before,
.header-button .icon:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  transition: all .3s;
  background-color: #E67E22;
}

.header-button .icon:before {
  top: -8px;
}

.header-button .icon:after {
  top: 8px;
}

/* ナビゲーションメニュー（スマホ用：初期状態は右に隠す） */
.header-gnav {
  position: fixed;
  right: 0;
  top: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  /* 少し不透明度を上げて見やすく */
  transform: translateX(100%);
  transition: .3s ease;
  z-index: 105;
}

.header-gnav ul {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  list-style: none;
}

.header-gnav a {
  color: #6B7C93;
  font-weight: bold;
  font-size: 20px;
  /* スマホで押しやすいよう少し大きく */
  display: block;
  padding: 1em;
  line-height: 1.3;
  text-decoration: none;
}

/* メニューが開いた時の「×」アニメーション */
.open .header-button .icon {
  background-color: transparent;
}

.open .header-button .icon:before {
  top: 0;
  transform: rotate(45deg);
}

.open .header-button .icon:after {
  top: 0;
  transform: rotate(-45deg);
}

.open .header-gnav {
  transform: translateX(0);
}

/* -------------------------------------------
   PC向けレイアウト (768px以上)
   ------------------------------------------- */
@media screen and (min-width: 768px) {
  header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* PCではボタンを隠す */
  .header-button {
    display: none;
  }

  /* メニューを通常表示に戻す */
  .header-gnav {
    margin-right: -0.8em;
    transform: translateX(0);
    position: relative;
    background: none;
    width: auto;
    height: auto;
  }

  .header-gnav ul {
    flex-direction: row;
    justify-content: flex-end;
  }

  .header-gnav a {
    font-size: 16px;
    padding: 0.5em 1em;
  }
}

/* ==========================================
   フッター
   ========================================== */
footer {
  margin-top: 70px;
  padding: 40px 15px;
  text-align: center;
  border-top: 1px solid #eee;
  /* 境界線をうっすら追加 */
}

/*-------------------------------------------
フッター
-------------------------------------------*/

/* フッター全体 */
.footer {
  padding: 40px 0 30px;
  color: #FAF7F2;
  text-align: center;
  background-color: #D6D6D6;
}

.footer h4 {
  color: #FAF7F2;
}

/* フッターロゴ */
.footer-logo {
  margin-bottom: 10px;
}

/* フッターロゴ */
.footer a {
  color: #6B7C93;
}

/* 連絡先 */
.footer-address {
  margin: 10px 0;
}

/* SNSのリンクボタン */
.footer-sns {
  margin: 20px 0;
  text-align: center;
  /* 中身を左右中央揃えで配置 */
}

.footer-sns a {
  /* インラインの性質を保ちながら、ブロックレベルの性質を加えている。横並びに配置しながら、外余白を指定 */
  display: inline-block;
  margin: 0 5px;
}

.footer-sns img {
  vertical-align: middle;
  /* 垂直方向中央揃えで配置*/
}

/* コピーライト */
.copyright {
  margin: 0;
}

.copyright small {
  font-size: 11px;
}

/*-------------------------------------------
 メインビジュアル　TOP
-------------------------------------------*/
.hero {
  background: url("/img/top_sam.jpg") no-repeat center center/cover;
  max-width: 1300px;
  height: 420px;
  margin: -100px auto 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 25px;
  letter-spacing: 0.03em;
  margin-top: 0;
  color: #6B7C93;
}

.hero p {
  font-size: 16px;
  color: #D6D6D6;
  line-height: 1.5;
  font-weight: nomal;
  letter-spacing: 0.01em;
  margin-top: 0;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 600px;
  }

  .hero h1 {
    font-size: 25px;
    letter-spacing: 0.05em;
    margin-bottom: 0.25em;
    color: #6B7C93;
  }

  .hero p {
    font-size: 18px;
    letter-spacing: 0.04em;
    color: #D6D6D6;
  }
}

@media screen and (min-width: 768px) {
  .hero {
    margin-top: 0px;
  }

  .hero h1 {
    font-size: 25px;
    letter-spacing: 0.03em;
    margin-top: 0;
    color: #6B7C93;
  }

  .hero p {
    font-size: 18px;
    letter-spacing: 0.04em;
    color: #D6D6D6;
  }
}


/*-------------------------------------------
 メインビジュアル　メガネ
-------------------------------------------*/
.hero4 {
  background: url("/img/sam/kurobuchi.top2.jpg") no-repeat center center/cover;
  max-width: 1300px;
  height: 420px;
  margin: -100px auto 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero4 h1 {
  font-size: 40px;
  letter-spacing: 0.03em;
  margin-top: 0;
  color: #FAF7F2;
}

.hero4 p {
  font-size: 16px;
  color: #D6D6D6;
  line-height: 1.5;
  font-weight: nomal;
  letter-spacing: 0.01em;
  margin-top: 0;
}

@media screen and (min-width: 992px) {
  .hero4 {
    height: 600px;
  }

  .hero4 h1 {
    font-size: 80px;
    letter-spacing: 0.05em;
    margin-bottom: 0.25em;
  }

  .hero4 p {
    font-size: 24px;
    letter-spacing: 0.04em;
  }
}

@media screen and (min-width: 768px) {
  .hero4 {
    margin-top: 0;
  }
}



/*-------------------------------------------
 メインビジュアル　カメラ
-------------------------------------------*/
.hero2 {
  background: url("/img/nikontop.JPG") no-repeat center center/cover;
  max-width: 1300px;
  height: 420px;
  margin: -100px auto 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero2 h1 {
  font-size: 40px;
  letter-spacing: 0.03em;
  margin-top: 0;
  color: #FAF7F2;
}

.hero2 p {
  font-size: 16px;
  color: #D6D6D6;
  line-height: 1.5;
  font-weight: nomal;
  letter-spacing: 0.01em;
  margin-top: 0;
}

@media screen and (min-width: 992px) {
  .hero2 {
    height: 600px;
  }

  .hero2 h1 {
    font-size: 80px;
    letter-spacing: 0.05em;
    margin-bottom: 0.25em;
  }

  .hero2 p {
    font-size: 24px;
    letter-spacing: 0.04em;
  }
}

@media screen and (min-width: 768px) {
  .hero2 {
    margin-top: 0;
  }
}

/*-------------------------------------------
 メインビジュアル　黒縁うさぎ
-------------------------------------------*/
.hero3 {
  background: url("/img/photo/kurobuchi1900.jpg") no-repeat center center/cover;
  max-width: 1300px;
  height: 420px;
  margin: -100px auto 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero3 h1 {
  font-size: 20px;
  letter-spacing: 0.03em;
  margin-top: -180px;
  color: #000;
}

.hero3 p {
  font-size: 16px;
  color: #2B2B2B;
  line-height: 1.5;
  font-weight: bold;
  letter-spacing: 0.01em;
  margin-top: 0;
}

@media screen and (min-width: 992px) {
  .hero3 {
    height: 600px;
  }

  .hero3 h1 {
    font-size: 60px;
    letter-spacing: 0.05em;
    margin-bottom: 0.25em;
  }

  .hero3 p {
    font-size: 24px;
    letter-spacing: 0.04em;
  }
}

@media screen and (min-width: 768px) {
  .hero3 {
    margin-top: 0;
  }

  .hero3 h1 {
    margin-top: -350px;
    color: #000;
  }
}




/*-------------------------------------------
 フィーチャー・リスト
-------------------------------------------*/
.top-feature {
  text-align: center;
  position: relative;
  z-index: 1;
}

.top-feature .top-feature_box {
  padding: 0 30px 80px;
}

.top-feature h2 {
  font-size: 22px;
  margin-bottom: 0.5em;
}

.top-feature h3 {
  font-size: 20px;
  margin-bottom: 0.5em;
}


.top-feature p {
  text-align: left;
}

.top-feature a {
  padding-bottom: 0.2em;
  border-bottom: 2px solid #003f8e;
  font-size: 18px;
  color: #6B7C93;
}

.top-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0px -10px;
}



.top-list li {
  width: 100%;
  padding: 0 10px;
  margin-bottom: 30px;
}

.top-list li a {
  display: flex;
  align-items: center;
}

.top-list li img {
  flex: 0 1 90px;
}

.top-list li .top-list_info {
  margin-left: 20px;
}

.top-list li time {
  font-size: 14px;
  color: #2B2B2B;
}

.top-list li .top-list_title {
  margin-top: 0.25em;
  line-height: 1.4;
}



.top-feature2 {
  text-align: center;
  position: relative;
  z-index: 1;
}

.top-feature2 .top-feature_box {
  padding: 0 30px 80px;
}

.top-feature2 h2 {
  font-size: 22px;
  margin-bottom: 0.5em;
}

.top-feature2 h3 {
  font-size: 20px;
  margin-bottom: 0.5em;
}

.top-feature2 p {
  text-align: left;
}

.top-feature2 a {
  padding-bottom: 0.2em;
  border-bottom: 2px solid #003f8e;
  font-size: 18px;
  color: #6B7C93;
}

.top-list2 {
  display: flex;
  flex-wrap: wrap;
  margin: 0px -10px;
}


.top-list2 li {
  width: 100%;
  padding: 0 10px;
  margin-bottom: 30px;
}

.top-list2 li a {
  display: flex;
  align-items: center;
}

.top-list2 li img {
  flex: 0 1 90px;
}

.top-list2 li .top-list_info {
  margin-left: 20px;
}

.top-list2 li time {
  font-size: 14px;
  color: #2B2B2B;
}

.top-list2 li .top-list_title {
  margin-top: 0.25em;
  line-height: 1.4;
}


@media screen and (min-width: 768px) {
  .top-feature {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    background-color: #D6D6D6;
    margin-top: -50px;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .top-feature .top-feature_box {
    background-color: #FAF7F2;
    max-width: 600px;
    padding: 0 60px 30px 40px;
  }

  .top-feature img {
    margin-top: 40px;
    margin-left: -30px;
    max-width: 48vw;
  }

  .top-feature:nth-of-type(2n) {
    flex-direction: row-reverse;
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .top-feature:nth-of-type(2n) .top-feature_box {
    padding-right: 40px;
    padding-left: 60px;
  }

  .top-feature:nth-of-type(2n) img {
    margin-right: -30px;
    margin-left: 0;
  }

  .top-list li {
    width: 50%;

  }


  .top-feature2 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    background-color: #D6D6D6;
    margin-top: 50px;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .top-feature2 .top-feature_box {
    background-color: #FAF7F2;
    max-width: 600px;
    padding: 0 60px 30px 40px;
  }

  .top-feature2 img {
    margin-top: 40px;
    margin-left: -30px;
    max-width: 48vw;
  }

  .top-feature2:nth-of-type(2n) {
    flex-direction: row-reverse;
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .top-feature2:nth-of-type(2n) .top-feature_box {
    padding-right: 40px;
    padding-left: 60px;
  }

  .top-feature2:nth-of-type(2n) img {
    margin-right: -30px;
    margin-left: 0;
  }

  .top-list2 li {
    width: 50%;

  }


}


/*-------------------------------------------
  ニュース（記事本文）ページ
-------------------------------------------*/
.news-article {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  /* スマホでは横幅いっぱい */
  /* スマホの左右余白を 30px から 8px に詰めました */
  padding: 0 18px 20px;
}

.news-article .news-thumb {
  text-align: center;
}

/* 記事タイトル */
.news-article h1 {
  font-size: 24px;
  line-height: 1.4;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #6B7C93;
}

/* 記事内見出し */
.news-article h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-top: 2.5em;
  /* 3emから少し詰めました */
  margin-bottom: 0.8em;
}

.news-article time {
  font-size: 12px;
  color: #999;
}

.news-article h3,
.news-article h4,
.news-article h5 {
  margin-top: 2.5em;
  margin-bottom: 0.5em;
}

.news-article h3 {
  font-size: 20px;
}

.news-article h4 {
  font-size: 19px;
}

.news-article h5 {
  font-size: 17px;
}

.news-article figure {
  text-align: center;
  margin: 1.5em 0;
}

.news-article figcaption {
  font-size: 14px;
  color: #888;
  margin-top: 0.5em;
}

.news-article blockquote {
  border-left: 5px solid #dcd6cb;
  margin: 1.5em 0;
  padding: 0.5em 1em;
  background-color: rgba(0, 0, 0, 0.02);
}

/* アイキャッチ画像の外枠 */
.news-eyecatch {
  text-align: center;
  /* 中の要素（画像）を中央に寄せる */
  margin: 20px 0;
  /* 上下に少し余白を作ると見やすくなります */
}

/* アイキャッチ画像そのもの */
.news-eyecatch img {
  max-width: 100%;
  /* スマホではみ出さないための「お守り」 */
  height: auto;
  /* 比率を維持 */
  border-radius: 8px;
  /* お好みで：角を少し丸くすると今風になります */
}

/* --- PC・タブレット向けの調整 (768px以上) --- */
@media screen and (min-width: 768px) {
  .news-article {
    margin-top: 40px;
    max-width: 850px;
    /* 700pxから広げ、読みやすさと迫力を両立 */
    padding: 0 30px 40px;
    /* PCではゆったりと余白を持たせる */
  }

  .news-article h1 {
    font-size: 36px;
    /* 40pxより少し抑えて品良く */
  }

  .news-article h2 {
    font-size: 28px;
  }

  .news-article h3 {
    font-size: 24px;
  }
}

/*-------------------------------------------
 よくある質問ページ
-------------------------------------------*/
.faq-section {
  max-width: 800px;
}

.faq-section .faq-content {
  margin-bottom: 60px;
}

.faq-section h2,
.faq-section p {
  margin-top: 1.2em;
  display: flex;
}

.faq-section h2:before,
.faq-section p:before {
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  margin-top: -0.16em;
  margin-right: 15px;
}

.faq-section h2:before {
  content: "Q";
}

.faq-section p:before {
  content: "A";
  color: #4EB0B5;
}

@media screen and (min-width: 768px) {

  .faq-section h2,
  .faq-section p {
    margin-top: 2em;
  }

  .faq-section h2:before,
  .faq-section p:before {
    margin-top: -0.2em;
    font-size: 55px;
  }
}

/*-------------------------------------------
 トップへ戻るボタン
-------------------------------------------*/

#page_top {
  width: 45px;
  /* 少しだけ大きくして押しやすく */
  height: 45px;
  z-index: 9999;
  /* ★最前面に持ってくる（他の要素に隠れないように） */
  position: fixed;
  right: 15px;
  /* ★端から少し離すと、スクロールバーと重ならず綺麗です */
  bottom: 15px;
  /* 下の余白も微調整 */
  background: #6B7C93;
  /* ★関連記事と同じ紺色にすると統一感が出ます */
  opacity: 0.7;
  /* 普段は少し控えめに */
  border-radius: 4px;
  /* 少し角を丸めると今風のデザインに */
  transition: all 0.3s;
  /* 動きを滑らかに */
}

#page_top a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

#page_top a::after {
  content: '▲';
  font-size: 20px;
  color: #FAF7F2;
  /* 背景色（ベージュ系）と合わせた白 */
  position: absolute;
  top: 50%;
  /* 垂直中央へ */
  left: 50%;
  /* 水平中央へ */
  transform: translate(-50%, -55%);
  /* 真ん中に配置（▲の形に合わせて微調整） */
}

/* ホバー時の設定：触るとオレンジになる「遊び心」 */
#page_top:hover {
  opacity: 1;
  background: #E67E22;
  /* Nikonオレンジ */
}


/*-------------------------------------------
 目次 開閉
-------------------------------------------*/




.dropdown {
  display: none;
  margin: 0.5em;
  padding: 0;
}

.dropdown label,
li {
  line-height: 2;
  font-weight: normal;
  list-style-type: none;
  /* マークの種類 */
}

.dropdown ul {
  margin: 0.5em 0;
  padding: 5px 10px;
}



.dropdown label,
li ul li {
  line-height: 1.6;
  font-weight: normal;
  list-style-type: none;
  /* マークの種類 */
}

.dropdownli::before,

input[type="checkbox"] {
  display: none;
}

label[for="menu"] {
  display: block;
  color: #2B2B2B;
  /* 目次リスト部分のテキスト色 */
  text-align: center;
}

label[for="menu"]::before {
  transform: rotate(225deg);
}

#menu:checked+.dropdown {
  display: block;

}

/*目次のデザイン変更*/

.table-of-contents {
  margin: 2em 0.5em;
  padding: 0px;
  /* 枠内の余白（上右下左） */

  border: solid 1px #CCC;
  /* 線の種類と色 */
  background: #FAF7F2;
  /* 背景 */
}




.table-of-contents li {
  margin: 0.5em 0em;
  line-height: 1.2;
  font-weight: bold;
  list-style-type: none;
  /* マークの種類 */

}

.table-of-contents li ul li {
  margin: 0.5em 0em 0.5em 1em;
  line-height: 1.2;
  font-weight: normal;
  list-style: square;

}

.table-of-contents li a {

  color: #2B2B2B;
  /* 目次リスト部分のテキスト色 */
  text-decoration: none;
  /* リンクの下線をつけたくない場合 */
}

.table-of-contents p {
  color: #D6D6D6;
  /* 目次リスト部分のテキスト色 */
}

.table-of-contents li a:hover {
  text-decoration: underline;
}


@media screen and (min-width: 768px) {


  .table-of-contents {
    width: 600px;
    border-collapse: collapse;
    margin: 2em auto;
  }

}


/*-------------------------------------------
 吹き出しのデザイン
-------------------------------------------*/


/* 吹き出し本体 */
.balloon1 {
  z-index: 20;
  position: relative;
  padding: 20px;
  border-radius: 10px;
  color: #2B2B2B;
  background-color: #D6D6D6;
  margin-left: 80px;
  margin-top: 50px;
  margin-bottom: 50px;
  /* 左に余白を設ける */
}

/* 画像 - 絶対配置で左上に配置 */
.balloon1 .icon {
  z-index: 20;
  position: absolute;
  left: -78px;
  top: 0;
}

/* 三角アイコン */
.balloon1::before {
  z-index: 20;
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -15px;
  top: 20px;
  border-right: 15px solid #D6D6D6;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-bottom: 25px;
}

/* 吹き出し本体 */
.balloon2 {
  z-index: 20;
  position: relative;
  padding: 20px;
  border-radius: 10px;
  color: #2B2B2B;
  background-color: #D6D6D6;
  margin-right: 80px;
  margin-top: 50px;
  margin-bottom: 50px;
  /* 右に余白を設ける */
}

/* 画像 - 絶対配置で右上に配置 */
.balloon2 .icon {
  position: absolute;
  right: -80px;
  top: 0;
}

/* 三角アイコン */
.balloon2::before {
  z-index: 20;
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -15px;
  top: 20px;
  border-left: 15px solid #D6D6D6;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-bottom: 25px;

}


/*-------------------------------------------
TOP用吹き出し
-------------------------------------------*/
/* 吹き出し本体 */
.balloon1 {
  z-index: 20;
  position: relative;
  padding: 20px;
  border-radius: 10px;
  color: #2B2B2B;
  background-color: #D6D6D6;
  margin-left: 80px;
  margin-top: 50px;
  margin-bottom: 50px;
  /* 左に余白を設ける */
}

/* 画像 - 絶対配置で左上に配置 */
.balloon1 .icon2 {
  z-index: 20;
  position: absolute;
  left: -78px;
  top: 0;
}

/* 三角アイコン */
.balloon1::before {
  z-index: 20;
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -15px;
  top: 20px;
  border-right: 15px solid #D6D6D6;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-bottom: 25px;
}

/* 吹き出し本体 */
.balloon2 {
  z-index: 20;
  position: relative;
  padding: 20px;
  border-radius: 10px;
  color: #2B2B2B;
  background-color: #D6D6D6;
  margin-right: 80px;
  margin-top: 50px;
  margin-bottom: 50px;
  /* 右に余白を設ける */
}

/* 画像 - 絶対配置で右上に配置 */
.balloon2 .icon2 {
  position: absolute;
  right: -80px;
  top: 0;
}

/* 三角アイコン */
.balloon2::before {
  z-index: 20;
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -15px;
  top: 20px;
  border-left: 15px solid #D6D6D6;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-bottom: 25px;

}


/*-------------------------------------------
 あわせて読みたい記事
-------------------------------------------*/
/* ==========================================
   関連記事リンク（.kanren）ラベル限定カラー版
   ========================================== */

/* 1. 外枠：ここでは「色」を指定せず、レイアウトだけを整えます */
.kanren {
  margin: 3em auto;
  max-width: 640px;
  background-color: #ffffff !important;
  border: 1px solid #D6D6D6 !important;
  border-left: 5px solid #6B7C93 !important;
  padding: 20px !important;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* 2. 【ここが本番】一番上の「あわせて読みたい記事」だけを紺色にする */
/* 記事タイトル内の strong には絶対に干渉しないように設定 */
.kanren>b,
.kanren>strong,
.kanren>span:first-child {
  color: #6B7C93 !important;
  /* ★ここだけを紺色に */
  font-weight: bold !important;
  font-size: 16px !important;
  display: block !important;
  margin: 0 0 15px 0 !important;
  line-height: 1 !important;
}

/* 3. 記事リスト：中身の色をリセット */
.kanren ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.kanren li a {
  display: flex !important;
  align-items: center !important;
  padding: 12px 0 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #F0F0F0;
}

.kanren li:last-child a {
  border-bottom: none !important;
}

/* 4. 画像の設定 */
.kanren img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 18px !important;
}

/* 5. 記事タイトル：文中の strong も含めて「紺色にしない」設定 */
.kanren .text {
  flex: 1 !important;
  font-weight: bold !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #2B2B2B !important;
  /* ★記事タイトルは黒寄りのグレーに固定 */
  text-align: left !important;
}

/* 文中の「土地探し」などの強調（strong）が紺色になるのを防ぐ */
.kanren .text strong,
.kanren .text b {
  color: inherit !important;
  /* 親の #2B2B2B を引き継ぐ */
  font-weight: bold !important;
  display: inline !important;
}

/* ホバー時 */
.kanren li a:hover {
  background-color: #fafafa !important;
}

/* --------------------------------------------------
youtube レスポンシブル
-------------------------------------------------- */

.movie-wrap {
  position: relative;
  padding-bottom: 56.25%;
  /*アスペクト比 16:9の場合の縦幅*/
  height: 0;
  overflow: hidden;
}

.movie-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------
文字装飾
-------------------------------------------------- */
.line {
  padding-bottom: 0.2em;
  border-bottom: 2px solid #003f8e;
  font-size: 18px;
}



b.a {
  padding: 0px 10px;
  font-size: 18px;

}


b.b {
  padding: 0px 10px;
  font-size: 22px;

}

b.r {
  padding: 0px 5px;
  font-size: 20px;
  color: #ce000d;

}


b.bl {
  padding: 0px 10px;
  font-size: 20px;
  color: #36F;

}

b.red {
  padding: 0px 10px;
  font-size: 20px;
  color: #F69;

}

b.grey {
  padding: 0px 10px;
  font-size: 12px;
  color: #999;

}



strong {
  padding: 0px 5px;
}

strong.b {
  padding: 0px 10px;
  font-size: 18px;

}

strong.a {
  padding: 0px 10px;
  font-size: 20px;

}


strong.b {
  padding: 0px 10px;
  font-size: 22px;

}

strong.r {
  padding: 0px 5px;
  font-size: 20px;
  color: #ce000d;

}


strong.bl {
  padding: 0px 10px;
  font-size: 20px;
  color: #36F;

}

strong.red {
  padding: 0px 10px;
  font-size: 20px;
  color: #F69;

}

strong.grey {
  padding: 0px 10px;
  font-size: 12px;
  color: #999;

}


.s {
  padding: 0px 0px;
  color: #999;
  font-size: 12px;
}

/* --------------------------------------------------
ボタン装飾
-------------------------------------------------- */
.btn-square {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #D6D6D6;
  /*ボタン色*/
  color: #FAF7F2;
  border-bottom: solid 4px #2B2B2B;
  border-radius: 3px;
}

.btn-square:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  /*下に動く*/
  border-bottom: none;
  /*線を消す*/
}




/* --------------------------------------------------
テーブル
-------------------------------------------------- */

table.n {
  width: 100%;
  border-collapse: collapse;
  margin: 5em 0;
}

table.n td,
th {
  border: 1px solid #ccc;
  padding: 10px 10px;
}

table.n th {
  background: #EFEFEF;
}


@media screen and (min-width: 768px) {

  table.n {
    width: 500px;
    border-collapse: collapse;
    margin: 5em auto;
  }


  table.n td,
  th {
    border: 1px solid #ccc;
    padding: 20px 10px;
  }


}

/* --------------------------------------------------
  上ラインBOX
-------------------------------------------------- */

.box11 {
  padding: 0.5em 1em;
  margin: 2em auto;
  color: #5d627b;
  background: white;
  border-top: solid 5px #99885c;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.box11 p {
  margin: 0;
  padding: 0;
}


@media screen and (min-width:768px) {
  .box11 {
    width: 600px;
  }

}


/* --------------------------------------------------
  青BOX
-------------------------------------------------- */

/* 水色の箱 (.box_b) - 色はそのまま、レイアウトを修正 */
.box_b {
  /* 他の箱と揃えて左余白を40pxに！ */
  padding: 5px 15px 15px 40px;
  margin: 2em auto;
  background: #dcefff;
  /* 元の水色のまま */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.box_b .box-title {
  font-size: 1.1em;
  background: #5fb3f5;
  /* 元の濃い水色のまま */
  text-align: center;
  color: #FAF7F2;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 0.8em;
  /* タイトルの位置を左余白に合わせて微調整 */
  margin-left: -25px;
  margin-right: -0px;
}

/* リスト自体の余白をリセットしてズレを防止 */
.box_b ul {
  padding: 0;
  margin: 0;
}

.box_b li {
  color: #2B2B2B;
  font-weight: normal;
  line-height: 1.8;
  list-style: disc;
  /* 丸い点（●） */
}

.box_b p {
  color: #2B2B2B;
  font-weight: normal;
  line-height: 1.8;
  margin: 0;
}

/* PCサイズの設定 */
@media screen and (min-width: 768px) {
  .box_b {
    width: 600px;
  }
}


/* --------------------------------------------------
  ピンクBOX
-------------------------------------------------- */

/* ピンクの箱 (.box_p) - 色はそのまま、レイアウトを修正 */
.box_p {
  /* 左の余白を40pxに広げました */
  padding: 5px 15px 15px 40px;
  margin: 2em auto;
  background: #FCF;
  /* 元の背景色のまま */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.box_p .box-title {
  font-size: 1.1em;
  background: #F6F;
  /* 元のタイトルの色のまま */
  text-align: center;
  color: #FAF7F2;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 0.8em;
  /* タイトルの位置を左余白に合わせて微調整 */
  margin-left: -25px;
  margin-right: -0px;
}

/* リスト自体の余白をリセット */
.box_p ul {
  padding: 0;
  margin: 0;
}

.box_p li {
  color: #2B2B2B;
  font-weight: normal;
  line-height: 1.8;
  list-style: disc;
  /* 丸い点（●） */
}

.box_p p {
  color: #2B2B2B;
  font-weight: normal;
  line-height: 1.8;
  margin: 0;
}

/* PCサイズの設定 */
@media screen and (min-width: 768px) {
  .box_p {
    width: 600px;
  }
}

/*-------------------------------------------
box グレー
-------------------------------------------*/

/* 全体の箱の設定 */
.box_g {
  /* 上:5px, 右:15px, 下:15px, 左:40px（ここを増やしました！） */
  padding: 5px 15px 15px 40px;
  margin: 2em auto;
  background: #dcdcdc;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

/* タイトルの設定 */
.box_g .box-title {
  font-size: 1.1em;
  background: #999;
  text-align: center;
  color: #FAF7F2;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 0.8em;
  /* タイトルを左に寄せすぎないように少し調整 */
  margin-left: -25px;
  margin-right: -0px;
}

/* リストの設定 */
.box_g ul {
  padding: 0;
  margin: 0;
}

.box_g li {
  color: #2B2B2B;
  font-weight: normal;
  line-height: 1.8;
  list-style: square;
  /* 文字が左に詰まりすぎないように調整 */
  padding-left: 0;
}

/* 段落の設定 */
.box_g p {
  color: #2B2B2B;
  font-weight: normal;
  line-height: 1.8;
  margin: 0;
}

/*-------------------------------------------
box グレーナンバー
-------------------------------------------*/


/* --- 箇条書きタイプ (.box_g) --- */
.box_g {
  /* 左の余白を40pxに広げて、タイトルを少し左にずらす設定 */
  padding: 5px 15px 15px 40px;
  margin: 2em auto;
  background: #dcdcdc;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.box_g .box-title {
  font-size: 1.1em;
  background: #999;
  text-align: center;
  color: #FAF7F2;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 0.8em;
  margin-left: -25px;
  margin-right: -0px;
}

.box_g ul {
  padding: 0;
  margin: 0;
}

.box_g li {
  color: #2B2B2B;
  line-height: 1.8;
  list-style: square;
}

/* --- 番号付きタイプ (.box_gn) --- */
.box_gn {
  /* .box_gと同じように左の余白を40pxに変更しました！ */
  padding: 5px 15px 15px 40px;
  margin: 2em auto;
  background: #dcdcdc;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.box_gn .box-title {
  font-size: 1.1em;
  background: #999;
  text-align: center;
  color: #FAF7F2;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 0.8em;
  /* タイトルも.box_gと同じ位置に合わせました */
  margin-left: -25px;
  margin-right: -0px;
}

.box_gn ol {
  padding: 0;
  margin: 0;
}

.box_gn li {
  color: #2B2B2B;
  line-height: 1.8;
  list-style: decimal;
  /* 1. 2. 3... */
}

/* 共通の段落設定 */
.box_g p,
.box_gn p {
  color: #2B2B2B;
  line-height: 1.8;
  margin: 0;
}

/* PCサイズの設定 */
@media screen and (min-width: 768px) {

  .box_g,
  .box_gn {
    width: 600px;
  }
}


/*-------------------------------------------
横並びに３つのBOX
-------------------------------------------*/
.plan-area {
  background-color: #FAF7F2;
}


.plan-area h2 {
  font-size: 25px;

}


.plan-area h3 {
  font-size: 23px;

}

.plan-area h4 {
  font-size: 22px;
}

.plan-content {
  display: flex;
  flex-direction: column;
}

.plan-item {
  background-color: #FAF7F2;
  margin-bottom: 30px;
  box-shadow: 1px 1px 3px #aaa;
}

.plan-info {
  padding: 0 15px 15px;
}

.plan-info a {
  padding-bottom: 0.2em;
  border-bottom: 2px;
  font-size: 16px;
}


.plan-title {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #060606;
}

.plan-price {
  text-align: center;
  padding: 10px;
  border: 2px solid #527acc;
}


.plan-list li a::before {
  content: "";
  background: url(/imglist-marker.svg) no-repeat;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px 3px;
}

@media screen and (min-width:768px) {


  .plan-content {
    flex-direction: row;
  }

  .plan-area h2 {
    font-size: 25px;

  }

  .plan-item {
    flex: 1;
    margin-top: 0;
    margin-left: 15px;
    margin-right: 15px;
  }

  .inner {
    margin: 0 auto;
    max-width: 1400px;
  }
}








/*-------------------------------------------
　アクセス
-------------------------------------------*/
.access-area {
  padding-bottom: 0;
}

.access-area img {
  display: block;
  max-width: 280px;
  max-height: 280px;
  border-radius: 50%;
  overflow: hidden;
  margin: 10px auto 30px;
}

.access-maparea {
  position: relative;
  padding-top: 100%;
}

.access-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width:768px) {
  .access-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 150px;
  }

  .access-maparea {
    position: relative;
    padding-top: 30%;
  }

}


/* --------------------------------------------------
「白透明リスト」
-------------------------------------------------- */


.contents-list {
  margin-bottom: 0px;
  background: url(/img/hasi-bk2800.jpg) no-repeat center center #fdd;
  background-size: cover;
  padding: 10px 0px 50px 0px;
}


.contents-list h2 {
  text-align: center;
  font-size: 25px;
  color: #D6D6D6;
}

.contents-list ul {
  list-style: none;
  width: 340px;
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 0.85rem;
  background-color: rgba(255, 255, 255, 0.8);
}


.contents-list ul li {
  border-bottom: 1px dotted #000;
  padding: 10px 0;
}

.contents-list ul li:last-child {
  border-bottom: none;
}

.contents-list ul li ul {
  background-color: rgba(0, 0, 0, 0);
  width: 290px;
}

.contents-list ul li ul li {
  border-bottom: none;
  padding: 5px 0;
  list-style: square;
  background-color: none;
}


@media screen and (min-width: 768px) {
  .contents-list {
    margin-top: -30px;
    margin-bottom: 30px;
    padding: 10px 0px 100px 0px;
  }

  .contents-list ul {
    width: 640px;
    font-size: 1rem;
  }

  .contents-list ul li ul {
    background-color: rgba(0, 0, 0, 0);
    width: 500px;
  }

}

/* --------------------------------------------------
「白透明リスト」のスタイル調整 */


.author {
  margin-bottom: 24px;
}

.author dl {
  width: 340px;
  margin: 0 auto;
}

.author dl dt {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #000;
}

.author dl dd {
  margin-bottom: 16px;
  font-size: 0.75rem;
}

@media screen and (min-width: 768px) {
  .author {
    margin-bottom: 80px;
  }

  .author dl {
    width: 680px;
  }

  .author dl dt {
    margin-bottom: 16px;
    padding-bottom: 8px;
    font-size: 1.25rem;
  }

  .author dl dd {
    margin-bottom: 40px;
    font-size: 1rem;
  }
}

/* 「白透明リスト」 フッター用 */

.contents-list2 {
  margin-bottom: 50px;
  background: url(/img/hasi-bk2800.jpg) no-repeat center center #fdd;
  background-size: cover;
  padding: 10px 0px 50px 0px;
}


.contents-list2 h2 {
  text-align: center;
  font-size: 25px;
  color: #D6D6D6;
}

.contents-list2 ul {
  list-style: none;
  width: 340px;
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 0.85rem;
  background-color: rgba(255, 255, 255, 0.8);
}


.contents-list2 ul li {
  border-bottom: 1px dotted #000;
  padding: 10px 0;
}

.contents-list2 ul li:last-child {
  border-bottom: none;
}

.contents-list2 ul li ul {
  background-color: rgba(0, 0, 0, 0);
  width: 290px;
}

.contents-list2 ul li ul li {
  border-bottom: none;
  padding: 5px 0;
  list-style: square;
  background-color: none;
}


@media screen and (min-width: 768px) {
  .contents-list2 {
    margin-bottom: 50px;
    padding: 10px 0px 100px 0px;
  }

  .contents-list2 ul {
    width: 640px;
    font-size: 1rem;
  }

  .contents-list2 ul li ul {
    background-color: rgba(0, 0, 0, 0);
    width: 500px;
  }

}

/* ==========================================
   商品リンク（カエレバ・ヨメレバ・トマレバ）
   デザイン維持・画像表示 修正版
   ========================================== */

/* 1. 全体：クロブチさんの元のデザイン数値を完全に維持 */
.kaerebalink-box,
.booklink-box,
.tomarebalink-box {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  border: 1px solid #D6D6D6 !important;
  padding: 20px !important;
  margin: 2em auto !important;
  overflow: visible !important;
  background-color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* 2. 画像エリア：150pxの幅を維持し、画像が消えても「高さ」を確保 */
.kaerebalink-image,
.booklink-image,
.tomarebalink-image {
  flex: 0 0 150px !important;
  width: 150px !important;
  min-height: 150px !important;
  /* ★ここを150pxにして、画像が消えても枠を維持 */
  margin: 0 20px 0 0 !important;
  padding: 0 !important;
  float: none !important;
  display: flex !important;
  /* ★aタグを正しく表示させるための修正 */
  align-items: center !important;
  justify-content: center !important;
}

/* 3. 画像の中のリンク：ここが潰れるのを防ぐ設定 */
.kaerebalink-image a,
.booklink-image a {
  display: flex !important;
  /* ★blockからflexに変更して潰れを防止 */
  width: 100% !important;
  height: 150px !important;
  /* ★高さを明示的に150px固定 */
  align-items: center !important;
  justify-content: center !important;
}

.kaerebalink-image img,
.booklink-image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  /* ★150pxを超えないように */
  margin: 0 auto !important;
  border-radius: 4px;
}

/* 4. 情報・テキストエリア：数値維持 */
.kaerebalink-info,
.booklink-info {
  flex: 1 !important;
  text-align: left !important;
}

.kaerebalink-name,
.booklink-name {
  margin-bottom: 15px !important;
  line-height: 1.5 !important;
}

/* 5. ボタンレイアウト：数値維持 */
.kaerebalink-link1,
.booklink-link2 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-start !important;
}

.kaerebalink-link1 div,
.booklink-link2 div {
  width: 140px !important;
  margin: 0 !important;
}

/* 6. ショップ別ボタンデザイン：デザイン維持 */
.kaerebalink-link1 div a,
.booklink-link2 div a {
  display: block !important;
  padding: 10px 5px !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: bold !important;
  border-radius: 4px !important;
  border: 2px solid !important;
  background-color: #fdfdfd !important;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1) !important;
  text-decoration: none !important;
}

/* 7. スマホ向けの調整：数値維持 */
@media screen and (max-width: 767px) {

  .kaerebalink-box,
  .booklink-box {
    flex-direction: column !important;
    align-items: center !important;
    padding: 15px !important;
  }

  .kaerebalink-image {
    margin: 0 0 15px 0 !important;
    flex: 0 0 140px !important;
    /* スマホサイズ維持 */
    width: 140px !important;
    min-height: 140px !important;
  }

  .kaerebalink-info {
    text-align: center !important;
  }

  .kaerebalink-link1 {
    justify-content: center !important;
  }

  .kaerebalink-link1 div {
    width: calc(50% - 5px) !important;
  }
}

/* 8. ショップ別カラー：数値維持 */
.shoplinkrakuten a {
  color: #d91414 !important;
  border-color: #d91414 !important;
}

.shoplinkamazon a {
  color: #e89713 !important;
  border-color: #e89713 !important;
}

.shoplinkyahoo a {
  color: #691ed5 !important;
  border-color: #691ed5 !important;
}