@charset "UTF-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif !important;
	color: #4C4C4D;
	font-size:16px;
  background:#fff;
}


/* --------------- product（単品） --------------- */
.section-inner {
  background-color: #ECECEF;
  padding-top:50px;
  padding-bottom:100px;
}
@media screen and (max-width:1030px) {
	.section-inner { padding-top:80px; padding-bottom:80px; }
}
@media screen and (max-width:757px) {
	.section-inner { padding-top:30px; padding-bottom:80px; }
}

.section-inner-2 {
  background-color: #ECECEF;
  padding-top:50px;
  padding-bottom:50px;
}
@media screen and (max-width:1030px) {
	.section-inner { padding-top:80px; padding-bottom:80px; }
}
@media screen and (max-width:757px) {
	.section-inner { padding-top:30px; padding-bottom:80px; }
}

.section-inner-3 {
  background-color: #ECECEF;
  padding-top:0px;
  padding-bottom:100px;
}
@media screen and (max-width:1030px) {
	.section-inner { padding-top:80px; padding-bottom:80px; }
}
@media screen and (max-width:757px) {
	.section-inner { padding-top:30px; padding-bottom:80px; }
}


#search .search-narabi {
  background-color: #ECECEF;
  padding-top:50px;
}

.section-hako {
  width:1000px;
  right:0;
  left:0;
  margin:auto;
}
@media screen and (max-width:1030px) {/* sp */
  .section-hako {  width:90%; }
}

.section-hako-2 {
  width:1000px;
  right:0;
  left:0;
  margin:auto;
}
@media screen and (max-width:1030px) {/* sp */
  .section-hako-2 {  width:90%; }
}

#p06 .section-hako {
  right:0;
  left:0;
  margin:auto;
  padding-top:100px;
}

.acf-field-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8em;
}

.acf-label {
  font-weight: bold;
  width: 120px; /* 固定幅（好きな幅に調整OK） */
  flex-shrink: 0;
  display: inline-block;
  color: #4C4C4D;
}

.acf-value {
  flex-grow: 1;
  color: #4C4C4D;
}

@media screen and (max-width: 600px) {
  .acf-field-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .acf-label {
    width: auto;
    margin-bottom: 0.2em;
  }
}


/* 製品名 */
.heading-with-line {
  display: flex;
  align-items: center;
  gap: 15px; /* 線と文字の間の余白 */
  margin: 30px 0; /* 上下余白 */
}

.heading-with-line::before {
  content: "";
  display: block;
  width: 12px;
  height: 53px;
  background-color: #DACA4D;
}
@media screen and (max-width:757px) {
  .heading-with-line::before { width: 8px; height: 40px; }
}

/* 画像 */
.image-row,
.image-row-2 {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom:50px;
}
@media screen and (max-width:1030px) {/* sp */
  .image-row,
  .image-row-2 { gap:5%; }
}
@media screen and (max-width:757px) {
  .image-row,
  .image-row-2 { gap:0; }
}

.image-row img {
  width: 490px;
  max-width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width:1030px) {/* sp */
	.image-row img { width: 47%; }
}
@media screen and (max-width:757px) {
  .image-row img { width:100%; margin-bottom:20px; }
}

.image-row-2 img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width:1030px) {/* sp */
	.image-row-2 img { width:270px; }
}
@media screen and (max-width:757px) {
  .image-row-2 img { width:100%; margin-bottom:20px; }
}

.image-row .image-with-caption:only-child {
  margin-left: auto;
  margin-right: auto;
}

.image-row-2 .image-with-caption:only-child {
  margin-left: auto;
  margin-right: auto;
}

.image-row .image-caption,
.image-row-2 .image-caption {
  text-align: center;  /* キャプションを中央揃え */
}




.image-row-3 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;    /* 「.image-with-caption」 の下端を揃える */
  justify-content: center;  /* 枚数が少ないときは中央寄せ */
  gap: 20px;                /* 画像間の水平ギャップ */
  margin-bottom: 70px;      /* 全体の下余白 */
}

.image-row-3 .image-with-caption {
  position: relative;                   /* キャプションを絶対位置で置くため */
  flex: 0 0 calc(25% - 15px);           /* デスクトップで4列並ぶ幅 ※ギャップ分調整 */
  box-sizing: border-box;
  /* 画像本体だけがこの要素の「見かけの高さ」を決めるようにする */
}

.image-row-3 .image-with-caption img {
  display: block;
  width: 100%;
  height: auto;
}

