@charset "UTF-8";

/* 新磯公民館：標準的な下層ページ用 */

/* 利用のご案内 */
.contents {
  width: 700px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  text-align: left;
}

.contents h2,
.contents h3 {
  margin: 0 0 1em;
}

.contents h3 {
  margin-top: 2em;
}

.contents p {
  margin: 0 0 1.25em;
  line-height: 1.8;
}

.contents dl {
  margin: 0;
}

.contents dt {
  margin-top: 1em;
  font-weight: 700;
}

.contents dd {
  margin: 0.3em 0 0 1.2em;
  line-height: 1.8;
}

.emphasis {
  color: #d60000;
}

/* 所在地 */
.location-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.location-map img {
  display: block;
}

.location-info table {
  margin: 0 0 20px !important;
}

/* 施設案内 */
.facility-header {
  position: relative;
  min-height: 70px;
  text-align: center;
}

.facility-header>a {
  position: absolute !important;
  top: 0;
  right: 0;
}

/* 今月の発注本 */
.library-orders p {
  margin-left: 10px;
  line-height: 1.5;
}

.library-orders table {
  border-collapse: collapse;
  vertical-align: top;
}

.library-orders td,
.library-orders th,
.library-orders .book-cell {
  border: 0 !important;
}

.library-orders td {
  color: #000;
  font-family: "メイリオ", Meiryo, sans-serif;
}

.library-orders .waku2 {
  border: 0;
}

.library-orders .book-cell {
  height: 33px;
  font-family: "メイリオ", "細明朝体", serif;
  font-size: 12pt;
}

.library-orders .book-header {
  width: 35px;
  text-align: center;
  vertical-align: middle;
  background-color: #f2f2f2;
  color: #3f3f3f;
}

.library-orders .book-number {
  width: 22px;
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
  color: #3f3f3f;
}

.library-orders .book-title {
  width: 601px;
  padding-left: 10px;
  text-align: left;
  vertical-align: bottom;
  background-color: #fff;
}

.library-orders .book-author {
  width: 280px;
  padding-left: 10px;
  text-align: left;
  vertical-align: bottom;
  background-color: #fff;
}

/* 図書カレンダー */
.library-calendar-page {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.library-calendar-page>header img,
.library-calendar-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.library-calendar-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 4px;
  background-color: #fff;
}

.library-calendar-heading a {
  flex: 0 0 64px;
}

.library-calendar-heading a img {
  display: block;
  width: 64px;
  height: 70px;
}

.library-calendar-page footer {
  padding: 4px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

/* さがみはらネットワークシステム操作案内 */
.snet-manual-page {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.snet-manual-page>header img {
  display: block;
  max-width: 100%;
  height: auto;
}

.snet-manual-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px;
}

.snet-manual-heading>a {
  flex: 0 0 64px;
}

.snet-manual-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.snet-manual-pdf {
  margin: 8px 0 16px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 700;
}

.snet-manual-pdf a {
  color: #d60000;
}

.snet-manual-pages img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 16px;
}

.snet-manual-top {
  margin: 8px;
  text-align: right;
}

.snet-manual-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

/* 第三次新磯公民館振興計画 */
.promotion-plan-page {
  width: 1017px;
  max-width: 100%;
  margin: 0 auto;
}

.promotion-plan-page>header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.promotion-plan-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px;
}

.promotion-plan-heading>a {
  flex: 0 0 64px;
}

.promotion-plan-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.promotion-plan-notice {
  margin: 8px 0 16px;
  color: #d60000;
  text-align: center;
  font-size: 1.1em;
  font-weight: 700;
}

.promotion-plan-page h1 {
  margin: 16px 0 8px;
  font-size: 1.5em;
  text-align: left;
}

.promotion-plan-pages img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 24px;
}

.promotion-plan-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

/* 新磯公民館運営組織・組織図 */
.operation-organization-page {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.operation-organization-page>header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.operation-organization-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px;
}

.operation-organization-heading>a {
  flex: 0 0 64px;
}

.operation-organization-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.operation-organization-notice {
  margin: 8px 0 16px;
  color: #d60000;
  text-align: center;
  font-size: 1.1em;
  font-weight: 700;
}

.operation-organization-chart img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 16px;
}

.operation-organization-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

/* 保育解放 */
.childcare-news-page {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.childcare-news-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.childcare-news-heading>img {
  max-width: calc(100% - 88px);
  height: auto;
}

.childcare-news-heading>a {
  flex: 0 0 64px;
}

.childcare-news-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.childcare-news-notice {
  margin: 8px 0 16px;
  text-align: center;
  font-weight: 700;
}

.childcare-news-file img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 16px;
}

.childcare-news-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .childcare-news-heading {
    gap: 8px;
  }

  .childcare-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .childcare-news-list article {
    padding: 8px;
  }

  .childcare-news-notice {
    padding: 0 8px;
    text-align: left;
  }

  /* スマホでは、館報ロゴと戻るボタンを確実に横幅内へ収める */
  .childcare-news-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 8px;
    padding: 8px;
  }

  .childcare-news-heading>img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
  }

  .childcare-news-heading>a {
    display: block;
    width: 64px;
  }

  .childcare-news-heading>a img {
    display: block;
    width: 64px;
    height: 70px;
  }
}

