@charset "utf-8";


/* CSS Document */
/* ------------------------------------------------------------------------ */

/*  Reset

/* ------------------------------------------------------------------------ */


/* 1. まず「デフォルトの状態」を一番上に書く */
html {
  overflow-y: scroll;
  height: 100%;
  font-size: 62.5%;
  /* これが基準（10px） */
  -webkit-text-size-adjust: 100%;
}

/* 2. その下に「クラスがついた時の上書き用」を書く */
html.big {
  font-size: 75% !important;
  /* 12px相当に上書き */
}

html.small {
  font-size: 55% !important;
  /* 8.8px相当に上書き */
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
p,
blockquote {
  margin: 0;
  padding: 0;
}

fieldset {
  display: inline;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
}

body

/**/
table {
  line-height: 1.5;
}

q:before,
q:after {
  content: '';
}

object,
embed {
  vertical-align: top;
}

hr,
legend {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

img,
abbr,
acronym,
fieldset {
  border: 0;
}

li {
  list-style-type: none;
}

img[usemap] {
  border: none;
  height: auto;
  max-width: 100%;
  width: auto;
}

img {
  border: 0;
  max-width: 100%;
}

i {
  padding: 0;
}

p {
  word-break: break-all;
}

/* Flexible Images */
img {
  max-width: 100%;
  height: auto;
  width
  /***/
  : auto;
}

submit {
  -webkit-appearance: none;
}

/* ------------------------------------------------------------------------ */

/*  Basic Style

/* ------------------------------------------------------------------------ */

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Meiryo", "????", "MS PGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

  font-size: 1.6rem;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  -webkit-text-size-adjust: 100%;
  font-smoothing: auto;
}

@media screen and (max-width: 1000px) {
  body {
    font-size: 1.4rem;
  }
}

body *,
body *:before,
body *:after {
  box-sizing: border-box;
}

#wrap {
  margin: 0 auto;
}

body>#wrap {
  height: auto;
}


/* Link
--------------------------------------------------------------------------- */

.opacity a:hover img {
  opacity: 0.85;
}

a {
  text-decoration: none;
  color: #0e599c;
}

.inner {
  max-width: 1000px;
  width: calc(100% - 20px);
  margin: 0 auto;
}


.color-red {
  color: #ff0000;
}

/* ------------------------------------------------------------------------ */

/* Header

/* ------------------------------------------------------------------------ */

header {
  margin-top: 30px;
  margin-bottom: 20px;
  position: relative;
}

header a {
  color: #fff;
}

header .logo {
  position: absolute;
  top: 4px;

}

header .nav {
  background-color: #3852a7;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  margin-top: 30px;
}

header .nav .parent li .child {
  display: none;
}


header .nav .parent {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 50px;
}

header .nav .parent li {
  width: 100%;
}

header .nav .parent li a {
  display: block;
  width: 100%;
  border-right: 1px solid #ccc;
  text-align: center;
  font-size: 1.8rem;
}

header .nav .parent>li:last-child a {
  border-right: 1px solid #ccc;
}

#menu-btn {
  display: none;
}

/* 文字サイズを変更する */
#fontsize {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fontsize_btns {
  border-radius: 2px;
  display: flex;
}

.fontsize_btns a {

  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 30px;
  color: #3852a7;
  background-color: #fff;
  border: 1px solid #3852a7;
}

.fontsize_btns .f-mid {
  border-inline: 1px solid #3852a7;
}

.fontsize_btns .on {
  background-color: #3852a7;
  color: #fff;
}

.content-flex01 {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.content-flex01 #search-area {
  display: flex;
  gap: 5px;
}

#cse-search-form {
  width: 220px;
}

@media (max-width: 1000px) {
  header .logo {
    top: 27px;
  }

  header .logo img {
    max-width: 272px;
    width: 100%;
  }

  #menu-contents {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 400px;
    width: 100%;
    height: 100vh;
    display: none;
    z-index: 99;
    background-color: #3852a7;
    padding-top: 90px;
  }

  #menu-contents.is-active {
    display: block;
  }

  header {
    height: 70px;
    margin-block: 0;
  }

  header .inner {
    position: relative;
  }

  #menu-btn {
    z-index: 100;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background-color: #3b5998;
    padding: 5px;
    width: 50px;
    cursor: pointer;
    top: 10px;
    right: 0;
    height: 50px;
    border-radius: 4px;
  }

  #menu-btn span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: #fff;
  }

  #fontsize {
    display: none;
  }

  header .nav {
    height: 100vh;
    background-color: inherit;
  }

  header .nav .parent {
    flex-direction: column;
    max-height: 90vh;
    overflow: scroll;
    height: auto;

    &::-webkit-scrollbar {
      display: none;
    }

    scrollbar-width: none;
    -ms-overflow-style: none;

  }

  header .nav .parent li {
    position: relative;
  }

  header .nav .parent li a {
    border-bottom: 1px solid;
    border-inline: none !important;
    text-align: left;
    padding-block: 5px;
    margin-top: 10px;
    color: #fff;
  }

  header .nav .child {
    margin-left: 10px;
  }

  header .nav .accordion-toggle {
    top: 6px;
    right: 0;
    position: absolute;
    cursor: pointer;
    width: 30px;
    height: 30px;
  }

  /* 共通設定：擬似要素を中央に配置 */
  .accordion-toggle::before,
  .accordion-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    /* すべてのプロパティをアニメーション対象に */
  }

  /* 横線 (常に表示) */
  .accordion-toggle::before {
    width: 20px;
    height: 3px;
    margin-top: -1.5px;
    margin-left: -10px;
  }

  /* 縦線 (is-active で消える) */
  .accordion-toggle::after {
    width: 3px;
    height: 20px;
    margin-top: -10px;
    margin-left: -1.5px;
  }

  /* --- アクティブ時の状態（プラス → マイナス） --- */

  /* 縦線を消す設定 */
  .accordion-toggle.is-active::after {
    opacity: 0;
    /* 透明にする */
    transform: scale(0);
    /* 縮小する（動きを滑らかにするため） */
  }

  .content-flex01 {
    justify-content: center;
  }
}

