@charset "utf-8";

/* リセット */

* {
  box-sizing: border-box;
}

html {
  overflow: auto;
}

body {
  overflow: hidden;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, textarea, p, blockquote, th, td, figure {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

table {
  border-spacing: 0;
}

fieldset, img {
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-weight: normal;
  font-style: normal;
}

strong {
  font-weight: bold;
}

ol, ul {
  list-style: none;
}

caption {
  text-align: left;
}

q:before, q:after {
  content: '';
}

abbr, acronym {
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

/* Noto Sans JP -------------------------------------*/

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  src: local("Noto San CJK JP Light"),
    local('NotoSansJP-Light'),
    url('../fonts/NotoSansCJKjp-Light.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Light.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  src: local("Noto Sans CJK JP"),
    local('NotoSansJP-Regular'),
    url('../fonts/NotoSansCJKjp-Regular.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  src: local("Noto Sans CJK JP Medium"),
    local('NotoSansJP-Medium'),
    url('../fonts/NotoSansCJKjp-Medium.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  src: local("Noto Sans CJK JP Bold"),
    local('NotoSansJP-Bold'),
    url('../fonts/NotoSansCJKjp-Bold.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 900;
  src: local("Noto Sans CJK JP Black"),
    local('NotoSansJP-Black'),
    url('../fonts/NotoSansCJKjp-Black.woff2') format('woff2'),
    url('../fonts/NotoSansCJKjp-Black.woff') format('woff');
}

/* Noto Serif JP -------------------------------------*/

@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/NotoSerifCJKjp-Light.woff2') format('woff2'),
    url('../fonts/NotoSerifCJKjp-Light.woff') format('woff');
}

@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/NotoSerifCJKjp-Regular.woff2') format('woff2'),
    url('../fonts/NotoSerifCJKjp-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/NotoSerifCJKjp-Medium.woff2') format('woff2'),
    url('../fonts/NotoSerifCJKjp-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/NotoSerifCJKjp-Bold.woff2') format('woff2'),
    url('../fonts/NotoSerifCJKjp-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/NotoSerifCJKjp-Black.woff2') format('woff2'),
    url('../fonts/NotoSerifCJKjp-Black.woff') format('woff');
}

/* M PLUS Rounded 1c -------------------------------------*/

@font-face {
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/MPLUSRounded1c-Light.woff2') format('woff2'),
    url('../fonts/MPLUSRounded1c-Light.woff') format('woff');
}

@font-face {
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/MPLUSRounded1c-Regular.woff2') format('woff2'),
    url('../fonts/MPLUSRounded1c-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/MPLUSRounded1c-Medium.woff2') format('woff2'),
    url('../fonts/MPLUSRounded1c-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/MPLUSRounded1c-Bold.woff2') format('woff2'),
    url('../fonts/MPLUSRounded1c-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Rounded Mplus 1c';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/MPLUSRounded1c-Black.woff2') format('woff2'),
    url('../fonts/MPLUSRounded1c-Black.woff') format('woff');
}

/* NeueHaasDisplay -------------------------------------*/

@font-face {
  font-family: 'NeueHaasDisplay';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/NeueHaasDisplayLight.woff2') format('woff2'),
    url('../fonts/NeueHaasDisplayLight.woff') format('woff');
}

@font-face {
  font-family: 'NeueHaasDisplay';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/NeueHaasDisplayRoman.woff2') format('woff2'),
    url('../fonts/NeueHaasDisplayRoman.woff') format('woff');
}

@font-face {
  font-family: 'NeueHaasDisplay';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/NeueHaasDisplayMediu.woff2') format('woff2'),
    url('../fonts/NeueHaasDisplayMediu.woff') format('woff');
}

@font-face {
  font-family: 'NeueHaasDisplay';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/NeueHaasDisplayBold.woff2') format('woff2'),
    url('../fonts/NeueHaasDisplayBold.woff') format('woff');
}

@font-face {
  font-family: 'NeueHaasDisplay';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/NeueHaasDisplayBlack.woff2') format('woff2'),
    url('../fonts/NeueHaasDisplayBlack.woff') format('woff');
}



/*-------------------------------------------------
/* 基本
--------------------------------------------------*/

:root {
  --color-text: #2f2f2f;
  --color-text-on: #ffffff;
  --color-bright-main: #e9f4f4;
  --color-light-main: #bfd5d4;
  --color-dark-main: #005655;
  --color-main: #2a908c;
  --color-red: #e60012;
  --color-light-red: #ffd0d0;
  --color-black: #000000;
  --color-blue: #005BAC;
  --color-orange: #f78b1b;
  --color-light-orange: #f6be83;
  --color-pink: #e5004f;
  --color-light-pink: #ffeaf6;
  --color-bright-gray: #ededed;
  --color-light-gray: #cccccc;
  --color-light-dark-gray: #8d8d8e;
  --color-gray: #777777;
  --color-visited: #585858;
  --text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    /* ホバー時の薄い色の基準（アクセント色） */
  --accent: #0ea5e9; /* 好きな色に変更OK（例: #22c55e, #f59e0b など） */
  --hover-bg: rgba(14, 165, 233, 0.12); /* 上の --accent を反映した薄色 */
  --radius: 5px;
  --border: #2a908c;
   --text: #2a908c;
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Noto Sans JP', 'BIZ UDPGothic', Meiryo, sans-serif;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.08em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-print-color-adjust: exact;
}

header,
footer {
  font-family: 'Noto Sans CJK JP', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'BIZ UDPGothic', Meiryo, sans-serif;
}

.foot-copy {
  font-family: Helvetica, 'NeueHaasDisplay', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Noto Sans JP', 'BIZ UDPGothic', Meiryo, sans-serif;
}

.toptop {
  font-family: Helvetica, 'NeueHaasDisplay', sans-serif;
}

.font-serif {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'BIZ UDMincho', 'HG明朝E', serif;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: none;
}

/* iPhoneTELリンク色変更なしにする */
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

img {
  vertical-align: bottom;
  -ms-interpolation-mode: bicubic;
}

.wrapper {
  position: relative;
}

/*****************************************
*
* ヘッダ
*
******************************************/

header {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 833px) {
  header {
    top: 0;
    width: 100%;
    height: 82px;
    background: var(--color-text-on);
    z-index: 1000;
    transition: 1s;
  }

  .head-hidden {
    transform: translateY(-100%);
  }

  .head-transparent {}
}

@media screen and (min-width: 834px), print {

  /* スクロールナビ固定 */
  header {
    position: relative;
    overflow: hidden;
    background: var(--color-text-on);
    width: 100%;
    height: 110px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    transition: all .5s ease;
  }

}

/*------------------------------------------*/
/* 連絡先
/*------------------------------------------*/


/* 右側固定の緊急連絡先 */
.emergency-contact {
  position: fixed;       /* ← 常に右上に固定 */
  top: 15px;
  right: 10px;
  background: var(--color-orange);
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  text-align: right;
  z-index: 999;
}

/* 電話番号（大きめ） */
.emergency-contact .tel {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color:#FFFFFF;
}

/* 営業時間（小さめ） */
.emergency-contact .time {
  margin: 0;
  font-size: 12px;
  color:#FFFFFF;
}

/* ===== スマホ（小さめに & ロゴと重ならない位置へ） ===== */
@media (max-width: 768px) {
  .emergency-contact {
    top: 15px;            /* ロゴと被る場合はここを調整 */
    right: 10px;
    padding: 6px 10px;
    border-width: 1px;
  }

  .emergency-contact .tel {
    font-size: 12px;
  }

  .emergency-contact .time {
    font-size: 8px;
  }
}



/*------------------------------------------*/
/* ロゴ
/*------------------------------------------*/

.head-logo a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  transition: all .5s ease;
}

.head-logo a:hover {
  text-decoration: none;
}

@media screen and (min-width: 834px), print {
  .head-logo a {
    /*transitionが効かない対策*/
    visibility: visible;
    opacity: 1;
  }

  /*
  .is-animation .head-logo a {
    visibility: hidden;
    opacity: 0;
  }
*/
}

@media screen and (min-width: 834px) and (max-width: 1500px), print {
  .is-animation .head-logo a {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 200px;
  }
}

/* ロゴマーク --------------------------------*/
h1 {
  font-size: 0;
}

.logo {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
  line-height: 1.1;
  display: inline-block;
  background: url(img/logo.svg) no-repeat;
  background-size: 100%;
  width: calc(217px / 1.5);
  height: calc(72px / 1.5);
  margin-top: 15px;
  margin-left: 20px;
  z-index: 101;
  transition: all .5s ease;
}

@media screen and (min-width: 834px), print {
  .logo {
    width: calc(217px / 1);
    height: calc(72px / 1);
    margin-top: 20px;
    margin-left: 40px;
  }

  .is-animation .logo {
    width: calc(217px / 1.5);
    height: calc(72px / 1.5);
  }
}

@media screen and (min-width: 834px) and (max-width: 1500px), print {
  .is-animation .logo {
    margin-top: 8px;
  }
}


/* タイトル --------------------------------*/
.head-logo .title {
  display: inline-block;
  color: var(--color-main);
  font-size: 0.6rem;
  line-height: 1.1;
  border: solid 1px var(--color-blue);
  padding: 5px;
  margin-left: 10px;
}

@media screen and (min-width: 834px), print {
  .head-logo .title {
    font-size: 0.8rem;
    margin-left: 20px;
  }

  .is-animation .title {
    font-size: 0.6rem;
    padding: 3px;
    margin-left: 10px;
  }
}

@media screen and (min-width: 834px) and (max-width: 1500px), print {
  .is-animation .title {
    margin-top: 5px;
    margin-left: 40px;
  }
}

/*------------------------------------------*/
/* 緊急連絡先
/*------------------------------------------*/

.pages-point {
  text-align: left;
  border: solid 1px var(--color-blue);
  margin-top:6em;
}

.pages-point h5 {
  border: 0;
  margin: 0;
  background: var(--color-blue);
  color: var(--color-text-on);
  font-size: 1.1rem;
  padding: 5px 20px;
}

@media screen and (min-width: 834px), print {
  .pages-point h5 {
    font-size: 1.3rem;
  }
}

/* ▼ ここから2カラム化を追加 */
.pages-point ul {
  padding: 15px 20px;
  margin: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 初期：スマホ1列 */
  gap: 1.2em 2em; /* 行間 / 列間 */
}

@media (min-width: 834px) {
  .pages-point ul {
    grid-template-columns: repeat(2, 1fr); /* PCで2列 */
  }
}
/* ▲ ここまで2カラム化 */

/* 各項目 */
.pages-point ul li {
  position: relative;
  counter-increment: chapter;
  line-height: 1.6;
  padding-left: 35px;
  /* 2カラムでも自然に揃うよう margin-top をリセット */
  margin: 0;
}

/* 番号の■ */
.pages-point ul li::before {
  content: counter(chapter);
  display: flex;
  align-items: center;
  justify-content: center;

  width: 25px;
  height: 25px;
  background: var(--color-orange);
  color: var(--color-text-on);
  font-size: 0.8rem;

  position: absolute;
  top: 3px;
  left: 0;

}

/* 右側の小さな三角 */
.pages-point ul li::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 10px solid var(--color-orange);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;

  position: absolute;
  top: 10px;
  left: 21px;
}

.pages-tel{
   padding-left: 20px;
   padding-bottom:20px;
   font-size:1em;
}

@media (min-width: 834px) {
.pages-tel{
   font-size:1.1em;
}
}

/*------------------------------------------
  電話番号（SVG＋数字）中央寄せ
------------------------------------------*/
.tel-center {
  display: flex;
  justify-content: center;   /* センター（左右） */
  align-items: center;       /* 上下中央揃え */
  gap: 8px;                  /* アイコンと文字の間 */
  margin: 15px 0 35px;
}

/* 電話番号の文字 */
.tel-center .tel-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1;
}

/* SVGアイコン（色・サイズ自由に変更可） */
.tel-center svg {
  width: 45px;
  height: 45px;
  stroke: var(--color-blue);
}

/* スマホで少し小さく */
@media (max-width: 768px) {
  .tel-center {
    gap: 6px;
  }
  .tel-center .tel-number {
    font-size: 1.8rem;
  }
  .tel-center svg {
  width: 35px;
  height: 35px;
  }
}

/* フッタ サイトへのリンク --------------------------------*/
.footer-link {
  margin-bottom: 1em;
}

.footer-link a {
  position: relative;
  color: var(--color-blue);
  font-size: 1rem;
  font-weight: bold;
}

.footer-link a::after {
  content: '';
  display: inline-block;
  background: url('img/icon_blank.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 30/24;
  width: 16px;
  height: auto;
  margin-left: 0.2em;
}

/* フッタコピーライト --------------------------------*/
.foot-copy {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 10px;
}



/*****************************************
*
* 基本レイアウト
*
******************************************/

.container {
  padding: 0 20px;
  margin-top: 60px;
  margin-bottom: 80px;
}

@media screen and (min-width: 834px), print {
  .container {
    margin-top: 80px;
    margin-bottom: 120px;
  }
}

@media screen and (min-width: 1100px), print {
  .container {
    display: inline-block;
    width: 960px;
    padding: 0;
  }
}


/*****************************************
*
* 共通
*
******************************************/

section {
  margin-top: 60px;
  text-align:left;
}

@media screen and (min-width: 834px), print {
  section {
    margin-top: 60px;
  }
}


/*------------------------------------------*/
/* 文字
/*------------------------------------------*/

.text {
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8;
}

.text img {
  max-width: 100%;   /* 画面幅に合わせて縮む */
  height: auto;      /* 縦横比を保つ */
  display: block;    /* 行間の隙間を防ぐ */
  margin-top:1em;
}


/*------------------------------------------*/
/* 見出し h2
/*------------------------------------------*/

.pages-title {
  width: 100%;
  margin-top: 70px;
  margin-bottom: 40px;
}

.pages-title h2 {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 500;
  border-bottom: solid 4px var(--color-blue);
}

.pages-title h2 span {
  font-size: 1rem;
}

@media screen and (min-width: 834px), print {
  .pages-title {
    background: var(--color-text-on);
    padding: 20px 40px;
  }

  .pages-title h2 {
    font-size: 1.8rem;
    font-weight: 500;
  }

  .pages-title h2 span {
    font-size: 1.4rem;
  }
}


/*------------------------------------------*/
/* pages-contents
/*------------------------------------------*/


.pages-contents {
  line-height: 2;
}

.pages-contents section {
  margin-top: 40px;
}

.pages-contents section.first {
  margin-top: 0;
}

/*------------------------------------------*/
/* 見出し h3
/*------------------------------------------*/



.pages-contents h3 {
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  border-left: solid 5px var(--color-orange);
  border-bottom: solid 2px var(--color-orange);
  padding-left: 10px;
  margin-top: 2em;
  margin-bottom: 1em;
}

/*------------------------------------------*/
/* 見出し h4
/*------------------------------------------*/

.pages-contents h4 {
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  border: solid 2px var(--color-orange);
  padding:10px;
  margin-top: 2em;
  margin-bottom: 1em;
}

/*------------------------------------------*/
/* 2カラム
/*------------------------------------------*/


/* 2カラム全体 */
    .two-column {
      display: flex;
      justify-content: space-between;
	  margin-top:40px;
      gap: 20px; /* 隣り合う部分のマージン相当（20px） */
    }

    /* 左（30%） */
    .two-column__left {
      flex: 0 0 30%;
    }

    /* 右（70%） */
    .two-column__right {
      flex: 1 1 70%;
    }

    /* スマホなど狭い画面では縦並びに */
    @media (max-width: 768px) {
      .two-column {
        flex-direction: column;
      }

      .two-column__left,
      .two-column__right {
        flex: 0 0 auto;
        width: 100%;
      }
    }
	
/*------------------------------------------*/
/* 2分割リスト
/*------------------------------------------*/

.two-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* PCは2列 */
  gap: 8px 24px; /* 行間 / 列間 */
  line-height: 1.6;
}

/* 各項目をインデントして、●を::beforeで表示 */
.two-col-list li {
  position: relative;
  padding-left: 1.2em;  /* 左側に余白（インデント） */
}

/* ●マーク */
.two-col-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.6;
  /* 必要なら色なども指定できます
     color: #333;
     font-size: 0.9em;
  */
}

/* スマホ表示は1列 */
@media (max-width: 768px) {
  .two-col-list {
    grid-template-columns: 1fr; /* 1列表示 */
  }
}

/*------------------------------------------*/
/* 2分割　画像＋テキスト
/*------------------------------------------*/

/* 全体：PCは2カラム */
.two-col-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px; /* カラム間・上下の余白 */
  margin-top:2em;
}