.image-row-3 .image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.5em;     /* 画像の下 1.2em 下がキャプションの先頭 */
                       /* キャプションの高さによっては微調整可 (例: -1.4em/ -1.0em など) */
  text-align: center;  /* キャプションを中央揃え */
  font-size: 14px;
  color: #333;
  margin: 0;           /* pタグの余白はリセット */
  line-height: 1.2;    /* 1行分の高さに合わせる */
  white-space: normal; /* 改行を許可（複数行でも可） */
}

/* キャプションが2行以上になる可能性がある場合、絶対位置の bottom をさらに下げる */
@media screen and (min-width: 768px) {
  /* 1.2em ではなく 2.4em などにする例:
  .image-row-3 .image-caption {
    bottom: -2.4em;
  }
  */
}

@media screen and (max-width: 767px) {
  .image-row-3 {
    gap: 5%;  /* 小さい画面ではギャップを割合でとる例 */
  }
  .image-row-3 .image-with-caption {
    flex: 0 0 calc(50% - 5%);  /* 50% 幅 － ギャップ5% で2列 */
  }
}




/* 表 */
@media screen and (max-width:757px) {
  .acf-table-wrapper {   
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
}


.acf-table {
  width: 90%;
  border-collapse: collapse;
  font-size: 16px;
  color: #00275B;
  right:0;
  left:0;
  margin:auto;
  margin-bottom:30px;
}
@media screen and (max-width:757px) {
  .acf-table { 
  min-width: 600px; /* 表全体の最小幅（調整可） */
  width: 100%;
  border-collapse: collapse; }
}

.acf-table th,
.acf-table td {
  border-top: 1px solid #00275B;
  border-bottom: 1px solid #00275B;
  border-left: none;
  border-right: none;
  padding: 18px 16px;
  vertical-align: top;
}

.acf-table th {
  font-weight: bold;
  width: 200px;
  text-align: left;
}

.acf-table td {
  color: #4C4C4D;
}

.acf-table a {
  color: #00275B;
  text-decoration: underline;
}

.acf-table a:hover {
  text-decoration: none;
}


/* テーブル上の画像 */
.block-img-narabi {
  width:50%;
  text-align: center;
  margin: 0 auto;
}
@media screen and (max-width: 757px) {
  .block-img-narabi { 
    width: 100%;
  }
}

/* テーブル上の画像キャプション */
.block-moji-center {
    width:50%;
  text-align: center;
  margin: 0 auto;
}


/* 備考 */
.acf-remarks-narabi {
  width: 90%;
  right: 0;
  left: 0;
  margin: auto;
}
@media screen and (max-width: 757px) {
  .acf-remarks-narabi { 
    width: 100%;
    margin-top: 30px;
  }
}

.acf-remarks {
  display: block;        /* ブロック要素 */
  font-size: 16px;
  color: #4C4C4D;
  line-height: 1.9;      /* 行間 */
  margin-top: 20px;      /* .acf-remarks 全体の上余白 */
}

.acf-remarks p {
  white-space: pre-wrap;   /* 改行コードを尊重しつつ折り返す */
  word-break: break-word;  /* 長い単語は途中で折り返す */
  padding-left: 1rem;      /* 先頭以外のすべての行を 1rem 下げる */
  text-indent: -1rem;      /* １行目だけ 1rem 左にはみ出す（実質的にインデント） */
  padding-bottom: 10px;    /* 段落（<p>）ごとに下に余白を 10px */
}

.acf-remarks-2 {
  font-size: 16px;
  color: #4C4C4D;
  line-height: 1.9;      /* 行間 */
  margin-top: 20px;      /* .acf-remarks 全体の上余白 */
}



/* お問い合わせ */
.contact-btn-narabi {
  text-align: center;
  right:0;
  left:0;
  margin:auto;
  margin-top:50px;
}

.contact-btn {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid #00275B; /* 濃い青の線 */
  border-radius: 50px;
  background: transparent;
  color: #00275B;
  background-color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  width:300px;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.contact-btn:hover {
  background:#00275B;
  color: #fff;
  transform: scale(1.1);
}



/* --------------- product（一覧） --------------- */
.posttype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 横に4つ固定 */
  gap: 20px;
  padding: 40px 0;
}

@media screen and (max-width: 1030px) {
  .posttype-grid {
    grid-template-columns: repeat(3, 1fr); /* スマホなどでは2列に */
  }
}
@media screen and (max-width: 757px) {
  .posttype-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホなどでは2列に */
  }
}

.posttype-grid-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 横に4つ固定 */
  gap: 20px;
}
@media screen and (max-width: 1030px) {
  .posttype-grid-2 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 757px) {
  .posttype-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.posttype-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px !important;
  text-decoration: none;
  background-color: #f4f4f4;
  transition: box-shadow 0.3s ease;
}

