@charset "UTF-8";
/**  =======================================================================
*
*  共通スタイル
*  上田城復元プロジェクト特設サイト
*
============================================================================*/
/**  =======================================================================
*
*  ベースリセット
*
============================================================================*/
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-weight: 400;
  background-color: #fff;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", Meiryo, sans-serif;
  color: #303030;
  line-height: 1.7;
  overflow-x: hidden;
}

html *,
body * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

a:visited {
  color: currentColor;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  font: inherit;
}

/**  =======================================================================
*
*  ユーティリティ
*
============================================================================*/
.fl-r {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.fl-c {
  display: flex;
  flex-direction: column;
}

.pc-p1080 {
  width: 90%;
  max-width: 67.5em;
  margin-left: auto;
  margin-right: auto;
}

.pc-w90 {
  width: 90%;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

@media all and (max-width: 48em) {
  .sp-w90 {
    /* SP時は個別の @media で制御 */
    width: 90%;
    max-width: 90%;
  }
}

.section {
  position: relative;
}

@media all and (max-width: 48em) {
  .pc {
    display: none !important;
  }
}

@media all and (min-width: 48.0625em) {
  .sp {
    display: none !important;
  }
}

/**  =======================================================================
*
*  ヘッダー
*
============================================================================*/
.com-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5.625em;
  flex-wrap: nowrap;
  z-index: 200;
  background: linear-gradient(to bottom, rgba(51, 51, 51, 0.16) 0%, rgba(26, 26, 26, 0.15) 60%, rgba(51, 51, 51, 0) 100%);
}

.com-header__inner {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0 2em;
  gap: 0;
}

/* ロゴ */
.com-header__logo {
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-right: auto;
}

.com-header__logo__link {
  align-items: center;
  gap: 0.75em;
  color: #fff;
  transition: opacity 0.3s ease;
}

.com-header__logo__link:hover {
  opacity: 0.8;
  color: #fff;
}

.com-header__logo__icon {
  width: 2.375em;
  height: 3.125em;
  flex-shrink: 0;
}

.com-header__logo__text {
  gap: 0.125em;
  flex-shrink: 0;
}

.com-header__logo__text__main {
  font-family: "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 1.125em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.com-header__logo__text__sub {
  font-family: "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 1.125em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

/* ナビゲーション */
.com-header__nav {
  flex: 0 1 auto;
  align-items: stretch;
  height: 100%;
  min-width: 0;
  margin-left: 1.5em;
  flex-wrap: nowrap;
  gap: 0;
}

.com-header__nav__item {
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  padding: 0 1.125em;
  height: 100%;
  min-width: 0;
  transition: background 0.3s ease;
  gap: 0.125em;
}

.com-header__nav__item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.com-header__nav__item__en {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.12em;
  line-height: 1;
}

.com-header__nav__item__ja {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
}

/* ハンバーガーボタン（SP） */
.com-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.75em;
  height: 2.75em;
  gap: 0.375em;
  margin-left: auto;
  flex-shrink: 0;
}

.com-header__hamburger__bar {
  display: block;
  width: 1.625em;
  height: 0.125em;
  background: #fff;
  border-radius: 0.125em;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.com-header__hamburger.is-open .com-header__hamburger__bar:nth-child(1) {
  transform: translateY(0.5em) rotate(45deg);
}

.com-header__hamburger.is-open .com-header__hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.com-header__hamburger.is-open .com-header__hamburger__bar:nth-child(3) {
  transform: translateY(-0.5em) rotate(-45deg);
}

@media all and (min-width: 87.5em) {
  .com-header__nav__item__en {
    font-size: 0.68rem;
  }
  .com-header__nav__item__ja {
    font-size: 1.0rem;
  }
}

@media all and (max-width: 82em) and (min-width: 48.0625em) {
  .com-header__logo__text__main,
  .com-header__logo__text__sub {
    font-size: 1em;
  }
}

@media all and (max-width: 75em) and (min-width: 48.0625em) {
  .com-header__inner {
    padding: 0 1.5em;
  }
  .com-header__nav {
    margin-left: 1em;
  }
  .com-header__nav__item {
    padding: 0 0.75em;
  }
  .com-header__nav__item__ja {
    font-size: 0.775rem;
  }
}

@media all and (max-width: 48em) {
  .com-header {
    height: 3.75em;
    background: linear-gradient(to bottom, rgba(51, 51, 51, 0.16) 0%, rgba(26, 26, 26, 0.15) 60%, rgba(51, 51, 51, 0) 100%);
  }
  .com-header__inner {
    padding: 0 1em;
  }
  .com-header__logo__icon {
    width: 1.75em;
    height: 2.25em;
  }
  .com-header__nav {
    display: none;
  }
  .com-header__hamburger {
    display: flex;
  }
}

/**  =======================================================================
*
*  ドロワーナビ（SP）
*
============================================================================*/
.com-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 18.75em;
  max-width: 85vw;
  height: 100%;
  background: #f0f0f0;
  z-index: 300;
  padding-top: 3.75em;
  transition: right 0.3s ease;
}

.com-drawer.is-open {
  right: 0;
}

.com-drawer__nav {
  padding: 1.5em 0;
}

.com-drawer__nav__item {
  padding: 1.125em 1.5em;
  border-bottom: 0.0625em solid rgba(255, 255, 255, 0.12);
  gap: 0.25em;
  transition: background 0.3s ease;
}

.com-drawer__nav__item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.com-drawer__nav__item .en {
  font-size: 0.55rem;
  color: #444;
  letter-spacing: 0.12em;
}

.com-drawer__nav__item .ja {
  font-size: 0.9rem;
  color: #222;
  letter-spacing: 0.02em;
}

/* ドロワー閉じるボタン */
.com-drawer__close {
  position: absolute;
  top: 0.625em;
  right: 0.75em;
  width: 2.5em;
  height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.0625em solid rgba(16, 16, 16, 0.45);
  color: #222;
  font-size: 1.375em;
  line-height: 1;
  background: transparent;
  transition: background 0.2s ease;
}

.com-drawer__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.com-drawer__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 250;
}

