html {
  font-size: 62.5%;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #4a433c;
  background-color: #f6f1e6;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(246, 241, 230, 0) 0,
    rgba(246, 241, 230, 0) 31px,
    rgba(190, 164, 122, 0.22) 32px
  );
  overflow-x: hidden;
  font-family: "Lato", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-size: 1.4rem;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: min(78vw, 680px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("../images/logo.png") center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.header {
  position: relative;
  z-index: 20;
  flex: none;
  width: 100%;
  max-width: 100%;
  height: 50px;
  background: #d2b084;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

.header::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 6px;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%) rotate(-5deg);
  background-color: transparent;
  background-image: url("../images/nav-logo.png?v=3"), url("../images/nav-doily.png?v=3");
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 78%, 100%;
  filter: drop-shadow(0 1px 0 rgba(90, 62, 32, 0.16));
  pointer-events: none;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 8px;
  background: #d2b084;
  list-style: none;
}

.nav a {
  display: inline-block;
  position: relative;
  padding: 0 10px;
  color: #4a433c;
  font-size: 12px;
  font-weight: 900;
  line-height: 50px;
  white-space: nowrap;
  transform-origin: center center;
  transition: transform 0.18s ease;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

.nav a:hover,
.nav a:active,
.nav a.is-pressed {
  z-index: 2;
  transform: scale(1.4);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 11px;
  height: 2px;
  border-radius: 1px;
  background: #6e5034;
}

.hero {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  background: #fff;
  line-height: 0;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.site-info {
  position: relative;
  z-index: 1;
  padding: 28px 24px 24px;
  border-bottom: 1px solid #e4d7c4;
  text-align: center;
}

.site-info h1 {
  margin: 0;
  color: #3a342c;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, "Yu Gothic", sans-serif;
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.site-lead,
.site-quote {
  margin: 0;
  color: #4a433c;
  font-family: "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  font-size: 1.6rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.site-mark {
  font-family: "Segoe UI Symbol", "Segoe UI", sans-serif;
  font-weight: 400;
  font-synthesis: none;
}

.site-lead {
  margin-top: 12px;
}

.site-lead a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-quote {
  margin-top: 0.75em;
}

.main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  width: min(800px, calc(100% - 80px));
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 0 48px;
}

.main--wide {
  width: min(800px, calc(100% - 80px));
}

.page-title,
.section-title {
  margin: 0 0 36px;
  color: #3a342c;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-align: center;
}

.cal-wrap {
  max-width: 960px;
  margin: 2% auto 10px;
}

.ttcal {
  position: relative;
  border: 2px solid #b08960;
  border-radius: 22px 16px 24px 14px / 18px 24px 14px 20px;
  padding: 18px 14px 10px;
  background: #fffdf8;
  box-shadow: 3px 3px 0 rgba(140, 98, 52, 0.28);
}

.ttcal-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  margin-bottom: 12px;
  text-align: center;
}

.ttcal-head button {
  width: 36px;
  height: 36px;
  border: 1px solid #e2cfae;
  border-radius: 11px 8px 12px 9px;
  background: #f4ead8;
  color: #4a433c;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.ttcal-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.ttcal-month {
  margin: 0;
  color: #8d7b68;
  font-size: 1.3rem;
}

.ttcal-week,
.ttcal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.ttcal-week {
  margin-bottom: 4px;
  color: #8d7b68;
  font-size: 1.1rem;
  text-align: center;
}

.ttcal-day {
  position: relative;
  min-height: 72px;
  padding: 4px;
  border: 1px solid #eadfce;
  border-radius: 7px 9px 6px 8px;
  background: #fffdf8;
  color: #4a433c;
  text-align: left;
  cursor: pointer;
}

.ttcal-day.is-out {
  color: #c4b49e;
  background: #f3eee4;
}

.ttcal-day.is-selected {
  outline: 2px dashed #b08960;
  outline-offset: -3px;
}

.ttcal-num {
  display: block;
  font-size: 1.2rem;
}

.ttcal-pill,
.ttcal-more {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  padding: 0 3px;
  border-radius: 2px;
  color: #3a342c;
  font-size: 1rem;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ttcal-pill {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  white-space: normal;
  overflow-wrap: break-word;
  padding: 0 2px;
  background: transparent;
  box-shadow: inset 0 -0.42em 0 color-mix(in srgb, var(--pill, #6fbf73) 75%, white);
}

.ttcal-more {
  color: #8d7b68;
}

.ttcal-list {
  margin-top: 16px;
}

.ttcal-item {
  padding: 12px 0;
  border-top: 1px solid #e4d7c4;
}

.ttcal-item h3 {
  margin: 2px 0 4px;
  font-size: 1.5rem;
  line-height: 1.5;
}

.ttcal-item p,
.ttcal-empty,
.ttcal-out {
  margin: 0 0 4px;
  font-size: 1.3rem;
}

.ttcal-date {
  color: #8d7b68;
  font-style: italic;
}

.ttcal-note {
  white-space: normal;
}

.ttcal-item a,
.ttcal-out a {
  color: #72b1b3;
}

.ttcal-empty {
  color: #8d7b68;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 0 0 25px;
  margin: 0 0 30px;
  border-bottom: 1px solid #ebebeb;
}

.news-row:first-child {
  padding-top: 0;
}

.news-row h2,
.card h2 {
  margin: 12px 0 0;
  color: #3a342c;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
}

.news-row a:hover,
.card a:hover,
.site-info a:hover {
  opacity: 0.7;
}

.thumb {
  flex: none;
  width: 100px;
  overflow: hidden;
}

.thumb img {
  display: block;
  width: 100px;
  height: 80px;
  object-fit: cover;
}

.more {
  margin: 30px 0 10px;
  text-align: center;
}

.more a {
  display: inline-block;
  min-width: 180px;
  max-width: 240px;
  padding: 9px 10px 8px;
  border: 1px solid #c4a06e;
  border-radius: 4px;
  background: #d2b084;
  color: #4a433c;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.more a:hover {
  border-color: #b89362;
  background: #c6a372;
  color: #4a433c;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 28px 0 0;
}

.social img {
  display: block;
  width: 40px;
  height: 40px;
}

.social a.ig {
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  flex: none;
}

.social a.ig img {
  width: 65px;
  height: 65px;
  max-width: none;
  margin: -12.5px 0 0 -12.5px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -13px;
  left: 50%;
  width: 58px;
  height: 16px;
  transform: translateX(-50%) rotate(-6deg);
  background: repeating-conic-gradient(#9e7242 0% 25%, #fffdf8 0% 50%) 0 0 / 8px 8px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #9e7242 55%, white);
  pointer-events: none;
}

.card-img {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 8px;
  background: #fff;
  box-shadow: 0 8px 14px rgba(90, 70, 40, 0.08);
}

.card-img::before {
  content: none;
}

.card-img img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}

.card-img.is-empty::before {
  content: "";
  display: block;
  padding-top: 66.7%;
}

.card-img.is-empty {
  border: 1px solid #ebebeb;
  background: #fff;
}

.card-img.is-empty::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #ebebeb;
  transform: skewY(-33.5deg);
}



.rule {
  display: block;
  height: 16px;
  margin: 0;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 16' preserveAspectRatio='none'%3E%3Cpath d='M2 9C48 3 96 14 156 8C214 2 270 13 336 8C402 3 468 14 534 7C600 2 668 13 742 8C770 6 788 10 798 7' fill='none' stroke='%23c4b08a' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 16px no-repeat;
}

.tape {
  display: block;
  width: 64px;
  height: 16px;
  background: repeating-conic-gradient(#9e7242 0% 25%, #fffdf8 0% 50%) 0 0 / 8px 8px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #9e7242 55%, white);
  pointer-events: none;
}

.member {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding: 36px 0;
}

.member > * {
  min-width: 0;
}

.member img {
  display: block;
  width: 75%;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px;
  background: #fff;
  box-shadow: 0 8px 14px rgba(90, 70, 40, 0.08);
}

.member:nth-of-type(odd) img {
  transform: rotate(-0.7deg);
}

.member:nth-of-type(even) img {
  transform: rotate(0.8deg);
}

.member > .tape {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 25%;
  width: 58px;
  margin-left: -29px;
  transform: rotate(-6deg);
  background: repeating-conic-gradient(var(--c) 0% 25%, #fffdf8 0% 50%) 0 0 / 8px 8px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, white);
}

.member h2 {
  margin: 0 0 14px;
  color: #3a342c;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.member-color {
  display: inline-block;
  width: 0.88em;
  height: 1.12em;
  margin-right: 0.26em;
  color: var(--c);
  vertical-align: -0.28em;
}

.member-color svg {
  display: block;
  width: 100%;
  height: 100%;
}

.member p {
  margin: 0 0 0.45em;
  font-size: 1.4rem;
  line-height: 1.85;
}

.member-catch {
  margin-top: 1.4em;
}

.member a {
  color: #72b1b3;
}

.member a:hover {
  color: rgba(114, 177, 179, 0.5);
}

.contact {
  padding: 20px 0 0;
  text-align: center;
}

.contact a {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid #c4a06e;
  border-radius: 4px;
  background: #d2b084;
  color: #4a433c;
  font-size: 1.5rem;
  font-weight: 700;
}

.contact a:hover {
  background: #c6a372;
  color: #4a433c;
}

.goods-empty {
  margin: 0;
  color: #8d7b68;
  font-size: 1.5rem;
  text-align: center;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 36px 0 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.pager a {
  color: #4a433c;
}

.pager .is-current {
  color: #3a342c;
}

.site-foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 28px 20px 36px;
  border-top: 1px solid #e4d7c4;
  background-color: #f6f1e6;
  background-image: none;
  text-align: center;
}

.site-foot-name {
  margin: 0 0 12px;
  color: #8d7b68;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.site-foot .social {
  margin: 0;
}

.article-body {
  position: relative;
}

.article-body::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -5px;
  left: 50%;
  width: 58px;
  height: 16px;
  transform: translateX(-50%) rotate(-6deg);
  background: repeating-conic-gradient(#9e7242 0% 25%, #fffdf8 0% 50%) 0 0 / 8px 8px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #9e7242 55%, white);
  pointer-events: none;
}

.article-title {
  margin: 10px 0 0;
  color: #3a342c;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.article-body {
  margin-top: 30px;
  font-size: 1.4rem;
}

.article-body p {
  margin: 0 0 12px;
}

.article-body img {
  display: block;
  width: 100%;
  margin: 8px 0 16px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 8px 14px rgba(90, 70, 40, 0.08);
}

@media (min-width: 801px) {
  .nav a:hover {
    opacity: 0.6;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1201px) {
  .news-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.news-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.main--board {
  width: min(1040px, calc(100% - 64px));
}

.main--board .news-grid,
.main--board .news-grid:has(> :only-child) {
  grid-template-columns: 1fr;
  justify-content: stretch;
  gap: 28px 22px;
}

@media (min-width: 700px) {
  .main--board .news-grid,
  .main--board .news-grid:has(> :only-child) {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .main--board .news-grid,
  .main--board .news-grid:has(> :only-child) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .header,
  .nav {
    height: 50px;
  }

  .nav {
    justify-content: space-evenly;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 6px;
  }

  .nav a {
    padding: 0 4px;
    font-size: 12px;
    line-height: 50px;
  }

  .site-info {
    padding: 40px 25px;
  }

  .site-info h1,
  .page-title,
  .section-title {
    font-size: 2.2rem;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  .site-info h1 {
    font-size: 2.6rem;
    letter-spacing: 0;
  }

  .main,
  .main--wide,
  .main--board,
  .is-home .main {
    width: 100%;
    padding: 30px 24px 40px;
  }

  .news-row {
    gap: 16px;
  }

  .member {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 0;
    text-align: center;
  }

  .member h2,
  .member p {
    text-align: center;
  }

  .member img {
    width: min(75%, 360px);
  }

  .member > .tape {
    top: 10px;
    left: 50%;
  }

  .article-body {
    margin-top: 15px;
  }
}

html[lang="zh-Hant"] body {
  font-family: "Lato", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}

@media (max-width: 520px) {
  .header::before {
    left: 3px;
    width: 32px;
    height: 32px;
  }

  .nav {
    justify-content: space-evenly;
    gap: 0;
    padding: 0 4px 0 40px;
  }

  .nav a {
    padding: 0 2px;
  }
}

@media (max-width: 370px) {
  .nav {
    padding: 0 2px 0 38px;
  }

  .nav a {
    padding: 0;
  }
}

@media (max-width: 349px) {
  .header::before {
    left: 2px;
    width: 24px;
    height: 24px;
  }

  .nav {
    padding: 0 2px 0 28px;
  }

  .nav a {
    padding: 0;
    font-size: 11px;
    line-height: 50px;
  }
}
