html, body {
  height: 100vh;
}

body {
  margin: 0;
  font-family: Roboto,Noto Sans JP,sans-serif;
  background-color: #f5f5f5;
  color: #333333;
  display: flex;
  flex-direction: column;
}

a {
  color: #333333;
  transition: color 0.1s ease; /* ゆっくり色が変わる */
}

.link-color:hover {
  color: #9d9d9d; /* リンクホバー時の色 */
  transition: color 0.1s ease; /* ゆっくり色が変わる */
}

h2, h3 {
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

main {
  flex: 1;
  margin-top: 120px;
}

/* ———————header css———————— */
header {
  max-height: 12%;
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 30px;
  position:fixed;
  width: 100%;
}

.header-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  margin-top: 15px;
}

.logo img {
  width: 100%;
  height: auto;
  max-height: 100px; /* ロゴの最大高さを設定 */
}

.header-policy {
  position: absolute;
  right: 24px;
  top: 16px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.link-underline {
  position: relative;
  display: inline-block;
  color: #333;
  text-decoration: none;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: currentColor;
  transition: width 0.3s ease; /* ゆっくり線が伸びる */
}

.link-underline:hover::after {
  width: 100%;
}

/* ———————main css———————— */
.main-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.main-area h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 24px;
}

.main-area p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}