/* ブロック */
.two-col-box .item {
  text-align: center
}

/* 画像（レスポンシブ） */
.two-col-box .item img {
  display: block;
  height: auto;
  width: auto;            /* 必要に応じて調整（画像の実寸で表示） */
  max-width: 100%;        /* はみ出し防止。レスポンシブ対応 */
  margin-left: auto;
  margin-right: auto;     /* ← 中央寄せ */
  border-radius: 6px;
}

/* テキスト */
.item-text {
  margin: 12px 0 0;
  line-height: 1.6;
}

/* スマホ：1列表示 */
@media (max-width: 768px) {
  .two-col-box {
    grid-template-columns: 1fr;
  }
}


/*------------------------------------------*/
/* ピンク枠
/*------------------------------------------*/

.pink-box {
  border: 3px solid #f8c4d8; /* 少し太めの薄いピンク枠 */
  color: #c00;               /* 赤文字 */
  padding: 12px 16px;        /* 内側余白 */
  font-size: 16px;
  line-height: 1.7;
  border-radius: 4px;        /* 角丸不要なら削除してください */
  text-align: left;          /* 左寄せ */
  background: #fff;          /* 必要に応じて背景色 */
  max-width: 100%;           /* はみ出し防止 */
  margin-top:2em;
}

/*------------------------------------------*/
/* 赤丸白文字
/*------------------------------------------*/

