@charset "UTF-8";

/* =======================================================================================
レイアウト構造
======================================================================================= */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* アンカーリンクでジャンプした先がヘッダに被らないようにする ヘッダ高さ+余白分 */
  scroll-padding-top: calc(85px + 15px);
}

#main_wrapper {
  width: 1200px;
  padding: 0 20px;
  min-height: 100%;
  /* ↓フッター縦幅分のmargin-bottom */
  margin: 0 auto -200px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 85px;
}


main {
  clear: left;
  width: 970px;
  padding: 0;
  /* ↓固定されている左上メニューとフッターの衝突防止 */
  min-height: 1290px;
  margin: 20px 0 0px 230px;
}

/* ↓main内容が長い時にフッターに被るの防止 */
#footer_push {
  height: 220px;
}

/* =======================================================================================
本文ページ左上メインメニューの固定を制御
======================================================================================= */
/* ↓スクロールしても左上メニューは固定 */
#main_menu {
  position: fixed;
}

/* ↓ウインドウ横幅が小さい時は左上メニューを固定解除してmainと衝突防止 */
@media (max-width: 1254px) {
  #main_menu {
    position: absolute;
  }
}

/* ↓ウインドウ縦幅が小さい時は左上メニューを固定解除してスクロールさせる */
@media (max-height: 1400px) {
  #main_menu {
    position: absolute;
  }
}

/* =======================================================================================
基本パーツ
======================================================================================= */
main,
header,
nav,
article,
aside,
section,
footer {
  display: block;
}

body {
  background-color: white;
  /* ↓テキスト両端揃え */
  text-align: justify;
  /* ↓折り返しの右端を綺麗に揃える */
  text-justify: inter-ideograph;
  /* ↓ボックスからはみ出す時に単語の途中でも折り返し */
  overflow-wrap: break-word;
  /* ↓スマホで勝手にも字が大きくなるの禁止 */
  -webkit-text-size-adjust: 100%;
}

header {
  background-image: url(../images-assets/header_logo_mini.png);
  background-size: 1200px 85px;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 14px;
}

#header_top_logo_link {
  display: block;
  float: left;
  height: 85px;
  width: 410px;
}

#page_title {
  font-size: 22px;
  color: hsla(23, 48%, 28%, 1);
  font-weight: bold;
  text-align: right;
  line-height: 28px;
  margin-bottom: 20px;
  padding: 20px 50px 20px 10px;
  background-image: url(../images-assets/title_head1.png);
  background-size: 30px 52px;
  background-position: 100% 0%;
  background-repeat: repeat-y;
  background-color: #deeff2;
  border-radius: 14px;
}

/* =======================================================================================
ページ最上部にスクロールして戻るボタン
======================================================================================= */
#top_button {
  display: block;
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 80px;
  padding: 30px 0;
  font-size: 20px;
  line-height: 20px;
  color: white;
  background-color: hsla(0, 0%, 0%, 0.2);
  text-align: center;
  border-radius: 5px;
}

#top_button:hover {
  text-decoration: none;
  background-color: hsla(0, 0%, 0%, 0.4);
}

/* =======================================================================================
フォント設定
======================================================================================= */
body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, "MS PGothic", arial, helvetica, sans-serif;
  font-size: 16px;
  color: hsla(0, 0%, 20%, 1);
}

small {
  font-size: 14px;
}

.small {
  font-size: 14px;
}

figure {
  text-align: center;
  margin: 0;
}

figcaption {
  font-size: 14px;
  margin-bottom: 20px;
}

.red {
  color: #e80000;
}

/* =======================================================================================
見出し
======================================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 10px;
  font-family: inherit;
  font-weight: bold;
  line-height: 20px;
  color: inherit;
  text-rendering: optimizelegibility;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  font-weight: normal;
  position: relative;
  top: -1px;
  line-height: 0;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 17px;
}

h6 {
  font-size: 16px;
}

h1 small {
  font-size: 20px;
}

h2 small {
  font-size: 18px;
}

h3 small {
  font-size: 16px;
}

h4 small {
  font-size: 14px;
}

h5 small {
  font-size: 13px;
}

h6 small {
  font-size: 12px;
}

h3.heading_1 {
  text-align: center;
  box-sizing: content-box;
  box-sizing: border-box;
  color: black;
  margin: 50px 0 20px 0;
  padding: 16px 20px 13px;
  line-height: 26px;
  background: linear-gradient(90deg, hsl(78, 86%, 38%) 0 1%, hsla(0, 0%, 98%, 1) 1% 100%);
  border: 1px solid hsla(0, 0%, 75%, 1);
  border-left: none;
}

h4.heading_2 {
  width: calc(100% - 40px);
  margin: 50px 0 20px;
  padding: 10px 20px;
  line-height: 22px;
  text-align: left;
  color: black;
  background-color: hsla(0, 0%, 98%, 1);
  border: 1px dashed hsla(0, 0%, 50%, 1);
  border-left: none;
  border-right: none;
}

h5.heading_3 {
  text-align: left;
  font-weight: bold;
  margin: 25px auto 0;
}

/* =======================================================================================
リスト
======================================================================================= */
li,
dd {
  margin: 0 0 7px 0;
}

