@charset "utf-8";

/* カラーパレット・ページ全体 */
:root {
  --base-color: #4e2f20;
  --point-color: #b81a35;
  --sub-color: #9d853d;
  --paper: #f5efe7;
  --paper-deep: #e9dfd0;
  --ink: #231815;
  --line: #76503a;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  background: #c9bb88 linear-gradient(135deg, #c9bb88 0%, #ad9858 100%) fixed;
  animation: none;
}

/* 2カラムレイアウト */
#container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  border-left: 1px solid rgba(74, 42, 26, .85);
  border-right: 1px solid rgba(74, 42, 26, .85);
  box-shadow: 0 18px 60px rgba(47, 27, 15, .32);
  background: var(--paper);
}

#wrap {
  min-height: 820px;
  display: flex;
  align-items: stretch;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .8), transparent 30%), repeating-linear-gradient(7deg, rgba(88, 58, 39, .018) 0, rgba(88, 58, 39, .018) 1px, transparent 1px, transparent 5px);
  background-size: auto;
}

#wrap_l {
  width: 286px;
  flex: 0 0 286px;
  order: 1;
  padding: 34px 24px 40px;
  position: relative;
  overflow: hidden;
  background: #4e2f20;
  border-right: 8px solid var(--sub-color);
}

#wrap_r {
  width: calc(100% - 286px);
  flex: 1 1 auto;
  order: 2;
  padding: 0;
}

header {
  height: auto;
  min-height: 140px;
  padding: 20px 42px 20px 17px;
  border-bottom: 1px solid rgba(93, 49, 24, .28);
  background: rgba(255, 255, 255, .28);
}

h1 {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

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

/* サイドメニュー共通 */
#nav {
  position: relative;
  z-index: 2;
}

#nav ul {
  margin: 0;
}

/* English・カレンダーボタン */
#nav .utility_nav {
  margin-bottom: 25px;
}

#nav .utility_nav li {
  margin: 0 0 10px;
  border: 0;
}

#nav .english_disabled span {
  padding: 11px 34px 11px 40px;
  position: relative;
  display: block;
  color: rgba(255, 255, 255, .55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  letter-spacing: .08em;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  cursor: not-allowed;
}

#nav .english_disabled span::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 14px;
  background: url("../images/globe-icon.svg") center/contain no-repeat;
  opacity: .7;
  transform: translateY(-50%);
}

#nav .english_disabled span::after {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 50%;
  right: 15px;
  border-top: 1px solid rgba(234, 206, 118, .7);
  border-right: 1px solid rgba(234, 206, 118, .7);
  transform: translateY(-50%) rotate(45deg);
}

#nav .calendar_btn details {
  position: relative;
}

#nav .calendar_btn summary {
  padding: 14px 34px 14px 40px;
  position: relative;
  display: block;
  color: #3e2a1e;
  text-align: center;
  border: 1px solid #d8c798;
  background: linear-gradient(145deg, #efe4c5, #d9c799);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .23), 0 5px 13px rgba(27, 15, 9, .22);
  cursor: pointer;
  transition: filter .25s ease;
  list-style: none;
}

#nav .calendar_btn summary::-webkit-details-marker {
  display: none;
}

#nav .calendar_btn summary:hover {
  filter: brightness(1.07);
}


#nav .calendar_btn summary::before {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 14px;
  background: url("../images/calendar-icon.svg") center/contain no-repeat;
  transform: translateY(-50%);
}

#nav .calendar_btn summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 11px;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

#nav .calendar_btn details[open] summary::after {
  content: "−";
}

.calendar_btn strong {
  display: block;
}

.calendar_btn strong {
  font-size: 1.4rem;
  font-weight: 700;
}

#nav .calendar_options {
  margin: 5px 0 0;
  padding: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  border: 1px solid #d8c798;
  background: #fffaf0;
  box-shadow: 0 8px 18px rgba(27, 15, 9, .28);
}

#nav .utility_nav .calendar_options li {
  margin: 0;
  border: 0;
}

#nav .calendar_options a {
  padding: 9px 10px;
  display: block;
  color: #4e2f20;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid rgba(157, 133, 61, .28);
  transform: translateX(0);
  transition:
    background-color .4s ease,
    transform .4s cubic-bezier(.22, .61, .36, 1);
}

#nav .calendar_options li:last-child a {
  border-bottom: 0;
}