/* --- 1. Google検索全体のデザインリセット --- */
#search-area .gsc-control-cse {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  width: 100% !important;
}

/* フォーム全体のコンテナ */
#search-area .gsc-search-box-tools {
  border: none !important;
  background: none !important;
}

/* 入力ボックス（枠線や背景をリセット） */
#search-area .gsc-input-box {
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* 入力文字のスタイル */
#search-area .gsc-input {
  padding: 0 !important;
  margin: 0 !important;
}

/* --- 2. 検索ボタン（虫眼鏡アイコン）の調整 --- */
#search-area .gsc-search-button-v2 {
  position: relative !important;
  padding: 0 !important;
  margin-left: 8px !important;
  /* 入力欄との距離 */
  width: 36px !important;
  /* ボタンの幅 */
  height: 36px !important;
  /* ボタンの高さ */
  background-color: #333 !important;
  /* ボタン背景色 */
  border-radius: 4px !important;
  border: none !important;
  cursor: pointer;
}

/* 虫眼鏡アイコン（SVG）の微調整 */
#search-area .gsc-search-button-v2 svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  /* 絶対的な中央配置 */
  width: 18px !important;
  /* アイコンサイズ */
  height: 18px !important;
  fill: #fff !important;
  /* アイコンの色 */
}

/* ボタンホバー時 */
#search-area .gsc-search-button-v2:hover {
  opacity: 0.8;
}

/* 1. 入力欄のGoogleアイコンを消す */
#search-area .gsc-input {
  background-image: none !important;

}

/* 2. 入力欄とボタンを横並びにする（CSSで強制配置） */
#search-area .gsc-search-box {
  display: flex !important;
  align-items: center;
}

/* 3. ボタンを右側に配置 */
#search-area .gsc-search-button {
  order: 2;
  /* 入力欄より右側に配置 */
  padding-left: 8px !important;
  display: none !important;
}

#search-area .gsc-input {
  order: 1;
  /* 入力欄を左側に配置 */
}

/* 4. ボタンの見た目調整（再掲） */
#search-area .gsc-search-button-v2 {
  width: 36px !important;
  height: 36px !important;
  background-color: #333 !important;
  border-radius: 4px !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  display: none !important
}

#search-area .gsc-search-button-v2 svg {
  width: 18px !important;
  height: 18px !important;
  fill: #fff !important;
  display: none !important;
}

#search-area .gsc-control-cse .gsc-search-button {
  display: none !important;
}

.gsib_a {
  padding: 0 !important;
  padding-left: 10px !important;
}

.gsib_b {
  height: 30px !important;
  width: 30px !important;
  padding: 0 !important;
}

form.gsc-search-box {
  max-width: unset !important;
  width: 100% !important;
  margin-inline: 0 !important;
}


.custom-serch-button {
  width: 30px;
  height: 30px;
  background: #3852a7;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

/* 虫眼鏡の丸い部分と持ち手 */
.search-icon {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  /* 線の太さと色 */
  border-radius: 50%;
}

/* 持ち手部分 */
.search-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -4px;
  width: 2px;
  height: 6px;
  background: #fff;
  transform: rotate(315deg);
}

/* ------------------------------------------------------------------------ */

/* Navigation

/* ------------------------------------------------------------------------ */

nav {}


/* ------------------------------------------------------------------------ */

/* Contents

/* ------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------ */

/* Footer

/* ------------------------------------------------------------------------ */

footer {
  margin-top: 30px;
  margin-bottom: 38px;
}

footer .fnav ul {
  min-width: 510px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

footer .fnav ul li:first-child a {
  border-left: none;
}

footer .fnav ul li a {
  display: flex;
  font-size: 1.6rem;
  color: #3852a7;
  border-left: 2px solid #b7b7b7;
  padding-left: 8px;
}

footer .footer__flex {
  display: flex;
  justify-content: space-between;
}

footer .footer__flex .flogo {
  max-width: 320px;
  width: 100%;
  display: block;
}

footer .footer__flex .info {
  margin-top: 20px;
  font-size: 1.4rem;
  line-height: 20px;
  color: #333;
}

#copyright {
  border-top: 1px solid #999;
  font-size: 1.4rem;
  color: #999;
  text-align: center;
  padding-block: 20px;
}