/* 新磯公民館運営協議会 */
.management-council-page {
  width: 840px;
  max-width: 100%;
  margin: 0 auto;
}

.management-council-page>header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.management-council-heading {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 12px 8px;
  text-align: center;
}

.management-council-year {
  margin: 0;
  color: #009900;
  font-size: 2em;
  font-weight: 700;
}

.management-council-heading h1 {
  margin: 4px 0 0;
  font-size: 1.6em;
}

.management-council-heading>a {
  flex: 0 0 64px;
}

.management-council-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.management-council-records {
  padding: 16px;
  text-align: center;
}

.management-council-current {
  margin: 0 0 16px;
  font-size: 1.3em;
  font-weight: 700;
}

.management-council-archive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.management-council-archive img {
  max-width: 100%;
  height: auto;
}

.management-council-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

/* 利用団体協議会 */
.user-group-council-page {
  width: 828px;
  max-width: 100%;
  margin: 0 auto;
}

.user-group-council-page>header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.user-group-council-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 8px;
}

.user-group-council-title {
  flex: 1 1 auto;
  text-align: center;
}

.user-group-council-title h1 {
  margin: 0;
  font-size: 2em;
  font-weight: 400;
}

.user-group-council-title p {
  margin: 8px 0 0;
}

.user-group-council-circle {
  flex: 0 0 106px;
}

.user-group-council-home {
  flex: 0 0 64px;
}

.user-group-council-circle img,
.user-group-council-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.user-group-council-pdf img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 16px;
}

.user-group-council-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

/* サークル紹介 */
.circle-introduction-page {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}

.circle-introduction-page>header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.circle-introduction-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 8px;
}

.circle-introduction-heading>img {
  max-width: calc(100% - 88px);
  height: auto;
}

.circle-introduction-heading>a {
  flex: 0 0 64px;
}

.circle-introduction-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.circle-introduction-toc-title {
  margin: 0;
  padding: 5px;
  background-color: #666;
  color: #fff;
  font-size: 1em;
  text-align: center;
}

.circle-introduction-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 16px;
  background-color: #fff;
}

.circle-introduction-nav a {
  padding: 8px 12px;
}

.circle-introduction-notice {
  color: #d60000;
  font-size: 1.1em;
  font-weight: 700;
  text-align: center;
}

.circle-introduction-caution {
  text-align: center;
}

.circle-section {
  margin: 24px 0;
  scroll-margin-top: 12px;
}

.circle-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #d60000;
  font-size: 1.8em;
}

.circle-section h2 img {
  width: 86px;
  height: 86px;
}

.circle-section>a>img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.circle-page-top {
  margin: 4px 0 0;
  text-align: right;
}

.circle-page-top img {
  vertical-align: middle;
}