.step-list {
  list-style: none;
  margin-top:2em;
  padding: 0;
}

.step-list li {
  margin-bottom: 16px;
  line-height: 1.7;
  position: relative;
  padding-left: 35px; /* 赤丸の幅＋余白 */
}

/* 赤丸 × 白文字（数字部分） */
.step-list .num {
  width: 22px;
  height: 22px;
  background: #e60000;     /* 赤ベタ */
  color: #fff;             /* 白文字 */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;      /* 丸 */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 4px;                /* 少し上に揃える（ここ調整できます） */
  font-size: 15px;
}

/*------------------------------------------*/
/* 三分割
/*------------------------------------------*/

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3分割 */
  gap: 20px; /* 各カラムの間隔 */
  align-items: start;
}

/* 画像をレスポンシブで調整 */
.col-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホは1カラム */
@media (max-width: 768px) {
  .three-col {
    grid-template-columns: 1fr; /* 縦並び */
    justify-items: center;      /* ← 画像含むアイテム全体を中央寄せ */
  }

  .col-item img {
    width: 275px;
    height: 214px;
    display: block;
    margin: 0 auto;             /* ← 念のため画像自身も中央寄せ */
  }
}

/*------------------------------------------*/
/* ※の字ぞろえ
/*------------------------------------------*/


