/* =====================
  Base
===================== */
:root {
  --wrap-wide: 1200px;
  --wrap-base: 1024px;
  --wrap-narrow: 960px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;

  --blue: #6ea0ff;
  --pink: #ff6f91;
  --bg: #f6f3df;
  --text: #333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container,
.shien-container {
  width: 100%;
  padding: 0 var(--space-sm);
  margin: 0 auto;
}

.sp-only {
  display: block;
}

/* =====================
 Header
===================== */
.header__logo {
  margin: 0;
  width: 100%;
  background: #fff;
}

.header__inner {
  width: 100%;
  padding: 1rem var(--space-sm);
  margin: 0 auto;
}

/* =====================
 KV
===================== */
.kv {
  padding: 0 var(--space-sm);
}

.kv__inner {
  margin: 20px auto 0;
}

/* =====================
 Common Title
===================== */
.title-image {
  margin: 40px 0 20px;
  text-align: center;
}

/* =====================
 News
===================== */
.news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ccc;
}

.news__list li {
  padding: 12px 0;
  border-bottom: 1px solid #ccc;
}

.news time {
  font-size: 0.8rem;
  color: #888;
}

.news__list p {
  margin: 0;
}

.news__list a {
  display: block;
  padding: 1em 0;
  color: inherit;
}

.news__archive {
  width: 100%;
  border: 2px solid #666;
  text-align: center;
  margin-top: var(--space-md);
}

.news__archive a {
  display: block;
  padding: 1em 0;
  background: #fff;
  color: var(--text);
  transition: 0.3s;
}

.news__archive a:hover {
  background: #333;
  color: #fff;
}

/* =====================
 Concept
===================== */
.concept__lead {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* =====================
 Cards
===================== */
.cards {
  margin-top: 50px;
}

.cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 16px;
}

.card {
  position: relative;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
}

.card__title {
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
}

.card__day,
.card__time {
  text-align: center;
}

.card__day {
  margin: 1em 0 0;
}

.card__time {
  margin: 0 0 5px;
}

.card__text {
  margin: 0;
  padding-top: 5px;
  border-top: 1px solid #333;
}

/* =====================
 Contact
===================== */
.contact {
  margin: 40px 16px;
  padding: 24px;
  background: #fff;
  border: 3px solid var(--blue);
  border-radius: 20px;
}

.contact__title {
  margin-top: 0;
  padding-bottom: 8px;
  font-size: 1.2rem;
  text-align: center;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
}

.contact__list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.contact__tel {
  margin-top: 20px;
  padding: 16px;
  text-align: center;
  background: var(--pink);
  color: #fff;
  border-radius: 8px;
}

.contact__tel dt,
.contact__tel dd {
  margin: 0;
  color: #ff0;
  font-weight: 700;
}

.contact__tel span {
  font-size: 1.2em;
}

/* =====================
 Information
===================== */
.information {
  text-align: center;
}

.information__title {
  margin-bottom: 1em;
  font-size: 1.2rem;
}

.information p {
  margin: 0;
}

.information__map iframe {
  width: 100%;
  height: 350px;
  margin-top: 1em;
  border: 0;
}

/* =====================
 Footer
===================== */
.footer {
  margin-top: 50px;
  padding: 20px 0;
  background: #6f9be8;
  color: #fff;
  text-align: center;
}

.footer a {
  color: #fff;
}

/* =====================
 Shien Single
===================== */
.shien-container {
  margin-top: 30px;
}

/* =====================
 Shien Archive
===================== */
.shien-card {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.shien-card__link {
  display: block;
  color: inherit;
}

.shien-card__date,
.shien-article__date {
  font-size: 13px;
  color: #888;
}

.shien-card__title {
  font-size: 16px;
}

.shien-article__title {
  margin-bottom: 10px;
  font-size: 22px;
}

.shien-article__content {
  line-height: 1.8;
}

.shien-post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.shien-back {
  width: 100%;
  margin-top: 20px;
  border: 2px solid #666;
  text-align: center;
}

.shien-back a {
  display: block;
  padding: 1em 0;
  background: #fff;
  color: #333;
  transition: 0.3s;
}

.shien-back a:hover {
  background: #333;
  color: #fff;
}

.shien-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.shien-main,
.shien-sidebar {
  width: 100%;
}

/* =====================
 Search Form
===================== */
.shien-search-form {
  display: flex;
  gap: 8px;
}

.shien-search-form__input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
}

.shien-search-form__button {
  padding: 8px 12px;
  background: #333;
  color: #fff;
  border: 0;
}

/* =====================
 Search Result
===================== */
.search-count {
  padding: var(--space-xs);
  margin-bottom: 30px;
  border: 1px solid #333;
  background: #fff;
}
.search-result {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}
.search-result h2 {
  margin: 0;
}
.search-result h2+p {
  margin: 0 0 10px;
}

/* =====================
 Tablet
===================== */
@media (min-width: 768px) {
  .concept {
    margin-top: 100px;
  }

  .cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shien-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .shien-main {
    width: 70%;
  }

  .shien-sidebar {
    width: 30%;
  }
}

/* =====================
 PC
===================== */
@media (min-width: 1024px) {
  .container,
  .shien-container,
  .header__inner {
    max-width: var(--wrap-base);
  }

  .kv {
    max-width: var(--wrap-wide);
    margin: 0 auto;
    padding: 0;
  }

  .cards__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
  }

  .contact {
    max-width: var(--wrap-narrow);
    margin: var(--space-xl) auto;
    padding: 40px;
  }

  .contact__title {
    font-size: 2.4rem;
  }

  .contact__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .contact__tel dl {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin: 0;
  }

  .contact__tel dt,
  .contact__tel dd {
    font-size: 1.5em;
  }

  .news__archive {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
  }

  .information__title {
    font-size: 1.8rem;
  }

  .information__map iframe {
    height: 520px;
  }

  .sp-only {
    display: none;
  }
}