@charset "utf-8";

/* ==========================================================================
   ベース設定 / Reset & Variables
   ========================================================================== */

/* Google Fonts読み込み */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap");

:root {
  /* カラー */
  --color-primary: #f6921d;
  --color-secondary: #e5550f;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #f2f2f2;
  --color-border: #e0e0e0;

  /* フォント */
  --font-base:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    Meiryo, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.8;

  /* レイアウト */
  --max-width: 1200px;
  --header-height: 80px;

  /* 余白 */
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
}

/* ==========================================================================
   共通レイアウト
   ========================================================================== */

.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/*改行 PCのみ改行<br class="br-pc-only">、SPのみ改行<br class="br-sp-only">*/
.br-pc-only {
  display: block;
}

.br-sp-only {
  display: none;
}

@media (max-width: 768px) {
  .br-pc-only {
    display: none;
  }

  .br-sp-only {
    display: block;
  }

  :root {
    --font-size-base: 15px;
  }
}

/* button */
.common-btn {
  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

  width: 400px;

  height: 55px;

  margin: 50px auto 0;

  background: #000;

  border-radius: 30px;

  color: #fff;

  font-size: 16px;

  font-weight: 700;

  text-decoration: none;
}

.common-btn .arrow {
  position: absolute;

  right: 20px;

  width: 10px;

  height: 10px;
}

.common-btn .arrow::before {
  content: "";

  position: absolute;

  width: 10px;

  height: 10px;

  border-top: 3px solid #fff;

  border-right: 3px solid #fff;

  top: 0;

  left: 0;

  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  .common-btn {
    width: 100%;

    height: 50px;

    margin-top: 40px;

    font-size: 15px;
  }

  .common-btn .arrow {
    right: 20px;
  }
}

/* ==========================================================================
   header
   ========================================================================== */

.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header-inner {
  max-width: var(--max-width);
  margin: auto;

  height: 84px;

  display: flex;
  align-items: center;
}

.logo {
  font-size: clamp(18px, 1.55vw, 26px);
  font-weight: 700;

  margin: 0;
}

.logo a {
  color: var(--color-primary);
  text-decoration: none;
}

.pc-nav {
  margin-left: auto;
  white-space: nowrap;
}

.pc-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-nav > ul > li {
  position: relative;
}

/* ドロップダウン本体(初期状態は非表示) */
.pc-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;

  z-index: 10;
}

.pc-nav .dropdown li {
  width: 100%;
}

.pc-nav .dropdown a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--color-text);
}

/* ホバー時に表示(PCのみ) */
@media (hover: hover) {
  .pc-nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .pc-nav .dropdown a:hover {
    background-color: #f5f5f5;
  }
}

.pc-nav .has-dropdown {
  padding-bottom: 4px;
}

.pc-nav .dropdown {
  margin-top: 4px;
}

.dropdown li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown li a::after {
  content: ">";

  font-size: 14px;
  font-weight: bold;
  color: #666;
  margin-left: 10px;
}

.pc-nav li {
  margin-left: 40px;
}

.pc-nav a {
  position: relative;
  display: block;
  padding: 32px 0;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(13px, 1.55vw, 16px);
}

.menu-title {
  position: relative;
  display: block;
  padding: 32px 0;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(13px, 1.55vw, 16px);
}

.menu-title.active {
  color: #000;
}

.menu-title.active::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 4px;

  background: var(--color-primary);
}

.pc-nav a.active {
  color: #000;
}

.pc-nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 4px;

  background: var(--color-primary);
}

@media (min-width: 769px) {
  .pc-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
  }
}

/* ==========================================================================
   ヘッダー内リンクのホバー処理(PCのみ)
   ========================================================================== */

@media (hover: hover) {
  .pc-nav a {
    transition: opacity 0.3s ease;
  }

  .pc-nav a:hover {
    opacity: 0.5;
  }

  /* 現在地(active)は基本ホバーで薄くしない場合はこちらを除外 */
  .pc-nav a.active:hover {
    opacity: 1;
  }

  .contact-btn {
    transition: opacity 0.3s ease;
  }

  .contact-btn:hover {
    opacity: 0.5;
  }

  .logo a {
    transition: opacity 0.3s ease;
  }

  .logo a:hover {
    opacity: 0.5;
  }
}

.contact-btn {
  width: 190px;
  height: 84px;

  margin-left: 40px;

  background: var(--color-primary);
  color: #fff;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  font-weight: 700;
  font-size: clamp(15px, 1.55vw, 18px);
}

.menu-btn {
  display: none;
}

.sp-menu {
  display: none;
}