.circle-introduction-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    min-width: 0 !important;
    margin: 0;
    overflow-x: hidden;
  }

  body {
    padding-right: 8px;
    padding-left: 8px;
  }

  .contents {
    width: 100% !important;
    padding: 16px 12px;
  }

  body>center,
  body>.wrap,
  body>div[align="center"] {
    display: block;
    width: 100% !important;
  }

  body>center>table,
  body>.wrap>table,
  body>div[align="center"]>table,
  body>center table,
  body>.wrap table,
  body>div[align="center"] table {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  body>center td,
  body>.wrap td,
  body>div[align="center"] td {
    height: auto !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }

  body>center>table:nth-of-type(2) td,
  body>.wrap>table:nth-of-type(2) td,
  body>div[align="center"]>table:nth-of-type(2) td {
    line-height: 1.75;
  }

  a img[width="64"] {
    width: 64px !important;
    max-width: 64px !important;
  }

  .location-layout {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .location-map img {
    margin: 0 auto;
  }

  .location-info table {
    width: auto !important;
    max-width: 100%;
    margin: 0 auto !important;
  }

  .facility-header {
    min-height: 0;
  }

  .facility-header>a {
    position: static !important;
    display: block;
    width: 64px;
    margin: 8px 0 8px auto;
  }

  .report-list td:first-child {
    width: 72px !important;
  }

  .report-list td:first-child img {
    width: 60px !important;
    max-width: none !important;
    height: auto !important;
  }

  .library-menu,
  .library-menu tbody {
    display: block !important;
    width: 100% !important;
  }

  .library-menu tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-menu td {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    text-align: center !important;
  }

  .library-menu td img {
    max-width: 100% !important;
    height: auto !important;
  }

  .library-feature {
    display: block !important;
    width: 100% !important;
  }

  .library-feature>td {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    text-align: center !important;
  }

  .library-feature .hpb-photomotion,
  .library-feature .camera_wrap,
  .library-feature .camera_target {
    width: 100% !important;
    max-width: 100% !important;
  }

  .library-orders .book-list {
    display: table !important;
    table-layout: fixed;
    width: 100% !important;
    max-width: 100% !important;
  }

  .library-orders .book-list td {
    height: auto !important;
    padding: 6px 4px !important;
    font-size: 14px !important;
    line-height: 1.5;
    vertical-align: top !important;
    overflow-wrap: anywhere;
  }

  .library-orders .book-list td:nth-child(1) {
    width: 2.5em !important;
    text-align: center !important;
  }

  .library-orders .book-list td:nth-child(2) {
    width: auto !important;
  }

  .library-orders .book-list td:nth-child(3) {
    width: 7em !important;
  }

  .library-calendar-page,
  .snet-manual-page {
    width: 100%;
  }

  .library-calendar-heading,
  .snet-manual-heading,
  .promotion-plan-heading,
  .operation-organization-heading,
  .childcare-news-heading,
  .management-council-heading {
    gap: 8px;
  }

  .library-calendar-heading {
    padding: 4px;
  }

  .library-calendar-heading>img {
    width: min(349px, calc(100% - 72px));
    height: auto;
  }

  .snet-manual-heading>img {
    width: min(466px, calc(100% - 72px));
    height: auto;
  }

  .snet-manual-pdf {
    padding: 0 8px;
    text-align: left;
  }

  .promotion-plan-heading>img {
    width: min(398px, calc(100% - 72px));
    height: auto;
  }

  .promotion-plan-notice,
  .operation-organization-notice {
    padding: 0 8px;
    text-align: left;
  }

  .promotion-plan-page h1 {
    padding: 0 8px;
  }

  .operation-organization-heading>img {
    width: min(301px, calc(100% - 72px));
    height: auto;
  }

  .childcare-news-heading {
    padding: 0 4px;
  }

  .childcare-news-notice {
    padding: 0 8px;
    text-align: left;
  }

  .management-council-year {
    font-size: 1.5em;
  }

  .management-council-heading h1 {
    font-size: 1.2em;
  }

  .management-council-records {
    padding: 12px 8px;
  }

  .management-council-current {
    text-align: left;
  }

  .management-council-archive {
    display: flex;
    flex-direction: column;
  }

  .management-council-archive img:first-child {
    width: 84px;
  }

  .user-group-council-heading {
    flex-wrap: wrap;
    gap: 8px;
  }

  .user-group-council-title {
    flex-basis: 100%;
  }

  .user-group-council-title h1 {
    font-size: 1.6em;
  }

  .user-group-council-title p {
    text-align: left;
  }

  /* サークル紹介 */
  html,
  body.circle-introduction {
    min-width: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
  }

  body.circle-introduction>main.circle-introduction-page {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 8px !important;
  }

  body.circle-introduction>main.circle-introduction-page table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.circle-introduction>main.circle-introduction-page img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 見出し画像と戻るボタンを画面幅内へ固定 */
  .circle-introduction-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px;
    align-items: center;
    gap: 8px;
    padding: 8px;
  }

  .circle-introduction-heading>img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    height: auto !important;
  }

  .circle-introduction-heading>a {
    display: block;
    width: 64px;
  }

  .circle-introduction-heading>a img {
    display: block;
    width: 64px !important;
    max-width: 64px !important;
    height: 70px !important;
  }

  .circle-introduction-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .circle-introduction-nav a {
    border: 1px solid #ccc;
  }

  .circle-introduction-notice,
  .circle-introduction-caution {
    padding: 0 8px;
    text-align: left;
  }

  .circle-section {
    margin: 20px 0;
  }

  .circle-section h2 {
    padding: 0 8px;
    font-size: 1.35em;
  }

  .circle-section h2 img {
    width: 56px;
    height: 56px;
  }

  .circle-page-top {
    padding: 0 8px;
  }
}

/* 利用団体関係の届出 */
.application-forms-page {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.application-forms-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px;
}

.application-forms-heading h1 {
  margin: 0;
  font-size: 1.8em;
}

.application-forms-heading>a {
  flex: 0 0 64px;
}

.application-forms-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.application-forms-intro,
.application-forms-list {
  margin: 0 0 16px;
  padding: 16px;
  background-color: #fff;
}

.application-forms-intro h2 {
  margin: 0 0 12px;
  color: #c00;
  font-size: 1.4em;
}

.application-forms-intro p {
  margin: 0 0 12px;
  line-height: 1.8;
}

.application-forms-intro p:last-child {
  margin-bottom: 0;
}

.application-forms-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.application-forms-list li+li {
  margin-top: 10px;
}

.application-forms-list a {
  display: block;
  padding: 12px;
  border: 1px solid #777;
  background-color: #fff;
  color: #0645ad;
  font-weight: 700;
  line-height: 1.5;
}

.application-forms-list a:hover {
  background-color: #f3f8ff;
}

.application-forms-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .application-forms-heading {
    gap: 8px;
  }

  .application-forms-heading h1 {
    font-size: 1.35em;
  }

  .application-forms-intro,
  .application-forms-list {
    padding: 12px;
  }
}

