﻿/* --------------------------------------------------
   共通の基本部分
-------------------------------------------------- */

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* スピンボタン非表示 */
.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.no-spin {
  -moz-appearance: textfield; /* Firefox用 */
}


/* --------------------------------------------------
   ページ_選択中
-------------------------------------------------- */
.page_on {
  color: #ff744b;
  font-weight: bold;
}


/* --------------------------------------------------
   左_検索メニュー
-------------------------------------------------- */
/* 途中で固定する */
#form_left {
  width: 210px;
  height: 50%;
  margin-right: 4%;
  position: sticky;
  top: 0;
}

/* 検索menu */
.form_ttl {
  width: 100%;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-size: small;
  color: #fff;
  background-color: #538dd5;
  border-radius: 8px 8px 0 0;
}

.box_page_catalog {
  border: 1px solid #999999;
  text-align: center;
  background-color: #d2e4f3;
  padding-top: 6%;
  padding-bottom: 6%;
  width: 140px;
}

/* 提案書ダウンロード */
.thumb_catalog {
  width: 70%;
  padding-top: 3%;
  margin-top: -3%;
}

.thumb_catalog span {
  display: inline-block;
  padding-bottom: 8%;
  padding-left: 4%;
}

.thumb_catalog img {
  width: 90%;
}

.thumb_catalog div {
  margin-top: auto;
  margin-bottom: 8%;
  margin-left: 2%;
}

/* 提案書ダウンロード_ボタン */
.bt_down_page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1em 1em 1em 1.5em;
  width: 120px;
  height: 30px;
  color: #333;
  background-color: #e8e8e8;
  border-radius: 50vh;
}

.bt_down_page::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg);
}

.bt_down_page:hover {
  text-decoration: none;
  background-color: #bbbbbb;
}

/* 検索button */
.btn_page {
  border: 1px #999 solid;
  background: #bdcee2;
  color: #333;
  width: 100px;
  height: 25px;
  border-radius: 5px;
  text-align: center;
  font-size: medium;
  cursor: pointer;
  margin-top: 10%;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
}

.btn_page:hover {
  opacity: 0.7;
  background-color: #fff;
}

/* ご確認ください_初期表示 */
#no_page {
  display: none;
}


/* --------------------------------------------------
   右_コンテンツ
-------------------------------------------------- */
/* #link0 を除外し、link2, link4, link6... の下に余白を追加 */
.thumb_catalog:not(#link0):nth-of-type(2n + 3) {
  margin-bottom: 6em; /* お好みの余白サイズに調整してください */
}

/* ボタンやテキストが入る右側エリア */
.thumb_action {
  display: flex;
  flex-direction: column; /* 縦並びにする */
  gap: 8px;              /* 要素同士の間隔（<br>の代わりの余白） */
  margin-top: auto;
  margin-bottom: 8%;
  margin-left: 2%;
}


/* --------------------------------------------------
   ダウンロードボタン
-------------------------------------------------- */

/* ボタン本体 */
.pdf-btn-outline {
  /* レイアウト（位置や大きさ） */
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  padding: 7px 15px;
  margin: 5px 0;

  /* 見た目（背景や枠線） */
  background-color: transparent;
  border: 1px solid #d0d0d5;
  border-radius: 6px;

  /* 文字・アニメーション */
  color: #666666;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* 子要素：PDFタグ */
.pdf-btn-outline .pdf-tag {
  padding-bottom: 1px;
  border-bottom: 1px solid #777777;
  color: #777777;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: border-color 0.25s ease;
}

/* 子要素：矢印アイコン */
.pdf-btn-outline .pdf-arrow {
  color: #aaaaaa;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* --- ホバー時（マウスをのせたとき） --- */

/* ボタン本体のホバー */
.pdf-btn-outline:hover {
  background-color: #BBBBBB;
  border-color: #BBBBBB;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* ホバー時の PDFタグ */
.pdf-btn-outline:hover .pdf-tag {
  border-color: #ffffff;
  color: #4a4a50;
}

/* ホバー時の 矢印アイコン */
.pdf-btn-outline:hover .pdf-arrow {
  color: inherit;
  transform: translateX(3px);
}



/* --------------------------------------------------
   表示・非表示
-------------------------------------------------- */
.btn_page{
  display: none;
}