@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap');

/* =====================================
   基本リセット（最低限）
===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================
   HTML / BODY
===================================== */
html {
    scroll-behavior: smooth; /* スムーズスクロール */
    font-size: 16px; /* ベースのフォントサイズ */
}

body {
    /* font-family: 'Noto Sans JP', sans-serif; */
    font-weight: 500;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #000;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased; /* フォントを滑らかに */
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
.sp2 {
    display: none;
}
/* =====================================sp
   レイアウト共通
===================================== */
.wrapper {
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto; /* センタリング */
    position: relative;
}

.inner {
    width: 100%;
    max-width: 1280px;
    padding: 100px 20px;
    margin: 0 auto;
    position: relative;
}
ul {
    list-style: none;
}

/* =====================================
   背景色クラス
===================================== */
.bg-beige {
    background-color: #FAF8F5;
}

/* =====================================
   aタグ（最低限）
===================================== */
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    opacity: 0.7;
}

/* =====================================
   画像の扱い（レスポンシブ対応）
===================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================
   見出し（読みやすく、メリハリ）
===================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1em;
    -webkit-font-smoothing: antialiased;
}
h2 {
    font-weight: 700; /* ExtraBold */
    color: #4E7F86;   /* あなたの画像の文字色 */
    font-size: 2em;
    text-align: center;
}
/* =====================================
   パラグラフ
===================================== */
p {
    margin-bottom: 1.5em;
}

/* =====================================
   レスポンシブ（必要最低限）
===================================== */

@media (max-width: 1280px) {
    .inner {
        max-width: none;
        width: 95%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px; /* スマホで読ませやすく */
    }
}

/* ==========================
   DL ベーススタイル（全体適用）
   PC：横並び
   SP：縦並び
========================== */

/* DL 全体をグリッドにして横並びを実現 */
dl {
    display: grid;
    grid-template-columns: minmax(150px, 280px) 1fr;
    margin: 0 0 32px;
    padding: 0;
  }
  
  /* 項目名 */
  dt {
    margin: 0;
    padding : 0.7em;
    font-weight: 800;
  }
  
  /* 内容 */
  dd {
    margin: 0;

    padding : 0.7em;
    line-height: 1.7;
  }
  
  /* ==========================
     SP（768px以下）：縦並び
  ========================== */
  @media (max-width: 768px) {
    dl {
        grid-template-columns: minmax(150px, 200px) 1fr;
    }
  }
  @media (max-width: 600px) {
    dl {
      display: block;
    }
  
    dt {
      margin-top: 16px;
    }
  
    dd {
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 10px;
    }
    .sp2 {
        display: block;
    }
  }
/* =====================================
   ページトップに戻るボタン
===================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #113A2F;
    /* border: 2px solid #F4D88A; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    color: #F4D88A;
    text-decoration: none;
}

.scroll-to-top:hover {
    background-color: #1a5240;
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(0);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F4D88A" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* =====================================
   レスポンシブ（768px以下）
===================================== */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* =====================================
   レスポンシブ（480px以下）
===================================== */
@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}