/* 新磯公民館報 */
.public-hall-news-page {
  width: 896px;
  max-width: 100%;
  margin: 0 auto;
}

.public-hall-news-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px;
}

.public-hall-news-heading>img {
  max-width: calc(100% - 88px);
  height: auto;
}

.public-hall-news-heading>a {
  flex: 0 0 64px;
}

.public-hall-news-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.public-hall-news-notice {
  margin: 8px 0 16px;
  color: #ff5402;
  text-align: center;
  font-weight: 700;
}

.public-hall-news-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.public-hall-news-list article {
  padding: 12px;
  background-color: #fff;
  text-align: center;
}

.public-hall-news-date {
  margin: 0 0 8px;
  font-weight: 700;
}

.public-hall-news-list h1 {
  margin: 0 0 8px;
  font-size: 1.3em;
}

.public-hall-news-list img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.public-hall-news-page footer {
  margin-top: 16px;
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .public-hall-news-heading {
    gap: 8px;
  }

  .public-hall-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .public-hall-news-list article {
    padding: 8px;
  }

  .public-hall-news-notice {
    padding: 0 8px;
    text-align: left;
  }

  /* スマホでは、館報ロゴと戻るボタンを確実に横幅内へ収める */
  .public-hall-news-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 8px;
    padding: 8px;
  }

  .public-hall-news-heading>img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
  }

  .public-hall-news-heading>a {
    display: block;
    width: 64px;
  }

  .public-hall-news-heading>a img {
    display: block;
    width: 64px;
    height: 70px;
  }
}

/* 新磯コンシェルジュ */
.concierge-content {
  width: 860px;
  max-width: 100%;
  margin: 0 auto;
}

.concierge-top-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.concierge-top-images img {
  display: block;
  max-width: 100%;
  height: auto;
}

.concierge-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 8px;
}

.concierge-heading>img {
  max-width: calc(100% - 80px);
  height: auto;
}

.concierge-heading>a {
  flex: 0 0 64px;
}

.concierge-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.concierge-article {
  margin: 16px 0;
  padding: 20px;
  background-color: #ecf5ef;
}

.concierge-article h1 {
  margin: 0 0 16px;
  color: #0000cc;
  font-size: 1.8em;
  text-align: center;
}

.concierge-article h2 {
  margin: 20px 0 12px;
  color: #0000cc;
  font-size: 1.2em;
  text-align: center;
}

.concierge-article p {
  line-height: 1.8;
}

.concierge-heritage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
}

.concierge-heritage-side figure {
  margin: 0 0 16px;
  text-align: center;
}

.concierge-heritage-side img {
  max-width: 100%;
  height: auto;
}

.concierge-heritage-side figcaption {
  margin-top: 4px;
  font-weight: 700;
}

.concierge-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.concierge-gallery img {
  max-width: 100%;
  height: auto;
}

.concierge-festival h1 {
  color: #f00;
}

.concierge-festival h1 img {
  vertical-align: middle;
}

.concierge-festival-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  align-items: center;
  gap: 20px;
}

.concierge-festival-details ul {
  margin: 0;
  padding-left: 1.5em;
  line-height: 2;
  font-weight: 700;
}

.concierge-important {
  color: #f00;
}

.concierge-festival-details>img {
  max-width: 100%;
  height: auto;
}

.concierge-page-top {
  margin: 8px;
  text-align: right;
}

.concierge-page-top img {
  vertical-align: middle;
}

.concierge-content footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .concierge-top-images {
    gap: 4px;
  }

  .concierge-heading {
    gap: 8px;
  }

  .concierge-article {
    padding: 12px;
  }

  .concierge-article h1 {
    font-size: 1.4em;
  }

  .concierge-heritage,
  .concierge-festival-details {
    grid-template-columns: 1fr;
  }

  .concierge-gallery {
    flex-direction: column;
  }

  .concierge-festival-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .concierge-festival-gallery img:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* ビッグイベント */
.big-event-page {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.big-event-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px;
}

.big-event-heading>img {
  max-width: calc(100% - 88px);
  height: auto;
}

.big-event-heading>a {
  flex: 0 0 64px;
}

.big-event-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.big-event-intro {
  margin: 8px 0 16px;
  padding: 0 16px;
  text-align: center;
  line-height: 1.7;
}

.big-event-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.big-event-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #777;
  background-color: #fff;
  text-align: center;
  font-weight: 700;
}

.big-event-nav img {
  max-width: 100%;
  height: auto;
}

.big-event-section {
  margin: 24px 0;
  padding: 16px;
  border-top: 3px solid #666;
  background-color: rgba(255, 255, 255, 0.8);
  scroll-margin-top: 12px;
}

.big-event-section h1 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 1.6em;
}

.big-event-section h1 small {
  font-size: 0.6em;
  font-weight: 400;
}

.big-event-section p {
  line-height: 1.8;
}