ul {
  padding-left: 1.2em;
  margin: 0 1.2em 0 0;
  list-style-type: none;
}

ol {
  padding-left: 0.2em;
  margin: 0 1.2em 0 0;
}

dl dt {
  font-weight: bold;
  margin-bottom: 7px;
}

dl dd {
  padding-left: 0em;
  margin-left: 1.2em;
}

ul>li:before {
  display: inline-block;
  width: 1.1em;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  content: "・";
  margin-left: -1.1em;
}

ul.marker_green,
dl.marker_green {
  list-style-type: none;
  margin: 0 1.2em 0 0;
}

ul.marker_green>li:before,
dl.marker_green>dd:before {
  color: #83b50e;
  display: inline-block;
  width: 1.1em;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  content: "\f0c8";
  margin-left: -1.1em;
}


.black_box ul.marker_green li:before,
.black_box dl.marker_green dd:before {
  color: lightgray;
}

ul.marker_kome,
dl.marker_kome {
  list-style-type: none;
  margin: 0 1.2em 0 0;
}

ul.marker_kome li:before,
dl.marker_kome dd:before {
  display: inline-block;
  width: 1.1em;
  font-size: inherit;
  text-rendering: auto;
  content: "※";
  margin-left: -1.1em;
}

ol {
  margin-left: 1.5em;
}

ul.shorten_list_paragraph li,
dl.shorten_list_paragraph dd {
  margin-bottom: 0px;
}

/* =======================================================================================
頭にマーク
======================================================================================= */
.head_square,
.head_circle,
.head_kome {
  display: block;
  text-indent: -1em;
  margin-left: 1em;
}

.head_square .fa-solid,
.head_circle .fa-solid,
.head_kome .fa-solid {
  text-indent: 0em;
}

.head_square:before,
.head_circle:before {
  color: #83b50e;
  font: normal normal normal 16px/1 FontAwesome;
  padding-right: 3px;
}

.black_box .head_square:before,
.black_box .head_circle:before {
  color: lightgray;
}

.head_square:before {
  content: "\f0c8";
}

.head_circle:before {
  content: "\f10c";
}

.head_kome:before {
  content: "※"
}

/* =======================================================================================
グレーカプセル
======================================================================================= */
.gray_capsule {
  background-color: hsl(0, 0%, 93%);
  padding: 6px;
  margin: 4px;
  border-radius: 6px;
}