.com-drawer__overlay.is-open {
  display: block;
}

/**  =======================================================================
*
*  ファーストビュー（ヒーロー）
*
============================================================================*/
.top-fview {
  position: relative;
  width: 100%;
  height: 45em;
  overflow: hidden;
  background-color: #635928;
}

/* スライダー */
.top-fview__slider-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.top-fview__swiper {
  width: 100%;
  height: 100%;
}

.top-fview__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* テキストブロック */
.top-fview__text {
  position: absolute;
  left: 5%;
  bottom: 10%;
  z-index: 3;
  color: #fff;
  max-width: 32.5em;
  z-index: 50;
}

.top-fview__dot-screen {
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("../img/dot.png");
  background-size: 100px 100px;
  background-repeat: repeat;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: 10;
}

.top-fview__overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  background-color: rgba(99, 89, 40, 0.1);
}

.top-fview__bottom-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  z-index: 12;
  background: linear-gradient(to top, rgba(51, 51, 51, 0.4) 0%, rgba(51, 51, 51, 0.35) 45%, rgba(51, 51, 51, 0) 100%);
}

@media all and (min-width: 70.625em) {
  .top-fview__text {
    left: 4%;
  }
}

.top-fview__text__lead {
  font-family: "Zen Old Mincho", "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 2.375em;
  font-weight: 400;
  letter-spacing: 0.125em;
  line-height: 1.4;
  margin-bottom: 0;
  color: #fff;
}

.top-fview__text__title {
  font-family: "Zen Old Mincho", "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 2.375em;
  font-weight: 400;
  letter-spacing: 0.125em;
  line-height: 1.4;
  margin-bottom: .2em;
  color: #fff;
}

.top-fview__text__subtitle {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25em;
  font-weight: 500;
  margin-top: .35em;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
}

/* 波デコレーション */
.top-fview__wave {
  position: absolute;
  bottom: -0.1875em;
  left: 0;
  width: 100%;
  height: 2.5em;
  z-index: 4;
  line-height: 0;
  background-image: url("../img/nami_up_cream.png");
  background-repeat: repeat-x;
  z-index: 100;
}

@media all and (max-width: 48em) {
  .top-fview {
    height: 28em;
  }
  .top-fview__text {
    left: 5%;
    bottom: 12%;
    max-width: 92%;
  }
  .top-fview__text__lead {
    font-size: clamp(1.6125rem, 5vw, 2.375em);
  }
  .top-fview__text__title {
    font-size: clamp(1.25rem, 5vw, 2.375em);
  }
  .top-fview__text__subtitle {
    margin-top: .5em;
    font-size: clamp(0.5rem, 3.5vw, 1.25em);
  }
  .com-header__logo__text__main,
  .com-header__logo__text__sub {
    font-size: clamp(0.875em, 3.5vw, 1.125em);
  }
}