.big-event-carousel,
.big-event-slideshow {
  max-width: 100%;
  margin: 16px auto;
}

.big-event-carousel img {
  max-width: 100%;
  height: auto;
}

.big-event-thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.big-event-thumbnails img {
  width: 100px;
  height: auto;
}

.big-event-important {
  color: #d60000;
  font-weight: 700;
  text-align: center;
}

.big-event-select-note {
  text-align: center;
  font-weight: 700;
}

.zaru-gallery {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.zaru-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.zaru-thumbnails button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.zaru-thumbnails img,
#zaru-main-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.big-event-top {
  margin: 12px 0 0;
  text-align: right;
}

.big-event-page footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .big-event-heading {
    gap: 8px;
  }

  .big-event-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .big-event-nav a {
    flex-direction: row;
    justify-content: center;
  }

  .big-event-nav img {
    max-height: 72px;
    width: auto;
  }

  .big-event-intro {
    padding: 0 8px;
    text-align: left;
  }

  .big-event-section {
    padding: 12px;
  }

  .big-event-section h1 {
    font-size: 1.3em;
  }

  .zaru-gallery {
    grid-template-columns: 1fr;
  }

  .zaru-thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }

  .big-event-top {
    padding: 0 8px;
  }
}

/* ビッグイベント：縄文まつりスライドショーのPC表示を固定 */
.big-event-slideshow {
  width: 500px;
  max-width: 100%;
  margin: 16px auto;
  overflow: hidden;
}

.big-event-slideshow .camera_wrap,
.big-event-slideshow .camera_target,
.big-event-slideshow .camera_target_content {
  width: 500px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* Cameraが出してしまう右側の小サムネイルを非表示にする */
.big-event-slideshow .camera_thumbs_cont,
.big-event-slideshow .camera_thumbs,
.big-event-slideshow .camera_thumbs_cont ul {
  display: none !important;
}

@media screen and (max-width: 768px) {

  .big-event-slideshow,
  .big-event-slideshow .camera_wrap,
  .big-event-slideshow .camera_target,
  .big-event-slideshow .camera_target_content {
    width: 100% !important;
  }
}

.big-event-site-header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* 地域の名所 */
.places-content {
  width: 860px;
  max-width: 100%;
  margin: 0 auto;
}

.places-header>img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.places-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 8px;
  text-align: center;
}

.places-heading h1 {
  margin: 0;
  font-size: 1.8em;
}

.places-heading p {
  margin: 8px 0 0;
  font-weight: 700;
}

.places-heading>a {
  flex: 0 0 64px;
}

.places-heading>a img {
  display: block;
  width: 64px;
  height: 70px;
}

.places-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 16px;
  background-color: #fff;
}

.places-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 8px;
  border: 1px solid #aaa;
  background-color: #fff;
  font-weight: 700;
}

.places-nav a:last-child {
  grid-column: 1 / -1;
  justify-content: center;
}

.places-nav img {
  flex: 0 0 auto;
}

.places-map {
  margin: 0 0 16px;
}

.places-map img,
.places-document img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.places-section {
  margin: 20px 0;
  padding: 20px;
  background-color: #ecf5ef;
  scroll-margin-top: 12px;
}

.places-section h2 {
  margin: 0 0 16px;
  color: #063;
  font-size: 1.5em;
  text-align: center;
}

.places-section p,
.places-list {
  line-height: 1.8;
}

.places-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.places-photo-grid figure {
  margin: 0;
  text-align: center;
}

.places-photo-grid img {
  max-width: 100%;
  height: auto;
}

.places-photo-grid figcaption {
  margin-top: 4px;
  line-height: 1.5;
}

.places-three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.places-info-grid,
.places-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.places-split img,
.places-center-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.places-list {
  margin: 16px 0;
}

.places-audio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  text-align: center;
}

.places-audio p {
  margin: 0 0 8px;
}

.places-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin: 16px 0 0;
}

.places-content footer {
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .places-heading {
    gap: 8px;
  }

  .places-heading h1 {
    font-size: 1.4em;
  }

  .places-heading p {
    text-align: left;
  }

  .places-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .places-nav a {
    min-height: 56px;
    font-size: 0.9em;
  }

  .places-nav a:last-child {
    grid-column: auto;
    justify-content: flex-start;
  }

  .places-section {
    padding: 12px;
  }

  .places-section h2 {
    font-size: 1.25em;
  }

  .places-photo-grid,
  .places-three-columns,
  .places-info-grid,
  .places-split {
    grid-template-columns: 1fr;
  }

  .places-split img {
    order: -1;
  }

  .places-actions {
    justify-content: space-between;
    gap: 8px;
    font-size: 0.9em;
  }

  .places-audio {
    flex-direction: column;
  }
}

/* 歩こう */
.walk-content {
  width: 1025px;
  max-width: 100%;
  margin: 0 auto;
}

.walk-content>header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.walk-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 8px 0;
}

.walk-heading>img {
  width: 252px;
  max-width: 100%;
  height: auto;
}

