@charset "utf-8";
/* ------------------------------------------------------------------------------------
 MUSUBI カスタムCSS
 TCDテーマ本体（style.css）は直接編集せず、カスタマイズはこのファイルに記述する。
 読み込み: functions/musubi-custom.php（style.css の直後）
------------------------------------------------------------------------------------ */

/* トップページ コンテンツビルダー 色指定 */
.index_content2 .image_content .catch {
  color: #0b6bbf !important;
}

.index_content2.num5 .image_content .catch {
  color: red !important;
}

/* ボタン色（2.12でブロックごとのボタン色設定が廃止され、全ボタンがメインカラーになったため旧設定値を再現）
   ※ブロック番号(numX)は管理画面の並び順で変わるため、並び替えたら番号を合わせること */
/* 4番目：MUSUBI Satellite Labo West（青） */
.cb_contents.index_content2.num4 .image_content .link_button a {
  background: #1e73be;
}

.cb_contents.index_content2.num4 .image_content .link_button a:hover {
  background: #23bedd;
}

/* 5番目：一般来場者様は登録不要です。（赤） */
.cb_contents.index_content2.num5 .image_content .link_button a {
  background: #ff3a3a;
}

.cb_contents.index_content2.num5 .image_content .link_button a:hover {
  background: #dd8b8b;
}

.index_carousel .catch,
.index_carousel .title {
  font-size: 25px !important;
  color: white !important;
}

.head-desc-notice {
  color: red;
  line-height: 1.5;
}

.head-desc-notice a {
  color: blue;
}

.head-desc-notice-product {
  padding-top: 20px;
  color: red;
  line-height: 1.5;
  text-align: center;
}

#main_contents {
  padding: 60px 0 150px;
}

.pc #global_menu>ul>li#menu-item-2992,
.pc #global_menu>ul>li#menu-item-2988 {
  display: block;
  position: relative;
}

.pc #global_menu>ul>li.menu-item-object-product::before {
  position: absolute;
  top: 28px;
  left: -5px;
  content: 'HOT';
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 14px;
  font-size: 9px;
  color: white;
  border-radius: 50px;
  background-color: orangered;
  transform: rotate(-20deg);
}

#page_header {
  height: 280px;
}

#header a:hover,
#menu_button:hover:before {
  color: black !important;
}

.header-logo-desc-link {
  opacity: 1 !important;
  transition: opacity 0.3s ease-in-out;
}

.header-logo-desc-link:hover {
  display: block;
  opacity: 0.5 !important;
}

#page_header_catch {
  top: calc(50% + 50px);
}

/* ページヘッダーの見出し・説明文の色
   2.12で白(#ffffff)固定になり、旧版の設定色(黒)が反映されなくなったため上書き */
#page_header #page_header_catch,
#page_header #page_header_catch .catch,
#page_header #page_header_catch .desc {
  color: #000000;
}

/* ヘッダー画像が暗色のページは白
   ・お問い合わせ（contact）・資料ダウンロード（catalog）
   ※page-slug-{スラッグ} クラスは functions/musubi-custom.php で付与（ページIDは環境で異なるため） */
.page-slug-contact #page_header #page_header_catch,
.page-slug-contact #page_header #page_header_catch .catch,
.page-slug-contact #page_header #page_header_catch .desc,
.page-slug-catalog #page_header #page_header_catch,
.page-slug-catalog #page_header #page_header_catch .catch,
.page-slug-catalog #page_header #page_header_catch .desc {
  color: #ffffff;
}

#archive_product {
  padding: 60px 0 150px 0;
  width: 800px;
  margin: 0 auto;
}

#product_list {
  margin: 0 0 -10px 0;
}

#product_list .item {
  position: relative;
  margin: 0;
  padding: 60px 40px;
}

#product_list .item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
  z-index: 10;
  pointer-events: none;
}

#product_list .item:hover::after {
  background-color: rgba(0, 0, 0, 0.06);
}

#product_list .item:last-of-type {
  margin: 0;
}

#product_list .link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
  height: 200px;
  position: relative;
  z-index: 2;
}

#product_list .image {
  width: 100%;
  height: 100% !important;
  background-size: contain !important;
  display: block;
  overflow: hidden;
  z-index: 2;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-position: top center !important;
}

#product_list .title_area {
  position: relative;
  padding-bottom: 30px;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#product_list .overlay {
  width: 100%;
  height: 50%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
}

#product_list .category {
  position: absolute;
  top: -18px;
  left: -55px;
  z-index: 10;
  background-color: #13b2c4;
  color: white;
  min-width: 105px;
  height: 35px;
  line-height: 35px;
  padding: 0 15px;
  font-size: 12px;
  text-align: center;
}

#product_list .category.web {
  background-color: #45B11D;
}