.posttype-card .card-content {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.posttype-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.posttype-card-2 {
  display: inline-block;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px !important;
  text-decoration: none;
  background-color: #f4f4f4;
  transition: box-shadow 0.3s ease;
  width: 235px;
  position: relative;
}
@media screen and (max-width: 757px) {
  .posttype-card-2 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px !important;
    text-decoration: none;
    background-color: #f4f4f4;
    transition: box-shadow 0.3s ease;
    width: auto;
    margin-right:0px;
    width: 100%;
  }
}
.posttype-card-2 :last-child{
  margin-right:0px;
}

.posttype-card-2:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 235px;
  height: 160px;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 1030px) {
  .card-image {
    width:100%;
    height: 120px;
  }
}

.card-image-2 {
  width: 235px;
  height: 160px;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 1030px) {
  .card-image-2 {
    width:100%;
    height: 130px;
  }
}

/* 下の白いエリア */
.card-content {
  position: relative;
  background: #fff;
  padding: 10px;
  text-align: left; /* ← 左揃えに変更！ */
  z-index: 0;
  overflow: hidden;

  height: auto; /* 高さを固定して揃える */
  display: flex;
  align-items: center;
}


/* 背景アニメーション用の疑似要素 */
.card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #DACA4D;
  z-index: -1;
  transition: left 0.4s ease;
}

/* ホバー時に流れてくる */
.posttype-card:hover .card-content::before {
  left: 0;
}

.posttype-card-2:hover .card-content::before {
  left: 0;
}

/* テキストスタイル */
.card-title {
  font-weight: bold;
  font-size: 16px;
  color: #00275B;
  position: relative;
  text-align: left;
  padding-left:5px;
  padding-right:5px;
  z-index: 1;
  line-height:19px;
  height: 50px; /* 高さを固定して揃える */
  display: flex;
  align-items: center;
}
@media screen and (max-width: 1030px) {
  .card-title {
    font-size: 15px;
  }
}



.product-table tr.highlight {
  background-color: #fff4b0;
  transition: background-color 0.3s ease;
}

.highlight {
  background-color: #fff9cc; /* 薄い黄色など好みで調整 */
}


/* --------------- 検索窓 --------------- */
/* フォーム全体の余白と幅 */
.wp-block-group {
  width:100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 50px !important;
  padding-right:50px !important;
  padding-top:30px !important;
  padding-bottom:40px !important;
  background-color: #fff;
  border: solid 3px #DACA4D;
  border-radius:20px;
  margin-bottom:50px;
}

#p05 .wp-block-group {
  padding-bottom:40px !important;
  background-color: #fff;
  border: solid 3px #DACA4D;
  border-radius:20px;
  margin-bottom:0px;
}

#search .wp-block-group {
  width:100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 50px !important;
  padding-right:50px !important;
  padding-top:30px !important;
  padding-bottom:40px !important;
  background-color: #fff;
  border: solid 3px #DACA4D;
  border-radius:20px;
  margin-bottom:20px;
}
@media screen and (max-width: 1030px) {
  .wp-block-group,
  #search .wp-block-group {
    padding-left: 20px !important;
    padding-right:20px !important;
    padding-top:20px !important;
    padding-bottom:10px !important;
  }
}

.vkfs__outer-wrap {
  
}

.wp-block-heading {
  color: #00275B;
  font-size:28px;
  border-bottom:dashed 2px #DACA4D;
  width:100%;
  padding-bottom:20px;
  text-align: center;
}
@media screen and (max-width: 1030px) {
  .wp-block-heading {
    font-size:21px;
    padding-bottom:10px;
  }
}

.wp-block-heading::after {
  border:dashed 3px #DACA4D;
}


.wp-block-vk-filter-search-pro-filter-search-pro {
  width:100%;
}
@media screen and (max-width: 1030px) {
  .wp-block-vk-filter-search-pro-filter-search-pro {
    padding-top:0px;
  }
}

.vkfs__labels {
  margin-bottom:30px;
}

 #p07 .vkfs__labels {
  margin-bottom:10px;
}


/* セレクトボックス */
.vk-filter-search-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

/* ラベル */
.vkfs__label-name {
  display: block;
  margin-bottom: 15px;
  margin-top:0px;
  font-weight: bold;
  color: #00275B;
  font-size:20px;
}
@media screen and (max-width: 1030px) {
  .vkfs__label-name {
    font-size:18px;
  }
}

.vkfs__level-0 {
  font-size:18px;
}
@media screen and (max-width: 1030px) {
  .vkfs__level-0 {
    font-size:16px;
  }
}