/* =======================================================================================
ボタン
======================================================================================= */
.button_green {
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-align: center;
  display: inline-block;
  text-shadow: 0px -1px 0px #8dc500;
  margin: 5px;
  padding: 15px 50px;
  line-height: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #acd930 #8fbe1d #70a30b;
  background-image: linear-gradient(180deg, #b9e138, #83b50e);
  background-color: #83b50e;
  transition: color 0.06s;
}

.button_green:hover,
.inline_button:hover {
  color: #0066a7;
  border-color: #c5e64e #b6d943 #a5cb38;
  background-image: linear-gradient(180deg, #d4f854, #b3da3c);
  text-decoration: none;
  text-shadow: none;
}

.button_red {
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-align: center;
  display: inline-block;
  text-shadow: 0px -1px 0px #a51735;
  margin: 5px;
  padding: 15px 50px;
  line-height: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #d15664 #b0364a #8c142d;
  background-image: linear-gradient(0deg, rgba(166, 24, 54, 1) 0%, rgba(246, 101, 118, 1) 100%);
  background-color: #83b50e;
  transition: color 0.06s;
}

.button_red:hover {
  color: #4a0016;
  border-color: #d9868d #d96270 #c05465;
  background-image: linear-gradient(180deg, rgba(255, 157, 166, 1) 0%, rgba(227, 100, 120, 1) 100%);
  text-decoration: none;
  text-shadow: none;
}

.head_line_green {
  border-left: 3px solid hsla(78, 86%, 38%, 1);
  padding-left: 7px;
  word-break: break-all;
}

/* 文中に挿入できるインラインボタン */
.inline_button {
  color: white;
  display: inline-block;
  padding: 3px 10px;
  margin: 0 3px;
  font-size: 12px;
  line-height: 12px;
  position: relative;
  top: -1px;
  background-color: #83b50e;
  background-image: linear-gradient(180deg, #b9e138, #83b50e);
  border-radius: 3px;
}

/* =======================================================================================
float解除（令和最新版方式）
======================================================================================= */
.clearfix {
  display: block;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* =======================================================================================
ボックス
======================================================================================= */
.white_box,
.gray_box,
.black_box {
  margin: 0 auto 10px;
  padding: 25px;
  border-radius: 14px;
  background-color: white;
  border: 1px solid hsla(0, 0%, 80%, 1);
  width: fit-content;
}

/* 白ボックス */
.white_box {
  background-color: white;
}

/* グレーボックス */
.gray_box {
  background-color: hsla(0, 0%, 98%, 1);
}

/* 黒ボックス */
.black_box {
  color: white;
  background-color: hsla(0, 0%, 35%, 1);
  border-style: none;
}

.black_box a {
  color: hsla(201, 100%, 80%, 1);
}

/* =======================================================================================
その他
======================================================================================= */
a {
  text-decoration: none;
  color: hsla(201, 100%, 36%, 1);
}

a:hover {
  text-decoration: underline;
  color: hsla(190, 100%, 47%, 1);
}

/* ページ内ジャンプ */
a[name] {
  font-size: 0px;
  line-height: 0px;
  display: block;
}

.indent {
  padding-left: 1em;
  border-left: 1px solid hsla(0, 0%, 80%, 1.00);
  margin-top: 10px;
  margin-bottom: 10px;
}

p {
  margin: 0 0 12px;
}

hr {
  height: 1px;
  border: none;
  border-top: 1px solid hsla(0, 0%, 80%, 1);
}

figure img {
  width: 100%;
}

figcaption {
  text-align: center;
}

blockquote {
  line-height: 26px;
  width: 80%;
  margin: 0 auto 20px;
  background-color: white;
}

.border_gray {
  border: 1px solid hsla(0, 0%, 80%, 1);
  background-color: hsla(0, 0%, 80%, 1);
}

img.mouseover_white:hover {
  transition: all 0.2s;
  opacity: 0.6;
}

/* =======================================================================================
お手軽センタリング
======================================================================================= */
.h_center {
  display: block;
  margin: 20px auto;
  width: fit-content;
  text-align: center;
}

.h_center img,
img.h_center {
  width: 100%;
}

.flex_wrapper {
  margin: 0 auto 30px;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.flex_wrapper a {
  display: block;
  width: fit-content;
}

.flex_wrapper img {
  margin: 10px 10px 0 0;
}

/* =======================================================================================
どれか1つを選択するセレクトメニュー
======================================================================================= */
.select_menu {
  color: black;
  font-size: 18px;
  line-height: 22px;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 20px 30px;
  border: 1px solid hsla(0, 0%, 80%, 1.00);
  border-right-style: dashed;
}

.select_menu:last-child {
  border-right-style: solid;
}

.select_menu:not(:first-child) {
  border-left-style: none;
}

.select_menu.selected,
.select_menu:hover {
  color: black;
  text-decoration: none;
  /* background-color: white; */
  background-color: hsla(76, 95%, 95%, 1.00);
  box-shadow: 0px -7px 0px 0px #acd930 inset;
}

/* =======================================================================================
レスポンシブ時に横並びが → 縦並びになるwrapper
======================================================================================= */
.responsive_v_direction {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto 10px;
  gap: 40px;
}

.responsive_v_direction img {
  width: 100%;
}

/* =======================================================================================
アコーディオン折りたたみ
======================================================================================= */
.ac_wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .2s ease-in-out;
  position: relative;
}

.ac_wrapper input {
  display: none;
}

.ac_wrapper input:checked+label {
  /* 開いた時にグラデーションを消す */
  background: inherit;
}

.ac_wrapper input:checked+label:after {
  font-family: FontAwesome;
  content: '\f139' ' 閉じる';
}

.ac_wrapper label {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  /* グラデーションの高さ */
  height: 100px;
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}

.ac_wrapper label:after {
  line-height: 2.5rem;
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 50%;
  width: 16rem;
  font-family: FontAwesome;
  content: '\f13a' ' 続きを読む';
  font-weight: bold;
  transform: translate(-50%, 0);
  letter-spacing: 0.05em;
  color: #ffffff;
  border-radius: 20px;
  background-color: #8dc500;
}

.ac_wrapper .ac_container {
  /* 開く前に見えている部分の高さ */
  min-height: 20px;
  overflow: hidden;
  /* ボタンの分下に余白 */
  padding-bottom: 80px;
}

.ac_wrapper:has(input:checked) {
  grid-template-rows: 1fr;
}