@charset "UTF-8";
@import url("variables.css");
/****************************************
1.COMMON
2.SUB-COMMON
3.BUTTON-COMMON
4.TEMPLATE
5.HEADER
6.FOOTER
7.PAGENATION
8.MODAL
*****************************************/
/****************************************
1.COMMON
*****************************************/
/* 全体のリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  font-size: 62.5%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* ページ内遷移 ヘッダー分 引く*/
:root {
  --header-height: 120px;
}

/* モーダル表示時にbodyのスクロールを無効にするクラス */
body.modal-open {
  overflow: hidden;
}

.flex {
  display: flex;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  width: auto;
  /*overflow:hidden;*/
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* clearfix */
.clearfix:after {
  /*float解除*/
  display: block;
  clear: both;
  height: 0px;
  visibility: hidden;
  content: ".";
}

.clearfix {
  min-height: 1px;
  /*IE6 7用*/
}

/* IE6 */
* html .clearfix {
  zoom: 1;
}

/* IE7 */
*:first-child + html .clearfix {
  zoom: 1;
}

.block {
  display: block;
}

.borde-none {
  border: none;
}

.mat-0 {
  margin-top: 0 !important;
}

.mat-8 {
  margin-top: 8px !important;
}

.mat-16 {
  margin-top: 16px !important;
}

.mat-24 {
  margin-top: 24px !important;
}

.mat-32 {
  margin-top: 32px !important;
}

.mat-40 {
  margin-top: 40px !important;
}

.mat-48 {
  margin-top: 48px !important;
}

.mat-64 {
  margin-top: 64px !important;
}

.mat-80 {
  margin-top: 80px !important;
}

.mab-8 {
  margin-bottom: 8px !important;
}

.mab-16 {
  margin-bottom: 16px !important;
}

.mab-24 {
  margin-bottom: 24px !important;
}

.mab-32 {
  margin-bottom: 32px !important;
}

.mab-40 {
  margin-bottom: 40px !important;
}

.mab-48 {
  margin-bottom: 48px !important;
}

.mab-52 {
  margin-bottom: 52px !important;
}

.pat-16 {
  padding-top: 16px !important;
}

.pat-24 {
  padding-top: 24px !important;
}

.pat-40 {
  padding-top: 24px !important;
}

.pat-48 {
  padding-top: 48px !important;
}

.pat-60 {
  padding-top: 64px !important;
}

.pat-72 {
  padding-top: 72px !important;
}

.pab-8 {
  padding-bottom: 8px !important;
}

.pab-16 {
  padding-bottom: 16px;
}

.pab-24 {
  padding-bottom: 24px !important;
}

.pab-32 {
  padding-bottom: 32px;
}

.pab-40 {
  padding-bottom: 40px;
}

.pab-64 {
  padding-bottom: 64px;
}

.pab-80 {
  padding-bottom: 80px;
}

.pab-120 {
  padding-bottom: 120px;
}

.center {
  text-align: center;
}

main {
  margin-top: 68px;
}

/****************************************
FOOTER
*****************************************/
footer {
  background-color: var(--cl-gry);
}
footer a {
  color: var(--cls-blk);
  text-decoration: none;
}
footer p.txt {
  width: var(--width-common);
  margin: 0 auto;
  padding: 16px 0;
  text-align: center;
  font-size: 14px;
}
footer ul.footer-wrap {
  width: var(--width-common);
  margin: 0 auto;
  padding: 64px 0;
  display: flex;
  justify-content: flex-end;
}
footer ul.footer-wrap li {
  margin: 0 0 0 24px;
  font-size: 1.4rem;
}

/****************************************
SEARCH
*****************************************/
.search-form {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 280px; /* 必要に応じて調整 */
  margin: 0;
}

.search-input {
  flex: 1;
  padding: 8px 10px;
  font-size: 1.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: #007acc;
  box-shadow: 0 0 3px rgba(0, 122, 204, 0.3);
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-button:hover {
  background-color: #007acc;
  border-color: #007acc;
  color: #fff;
}

.search-button i {
  font-size: 1.4rem;
}

/****************************************
PAGENATION
*****************************************/
ul.pagenation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 48px auto;
  padding: 24px 0;
  list-style: none;
}
ul.pagenation li {
  display: inline-block;
}
ul.pagenation li a {
  display: inline-block;
  min-width: 36px;
  padding: 12px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 1.6rem;
  line-height: 1;
  transition: all 0.2s ease;
}
ul.pagenation li a:hover {
  background-color: #333;
  color: #fff;
}
ul.pagenation li.current a, ul.pagenation li.current span {
  background-color: #333;
  color: #fff;
  border-color: #333;
  pointer-events: none;
}
ul.pagenation li.first a, ul.pagenation li.previous a, ul.pagenation li.next a, ul.pagenation li.last a {
  font-weight: bold;
}
ul.pagenation li.first a::before {
  content: "« ";
}
ul.pagenation li.last a::after {
  content: " »";
}