.walk-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.walk-links a img,
.walk-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.walk-home {
  flex: 0 0 64px;
}

.walk-home img {
  width: 64px;
  height: 70px;
}

.walk-notice {
  margin: 4px 0 16px;
  text-align: center;
  font-size: 0.9em;
  font-weight: 700;
}

.walk-map {
  margin: 0;
}

.walk-map img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.walk-content footer {
  margin-top: 16px;
  padding: 6px 8px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .walk-heading {
    flex-wrap: wrap;
    gap: 8px;
  }

  .walk-heading>img {
    flex-basis: auto;
    width: 280px !important;
    max-width: 85% !important;
    height: auto !important;
    margin: 0 auto;
  }

  .walk-links {
    gap: 8px;
  }

  .walk-notice {
    padding: 0 8px;
    text-align: left;
  }
}

@media screen and (max-width: 768px) {
  .walk-heading>img {
    flex-basis: auto;
    width: 280px !important;
    max-width: 85% !important;
    margin: 0 auto;
  }
}

/* 勝坂アルプス */
.walk-alps-page {
  width: 803px;
  max-width: 100%;
  margin: 0 auto;
}

.walk-alps-site-header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.walk-alps-introduction {
  padding: 18px 34px;
  background-color: #fbce92;
}

.walk-alps-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.walk-alps-heading h1 {
  margin: 0;
  font-size: 1.8rem;
}

.walk-alps-heading a {
  flex: 0 0 64px;
}

.walk-alps-heading a img {
  display: block;
  width: 64px;
  height: 70px;
}

.walk-alps-introduction p {
  margin: 1em 0 0;
  line-height: 1.8;
}