.vkfs__input-text-addition--before {
  font-size:16px;
}

.vkfs__input-numeric .vkfs__input-numeric--size_tate_numeric_equal {
  width:100%;
}

/* 検索ボタン */
.vkfs_submit,
.vkfs button[type=submit] {
  display: block;
  margin: 0px auto 0;
  width: 60%;
  font-size: 18px;
  padding: 12px 0;
  background: #00275B;
  color: white;
  border-radius: 50px;
}
@media screen and (max-width: 1030px) {
  .vkfs_submit,
  .vkfs button[type=submit] {
    width: 80%;
  }
}
 
@media screen and (max-width: 1030px) {
  #search .vkfs_submit,
  #search .vkfs button[type=submit] {
    margin-bottom:30px;
  }
}

@media screen and (max-width: 757px) {
#p07 .vkfs_submit.has-background.has-text-color.has-white-color {
    margin-bottom:30px;
  }
}

#p05 .vkfs_submit.has-background.has-text-color.has-white-color {
    margin-top:30px;
}


/* 
#p07 .vkfs_submit {
  margin-top:50px !important;
  margin-bottom:50px !important;
}
@media screen and (max-width: 1030px) {
  #p07 .vkfs_submit {
    margin-top:30px !important;
    margin-bottom:30px !important;
  }
}
*/


.vk-filter-search-button button:hover {
  background-color: #c5b637;
}

.vkfs__block-id--c856e927-9828-410f-9eca-9afa7b7b0892 {
  margin-bottom:0px !important;
}

.wp-container-core-group-is-layout-8cf370e7 {
  align-items:center !important;
}

.wp-block-vk-filter-search-pro-custom-field-search-pro .vkfs__input-wrap :where(.vkfs__input-numeric-wrap) {
  display: block;
}

.vkfs__input-wrap {
  display: block;
}

.vkfs input[type=number], .vkfs input[type=text], .vkfs select:not(.does-not-exist) {
  display: inline-block !important;
  width: 88% !important;
  margin-left: 2%;
}


@media screen and (max-width: 757px) {
  .vkfs__block-id--c8698812-ea02-4148-b63f-db6a41652597 .vkfs__outer-wrap {
    min-width: 100% !important;
  }
}


/* スマホ：縦並び + 順番調整 */
.field-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.item-1 { order: 1; }
.item-3 { order: 2; }
.item-2 { order: 3; }
.item-4 { order: 4; }

/* PC：2列表示（順番戻す） */
@media screen and (min-width: 768px) {
  .field-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .item-1,
  .item-2,
  .item-3,
  .item-4 {
    width: 48%;
  }

  .item-1 { order: 1; }
  .item-2 { order: 2; }
  .item-3 { order: 3; }
  .item-4 { order: 4; }
}



.vk-filter-search-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}











/* --------------- product（リスト表示） --------------- */
.product-table a {
  text-decoration: none;
  color: #003366;
}

.product-table a:hover {
  text-decoration: underline;
}


/* スクロール用ラッパー */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* テーブルの最小幅を指定して横スクロールを発生させる */
.product-table {
  min-width: 600px;
  border-collapse: collapse;
  width: 100%;
}

/* テーブルのセル */
.product-table th,
.product-table td {
  white-space: nowrap;
  border: 0.5px solid #003366;
  text-align: left;
  color: #003366;
}

.product-table th {
  padding: 0.15em 0.9em;
}

.product-table td {
  padding: 0.5em 0.9em;
}

/* テーブルヘッダー */
.product-table th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #003366;
  text-align: center;
}

.product-table td {
  color: #4C4C4D;
  background-color: #fff;
}

/* 偶数行の背景色 */
.product-table tr:nth-child(even) {
  background-color: #f9f9f9;
}





.accordion-block {
  margin-bottom: 1em;
}


.accordion-button {
  width: 100%;
}


.accordion-button summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0.8em 2em;
    width: 100%;
    color: #fff;
    font-size:20px;
    font-weight: 600;
    cursor: pointer;
    background-color: #00275B;
}
@media screen and (max-width:1030px) {/* sp */
.accordion-button summary { 
    font-size:18px;
   }
}

.accordion-button summary::-webkit-details-marker {
    display: none;
}

.accordion-button summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
    transition: transform .3s;
}

.accordion-button[open] summary::after {
    transform: rotate(225deg);
}


.category-heading {
  width: 100%;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  background-color: #003366;
  border: none;
  color: #fff;
  margin-top: 30px;
}

.search-section form {
  margin-bottom: 0 !important;
}