/**  =======================================================================
*
*  イントロダクション
*
============================================================================*/
.top-intro {
  position: relative;
  background-color: #f7f6f3;
  padding: 2.75em 0 5.5em;
}

.top-intro .section__inner {
  align-items: center;
  gap: 3%;
}

.top-intro__body {
  width: 52%;
  max-width: 52%;
  min-width: 0;
}

.top-intro__heading {
  font-family: "Zen Old Mincho", "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #303030;
  margin-bottom: .75em;
  letter-spacing: 0.04em;
}

.top-intro__text {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 2;
  color: #303030;
  margin-bottom: 1.25em;
}

.top-intro__text:last-child {
  margin-bottom: 0;
}

.top-intro__image {
  padding-top: 1em;
  width: 42.5%;
  margin-top: 0.5em;
}

.top-intro__image img {
  width: 100%;
  height: auto;
  border-radius: 0.25em;
  box-shadow: 0 0.25em 1.5em rgba(0, 0, 0, 0.15);
}

/* イントロ底辺 波模様 */
.top-intro__wave {
  position: absolute;
  bottom: -.5em;
  left: 0;
  height: 2.125em;
  width: 100%;
  z-index: 1;
  line-height: 0;
  background-image: url("../img/nami_small.png");
  background-repeat: repeat-x;
}

@media all and (max-width: 56.25em) {
  .top-intro {
    padding: 3.75em 0 4.375em;
  }
  .top-intro .section__inner {
    flex-direction: column;
    gap: 2em;
  }
  .top-intro__image {
    width: 100%;
    max-width: 30em;
    margin: 0 auto;
  }
  .top-intro__body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media all and (max-width: 48em) {
  .top-intro {
    padding: 3em 0 3.5em;
  }
}

/**  =======================================================================
*
*  3つのテーマ
*
============================================================================*/
.top-themes, .top-links {
  background-color: #ffffff;
  padding: 2em 0 2em;
}

.top-themes__heading {
  font-family: "Zen Old Mincho", "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: #303030;
  text-align: left;
  margin-bottom: 1.5em;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.top-themes__heading img{
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: -0.4em;}

.top-themes__heading__br {
  display: inline;
}

@media all and (max-width: 40em) {
  .top-themes__heading__br {
    display: block;
  }
}

.top-themes__cards {
  gap: 1.5em;
  justify-content: center;
}

/* カード */
.top-themes__card {
  position: relative;
  flex: 1 1 0;
  min-width: 15em;
  max-width: 20em;
  background: #efede8;
  border-radius: 0.25em;
  overflow: hidden;
  box-shadow: 0 0.125em 0.75em rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #303030;
}

.top-themes .section__inner .top-themes__card::after {
  content: "";
  position: absolute;
  right: 1.25em;
  bottom: 1.25em;
  width: 20%;
  aspect-ratio: 56.2 / 10.4;
  background: url("../img/arrow.svg") no-repeat center/contain;
  pointer-events: none;
}

.top-links .section__inner .top-themes__card::after {
font-size: 0.8em;
  content: "別ウインドウで開きます→";
  position: absolute;
  right: 1.25em;
  bottom: 1.25em;
  aspect-ratio: 56.2 / 10.4;
  pointer-events: none;
}

.top-themes__card:hover {
  transform: translateY(-0.25em);
  box-shadow: 0 0.5em 1.75em rgba(0, 0, 0, 0.14);
  color: #303030;
}

/* カード画像 */
.top-themes__card__image-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  padding: 0.75em 0.75em 0;
}

.top-themes__card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  object-position: center top;
}

.top-themes__card:hover .top-themes__card__image {
  transform: scale(1.04);
}

/* カード本文 */
.top-themes__card__body {
  flex: 1;
  padding: 0.8125em 1.25em 3em;
}

.top-themes__card__num {
  display: block;
  font-family: "Shippori Mincho", "游明朝", YuMincho, serif;
  font-size: 0.9375em;
  letter-spacing: 0.12em;
  margin-bottom: 0.25em;
  font-weight: 700;
}