/*==========================================
 タブ風切り替え・ページ内ジャンプ
==========================================*/
/* ページ全体のスクロールを滑らかにする */
html {
  scroll-behavior: smooth;
}

/* ボタンを並べるコンテナ */
.tab-container {
  display: flex;
  gap: 0px;
  padding-bottom: 0;
  /* 画面上部に固定したい場合は有効にしてください
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;*/
}

/* タブボタンの基本スタイル */
.tab-button {
  display: block;
  padding: 12px 24px;
  text-decoration: none;
  color: #333;
  border: 1px solid #f6921d;
  font-weight: bold;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

/* マウスホバー時 */
.tab-button:hover {
  background-color: #fadcb9;
}

/* 【重要】クリックされて選択状態（アクティブ）になったボタン */
.tab-button.active {
  color: #fff;
  background-color: #f6921d;
  border-color: #f6921d;
}

/* 移動先コンテンツの装飾（確認用） */
.destination-area {
  margin-top: 50px;
}

.content-box {
  margin-bottom: 40px;
  /* 固定ヘッダーやタブと被らないように上部に余白を確保する設定 */
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0;
  }

  .logo {
    padding-left: 12px;
    font-size: 18px;
  }

  .pc-nav {
    display: none;
  }

  .contact-btn {
    width: 135px;
    height: 60px;
    margin-left: auto;
    font-size: 14px;
  }

  .menu-btn {
    width: 50px;
    height: 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border: none;
    background: #000;
    cursor: pointer;
  }

  .menu-btn span {
    width: 28px;
    height: 4px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
  }

  /* × */

  .menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .sp-menu {
    display: none;

    background: #000;
    color: #fff;
  }

  .sp-menu.open {
    display: block;
    position: fixed;
    width: 100%;
    height: 90dvh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .sp-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sp-menu li {
    border-bottom: 1px solid #666;
  }

  .sp-menu li a {
    display: block;
    padding: 18px 20px;

    color: #fff;
    text-decoration: none;
    font-weight: 700;
  }

  .sp-footer-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sp-footer-menu a {
    color: #fff;
    padding: 18px;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    text-decoration: none;
    line-height: 1.3;
  }

  /*タブ切り替え*/
  .tab-button {
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
  }
}

/* ==========================================================================
   追従バナー
   ========================================================================== */

.fixed-download {
  position: fixed;

  z-index: 999;
}

/* close */

.fixed-download-close {
  position: absolute;

  top: 10px;
  right: 10px;

  width: 55px;
  height: 55px;

  border: 0;
  background: none;

  font-size: 55px;
  font-weight: 300;

  line-height: 1;

  color: #999;

  cursor: pointer;
}

.fixed-download.hide {
  opacity: 0;

  pointer-events: none;
}

@media (min-width: 769px) {
  .fixed-download {
    right: 0;

    top: 75%;

    transform: translateY(-50%);
  }

  /*
1200pxコンテンツ右端に合わせる
*/

  .fixed-download-pc {
    width: 240px;

    background: #fff;

    border: 5px solid var(--color-primary);
    border-radius: 20px;

    padding: 20px 15px 20px;

    text-align: center;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .fixed-download-book img {
    width: 175px;

    height: auto;
  }

  .fixed-download-pc p {
    margin: 5px 0 10px;

    font-size: 20px;

    font-weight: 700;

    line-height: 1.3;
  }

  .fixed-download-btn {
    display: block;

    background: var(--color-primary);

    color: #fff;

    border-radius: 40px;

    padding: 15px 10px;

    font-size: 16px;

    font-weight: 700;
  }

  .fixed-download-sp {
    display: none;
  }
}

@media (max-width: 768px) {
  .fixed-download {
    left: 0;

    bottom: 0;

    width: 100%;
  }

  .fixed-download-pc {
    display: none;
  }

  .fixed-download-close {
    display: none;
  }

  .fixed-download-sp {
    /*display: flex;*/

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    background: var(--color-primary);

    padding: 15px 20px;
    text-align: center;
  }

  .fixed-download-sp p {
    margin: 0;

    color: #fff;

    font-size: clamp(18px, 4vw, 22px);

    font-weight: 700;

    line-height: 1.3;
    padding-bottom: 5px;
  }

  .fixed-download-sp a {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: #000;

    color: #fff;

    border-radius: 40px;

    padding: 8px 10px;

    white-space: nowrap;

    font-size: clamp(14px, 3.5vw, 18px);

    font-weight: 700;
  }

  .fixed-download-sp span {
    width: 26px;

    height: 26px;

    background: #fff;

    color: #000;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;
  }
}

/* ==========================================================================
   footer上カタログ請求
   ========================================================================== */

.footer-cta {
  background: #efefef;

  padding: 60px 20px 0;
}

.footer-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-cta-box {
  margin: 40px auto -70px;

  background: var(--color-primary);

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 40px 60px;
}

.footer-cta-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.footer-cta-text {
  color: #fff;
}

.footer-cta-text span {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-cta-text strong {
  display: block;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-cta-btn {
  width: 480px;
  height: 72px;

  display: flex;

  justify-content: center;

  align-items: center;

  background: #000;

  color: #fff;

  text-decoration: none;

  font-size: 22px;

  font-weight: 700;

  border-radius: 6px;

  position: relative;

  transition: 0.3s;
}

.footer-cta-btn span {
  position: absolute;

  right: 18px;

  width: 36px;

  height: 36px;

  border-radius: 50%;

  background: #fff;
}

.footer-cta-btn span:before {
  content: "";

  position: absolute;

  left: 11px;
  top: 12px;

  width: 10px;
  height: 10px;

  border-top: 3px solid #000;
  border-right: 3px solid #000;

  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  .footer-cta {
    padding: 40px 0 0;
  }

  .footer-cta-inner {
    padding: 0;
  }

  .footer-cta-title {
    font-size: 20px;
    line-height: 1.25;
    padding: 0 15px;
  }

  .footer-cta-box {
    display: block;

    padding: 24px 20px 18px;
    margin-top: 20px;
  }

  .footer-cta-text {
    text-align: center;
    margin-bottom: 22px;
  }

  .footer-cta-text span {
    font-size: 25px;
  }

  .footer-cta-text strong {
    font-size: 35px;
    line-height: 1.1;
  }

  .footer-cta-btn {
    width: 100%;
    height: 55px;

    border-radius: 42px;

    font-size: 16px;
  }

  .footer-cta-btn span:before {
    left: 12px;
    top: 12px;
  }
}

/* ==========================================================================
   footer
   ========================================================================== */

.footer {
  background: #fff;
  margin-top: 70px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
}

.footer-left {
  width: 280px;
}

.footer-left h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 25px;
}

.footer-btn {
  display: flex;

  justify-content: center;

  align-items: center;

  position: relative;

  height: 54px;

  margin-bottom: 16px;

  background: #000;

  color: #fff;

  text-decoration: none;

  border-radius: 4px;

  font-weight: bold;
}

.footer-btn span {
  position: absolute;

  right: 15px;

  width: 34px;

  height: 34px;

  border-radius: 50%;

  background: #fff;
}

.footer-btn span:before {
  content: "";

  position: absolute;

  width: 8px;

  height: 8px;

  border-top: 3px solid #000;

  border-right: 3px solid #000;

  top: 13px;

  left: 11px;

  transform: rotate(45deg);
}

.footer-right {
  width: 680px;
}

.footer-nav {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0 70px;
}

.footer-nav li {
  list-style: none;

  border-bottom: 1px solid #999;
}

.footer-nav li.full {
  grid-column: 1 / 3;
}

.footer-nav a {
  display: flex;

  justify-content: space-between;

  align-items: center;

  height: 64px;

  color: #000;

  text-decoration: none;
}

.footer-nav a:after {
  content: "›";

  font-size: 34px;
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  margin-top: 50px;
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo img {
  display: block;
  width: 220px;
  height: auto;
}

.footer-policy {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  margin-top: 30px;
}

.footer-policy li {
  list-style: none;
}

.footer-policy li:after {
  content: "｜";

  margin: 0 12px;
}

.footer-policy li:last-child:after {
  display: none;
}

.footer-policy a {
  color: #000;

  text-decoration: none;
}

.footer-policy-sp {
  display: none;
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 20px;
}

.copyright {
  background: #000;

  color: #fff;

  text-align: center;

  padding: 14px 0;

  font-size: 14px;
}

.pagetop {
  display: none;
}

/* ========================================
   Footer hover
======================================== */

@media (hover: hover) {
  /* ----------------------------------------
     フッター内 上部カタログボタン
  ---------------------------------------- */
  .footer-cta-btn {
    transition: opacity 0.3s ease;
  }

  .footer-cta-btn:hover {
    opacity: 0.5;
  }
  /* ----------------------------------------
     フッター内 共通リンク
  ---------------------------------------- */

  .footer a {
    transition: opacity 0.3s ease;
  }

  .footer a:hover {
    opacity: 0.5;
  }

  /* ----------------------------------------
     お問い合わせ・資料ダウンロードボタン
  ---------------------------------------- */

  .footer-btn {
    transition:
      opacity 0.3s ease,
      background-color 0.3s ease,
      color 0.3s ease;
  }

  .footer-btn:hover {
    opacity: 0.7;
  }

  /* ----------------------------------------
     フッターナビ
  ---------------------------------------- */

  .footer-nav a:hover {
    opacity: 0.5;
  }

  /* ----------------------------------------
     会社概要などのポリシーリンク
  ---------------------------------------- */

  .footer-policy a:hover {
    opacity: 0.5;
  }

  /* ----------------------------------------
     フッターロゴ
  ---------------------------------------- */

  .footer-logo a {
    transition: opacity 0.3s ease;
  }

  .footer-logo a:hover {
    opacity: 0.5;
  }

  /* ----------------------------------------
     ISO・プライバシーマーク
  ---------------------------------------- */

  .footer-cert a {
    transition: opacity 0.3s ease;
  }

  .footer-cert a:hover {
    opacity: 0.5;
  }

  /* ----------------------------------------
     ページトップ
  ---------------------------------------- */

  .pagetop {
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .pagetop:hover {
    opacity: 0.7;
  }

  /* ----------------------------------------
     固定ダウンロードバナー
  ---------------------------------------- */

  .fixed-download a {
    transition:
      opacity 0.3s ease,
      background-color 0.3s ease;
  }

  .fixed-download a:hover {
    opacity: 0.7;
  }

  /* PC固定ダウンロードボタン */

  .fixed-download-btn:hover {
    opacity: 0.7;
  }

  /* SP固定ダウンロードボタン */

  .fixed-download-sp a:hover {
    opacity: 0.7;
  }

  /* ----------------------------------------
     閉じるボタン
  ---------------------------------------- */

  .fixed-download-close {
    transition:
      opacity 0.3s ease,
      transform 0.2s ease;
  }

  .fixed-download-close:hover {
    opacity: 0.6;
  }
}

@media screen and (max-width: 768px) {
  .footer-inner {
    padding: 0;
  }

  .footer-logo img {
    width: 130px;
  }

  .footer-top {
    display: block;
  }

  .footer-left {
    width: auto;

    padding: 25px 15px;
  }

  .footer-left h2 {
    text-align: center;

    font-size: 20px;
  }

  .footer-btn {
    border-radius: 30px;
  }

  .footer-right {
    width: 100%;
  }

  .footer-nav {
    display: block;
  }

  .footer-nav li {
    border-bottom: 1px solid #cfcfcf;

    background: #999;
  }

  .footer-nav a {
    height: 58px;

    color: #fff;

    padding: 0 20px;
  }

  .footer-policy {
    display: grid;

    grid-template-columns: 1fr 1fr;

    margin: 0;
  }

  .footer-policy li {
    border-bottom: 1px solid #cfcfcf;

    background: #999;
  }

  .footer-policy li:after {
    display: none;
  }

  .footer-policy a {
    display: flex;

    align-items: center;
    height: 58px;

    color: #fff;

    padding: 0 20px;
    justify-content: space-between;
    line-height: 1.3;
  }

  .footer-policy a:after {
    content: "›";

    font-size: 34px;
  }

  /* 左側だけ縦線 */
  .footer-policy li:nth-child(odd) {
    border-right: 1px solid #ccc;
  }

  .footer-policy-pc {
    display: none;
  }

  .footer-policy-sp {
    display: grid;
  }

  .footer-bottom {
    padding: 25px 15px;

    margin-top: 0;

    align-items: center;
  }

  .footer-cert {
    gap: 10px;
  }

  .footer-cert img {
    height: 60px;
  }

  .pagetop {
    display: block;

    position: fixed;

    right: 15px;

    bottom: 110px;
    transition: bottom 0.3s ease;
    z-index: 999;
  }

  .pagetop img {
    width: 48px;
  }

  .pagetop.banner-hidden {
    bottom: 20px;
  }
}

/*=========================
    ジャンプバナー
==========================*/

.jump-banner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  padding: 50px 80px 100px;
}

.jump-inner img {
  width: 330px;
}

.jump-inner p {
  font-size: 19px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  line-height: 1.3;
}
/* ========================================
   ジャンプバナー hover
======================================== */

@media (hover: hover) {
  .jump-inner a {
    transition: opacity 0.3s ease;
  }

  .jump-inner a:hover {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .jump-banner {
    display: flex;
    flex-wrap: wrap;
    padding: 0px 15px 50px;
    text-align: center;
    margin: 0;
    gap: 20px 10px;
  }

  .jump-inner {
    width: 48%;
  }

  .jump-inner p {
    font-size: 16px;
  }
}
