@charset "UTF-8";
/* CSS Document */
:root {
  --blue: #0f2b54;
  --grey: #c5c5c5;
  --grey-dark: #464646;
  --yellow: #978c00;
  --beige: #eeece1;
  --grey-light: #e1e9ee;
  --green-light: #eef1b2;
}
.white {color: white !important;}
.navy {color: var(--blue) !important;}
.grey-light {color: var(--grey) !important;}
.bc-navy {background-color: var(--blue) !important;}
.bc-line {background-color: #00ba52 !important;}


/* 各アイテムをカード化 */
.card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
@media (min-width: 768px) {
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
	}
}
	
/* 768px以上でカードっぽくする */
  .card {
    box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    border-radius: 10px;
  }

  /* hoverでふわっと浮く感じ */
  .card:hover {
    box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.2);
  }
	
}

/* ===============================
   Reset & 基本設定
=============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ===============================
   Fluid Typography 変数設定
=============================== */
:root {
/* ベーステキスト（約14〜16px） */
--text-base: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
--text-base--line-height: 1.6;
--text-letter-spacing: 0.05em; /* 約0.1px相当 */

/* 小さいテキスト（約12〜14px） */
--text-sm: clamp(0.75rem, 0.68rem + 0.35vw, 0.875rem);
--text-sm--line-height: 1.6;
  
/* もっと小さいテキスト（約11〜13px） */
--text-s: clamp(0.6rem, 0.6rem + 0.3vw, 0.8rem);
--text-s--line-height: 1.6;
	
/* 極小テキスト（約10〜12px） */
--text-xs: clamp(0.5rem, 0.5rem + 0.2vw, 0.7rem);
--text-xs--line-height: 1.5;
	
/* 見出しh1（約28px〜40px） */
  --text-h1: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
	
/* 見出しh2（約24px〜32px） */
  --text-h2: clamp(1.5rem, 1rem + 1.5vw, 2rem);
	
/* 見出しh3（約20px〜24px） */
  --text-h3: clamp(1.25rem, 0.9rem + 1vw, 1.5rem);

/* 見出しh4（約16px〜20px） */
  --text-h4: clamp(1rem, 0.85rem + 0.6vw, 1.25rem);

}

/* ===============================
   タイポグラフィ
=============================== */
.text-base {
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  letter-spacing: var(--text-letter-spacing);
}

.text-sm {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  letter-spacing: var(--text-sm--letter-spacing);
}

.text-s {
  font-size: var(--text-s);
  line-height: var(--tw-leading, var(--text-s--line-height));
  letter-spacing: var(--text-s--letter-spacing);
}

.text-xs {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
  letter-spacing: var(--text-xs--letter-spacing);
}

/* 見出し */
h1, .text-h1 {
  font-family: "Zen Kaku Gothic New";
  font-size: var(--text-h1);
  line-height: 1.2;
  font-weight: 700;
}

h2, .text-h2 {
  font-family: "Zen Kaku Gothic New";
  font-size: var(--text-h2);
  line-height: 1.3;
  font-weight: 700;
}

h3, .text-h3 {
  font-family: "Zen Kaku Gothic New";
  font-size: var(--text-h3);
  line-height: 1.4;
  font-weight: 700;
}

h4, .text-h4 {
  font-family: "Zen Kaku Gothic New";
  font-size: var(--text-h4);
  line-height: 1.5;
  font-weight: 700;
}

p {
  font-size: var(--text-base);
  line-height: var(--text-base--line-height);
  letter-spacing: var(--text-letter-spacing);
  margin-bottom: 1em;
}

p {
  margin: 0;
  color: var(--grey-dark);
  font-feature-settings: "palt";
}

a {
  color: #0078ff;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  opacity: 0.7;
}

.bold{
  font-weight: 600;
}

/* ===============================
   メディア要素
=============================== */
img,
video {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle; /* テキストとの位置を調整 */
}

/* ===============================
   レイアウト用コンテナ
=============================== */
.container {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 1rem;
}

/* ===============================
   グリッドレイアウト（カラム対応）
=============================== */

/* 共通設定 */
[class^="grid-"] {
  display: grid;
  gap: 1.5rem; /* カラム間の余白 */
  align-items: stretch; /* ← これを start から stretch に変更！ */
}

/* 2カラム */
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 3カラム */
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 4カラム */
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* スマホ対応：幅が狭い時は1カラムにする */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* flexボックス1:3 */
.flexbox {
  display: grid;
  grid-template-columns: 1fr 4fr;
  width: 100%;
  gap: 10px;
}

.fb-left {
  width: 70px;
  height: 70px;
  flex-shrink: 0; /* つぶれないように固定 */
  border: 1px solid #eeeeee;     /* 枠線（1px） */
  border-radius: 6pt;         /* 角丸6pt */
  aspect-ratio: 1 / 1; /*  正方形に固定 */
  display: flex;
  justify-content: center; /* 横方向センター */
  align-items: center;     /* 縦方向センター */
}

.fb-left img {
  max-width: 99%;  /* はみ出さないように制御 */
  max-height: 99%;
  object-fit: contain; /* 画像の縦横比を保持 */
}

.fb-right {
  flex: 3; /* 3 */
 }


/* ===============================
   フォームリセット
=============================== */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ===============================
   ユーティリティ
=============================== */
.text-center { text-align: center; }
.text-right { text-align: right; }


/* マージンの設定 */
.mt-5{
  margin-top: 5px;
}

.mt-10{
  margin-top: 10px;
}
  
.mt-20{
  margin-top: 20px;
}
  
.mt-30{
  margin-top: 30px;
}
  
.mt-40{
  margin-top: 40px;
}
  
.mt-50{
  margin-top: 50px;
}

.mb-5{
  margin-bottom: 5px;
}

.mb-10{
  margin-bottom: 10px;
}
  
.mb-20{
  margin-bottom: 20px;
}
  
.mb-30{
  margin-bottom: 30px;
}
  
.mb-40{
  margin-bottom: 40px;
}
  
.mb-50{
  margin-bottom: 50px;
}

/* 変な位置での改行を防ぐ */
span.aks {
  display: inline-block;
}

/* PCSP切替 */
.onlypc{
  display: none;
}
@media (min-width: 980px) {
  .onlypc{
    display: block;
  }
} 
.onlysp{
  display: block;
}
@media (min-width: 980px) {
  .onlysp{
    display: none;
  }
} 