#nav .calendar_options a:hover {
  background: #f1e5c7;
  transform: translateX(4px);
}

#nav .calendar_options a::after {
  display: none;
}

/* メインナビゲーション */
#nav .nav li {
  margin: 0;
  border-bottom: 1px solid rgba(234, 206, 118, .35);
}

#nav .nav li:first-child {
  border-top: 1px solid rgba(234, 206, 118, .35);
}

#nav .nav li a {
  padding: 14px 13px 13px 21px;
  color: #f8f0e7;
  font-family: "Noto Serif JP", serif;
  font-size: 1.55rem;
  letter-spacing: .06em;
}

#nav .nav li a::before {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  left: 7px;
  top: 50%;
  border-top: 1px solid #eace76;
  border-right: 1px solid #eace76;
  transform: translateY(-50%) rotate(45deg);
}

#nav .nav li a::after {
  display: none;
}

#nav .nav li a:hover {
  padding-left: 27px;
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

#nav .nav .focus {
  border-color: #eace76;
}

#nav .nav .focus a {
  color: #4e2f20;
  background: #eace76;
}

#nav .nav .focus a::before {
  border-color: #4e2f20;
}

#nav .nav .focus a:hover::before {
  border-color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  #nav .nav li a::before {
    transition: border-color .4s ease;
  }
}

/* IMPE2027バナー */
.impe_banner {
  margin: 0 0 25px;
}

.impe_banner a {
  display: block;
  transition: filter .25s ease;
}

.impe_banner img {
  width: 100%;
  height: auto;
  display: block;
}
/* フッター */
footer {
  margin: 0;
  padding: 34px max(28px, calc((100vw - 1120px) / 2)) 22px;
  background: #3e251a;
  border-top: 7px solid var(--sub-color);
}

footer > div.ft_flex {
  margin: 0 auto;
  padding: 0;
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1120px;
}

.ft_in {
  width: auto;
}

.ft_content {
  width: auto;
  height: auto;
  margin-bottom: 11px;
  padding: 6px 15px;
  display: inline-block;
  color: #fffaf2;
  border: 1px solid rgba(234, 206, 118, .55);
  font-size: 1.35rem;
}

.ft_in .address {
  color: #fffaf2;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  line-height: 1.8;
}

.ft_in .address a {
  color: #eace76;
}

.footer_meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

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

.footer_logo {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_logo img {
  width: auto;
  height: 60px;
  display: block;
  object-fit: contain;
}

#copy {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .65);
  font-size: 1.1rem;
}

/* スマートフォン */
@media screen and (max-width:768px) {
  body {
    background: var(--paper);
  }

  #container {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  #wrap {
    display: block;
  }

  #wrap_r {
    width: 100%;
  }

  #wrap_l {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
  }

  header {
    min-height: 72px;
    height: auto;
    padding: 18px 58px 14px 15px;
    position: sticky;
    top: 0;
    z-index: 9999;
    justify-content: flex-start;
    border-bottom: 5px solid var(--sub-color);
    background: #f7f1e9;
  }

  h1 {
    width: 100%;
    margin: 0;
  }

  h1 img {
    width: 100%;
    height: auto;
  }

  #menu_btn {
    position: fixed;
    top: 19px;
    right: 14px;
    z-index: 10000;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(78, 47, 32, .35);
    background: #4e2f20;
  }

  .menu-trigger span {
    background-color: #f8f0e7;
  }

  #nav {
    width: 100%;
    height: 100dvh;
    padding: clamp(90px, calc(45px + 10vw), 125px) 22px 35px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9998;
    overflow-y: auto;
    transform: translateX(100%);
    background: #4e2f20;
    box-shadow: none;
  }

  #nav.open {
    transform: translateX(0);
  }

  #nav .utility_nav {
    margin-bottom: 20px;
  }

  #nav .nav li a {
    padding: 14px 13px 13px 21px;
  }

  .impe_banner {
    width: 100%;
    max-width: 500px;
    margin: 30px auto 30px;
    padding: 0 15px;
  }
  footer {
    padding: 26px 20px 20px;
  }

  footer > div.ft_flex {
    display: block;
  }

  .ft_in {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .footer_meta {
    align-items: center;
  }

  .footer_logos {
    margin-bottom: 14px;
    justify-content: center;
    gap: 14px;
  }

  .footer_logo img {
    height: 52px;
  }

  #copy {
    padding: 0;
  }
}