#product_list .category a {
  background: #000;
  color: #fff;
  min-width: 100px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-size: 12px;
  padding: 0 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#product_list .category a:first-child {
  display: inline-block;
}

#product_list .category:before {
  display: block;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent #aaaaaa transparent transparent;
  position: absolute;
  left: 0px;
  bottom: -20px;
}

#product_list .title {
  font-size: 24px;
  line-height: 1.5;
  max-height: 3em;
  overflow: hidden;
  font-weight: bold;
}

#product_list .title span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#product_list .title_area__upper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

#product_list .date {
  font-size: 16px;
  line-height: 1;
  margin: 0 0 10px 0;
}

#product_list .maker {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  text-align: right;
}

#product_list .excerpt {
  font-size: 16px;
  line-height: 2;
  color: #000;
  overflow: hidden;
  margin: 20px 0 0 0;
}

#product_list .excerpt span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

#product_list .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#product_list .content__upper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#product_list .detail {
  text-align: right;
}

#product_list .detail button {
  padding: 10px 15px;
  border-radius: 5px;
  border: solid 1px black;
  transition: all 0.3s ease-in-out;
}

#product_list .detail button:hover {
  background-color: gray;
  color: white;
}

#product_list .exhib {
  display: flex;
  align-items: center;
  gap: 10px;
  color: gray;
}

#product_list .exhib span {
  display: none;
  color: gray;
  padding: 6px 0;
  border-radius: 5px;
  border: solid 1px transparent;
}

#product_list .exhib span.active {
  display: inline-block;
  padding: 6px 6px;
  color: black;
  border: solid 1px black;
}

#product_list .detail-button {
  padding: 8px 26px;
  background-color: #2D89EF;
  color: white;
  border: solid 1px #246ec0;
  font-size: 14px;
  line-height: 30px;
  border-radius: 56px;
}

.product_post_image .maker {
  margin-top: 16px;
  text-align: right;
  font-size: 16px;
  font-weight: 700;
}

.article-product .category {
  position: absolute;
  top: 10px;
  left: -20px;
  z-index: 10;
  background-color: #13b2c4;
  color: white;
  min-width: 105px;
  height: 35px;
  line-height: 35px;
  padding: 0 15px;
  font-size: 12px;
  text-align: center;
}

.article-product .category.web {
  background-color: #45B11D;
}

.article-product .category a {
  background: #000;
  color: #fff;
  min-width: 100px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-size: 12px;
  padding: 0 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.article-product .category a:first-child {
  display: inline-block;
}

.article-product .category:before {
  display: block;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent #aaaaaa transparent transparent;
  position: absolute;
  left: 0px;
  bottom: -20px;
}

#post_title_area {
  margin: 0 0 35px 0;
}

#post_title_area .title_area__upper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

#post_title_area .date {
  font-size: 16px;
}

#post_title_area .maker {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: black;
}

#post_image.product_post_image {
  margin-bottom: 80px;
  height: 345px;
}

#post_image.product_post_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#post_image .exhibition {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(+50%);
  z-index: 5;
  padding: 15px 25px;
  font-size: 20px;
  border-radius: 30px;
  color: white;
  background-color: #0030D1;
}

.product-detail {
  display: flex;
  justify-content: flex-end;
}

.product-detail-btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 26px;
  min-width: 110px;
  background-color: #2D89EF;
  color: white;
  border: solid 1px #246ec0;
  font-size: 14px;
  line-height: 18px;
  border-radius: 56px;
  transition: background-color 0.3s ease-in-out;
}

.product-detail-btn:hover {
  background-color: #246ec0;
}

.product-detail-btn::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27 viewBox%3D%270 0 18.38 18.09%27%3E%3Cpath d%3D%27M15.41 9.42c-.46 0-.83.37-.83.83v4.68c0 .83-.68 1.51-1.51 1.51H3.16c-.83 0-1.51-.68-1.51-1.51V5.02c0-.83.68-1.51 1.51-1.51h4.68c.46 0 .83-.37.83-.83s-.37-.83-.83-.83H3.16C1.42 1.86 0 3.28 0 5.02v9.9c0 1.74 1.42 3.16 3.16 3.16h9.9c1.74 0 3.16-1.42 3.16-3.16v-4.68c0-.46-.37-.83-.83-.83Z%27 fill%3D%27%23fff%27%2F%3E%3Cpath d%3D%27M18.13.24s0 0 0 0c-.06-.06-.14-.11-.22-.14-.01 0-.02-.02-.04-.02-.12-.05-.24-.07-.36-.06h-5.87c-.46 0-.83.37-.83.83s.37.83.83.83h3.91l-6.84 6.84c-.32.32-.32.84 0 1.17.16.16.37.24.58.24s.42-.08.58-.24l6.86-6.86v3.94c0 .46.37.83.83.83s.83-.37.83-.83V.83c0-.23-.09-.44-.25-.59Z%27 fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.product-detail-btn span {
  display: block;
  padding-top: 3px;
}