.note {
  margin: 0 0 8px;
  padding: 0;

  /* ※の幅だけ字下げ（ぶら下がり） */
  padding-left: 1.2em;
  text-indent: -1.2em;

  line-height: 1.6;
  font-size: 14px;
}

/*------------------------------------------*/
/* ボタン
/*------------------------------------------*/

.btn-row {
  display: flex;
  gap: 12px;
  max-width: 960px;
  margin: 12px auto;
  /* paddingは削除 or 左右0にする */
  padding: 0;
}

@media (max-width: 640px) {
  .btn-row {
    flex-direction: column;
  }
  .btn {
    flex: none;
    width: 100%; /* スマホ時は全幅 */
  }
}

/* ボタン（リンク） */
.btn {
  flex: 0 0 calc((100% - 24px) / 3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px; /* 矢印とテキストの間隔 */
  padding: 18px 12px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .02s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.btn:hover {
  background: #2a908c; 
  color: #fff;
  border-color: #2a908c;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 2px solid color-mix(in srgb, #fff 10%, var(--accent) 90%);
  outline-offset: 2px;
}

.btn__chev {
  font-size: 1.1em;
  line-height: 1;       /* 行高さを小さめに */
  display: inline-flex; /* フレックスで中央揃え */
  align-items: center;
  position: relative;
  top: -1px;            /* 微調整（必要なら数値を調整） */
}



/*------------------------------------------*/
/* youtube
/*------------------------------------------*/

.youtube-wrap {
  max-width: 560px;
  margin: 0 auto;
  margin-top: 40px;
}

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}




/* メンバーズボタン --------------------------------*/
.register {
  margin-top: 30px;
}

.register a {
  display: inline-block;
  background: var(--color-main);
  border-radius: 30px;
  color: var(--color-text-on);
  font-size:1.2rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.1;
  border: 0;
  padding: 15px 40px;
  cursor: pointer;
  transition: all .5s ease;
}

.register a:visited {
  color: var(--color-text-on);
}

.register a:hover {
  text-decoration: none;
  background: var(--color-dark-main);
}



