@charset "utf-8";

/* --------------
reset
-------------- */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
figure {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style: none;
}
caption,
th {
  text-align: left;
}

img {
  max-width: 100% !important;
  height: auto;
  vertical-align: bottom;
}
iframe {
  max-width: 100% !important;
  border: 0;
}
iframe img {
  max-width: none !important;
  border: 0;
}

body * {
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --------------
base
-------------- */
html {
  font-size: 62.5%;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 600;
  font-style: normal;
  scroll-behavior: smooth;
}

html body {
  color: #3a3a3a;
  background: #fafafa;
  font-size: 1.6rem;
  line-height: 1.8;
}

a {
  color: #3a3a3a;
}
.text-deno {
  text-decoration: none;
}

p {
  font-size: 1.8rem;
  line-height: 1.8;
  /* padding: 6px 0; */
}
h1 {
  font-size: 1.2em;
}
h2 {
  font-size: 2em;
  line-height: 1.2;
}

.in {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ---------- font size */

.fs05 {
  font-size: 0.5em;
}
.fs06 {
  font-size: 0.6em;
}
.fs07 {
  font-size: 0.7em;
}
.fs08 {
  font-size: 0.8em;
}
.fs09 {
  font-size: 0.9em;
}
.fs10 {
  font-size: 1em;
}
.fs11 {
  font-size: 1.1em;
}
.fs12 {
  font-size: 1.2em;
}
.fs13 {
  font-size: 1.3em;
}
.fs14 {
  font-size: 1.4em;
}
.fs15 {
  font-size: 1.5em;
}
.fs16 {
  font-size: 1.6em;
}
.fs17 {
  font-size: 1.7em;
}
.fs18 {
  font-size: 1.8em;
}
.fs19 {
  font-size: 1.9em;
}
.fs20 {
  font-size: 2em;
}
.fs21 {
  font-size: 2.1em;
}
.fs22 {
  font-size: 2.2em;
}
.fs23 {
  font-size: 2.3em;
}
.fs24 {
  font-size: 2.4em;
}
.fs25 {
  font-size: 2.5em;
}
.fs30 {
  font-size: 3em;
}

/* ---------- font weight */
.thin {
  font-weight: 100;
}
.demilight {
  font-weight: 300;
}
.normal {
  font-weight: 400;
}
.midium {
  font-weight: 500;
}
.bold {
  font-weight: 700;
}
.black {
  font-weight: 900;
}

/* ---------- align */
.alc {
  text-align: center !important;
}
.alr {
  text-align: right !important;
}
.all {
  text-align: left !important;
}

.alt {
  vertical-align: top !important;
}
.alb {
  text-align: bottom !important;
}
.alm {
  vertical-align: middle !important;
}

/* ---------- margin,padding */
.mb0 {
  margin-bottom: 0px !important;
}
.mb3 {
  margin-bottom: 3px !important;
}
.mb5 {
  margin-bottom: 5px !important;
}
.mb10 {
  margin-bottom: 10px !important;
}
.mb15 {
  margin-bottom: 15px !important;
}
.mb20 {
  margin-bottom: 20px !important;
}
.mb25 {
  margin-bottom: 25px !important;
}
.mb30 {
  margin-bottom: 30px !important;
}
.mb35 {
  margin-bottom: 35px !important;
}
.mb40 {
  margin-bottom: 40px !important;
}
.mb45 {
  margin-bottom: 45px !important;
}
.mb50 {
  margin-bottom: 50px !important;
}
.mb55 {
  margin-bottom: 55px !important;
}
.mb60 {
  margin-bottom: 60px !important;
}
.mb70 {
  margin-bottom: 70px !important;
}
.mb80 {
  margin-bottom: 80px !important;
}
.mb90 {
  margin-bottom: 90px !important;
}
.mb100 {
  margin-bottom: 100px !important;
}

.mb1rem {
  margin-bottom: 1rem !important;
}
.mb2rem {
  margin-bottom: 2rem !important;
}
.mb3rem {
  margin-bottom: 3rem !important;
}

.ml0 {
  margin-left: 0px !important;
}
.ml5 {
  margin-left: 5px !important;
}
.ml10 {
  margin-left: 10px !important;
}
.ml20 {
  margin-left: 20px !important;
}
.ml30 {
  margin-left: 30px !important;
}

.mr0 {
  margin-right: 0px !important;
}
.mr5 {
  margin-right: 5px !important;
}
.mr10 {
  margin-right: 10px !important;
}
.mr20 {
  margin-right: 20px !important;
}
.mr30 {
  margin-right: 30px !important;
}

.mt0 {
  margin-top: 0px !important;
}
.mt3 {
  margin-top: 3px !important;
}
.mt5 {
  margin-top: 5px !important;
}
.mt10 {
  margin-top: 10px !important;
}
.mt15 {
  margin-top: 15px !important;
}
.mt20 {
  margin-top: 20px !important;
}
.mt30 {
  margin-top: 30px !important;
}
.mt50 {
  margin-top: 50px !important;
}
.mt80 {
  margin-top: 80px !important;
}

.mt1rem {
  margin-top: 1rem !important;
}
.mt2rem {
  margin-top: 2rem !important;
}
.mt3rem {
  margin-top: 3rem !important;
}

.pb0 {
  padding-bottom: 0px !important;
}
.pb3 {
  padding-bottom: 3px !important;
}
.pb5 {
  padding-bottom: 5px !important;
}
.pb10 {
  padding-bottom: 10px !important;
}
.pb20 {
  padding-bottom: 20px !important;
}
.pb30 {
  padding-bottom: 30px !important;
}

.pt0 {
  padding-top: 0px !important;
}
.pt3 {
  padding-top: 3px !important;
}
.pt5 {
  padding-top: 5px !important;
}
.pt10 {
  padding-top: 10px !important;
}
.pt15 {
  padding-top: 15px !important;
}
.pt20 {
  padding-top: 20px !important;
}
.pt30 {
  padding-top: 30px !important;
}

.pt1rem {
  padding-top: 1rem !important;
}
.pt2rem {
  padding-top: 2rem !important;
}
.pt3rem {
  padding-top: 3rem !important;
}

.pl0 {
  padding-left: 0px !important;
}
.pl3 {
  padding-left: 3px !important;
}
.pl5 {
  padding-left: 5px !important;
}
.pl10 {
  padding-left: 10px !important;
}
.pl15 {
  padding-left: 15px !important;
}

.pr0 {
  padding-right: 0px !important;
}
.pr3 {
  padding-right: 3px !important;
}
.pr5 {
  padding-right: 5px !important;
}
.pr10 {
  padding-right: 10px !important;
}
.pr15 {
  padding-right: 15px !important;
}

.pa10 {
  padding: 10px;
}

/* ----- text */

.lh10 {
  line-height: 1;
}
.lh12 {
  line-height: 1.2;
}
.lh14 {
  line-height: 1.4;
}
.lh16 {
  line-height: 1.6;
}
.lh18 {
  line-height: 1.8;
}
.lh20 {
  line-height: 2;
}

/* ----- color */
.cl-red {
  color: #b1221a !important;
}
.cl-white {
  color: #fafafa !important;
}

.cl-error {
  color: #b1221a;
}

.cl-pdf {
  color: #ff2116;
}
.cl-word {
  color: #275196;
}
.cl-csv {
  color: #1e6d42;
}

.bg-white {
  background-color: #fafafa !important;
}
.bg-red {
  background-color: #b1221a !important;
}
.bg-blue {
  background-color: #90afc5 !important;
}

/* =header
-------------------------------------------------------------- **/
#header {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #5a5a5a;
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  max-width: 1600px;
  margin: 0 auto;
}
.header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo-img {
  max-width: 105px;
  height: fit-content;
}
.header-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.nav {
  display: flex;
  align-items: end;
}
.nav li {
  margin: 0;
  padding: 0 0.5em;
  position: relative;
}
.nav li a {
  text-decoration: none;
}
.nav-icon {
  margin-right: 7px;
}

/* 検索icon */
input#search_query {
  outline: none;
  border: none;
  padding: 0 7px;
}
.search-container {
  position: relative;
  width: 40px;
  height: 40px;
  border: 2px solid #90afc5;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}
.search-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}
.search-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 12px 0 20px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-container:focus-within {
  width: 220px;
  border-radius: 30px;
}
/* .search-container:focus-within .search-input {
  opacity: 1;
} */
.search-container:focus-within .search-icon {
  left: 12px;
  transform: translateY(-50%);
}
.pc-none {
  display: none;
}

