/* ====== Base ====== */
:root{
  --bg: #F6F8F8;
  --card: #FFFFFF;
  --text: #1E2A28;
  --muted: #5F6F6C;
  --line: #E3E8E8;

  --primary: #2F7F7A;
  --primary-weak: #E6F4F2;
  --accent: #6FAE9A;

  --radius: 18px;
  --shadow: 0 10px 28px rgba(20, 40, 38, .08);
}


*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a{ color: inherit; text-decoration: none; }
iframe{
  width: 100%;
  height: 100%;
}
h2{
  font-size: 1.6rem;
  font-weight: bold;
  padding: 10px 16px;
  margin: 60px 0 15px 0;
  line-height: 1.4;
  background: #E3E8E8;
}
h3{
  position: relative;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.4;
  padding-left: 16px;
  margin: 45px 0 20px 0;
}
h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 5px;
  height: 1em;
  background: #2F7F7A;
  border-radius: 20px;
}
p{
  margin: 0 0 8px 0;
  font-size: 1rem;
}


/* ====== Header ====== */
.header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 251, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}
.brand{
  display: flex;
  gap: 20px;
  align-items: center;
}
.brand__title{
  margin: 0;
  font-size: 22px;
  letter-spacing: .02em;
}
.brand__sub{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.nav{
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__link{
  font-size: 13px;
  color: var(--muted);
  border-radius: 4px;
}
.nav__link:hover{
  text-decoration: underline;
}
.nav__cta{
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 8px 20px;
  border: 2px solid #2F7F7A;
  border-radius: 4px;
  transition: color 0.3s,background-color 0.3s;
}
.nav__cta:hover{
  color: #2F7F7A;
  background: #fff;
}

/* ====== Sections / Cards ====== */
main{
  max-width: 1140px;
  padding: 0 20px;
  margin: auto;
}
.main_img{
  display: block;
  max-width: 1100px;
  width: 100%;
  height: auto;
}
.hero{
  padding: 24px 0 12px;
}

/* ====== Definition list ====== */
.dl{
  margin: 0;
}
.dl__row{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
dt{
  color: var(--muted);
  font-weight: 700;
  font-size: 1rem;
}
dd{
  margin: 0;
  font-size: 1rem;
}
.link{
  color: var(--primary);
  font-weight: 700;
}
.link:hover{
  text-decoration: underline;
}
.message_box{
  display: flex;
  gap: 30px;
}
.message_box img{
  max-width: 150px;
  width: 100%;
  height: 100%;
}

/* ====== CTA ====== */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 2px solid #2F7F7A;
  pointer-events: none;
  transition: color 0.3s, background-color 0.3s;
}
.btn:hover{
  color: #2F7F7A;
  background-color: #fff;
}
.btn span{
  position: relative;
  padding-left: 25px;
}
.btn span::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: url(img/icon_tel_white.svg) no-repeat center;
  transition: background 0.3s;
}
.btn:hover span::before{
  background: url(img/icon_tel_green.svg) no-repeat center;
}
.map{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 14px;
}

.map iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ====== Footer ====== */
.footer{
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer__inner{
  text-align: center;
}
.footer__text{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ====== Responsive ====== */
@media (max-width: 767px){
  .dl__row{ grid-template-columns: 92px 1fr; }
  .nav{ gap: 8px; }
  .nav__link{ padding: 8px 8px; }
  .btn{pointer-events: auto;}
  .brand__title{
    font-size: 18px;
  }
  .brand{
    display: block;
  }
  .nav__link{
    display: none;
  }
}

@media (max-width: 425px){
  .message_box{display: block;}
  .message_box img{
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.3rem;
    margin: 30px 0 10px 0;
  }
  h3{
    font-size: 1.1rem;
    margin: 30px 0 10px 0;
  }
  p{font-size: 15px;}
}

@media (max-width: 375px){
  .header__inner{padding: 10px 20px;}
  .brand__sub{font-size: 11px;}
  .nav__cta{padding: 6px 14px;}
}