.product-detail a.product-detail-btn,
.product-detail a.product-detail-btn:hover {
  color: white;
}

.next_prev_post--product {
  display: flex;
  justify-content: center;
}

#next_prev_post .item--40per {
  width: 40%;
}

#next_prev_post .item--20per {
  width: 20%;
}

#next_prev_post .item--noArrow a::before {
  display: none;
}

#next_prev_post .item--noArrow .title_area {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

#next_prev_post .item--noArrow .title_area .title {
  text-align: center;
  display: inline-block;
}

.header-desc__upper {
  padding-bottom: 7px;
  font-size: 13px;
}

.header-desc__bottom {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-desc__bottom .bold {
  font-size: 22px;
  font-weight: 700;
}

.pc #global_menu>ul>li>a {
  padding: 0 1.08vw;
  font-size: 15.5px;
}

.pc #global_menu>ul>li.active>a,
.pc #global_menu>ul>li.current-menu-item>a {
  color: #E10618 !important;
  font-size: 16.5; /* 単位なしのため無効（旧テーマからそのまま移植） */
  font-weight: 700;
}

.pc #global_menu a:hover {
  color: #E10618 !important;
}

.pc #header {
  background-color: #fff !important;
}

.pc .header_fix #header {
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.3);
}

#bread_crumb ul {
  width: auto;
  padding: 0 40px;
}

@media screen and (min-width: 767px) {
  #footer_banner .item .title {
    font-size: 24px;
  }
}

#container {
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .post_content .CF7_table th {
    width: 45%;
    vertical-align: middle;
  }
}

@media screen and (max-width: 768px) {
  .CF7_table tr,
  .CF7_table td,
  .CF7_table th {
    width: unset !important;
  }
}

#main_contents.wide {
  width: 1000px;
}

@media screen and (max-width: 999px) {
  #main_contents.wide {
    margin: 0;
    width: 100%;
  }
}

.CF7_table .form-note,
.CF7_table .form-note p {
  font-size: 10px;
}

.CF7_req {
  margin-right: 5px !important;
}

.post_content .catalog-form_h2 {
  margin-bottom: 50px;
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  color: #001f67;
}

.catalog-form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 767px) {
  .catalog-form-2col {
    display: block;
  }
}

.catalog-form-visual {
  padding: 0 20px;
}

.catalog-form-leftImageWrap img {
  border-radius: 5px;
}

.catalog-form-leftMessage {
  margin-bottom: 49px;
  font-size: 16px;
  line-height: 1.85;
  color: #001f67;
}

.catalog-form_message {
  margin-bottom: 43px;
  font-size: 18px;
  text-align: center;
  line-height: 1.85;
}

.catalog-form_imageWrap {
  margin-bottom: 60px;
  text-align: center;
}

.catalog-form_imageWrap img {
  width: 386px;
  height: auto;
  border-radius: 5px;
}

.catalog-from_buttonWrap {
  justify-content: center;
  align-items: center;
}

.post_content .catalog-from_buttonWrap a {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: auto;
  padding: 23px 15px;
  max-width: 334px;
  background-color: #F79035;
  font-size: 18px;
  font-weight: 500;
  color: white !important;
}

.catalog-from_buttonWrap a::after {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  background-image: url(../img/common/download_arrow.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* reCAPTCHA バッジ非表示（規約文言は functions/musubi-custom.php でフォーム末尾に出力）
   ※display:none だと reCAPTCHA が動作しなくなるため visibility で隠す */
.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha-notice {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  text-align: center;
}

.recaptcha-notice a {
  color: #666;
  text-decoration: underline;
}

/* 「おり、」後の改行はPCのみ。タブレット以下は表示幅に任せる */
@media screen and (max-width: 1050px) {
  .recaptcha-notice__br {
    display: none;
  }
}

/* トップページ：画像コンテンツ（index_content2）が連続する場合の間隔を半分に
   （前ブロック下余白 + 画像下マージン + 次ブロック上余白 をそれぞれ半分） */
.index_content2:has(+ .index_content2) {
  padding-bottom: 50px;
}

.index_content2:has(+ .index_content2) .image_content:last-child {
  margin-bottom: 25px;
}

.index_content2 + .index_content2 {
  padding-top: 48px;
}

@media screen and (max-width: 950px) {
  .index_content2:has(+ .index_content2) {
    padding-bottom: 30px;
  }

  .index_content2 + .index_content2 {
    padding-top: 25px;
  }
}

@media screen and (max-width: 650px) {
  .index_content2:has(+ .index_content2) {
    padding-bottom: 20px;
  }

  .index_content2:has(+ .index_content2) .image_content:last-child {
    margin-bottom: 15px;
  }

  .index_content2 + .index_content2 {
    padding-top: 18px;
  }
}