.walk-alps-main-photo {
  margin: 0;
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

.walk-alps-main-photo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.walk-alps-course {
  padding: 20px;
  background-color: #fff;
}

.walk-alps-step {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid #d0d0d0;
}

.walk-alps-step-reverse {
  flex-direction: row-reverse;
}

.walk-alps-step img {
  display: block;
  flex: 0 0 340px;
  width: 340px;
  max-width: 48%;
  height: auto;
}

.walk-alps-step div {
  flex: 1;
}

.walk-alps-step h2 {
  margin: 0 0 0.7em;
  font-size: 1.25rem;
}

.walk-alps-step p {
  margin: 0;
  line-height: 1.8;
}

.walk-alps-top {
  margin: 0;
  padding: 16px;
  text-align: right;
  background-color: #fff;
}

.walk-alps-page footer {
  padding: 7px 10px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {

  .walk-alps-introduction,
  .walk-alps-course {
    padding: 16px 12px;
  }

  .walk-alps-heading h1 {
    font-size: 1.45rem;
  }

  .walk-alps-step,
  .walk-alps-step-reverse {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .walk-alps-step img {
    width: 340px;
    max-width: 100%;
  }

  .walk-alps-step div {
    width: 100%;
  }

  .walk-alps-step h2 {
    font-size: 1.1rem;
  }
}

/* 相模川散策路 */
.walk-river-page {
  width: 803px;
  max-width: 100%;
  margin: 0 auto;
}

.walk-river-site-header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.walk-river-introduction {
  position: relative;
  padding: 18px 34px;
  background-color: #fbce92;
}

.walk-river-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.walk-river-heading h1 {
  margin: 0;
  font-size: 1.7rem;
  text-align: center;
}

.walk-river-heading h1 span {
  font-size: 1.1rem;
}

.walk-river-heading a {
  flex: 0 0 64px;
}

.walk-river-heading a img {
  display: block;
  width: 64px;
  height: 70px;
}

.walk-river-introduction p {
  margin: 1em 0 0;
  line-height: 1.8;
}

.walk-river-decoration {
  display: block;
  margin: 8px 0 0 auto;
}

.walk-river-section {
  padding: 20px;
  background-color: #fff;
}

.walk-river-section h2 {
  margin: 0 0 14px;
  padding: 10px 12px;
  background-color: #fff;
  border-left: 6px solid #4d9b52;
  font-size: 1.25rem;
}

.walk-river-section h2 img {
  vertical-align: middle;
}

.walk-river-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.walk-river-description,
.walk-river-gallery figure {
  margin: 0;
  padding: 10px;
  background-color: #f7f7f7;
}

.walk-river-description p {
  margin: 8px 0 0;
  line-height: 1.7;
}

.walk-river-gallery figure {
  text-align: center;
}

.walk-river-gallery figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.walk-river-gallery figcaption {
  margin-top: 7px;
  font-size: 0.9rem;
  text-align: left;
}

.walk-river-top {
  margin: 0;
  padding: 16px;
  background-color: #fff;
  text-align: right;
}

.walk-river-page footer {
  padding: 7px 10px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {

  .walk-river-introduction,
  .walk-river-section {
    padding: 16px 12px;
  }

  .walk-river-heading h1 {
    font-size: 1.4rem;
  }

  .walk-river-heading h1 span {
    font-size: 0.95rem;
  }

  .walk-river-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .walk-river-description,
  .walk-river-gallery figure {
    padding: 12px;
  }
}

/* ボランティア募集 */
.volunteer-content {
  width: 803px;
  max-width: 100%;
  margin: 0 auto;
}

.volunteer-site-header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.volunteer-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 20px;
  background-color: #fff;
}

.volunteer-heading-decoration {
  width: 49px;
  height: auto;
}

.volunteer-title {
  display: block;
  width: 328px;
  max-width: 55%;
  height: auto;
}

.volunteer-heading a {
  flex: 0 0 64px;
}

.volunteer-heading a img {
  display: block;
  width: 64px;
  height: 70px;
}

.volunteer-recruitment {
  margin-top: 20px;
  padding: 20px;
  background-color: #fff;
}

.volunteer-recruitment-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.volunteer-recruitment-heading img {
  width: 45px;
  height: 30px;
}

.volunteer-recruitment-heading h1,
.volunteer-recruitment-heading h2 {
  margin: 0;
  font-size: 1.4rem;
}

.volunteer-recruitment-heading span {
  font-size: 1rem;
  font-weight: 400;
}

.volunteer-recruitment-main {
  display: flex;
  align-items: center;
  gap: 24px;
}

.volunteer-recruitment-text {
  flex: 1;
}

.volunteer-recruitment-text p {
  margin: 0 0 1em;
  line-height: 1.8;
}

.volunteer-recruitment-text p:last-child {
  margin-bottom: 0;
}

.volunteer-recruitment-main>img {
  display: block;
  flex: 0 1 304px;
  max-width: 45%;
  height: auto;
}

.volunteer-details {
  margin: 20px 0 0;
  border-top: 1px solid #999;
  border-left: 1px solid #999;
}

.volunteer-details div {
  display: grid;
  grid-template-columns: 10em 1fr;
}

.volunteer-details dt,
.volunteer-details dd {
  margin: 0;
  padding: 10px;
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
  line-height: 1.7;
}

.volunteer-details dt {
  background-color: #ffffcc;
  text-align: center;
  font-weight: 700;
}

.volunteer-details dd {
  background-color: #ffffcc;
}

.volunteer-content footer {
  margin-top: 20px;
  padding: 7px 10px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .volunteer-heading {
    gap: 10px;
    padding: 10px 8px;
  }

  .volunteer-heading-decoration {
    display: none;
  }

  .volunteer-title {
    width: 250px !important;
    max-width: calc(100% - 74px) !important;
  }

  .volunteer-recruitment {
    margin-top: 12px;
    padding: 16px 12px;
  }

  .volunteer-recruitment-main {
    flex-direction: column;
    align-items: center;
  }

  .volunteer-recruitment-main>img {
    max-width: 100%;
  }

  .volunteer-details div {
    grid-template-columns: 7em 1fr;
  }

  .volunteer-details dt,
  .volunteer-details dd {
    padding: 8px;
  }
}

@media screen and (max-width: 768px) {
  .volunteer-recruitment-main>img.volunteer-photo {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ホームページ協力員の写真：元画像の縦横比を必ず保つ */
.volunteer-page .volunteer-recruitment-main>img.volunteer-photo-hp,
.volunteer-page .volunteer-recruitment-main>img[src="hpkyouryoku.png"] {
  display: block !important;
  width: min(301px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 440 / 280 !important;
  object-fit: contain !important;
  margin: 0 auto;
}

/* 広報部の写真 */
.volunteer-page .volunteer-recruitment-main>img.volunteer-photo-kouhou,
.volunteer-page .volunteer-recruitment-main>img[src="kouhou.png"] {
  display: block !important;
  width: min(304px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 auto;
}

/* リンク */
.links-content {
  width: 803px;
  max-width: 100%;
  margin: 0 auto;
}

.links-site-header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.links-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 20px;
  background-color: #fff;
  text-align: center;
}

.links-heading h1 {
  margin: 0 0 0.5em;
  font-size: 1.8rem;
}

.links-heading p {
  margin: 0;
  line-height: 1.7;
}

.links-heading a {
  flex: 0 0 64px;
}

.links-heading a img {
  display: block;
  width: 64px;
  height: 70px;
}

.links-list {
  display: grid;
  gap: 12px;
  padding: 20px;
  background-color: #fff;
}

.links-list a {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 10px 18px;
  border: 1px solid #aaa;
  background-color: #ffffe0;
  color: #0645ad;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.links-list a:hover,
.links-list a:focus {
  background-color: #fff6a8;
  text-decoration: underline;
}

.links-list img {
  display: block;
  flex: 0 0 110px;
  max-width: 110px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.links-content footer {
  padding: 7px 10px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .links-heading {
    gap: 10px;
    padding: 16px 10px;
  }

  .links-heading h1 {
    font-size: 1.5rem;
  }

  .links-heading p {
    font-size: 0.95rem;
  }

  .links-list {
    padding: 12px;
  }

  .links-list a {
    gap: 12px;
    min-height: 68px;
    padding: 8px 10px;
    font-size: 1rem;
  }

  .links-list img {
    flex-basis: 78px;
    max-width: 78px;
    max-height: 54px;
  }
}

/* 新磯さくら */
.character-content {
  width: 803px;
  max-width: 100%;
  margin: 0 auto;
}

.character-site-header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.character-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 22px 20px;
  background-color: #fff;
}

.character-heading h1 {
  margin: 0;
  text-align: center;
  font-size: 1.6rem;
}

.character-heading h1 span {
  color: #d53a70;
  font-size: 2.4rem;
}

.character-heading a {
  flex: 0 0 64px;
}

.character-heading a img {
  display: block;
  width: 64px;
  height: 70px;
}

.character-introduction,
.character-feature,
.character-review,
.character-gallery-section {
  padding: 20px;
  background-color: #fff;
}

.character-introduction p {
  margin: 0 0 0.8em;
  line-height: 1.8;
}

.character-introduction p:last-child {
  margin-bottom: 0;
}

.character-feature {
  text-align: center;
}

.character-main-image {
  display: inline-block;
  width: 500px;
  max-width: 75%;
  height: auto;
  vertical-align: middle;
}

.character-balloon {
  display: inline-block;
  width: 126px;
  max-width: 22%;
  height: auto;
  vertical-align: top;
}

.character-feature ul {
  display: inline-block;
  margin: 16px 0 0;
  padding-left: 1.5em;
  text-align: left;
  line-height: 1.8;
}

.character-review {
  padding-top: 0;
}

.character-review h2,
.character-gallery-section h2 {
  margin: 0 0 12px;
  padding: 10px;
  border-left: 6px solid #e3709a;
  background-color: #fff4f7;
  font-size: 1.25rem;
}

.character-review p {
  margin: 0;
  padding: 14px;
  border: 1px solid #aaa;
  line-height: 1.8;
}

.character-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.character-gallery li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 175px;
  padding: 10px 5px;
  border: 1px solid #aaa;
  background-color: #fff;
  text-align: center;
}

.character-gallery img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 133px;
  max-height: 133px;
  object-fit: contain;
}

.character-gallery span {
  margin-top: 8px;
  font-size: 0.9rem;
}

.character-content footer {
  padding: 7px 10px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .character-heading {
    gap: 10px;
    padding: 16px 10px;
  }

  .character-heading h1 {
    font-size: 1.25rem;
  }

  .character-heading h1 span {
    font-size: 2.00rem;
  }

  .character-introduction,
  .character-feature,
  .character-review,
  .character-gallery-section {
    padding: 16px 12px;
  }

  .character-main-image {
    display: block;
    width: 500px !important;
    max-width: 100%;
    margin: 0 auto;
  }

  .character-balloon {
    display: block;
    width: 126px !important;
    max-width: 100%;
    margin: 10px auto 0;
  }

  .character-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .character-gallery li {
    min-height: 145px;
    padding: 8px 3px;
  }

  .character-gallery img {
    height: 110px;
    max-height: 110px;
  }

  .character-gallery span {
    font-size: 0.78rem;
  }
}

/* 気になる風景 */
.scenery-content {
  width: 803px;
  max-width: 100%;
  margin: 0 auto;
}

.scenery-site-header img {
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.scenery-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 20px;
}

.scenery-heading>img {
  display: block;
  width: 280px;
  max-width: calc(100% - 100px);
  height: auto;
}

.scenery-heading a {
  flex: 0 0 64px;
}

.scenery-heading a img {
  display: block;
  width: 64px;
  height: 70px;
}

.scenery-gallery {
  padding: 16px 20px 24px;
  background-color: #fff;
  text-align: center;
}

.scenery-message {
  margin: 0;
  color: #d60000;
  font-size: 1.2rem;
  line-height: 1.7;
}

.scenery-guide {
  margin: 12px 0 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.scenery-thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.scenery-thumbnails button {
  display: block;
  padding: 3px;
  border: 2px solid transparent;
  background-color: transparent;
  cursor: pointer;
}

.scenery-thumbnails button:hover,
.scenery-thumbnails button:focus,
.scenery-thumbnails button.is-selected {
  border-color: #e85a9b;
}

.scenery-thumbnails img {
  display: block;
  width: 100px;
  height: 70px;
  object-fit: cover;
}

.scenery-main-photo {
  margin: 0;
}

.scenery-main-photo img {
  display: block;
  width: 600px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.scenery-content footer {
  padding: 7px 10px;
  background-color: #ffd9fd;
  text-align: right;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .scenery-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    align-items: center;
    gap: 8px;
    padding: 10px;
  }

  .scenery-heading>img {
    width: 240px !important;
    max-width: 100% !important;
    height: auto !important;
    justify-self: center;
  }

  .scenery-heading a {
    width: 64px;
    justify-self: end;
    align-self: center;
  }

  .scenery-heading a img {
    width: 64px !important;
    height: 70px !important;
  }
}