#pagetop {
  position: fixed;
  bottom: 20px;
  right: calc(50% - 600px + 20px);
  width: 20px;
  height: auto;
  z-index: 99;
}

@media (max-width: 1200px) {
  #pagetop {
    right: 20px;
  }
}

@media (max-width: 900px) {
  footer {
    margin-bottom: 0;
  }

  footer .footer__flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .footer__flex .flogo {
    max-width: 256px;
    margin-left: 0;
    margin-right: auto;
  }

  footer .footer__flex div {
    width: 100%;
  }

  footer .footer__flex .info {
    margin-top: 14px;
    font-size: 1.2rem;
    line-height: calc(36/24);
    text-align: left;
  }

  footer .fnav ul {
    min-width: inherit;
    width: 100%;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 25px;

  }

  footer .fnav ul li {
    width: 50%;

  }

  footer .fnav ul li a {
    border-top: 1px solid #b7b7b7;
    padding-left: 0;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
  }

  footer .fnav ul li:nth-child(3) a {
    border-left: 0;
  }

  #copyright {
    font-size: 0.9rem;
    padding-block: 17px;
  }

  #pagetop {
    right: 10px;
    bottom: 175px;
  }
}

/* 扉ページ */

/*--------------------------------------------------

index card

--------------------------------------------------*/
.index-cards .row>div {
  margin: 10px;
  flex-basis: calc((100% - 62px) / 3);
  max-width: calc((100% - 62px) / 3);
  flex-grow: 1;
  flex-shrink: 0;
  border: none;
}

@media only screen and (max-width:959px) {
  .index-cards .row>div {
    margin: 10px;
    flex-basis: calc((100% - 62px) / 2);
    max-width: calc((100% - 62px) / 2);
  }
}

@media only screen and (max-width:565px) {
  .index-cards .row>div {
    margin: 10px 20px;
    flex-basis: calc(100% - 40px);
    max-width: calc(100% - 40px);
  }
}


.parts-breadcrumb li:first-child a:before {
  content: "\e900";
  font-family: 'icomoon';
  margin-right: 4px
}

.index-cards {
  padding: 0 20px;
  margin-bottom: 40px;
}

.index-cards .row>div.streched:hover {
  box-shadow: 0 1px 12px rgba(102, 102, 255, 0.5);
}

.index-cards__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 40px;
}

.door .main_content {
  max-width: 100%;
}

.streched .text-link {
  position: relative;
  z-index: 2;
}

@media only screen and (max-width:768px) {
  .index-cards__inner {
    grid-template-columns: repeat(1, 1fr);
  }
}

/*--------------------------------------------------

 parts-arw-bdr-btn

--------------------------------------------------*/
.parts-arw-bdr-btn {
  position: relative;
  display: block;
  padding: 10px 32px 10px 14px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  border: #3852a7 solid 1px;
  background-color: #3852a7;
}

.parts-arw-bdr-btn:before,
.parts-arw-bdr-btn:after {
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  content: '';
}

.parts-arw-bdr-btn:before {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background-color: #162141;
  border-radius: 50%;
}

.parts-arw-bdr-btn:after {
  width: 7px;
  height: 7px;
  margin: -3px 7px 0 0;
  border-top: #fff solid 2px;
  border-right: #fff solid 2px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
}

a.parts-arw-bdr-btn:hover {
  color: #fff;
  opacity: 0.6;
  text-decoration: none;
}

.parts-arw-bdr {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: #268708;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  border: #268708 solid 1px;
}

@media only screen and (max-width:768px) {

  .parts-arw-bdr-btn,
  .parts-arw-bdr {
    padding: 10px 8px;
    font-size: 1.5rem;
  }
}

.parts-arw-bdr-btn2 {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  border: #3852a7 solid 1px;
  background-color: #3852a7;
}

.parts-arw-bdr-btn2:hover {
  text-decoration: none;
  color: #fff;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
}

.card-img-top img {
  margin-top: 20px;
  margin-inline: auto;
  display: block;
}

.index-cards p.card-text {
  margin-top: 10px;
}


/* 外部サイト確認モーダル */
.js-modal-link {
  cursor: pointer;
}

.js-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  z-index: 1000;
}

.js-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.js-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(10px);
  transition: transform .2s ease;
}

.js-modal-overlay.is-active .js-modal {
  transform: translateY(0);
}

.js-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #888;
  padding: 6px;
}

.js-modal-close:hover {
  color: #333;
}

.js-modal-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 12px;
  padding-right: 20px;
}

.js-modal-text {
  font-size: 14px;
  color: #555;
  margin: 0 0 24px;
  white-space: pre-wrap;
}

.js-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.js-modal-btn {
  display: inline-block;
  background: #1a5fb4;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 4px;
}

.js-modal-btn:hover {
  background: #154a8e;
}

.js-modal-cancel {
  display: inline-block;
  background: #eee;
  color: #333 !important;
  text-decoration: none !important;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 4px;
}

.js-modal-cancel:hover {
  background: #ddd;
}