/* モバイル用検索フォーム */
.mobile-search-container {
  display: flex;
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.mobile-search-input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  outline: none;
  font-size: 14px;
  background: #fff;
}

.mobile-search-submit {
  padding: 10px 16px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.mobile-search-submit:hover {
  background: #555;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 15;
}
/* 言語切替 */
.lang-btn {
  background: none;
  border: 2px solid #90afc5;
  cursor: pointer;
  border-radius: 30px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40px;
}
.lang-panel,
.nav-panel {
  position: fixed;
  top: 0;
  right: -30%;
  width: 30%;
  height: 100%;
  background: #062131;
  color: #fff;
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 2000;
}
.lang-list,
.nav-list {
  list-style: none;
  padding: 0;
}
.lang-list li,
.nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.lang-panel a,
.nav-panel a {
  display: block;
  padding: 12px 0;
  color: #fafafa;
  text-decoration: none;
}
.lang-panel a:hover,
.nav-panel a:hover {
  opacity: 0.7;
}

/* アコーディオンメニューのスタイル */
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: #fafafa;
  text-align: left;
  padding: 12px 0;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  position: relative;
}
.accordion-trigger:after {
  content: '+';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-trigger:after {
  transform: translateY(-50%) rotate(45deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
}
.accordion-content li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}
.accordion-content li:last-child {
  border-bottom: none;
}
.accordion-content a {
  padding: 8px 0;
  font-size: inherit;
  font-family: inherit;
}
/* 開いた時の状態 */
.lang-panel.active,
.nav-panel.active {
  right: 0;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ハンバーガーメニュー */
.nav-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #90afc5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* 固定表示用スタイル */
.nav-btn.fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn.active {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.nav-btn span {
  position: absolute;
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-line-1 {
  top: 20px;
}
.nav-line-2 {
  top: 28px;
}
.nav-line-3 {
  top: 36px;
}
/* クリック後 - 白線のバツのみ表示 */
.nav-btn.active .nav-line-1 {
  transform: rotate(45deg);
  top: 28px;
  background: white;
}
.nav-btn.active .nav-line-2 {
  opacity: 0;
}
.nav-btn.active .nav-line-3 {
  transform: rotate(-45deg);
  top: 28px;
  background: white;
}
.nav-panel {
  overflow-y: auto;
}

@media screen and (min-width: 1024px) {
  .nav-pc-none {
    display: none;
  }
}
@media screen and (max-width: 1023px) {
  .nav-sp-none {
    display: none;
  }
}
@media screen and (max-width: 520px) {
  .header-in {
    display: block;
  }
  .lang-panel,
  .nav-panel {
    right: -75%;
    width: 75%;
  }
  /* 520px以下では検索欄をハンバーガーメニューに移動 */
  .sp-none {
    display: none !important;
  }
  .pc-none {
    display: block !important;
  }
}

/* =slider
---------------------------------------------------- */
.slider-for {
  width: 75%;
  margin: 0 auto;
}
.slider-for img {
  width: 100%;
  height: auto;
  display: block;
}
.slider-nav {
  margin: 30px auto;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.slider-nav img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
}

/* 選択中のサムネイル */
.slider-nav img.active {
  opacity: 1;
  border: 2px solid #f00;
}

@media screen and (max-width: 768px) {
  .slider-for {
    width: 100%;
  }
  .slider-nav {
    margin: 20px auto;
  }
}
/* =footer
---------------------------------------------------- */
#footer {
  background-color: #fff;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  justify-content: space-around;
  margin: 0 auto 0 auto;
  padding: 15px 0;
  gap: 12px;
}
.footer a {
  text-decoration: none;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-logo img {
  width: 130px;
  height: fit-content;
}
.footer-nav ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  width: 320px;
}
.footer-nav ul li a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #3a3a3a;
  border-right: 2px solid #3a3a3a;
  transform: rotate(45deg);
}

.copyright {
  border-top: 1px solid #3a3a3a;
  padding: 7px 0;
}

@media screen and (max-width: 768px) {
  .footer-logo img {
    width: 100px;
  }
}