.top-themes__card__title {
  font-family: "Shippori Mincho", "Zen Old Mincho", "游明朝", YuMincho, serif;
  font-size: clamp(1.375rem, 2vw, 1.5em);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.5em;
  color: #303030;
  letter-spacing: 0.02em;
}

.top-themes__card__text {
  font-size: 0.8rem;
  line-height: 1.85;
  color: #333;
  flex: 1;
}

@media all and (max-width: 56.25em) {
  .top-themes {
    padding: 3.75em 0 4.375em;
  }
  .top-themes__cards {
    gap: 1.25em;
  }
  .top-themes__card {
    min-width: 12.5em;
  }
}

@media all and (max-width: 48em) {
  .top-themes {
    padding: 3em 0 3.5em;
  }
  .top-themes__heading {
    font-size: 1.35rem;
    margin-bottom: 1em;
  }
  .top-themes__cards {
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }
  .top-themes__card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    min-width: 0;
    flex-direction: column;
  }
  .top-themes__card__image-wrap {
    width: 100%;
    aspect-ratio: 3 / 2;
    padding: 0.75em 0.75em 0;
  }
  .top-themes__card__body {
    padding: 0.875em 1em 2.5em;
  }
  .top-themes__card__text {
      margin-bottom: 1em;
}

}

/**  =======================================================================
*
*  フッター
*
============================================================================*/
.com-footer {
  background-color: #ebe9e5;
  padding: 3em 0 .75em;
}

.com-footer__inner {
  gap: 0;
  width: 100%;
}

/* フッターナビ */
.com-footer__nav,.com-footer__info {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: .5em;
  padding-bottom: 1.5em;
}

.com-footer__nav__item {
  font-size: 1rem;
  color: #303030;
  padding: 0.25em 1em;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.com-footer__nav__item:hover {
  color: #7a6830;
}

.com-footer__nav__sep {
  color: rgba(0, 0, 0, 0.3);
  font-size: 0.75rem;
}

/* フッター情報 */
.com-footer__info {
  width: fit-content;
  margin: 0 auto 1.25em;
/*  margin-bottom: 1.25em;*/
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.com-footer__info__org {
  font-size: 1rem;
  color: #303030;
  margin-bottom: 0.375em;
  line-height: 1.6;
    text-align: center;
}

.com-footer__info__address {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.25em;
    text-align: center;
}

.com-footer__info__tel {
  font-size: 1rem;
  color: #555;
    text-align: center
}

.com-footer__info__tel a {
  color: inherit;
}

@media all and (min-width: 48.0625em) {
  .com-footer__info__tel a {
    pointer-events: none;
    cursor: default;
  }
}

.com-footer__copyright {
  font-size: 1rem;
  color: #888;
  text-align: center;
  letter-spacing: 0.04em;
}

@media all and (max-width: 48em) {
  .com-footer {
    padding: 2.25em 0 1.5em;
  }
  .com-footer__nav {
    flex-direction: column;
    gap: 0.5em;
    align-items: center;
  }
  .com-footer__nav__sep {
    display: none;
  }
  .com-footer__nav__item {
    padding: 0.25em 0;
  }
}

/**  =======================================================================
*
*  Swiper カスタム
*
============================================================================*/
.top-fview__swiper .swiper-slide {
  overflow: hidden;
}

/**  =======================================================================
*
*  トップへ戻るボタン
*
============================================================================*/
.page-totop {
  position: fixed;
  bottom: 2.25em;
  right: 2em;
  width: 3em;
  height: 3em;
  background: rgba(122, 104, 48, 0.82);
  border-radius: 0.1875em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 600;
  opacity: 0;
  transform: translateY(0.75em);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}

.page-totop.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page-totop:hover {
  background: #7a6830;
}

.page-totop__icon {
  display: block;
  width: 1.125em;
  height: 1.125em;
}

@media all and (max-width: 48em) {
  .page-totop {
    bottom: 1.25em;
    right: 1em;
    width: 2.625em;
    height: 2.625em;
  }
}

/**  =======================================================================
*
*  スクロールフェードイン
*
============================================================================*/
.fade-in {
  opacity: 0;
  transform: translateY(1.5em);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.top-themes__card.fade-in:nth-child(1) {
  transition-delay: 0s;
}

.top-themes__card.fade-in:nth-child(2) {
  transition-delay: 0.12s;
}

.top-themes__card.fade-in:nth-child(3) {
  transition-delay: 0.24s;
}