#p05 .search-section form {
  margin-bottom: 0 !important;
  margin-top:20px;
}

#p07 .search-section form {
  margin-bottom: 0 !important;
  margin-top:20px;
}


.accordion-content {
  display: none;
  background-color: #fff;
}

.section-inner .accordion-section {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}





/* 型番、トレーサイズ、ポケット形状、ポケット数のセルの境界線を消す */
.no-border {
  border-bottom: none !important;
  text-align: center !important;
  vertical-align: middle !important;
  padding-top:25px !important;
}

.no-border-2 {
  border-top: none !important;
}

/* ポケットサイズ（mm）の右隣にポケット数を配置 */
.pocket-size-header {
  text-align: center;
  background-color: #f5f5f5;
  font-weight: bold;
  color: #003366;
  padding: 0 10px;
}

/* テーブルのセル内容を中央揃えに */
.product-table th, .product-table td {
  text-align: center !important;
  vertical-align: middle !important;
}

.product-table td:first-child {
  text-align: left !important;
}

/* 偶数行に背景色を追加する場合（必要に応じて） */
.product-table tr:nth-child(even) {
  background-color: #f9f9f9;
}




/* --------------- 特筆事項 --------------- */
h3 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #00275B;
  border-left: 8px solid #DACA4D;
  height:50px;
  padding-left: 15px;
  padding-top:5px;
  margin-top:50px;
}
@media screen and (max-width:1030px) {/* sp */
	h3 { 
    font-size:21px;
    height:40px;
   }
}

.wrap-white {
  background-color:#fff;
  padding-bottom:40px;
}

.wrap-1100 {
  width:100%;
  max-width:1100px;
  margin: 0 auto;
  padding-top:80px;
  margin-bottom:100px;
}
@media screen and (max-width:1030px) {/* sp */
  .wrap-1100 { 
    width:90%;
    padding-top:50px;
    margin-bottom:50px;
   }
}

.wrap-1000 {
  width:100%;
  max-width:1000px;
  margin: 0 auto;
  padding-top:80px;
  margin-bottom:100px;
}
@media screen and (max-width:1030px) {/* sp */
  .wrap-1000 { 
    width:90%;
    padding-top:50px;
    margin-bottom:50px;
   }
}


.moji-1 {
  font-size:16px;
  line-height:32px;
  color:#4C4C4D;
  text-align: justify;
  padding-bottom:30px;
}

.moji-2 {
  font-size:16px;
  line-height:32px;
  color:#4C4C4D;
  text-align: justify;
  padding-top:30px;
  padding-bottom:20px;
}

.moji-3 {
  font-size:16px;
  line-height:32px;
  color:#4C4C4D;
  text-align: right;
  padding-top:10px;
  padding-bottom:20px;
}

.moji-4 {
  font-size:16px;
  line-height:32px;
  color:#4C4C4D;
  text-align: justify;
  padding-top:50px;
  padding-bottom:10px;
}

.p-img {
  width:100%;
}

.section-heading {
  display: flex;
  align-items: flex-start; /* 上揃え */
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  flex-wrap: nowrap; /* 改行禁止 */
}

.section-heading-2 {
  display: flex;
  align-items: flex-start; /* 上揃え */
  gap: 10px;
  margin-top: 70px;
  margin-bottom: 10px;
  flex-wrap: nowrap; /* 改行禁止 */
}

.square-icon {
  width: 12px;
  height: 12px;
  background-color: #DACA4D;
  flex-shrink: 0;
  margin-top: 13px; /* 微調整で上下中央寄せ */
}
@media screen and (max-width:757px) {
  .square-icon { font-size:8px; margin-top:7px; }
}


.heading-text {
  font-size: 25px;
  font-weight: bold;
  color: #00275B;
  margin: 0;
  word-break: break-word; /* 必要に応じて */
}
@media screen and (max-width:757px) {
  .heading-text  { font-size:18px; }
}



/* アコーディオン */
.accordion-two-column {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 40px 0;
}
@media screen and (max-width:757px) {/* sp */
  .accordion-two-column  { 
    display: block;
    padding: 10px 0;
   }
}

.accordion-column {
  flex: 1;
  max-width: 540px;
}
@media screen and (max-width:757px) {/* sp */
  .accordion-column { 
    max-width:100%;
   }
}

.accordion-item {
  border-bottom: 2px solid #00275B;
  margin-bottom: 10px;
  padding:15px;
}
@media screen and (max-width:757px) {/* sp */
  .accordion-item { 
    border-bottom: 1px solid #00275B;
    margin-bottom: 0px;
    padding: 8px;
   }
}

