
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

body {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  margin: 0;
  background-color: #f4f9fc;
  color: #222;
  line-height: 1.6;
}

header {
  background-color: white; color: #111;
  color: #111;
  text-align: center;
  padding: 1.5em 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.nav-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8em;
  list-style: none;
  padding: 0;
  margin: 1em 0 0;
}



.nav-menu a:hover {
  background-color: rgba(255,255,255,0.15);
}

main {
  max-width: 900px;
  margin: auto;
  padding: 1.5em 1em;
}

.hero {
  background-color: #ffffff;
  padding: 1.5em 1em;
  text-align: center;
  border-radius: 1em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2em;
}

.hero-image {
  width: 240px;
  border-radius: 12px;
  margin-bottom: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.hero h2 {
  font-size: 1.5em;
  color: #0e4d80;
  margin-bottom: 0.4em;
}

.hero p {
  font-size: 1em;
  color: #444;
}

.tel-button {
  display: inline-block;
  background: #1976a5;
  color: #111;
  font-size: 1.4em;
  padding: 0.6em 1.2em;
  margin-top: 1em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.tel-button:hover {
  background: #145a86;
}

h3 {
  color: #1976a5;
  border-left: 5px solid #1976a5;
  padding-left: 0.6em;
  margin-top: 2em;
  font-size: 1.2em;
}

.weekday-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 0.95em;
  border: 1px solid #ccc;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.weekday-table th,
.weekday-table td {
  border: 1px solid #ddd;
  padding: 0.5em;
  text-align: center;
}

.weekday-table th.weekday {
  width: 10%;
}

.weekday-table thead {
  background-color: #e1f0f8;
}

.weekday-table .open {
  color: #0e4d80;
  font-weight: bold;
}

.weekday-table .closed {
  color: #bbb;
}

#hours .note {
  margin-top: 0.8em;
  font-size: 0.85em;
  color: #666;
}

.map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 8px;
  margin-top: 1em;
}

footer {
  background-color: #dceef7;
  text-align: center;
  padding: 1.5em 1em;
  font-size: 0.9em;
  color: #333;
  margin-top: 3em;
  border-top: 1px solid #b0d0e3;
}


.nav-menu a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  transition: border-bottom 0.2s ease;
  
}

.nav-menu a:hover {
  
  background-color: transparent;
  color: white;
}

.navbar {
  position: relative;
  background-color: #116699;
  text-align: center;
  padding: 0.5em 1em;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: #111;
  position: absolute;
  right: 1em;
  top: 1em;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  list-style: none;
  margin: 0;
  padding: 0.5em 0 0;
}

.nav-menu a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 0.4em 0.8em;
  
  transition: border-bottom 0.2s ease;
}

.nav-menu a:hover {
  
  background-color: transparent;
  color: white;
}



/* マップ縮小表示 */
.scaled-map {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
  margin-top: 1em;
}

.sunday,
.holiday {
  color: #cc0000;
  background-color: #ffecec;
}

.closed.weekday {
  background-color: #e1f0f8;
}

.closed.sunday,
.closed.holiday {
  background-color: #ffecec;
}



/* 午後・祝：とても薄い赤背景 */
tr:nth-child(2) td.holiday {
  background-color: #fff5f5;
}

/* 午後・水木土：とても薄い青背景 */
tr:nth-child(2) td:nth-child(4),  /* 水 */
tr:nth-child(2) td:nth-child(5),  /* 木 */
tr:nth-child(2) td:nth-child(7)   /* 土 */
{
  background-color: #f5faff;
}

/* 午前・日曜（列8）、午前・祝日（列9）、午後・祝日（列9）に共通のとても薄い赤背景 */
tr:nth-child(1) td:nth-child(8),  /* 日 午前 */
tr:nth-child(1) td:nth-child(9),  /* 祝 午前 */
tr:nth-child(2) td:nth-child(9)   /* 祝 午後 */
{
  background-color: #fff5f5;
}

.address,
.director {
  font-family: "Yu Gothic", "Meiryo", sans-serif;
}

.call-button {
  display: inline-block;
  background-color: #116699 !important;
  color: white !important;
  font-size: 1.2em;
  padding: 0.5em 1em;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 0 #999;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.call-button:hover {
  background-color: #0e4d80 !important;
}
.phone-icon {
  margin-right: 0.4em;
  color: white;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 1em 0.5em;
  background-color: #ffffff;
}

.site-title {
  font-size: 1.5em;
  color: #0e4d80;
  margin: 0;
}

.header-call {
  background-color: #116699 !important;
  color: white !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 0 #999;
  transition: background-color 0.3s ease;
}

.header-call:hover {
  background-color: #0e4d80 !important;
}

.department-list {
  list-style: disc;
  margin-left: 1.5em;
  margin-top: 0.5em;
  color: #222;
}


.catch-desktop {
  display: inline;
}
.catch-mobile {
  display: none;
}



/* モバイル表示用 */
@media (max-width: 768px) {
.weekday {
  width: 12%;
  text-align: center;
  padding: 0.5em;
}

.sunday {
  color: #cc0000;
}

.schedule thead th {
  width: 12%;
}

.schedule .sunday,
.schedule .holiday {
  color: #cc0000;
}

.weekday {
  width: 9%;
  text-align: center;
  padding: 0.5em;
}

.sunday,
.holiday {
  color: #cc0000;
}

.navbar-blue {
  background-color: #116699;
}

.weekday {
  width: 9%;
  text-align: center;
  padding: 0.5em;
}

.sunday,
.holiday {
  color: #cc0000;
}


  .hero h2 {
    font-size: 1.25em;
  }

  body {
    font-size: 18px;
  }

  h2, h3 {
    font-size: 1.25em;
  }

  .tel-button {
    font-size: 1.1em;
    padding: 0.5em 1em;
  }

  .hero-image {
    width: 180px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0.5em;
  }

  .catch-desktop1 {
    display: none;
  }

  .catch-desktop2 {
    display: none;
  }

  .catch-mobile1 {
    display: block;
    line-height: 1.4;
    text-align: center;
  }

  .catch-mobile2 {
    display: block;
    font-size: 1em;
    line-height: 1.3;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .catch-mobile1,
  .catch-mobile2 {
    display: none;
  }
  .circle-dot {
    font-size: 1.5em !important;
  }
}


@media (max-width: 768px) {
  .mobile-break-3 {
    font-size: 0.95em;
    line-height: 1.6;
  }

  .circle-dot {
    font-size: 1em !important;
  }
}



@media (max-width: 768px) {
  header {
    border-bottom: 10px solid #004080;
  }
.top-page .header-call {
  display: none !important;
}
  .mobile-hide {
    display: none !important;
  }
}