.accordion-item:first-child {
  border-top: 2px solid #00275B;
}
@media screen and (max-width:757px) {/* sp */
  .accordion-item:first-child { 
    border-top: none;
   }
}


.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 21px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  cursor: pointer;
  color: #00275B;
}
@media screen and (max-width:757px) {/* sp */
  .accordion-header { 
    font-size:16px;
   }
}

.accordion-header .title-main {
  font-weight: bold;
  margin-right: 20px;
  width:auto;
}

.accordion-header .title-sub {
  flex: 1;
  font-weight: normal;
  color: #6D8AB1;
  font-size: 16px;
  margin-top: 4px;
}
@media screen and (max-width:757px) {/* sp */
  .accordion-header .title-sub { 
    font-size:14px;
    margin-top: 1px;
   }
}

.accordion-header .icon {
  width: 20px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #00275B;
}

.accordion-body {
  display: none;
  padding: 10px 0;
  color: #4C4C4D;
  font-size: 16px;
  line-height: 32px;
  text-align: justify;
}

.accordion-body.show {
  display: block;
}



/* 横スクロールリスト */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  min-width: 1100px;
  border-collapse: collapse;
  width: 1100px;
  margin: 0 auto;
  font-size: 16px;
  color: #4C4C4D;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid #00275B;
  border-left: none;
  border-right: none;
  padding: 15px 20px;
  text-align: center;
  white-space: nowrap;
}

.spec-table th:first-child,
.spec-table td:first-child {
  font-weight: bold;
  color: #00275B;
  text-align: left !important;
}

.mini {
  font-size:11px;
  margin-right:4px;
  vertical-align: top;
}

.p1 {
  font-size:20px;
}

.p2 {
  font-size:14px;
  display: block;
}

.p3 {
  font-size:12px;
  display: block;
  font-weight: normal;
}

.spec-table th img,
.spec-table td img {
  text-align: center;
  margin: 0 auto;
  mix-blend-mode:multiply;
}

.spec-table th {
  font-weight: bold;
  color: #4C4C4D;
}
.spec-table th:first-child {
  font-weight: bold;
  color: #4C4C4D;
  text-align: center;
}

.spec-table tr td:nth-child(even),
.spec-table tr th:nth-child(even) {
  background-color: #F4F4F7;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid #00275B;
}

.spec-table td.no-border,
.spec-table th.no-border {
  border-bottom: none !important;
}

.material-table td.no-border,
.material-table th.no-border {
  border-bottom: none !important;
}




/* キャリア用語説明*/
.term-list {
  margin-bottom:100px;
}

.term-list ul {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.term-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  line-height: 1.8;
  color: #4C4C4D;
  font-size: 16px;
}
@media screen and (max-width:1030px) {/* sp */
  .term-list li  { 
    display: block;
    margin-bottom: 15px;
   }
}

.term-list .num {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #e60033;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  line-height: 24px;
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}

.term-list .term {
  display: inline-block;
  margin-right: 10px;
  white-space: nowrap;
  width:170px;
}
@media screen and (max-width:1030px) {/* sp */
  .term-list .term { 
    width:auto;
   }
}


/* 3列の表*/
.table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.material-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  color: #4C4C4D;
}
@media screen and (max-width:1030px) {/* sp */
  .material-table { 
    font-size: 16px;
   }
}

.material-table th {
  font-weight: bold;
  color: #4C4C4D;
  text-align: center;
  padding: 20px 10px;
  border-bottom: 1px solid #00275B;
}
@media screen and (max-width:1030px) {/* sp */
  .material-table th { 
    min-width: 150px;
   }
}

.material-table td {
  padding: 20px 10px;
  border-bottom: 1px solid #00275B;
  text-align: center;
  white-space: nowrap;
}

/* 材質列（1列目）だけ左揃えに */
.material-table td:first-child {
  text-align: left;
  padding-left: 20px;
}

/* 左揃えかつ青文字の装飾（必要なら） */
.bold-blue {
  font-weight: bold;
  color: #00275B;
  display: inline-block;
}

/* 一番左の列の幅を固定（例：200px） */
.material-table th:first-child,
.material-table td:first-child {
  width: 350px;
}

.bold-blue-2 {
  font-weight: bold;
  color: #00275B;
  display: inline-block;
  width: 450px;
}



.material-box-wrapper {
  border: 3px solid #DACA4D;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  margin-top:80px;
}
@media screen and (max-width:757px) {/* sp */
  .material-box-wrapper { 
    padding: 30px 15px;
    margin-top:50px;
   }
}


.material-box-title {
  color: #00275B;
  font-weight: bold;
  font-size: 25px;
  margin-bottom: 30px;
}
@media screen and (max-width:1030px) {/* sp */
  .material-box-title { 
    font-size: 20px;
   }
}

.material-boxes {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media screen and (max-width:1030px) {/* sp */
  .material-boxes { 
    gap: 20px;
   }
}

.material-box {
  display: flex;
  align-items: center;
  text-align: center;
  width:45%;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  justify-content: center;
}
@media screen and (max-width:1030px) {/* sp */
  .material-box { 
    width:100%;
    font-size: 16px;
   }
}

.material-box.yellow {
  background-color: #E8D352;
  color: #00275B;
  text-align: center;
}

.material-name {
  margin-right: 5px;
  text-align: center;
}
@media screen and (max-width:1030px) {/* sp */
  .material-name { 
    margin-right:0px;
   }
}

.code {
  font-weight: bold;
}





/* --------------- pdf --------------- */
.pdf-embed-container {
  text-align: center;
  width:45%;
  display: inline-block;
  margin:2%;
  margin-bottom:70px;
}
@media screen and (max-width:757px) {/* sp */
  .pdf-embed-container { 
    width:100%;
    margin:0;
    margin-bottom:70px;
   }
}

  /* サムネイル表示 */
  .pdf-thumbnail img {
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%;
  }
  .pdf-thumbnail img:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  }


   /* ポップアップのオーバーレイスタイル */
   .pdf-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  .pdf-popup-content {
    background-color: white;
    padding: 20px;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    z-index: 1001;
    margin-top:40px
  }

  .close-popup-btn {
    background-color: #E8D352;
    color: #00275B;
    padding: 10px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 80px;
    right: 50px;
    border-radius: 50%;
    z-index: 1010;
    font-size: 30px;
    width:70px;
    height:70px;
  }

  /* ダウンロードボタン */
  .download-btn {
    background-color:  #fff;
    color: #00275B;
    padding: 10px 20px;
    font-size:18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 40px;
    border-radius: 50px;
    border: solid 2px #00275B;
    width:60%;
    padding:15px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  .download-btn:hover {
    background-color: #00275B;
    color: #fff;
    transform: scale(1.1);
  }

  /* スマホのサイズ以下ではポップアップ無効 */
@media (max-width: 768px) {
  .pdf-popup-overlay {
    display: none !important;
  }
}



/* --------------- テーブル --------------- */
.wp-block-table {
  border-collapse: collapse;
  margin: 20px 0;
  margin:0 auto;
  padding-top:30px;

  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
  white-space: nowrap; /* 横スクロール時に折り返し防止 */
}

.wp-block-table table {
  width: 100%;
  min-width: 500px; /* テーブルの最小幅を指定。必要に応じて調整 */
  border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
  border-bottom: 1px solid #00275B;
  padding: 15px 30px;
  text-align: left;
  white-space: nowrap; /* セルの折り返し防止 */
}

/* 一番上の行の上の線を消す */
.wp-block-table tr:first-child td {
  color: #00275B;
  font-weight: bold;
  border-top: none !important;
  text-align: center !important;
}

/* テーブルのデータ */
.wp-block-table td {
  padding: 15px 30px;
  border-bottom: 1px solid #00275B;
  border-top: none !important;
  border-left: none;
  border-right: none;
  text-align: left;
}



/* ---------------NEWバッジ --------------- */
.new-badge {
  background: rgb(195, 4, 4);
  color: #fff;
  padding: 3px 6px;
  font-weight: bold;
  border-radius: 3px;
  font-size: 0.9em;
  position: absolute;
  top: 0px; /* 上から10px */
  left: 10px; /* 左から10px */
  z-index: 10; /* 画像の上に表示されるように */
}

.new-badge-2 {
  background: rgb(195, 4, 4);
  color: #fff;
  padding: 3px 6px;
  font-weight: bold;
  border-radius: 3px;
  font-size: 0.9em;
}



/* ---------------01シングル --------------- */
.op-moji-1 {
  font-size:24px;
  font-weight: bold;
  color: #00275B;
  margin-top:50px;
}
@media screen and (max-width:1030px) {/* sp */
  .op-moji-1 { 
    font-size:20px;
    line-height:32px;
    margin-top:20px;
   }
}

.op-moji-1 span {
  color: #E8D352;
  margin-right:5px;
}



/* ---------------ブロックエディタ --------------- */
.block-moji-1 {
  font-size:24px;
  font-weight: bold;
  color: #00275B;
  margin-top:10px;
  margin-bottom:30px;
}

.block-moji-2 {
  font-size:18px;
  font-weight: bold;
  color: #00275B;
  margin-top:30px;
  margin-bottom:10px;
}

.block-moji-3 {
  font-size:16px;
  line-height:32px;
  margin-top:40px;
  margin-bottom:40px;
}

.block-column-2 {
  background-color: #fff;
  margin-bottom:40px;
  padding:40px;
}
@media screen and (max-width:1030px) {/* sp */
  .block-column-2 { 
    padding:20px;
   }
}

.wp-block-column {
  font-size:16px;
  line-height:32px;
}

.wp-block-list li::before {
  content: "・";        /* “・” を置く */
  padding-right: 0.5em; /* マーカーとテキストの間隔を少しあける */
}

.wp-block-list li {
  white-space: pre-wrap;
  word-break: break-word;
  padding-left: 1rem;
  text-indent: -1rem;
  padding-bottom: 10px;
}


.block-column-1 {
  background-color: none !important;
}





/* ---- ページネーション ---- */
.pagination {
  text-align: center;
  margin-top: 60px;
}

/* 横並びレイアウト */
.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-numbers li {
  margin: 0 4px;
}

/* 共通スタイル */
.page-numbers a,
.page-numbers span {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 2px solid #00275B;
  font-size: 18px;
  color: #00275B;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.15s linear;
}

/* ホバー */
.page-numbers a:hover {
  background: #DACA4D;
  color: #00275B;
}

/* 現在のページ */
.page-numbers .current {
  background: #DACA4D;
  color: #00275B;
  pointer-events: none;
}

/* レスポンシブ（スマホ） */
@media screen and (max-width: 757px) {
  .page-numbers a,
  .page-numbers span {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}



/* ------------- その他のウェハーシッパー ---------------------- */
/* ========================================
   TablePress テーブルすべて向け最終調整
   ・tbody は背景透明（何も色なし）
   ・thead のみ背景グレー
   ・セルすべてに縦横線を描画
   ・ホバー時の色変化はなし
   ======================================== */

/* ─── 1) 横スクロール用ラッパー ／ 任意 ─── */
.table-wrapper {
  overflow-x: auto;             /* 横にはみ出したらスクロール */
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0;
  table-layout: auto; 
}

/* ─── 2) ベーススタイル ─── */
/* .tablepress で全 TablePress テーブルを対象に */
.tablepress {
  width: 100%;
  min-width: 1000px;   /* 必要に応じて調整してください */
  border-collapse: collapse;
  font-size: 16px;
}

/* ─── 3) ヘッダー行（thead）のみ背景グレー ─── */
.tablepress thead th {
  background-color: #dad8d8; /* ヘッダー行だけ薄いグレー */
  color: #000;               /* ヘッダー文字色は黒がわかりやすい */
  text-align: center;        /* 中央揃えにしたい場合 */
  border: 1px solid #ccc;    /* ヘッダー行もボーダーを描く */
  padding: 8px 12px;
}

/* ─── 4) 本文行（tbody）のセルは背景を透明にして、ホバーも色なし ─── */
.tablepress tbody td {
  background-color: transparent !important;  /* 背景色を完全に消す */
  border: 1px solid #ccc;                    /* 縦線・横線をすべて表示 */
  padding: 8px 12px;
  vertical-align: top;
}

/* ─── 5) マウスホバー時に一切色が変わらないように強制 ─── */
/* TablePress のテーブルには .row-striping や .row-hover クラスがあるので以下を追加 */
.tablepress tbody tr.row-hover:hover td,
.tablepress tbody tr.row-hover:hover th {
  background-color: transparent !important;
}

/* ─── セル内のテキストを折り返さず、横に広げる ─── */
.tablepress th,
.tablepress td {
  white-space: nowrap;   /* 改行を禁止し、文字量に応じて横幅を広げる */
}

/* （既に設定している場合は重ね書きでOK） */
/* もし .tablepress table が固定幅で指定されていれば、下行を追加して解除してください */
.tablepress table {
  width: auto !important;
}

/* ─── 7) レスポンシブ対応：幅狭いときは文字を小さく・最小幅を下げる ─── */
@media screen and (max-width: 768px) {
  .tablepress {
    font-size: 13px;
    min-width: 650px;  /* スマホではこれくらいまで縮める */
  }
}



/* ─────────────────────────
   #section-inner へアンカー飛びしたときに
   検索フォーム分だけ余白を作る
──────────────────────────────── */


.section-inner-3#section-inner {
  scroll-margin-top: 120px; /* 検索フォームの高さ分だけ余白 */
  padding-top: 0px;
  margin-top: 0px;
}