.spinner {
  width: 280px;
  height: 280px;
  background-image: url('https://ishida-shingo.com/wp-content/themes/political-general-purpose/img/shin-go.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: spinOnce 6s linear infinite;
  transform-origin: 50% 50%;
	display: flex; margin-left: auto; margin-right: auto;
}
@keyframes spinOnce {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}
@media screen and (max-width: 600px) {
.spinner {
  width: 180px;
  height: 180px;
  margin-bottom: 60px;
}
}


@media screen and (max-width: 600px) {
  .sns-icon {
  height: 50px;
  width: 50px;
  }
  .sns-list-item {
  margin-right: 20px;
  }
}

/* ----- ヘッダー -------------------- */

.header { background-color: #009fe8; box-shadow: none; }
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}
.header .header-party-logo-box {
  display: block;
  margin-right: 0;
}
.header .header-party-logo {
width: 140px;
  margin-right: 15px;
  height: auto;
}
.header .header-party-logo img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
.header .header-ttl {
  display: flex;
  box-sizing: border-box;
  margin: 0;
}
.header .header-ttl-big {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  color: #000;
  font-weight: 900;
}
.header-ttl-big, .header-ttl-small { color: #ffffff!important; }
.drawer__button {
  position: relative;
  width: 4em;
  height: 4em;
  background-color: #fff;
  border: none;
  cursor: pointer;
  z-index: 999;
}
@media (min-width: 769px) {
  .header-sns-account {
  margin-top: 5px;
  display: block;
  position: absolute;
  right: 100px;
  }
}
.header-sns-list-item .sns-icon {
  height: 45px;
  width: 45px;
}
.drawer__nav__link { border-bottom: solid 1px #009fe8; }

@media (max-width: 768px) {

.header .header-ttl-big {
font-size: 1.3rem !important;
}
.header .header-party-logo {
width: 105px !important;
margin-left: 0;
margin-right: 10px;
}
.drawer__button {
  position: relative;
  width: 3em;
  height: 3em;
  background-color: #fff;
  border: none;
  cursor: pointer;
  z-index: 999;
  }
}

.drawer__button > span {
  background-color: #009fe8;
}



.top-section-lead p {
  font-weight: 500;
}
.list-def ul li::before {
  color: #009fe8;
}





/* ----- MVが一枚固定の場合 -------------------- */

.slick-dots { display: none; }
.top-mv { padding-bottom: 0px!important; }

/* ********** スマホでのMV画像読み込み時の修正 ****************************** */

@media (max-width: 600px) {
.top-mv li {
  aspect-ratio: 1000 / 1550;
  width: 100%;
  position: relative;
}
.top-mv__img,
.top-mv picture,
.slick-slider-container {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
}

/* ----- ミニギャラリー -------------------- */

.photo-container { display: flex; flex-wrap: wrap; justify-content: center; list-style:none; padding-left: 0px; margin-top: 60px; margin-bottom: 0px; }
.photo-card-container { width: 24%; padding-bottom: 0; }

.photo-container li { margin-right: 1.2%; }
.photo-container li:first-child { margin-right: 1.2%; }
.photo-container li:last-child { margin-right: 0px;}
.photo-card-container img { width: 100%; border: 1px solid #d3d3d3; object-fit:cover; aspect-ratio: 1/1; }
@media screen and (max-width: 1120px) {
  .photo-card-container { width: 24%; }
  }
@media screen and (max-width: 768px) {
  .photo-container { margin-top: 30px; }
  .photo-card-container { width: 48%; padding-bottom: 6px;}
  .photo-container li { margin-right: 2%; }
  .photo-container li:first-child { margin-right: 2%; }
  .photo-container li:last-child { margin-right:0px;}
  .photo-container li:nth-child(2) { margin-left: 2%; margin-right:0px; }
  .photo-container li:nth-child(4) { margin-left: 2%; margin-right:0px; }
  }

.image-thumbnail {
  cursor: pointer;
}
.image-wrapper {
  position: relative;
}
/* ライトボックス */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease; /* ここでふわっと */
}

/* ライトボックスがアクティブのとき */
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

/* 中の画像 */
.lightbox-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 画像のアニメーション */
.lightbox-content img {
  max-width: 90%;
  max-height: 80%;
  transform: scale(0.8); /* 初期サイズ */
  transition: transform 0.3s ease;
}

/* ライトボックスがアクティブのとき、ズームイン */
.lightbox.active .lightbox-content img {
  transform: scale(1.0); /* 拡大アニメーション */
}

/* 初期状態で非表示 */
.close-button {
  display: none;
  position: absolute; /* fixedじゃなくabsoluteに戻す */
  top: calc(100% + 10px); /* 画像の下に5px離す */
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  color: white;
  background: #003f88;
  padding: 5px;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}

/* ライトボックスがアクティブになったときに表示 */
.lightbox.active .close-button {
  display: block;
}

/* 虫眼鏡 */
.mushimegane {
  position: absolute;
  bottom: 9px;
  right: 0;
  background: #003f88;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.fa-solid.fa-magnifying-glass {

  font-size: .9em;
  color: #ffffff;
  background: #003f88;
  padding: 3px;
}

/* ----- スクロールに応じてフェードイン -------------------- */

.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
  /* visibility: hidden; /* ← 追加！ */
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
  /* visibility: visible; /* ← 追加！ */
}


/* ===== テキスト中央寄せ ===== */
.has-text-align-center {
  text-align: center !important;
}

/* SNSアカウント非表示（PCサイズのみ） */
@media (min-width: 769px) {
  .module-sns-account {
  display: none;
  }
}

/* ===== ニュースリスト ===== */
.top-newslist {
  padding-bottom: 50px;
}

.update-list {
  padding-bottom: 0;
}

.update-list-wrap {
  margin-bottom: 0;
}

/* =====  ===== */

.top-section-title.top-section-title-noexp.top-section-title-white {
  color: #ffffff;
  text-decoration-color: #ffffff;
}
.top-section-title.top-section-title-noexp.top-section-title-blue {
  color: #009fe8;
  text-decoration-color: #009fe8;
}

.module-banner {
  padding-bottom: 80px;
}
@media (max-width: 768px) {
.module-banner {
  padding-top: 50px;
  padding-bottom: 50px;
}
.banner-container {
  margin-bottom: 5px;
}
}

/* ===== メッセージ ============================================= */

.message-module {
  border: none;
  padding-bottom: 60px;
}

.message-img {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: 25%;
  height: auto:
  aspect-ratio: 1/1;
}

.message-body {
  width: 80%;
  margin: 50px auto;
}
.message-body p {
  font-size: 1.2em;
  line-height: 1.8em;
  text-align: center;
}

@media (max-width: 768px) {
.message-img {
  width: 50%;
  margin-bottom: 50px;
}
  .message-body {
  width: 100%;
  margin-top: 0;
  margin-bottom: 2em;
  }
.message-body p {
  font-size: 1.1em;
}
}

/* ===== プロフィール ============================================= */

.section-profile {
  background: #009fe8;
}

.top-section-body-wrap.prof01 {
  margin-top: -150px;
  padding-top: 190px;
  background: #ffffff;
}

.prof-img {
  display: flex;
  margin: 0 auto;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.prof-body {
  width: 80%;
  margin: 0 auto 100px;
  padding-bottom: 80px;
}
/*
.prof-body p,
.prof-body ul li {
  text-align: justify;
}
*/
.prof-element-left {
  width: 60%;
  padding-right: 2em;
  border-right: 1px solid #000;
}

.prof-element-right {
  width: 40%;
  padding-left: 2em;
}

.prof-element-left p,
.prof-element-left ul,
.prof-element-right p,
.prof-element-right ul {
  margin-top: 0;
}

@media (max-width: 768px) {
  .top-section-body-wrap.prof01 {
  margin-top: -140px;
  padding-top: 140px;
  }
  
  .prof-img {
  width: 260px;
  height: 260px;
  }
  
  .prof-body {
  width: 90%;
  margin-bottom: 0;
  padding-bottom: 10px;
  }
  
  .prof-element-left,
  .prof-element-right {
  width: 100%;
  padding: 0;
  }
  
  .prof-element-left {
  border: none;
  }
  
  .prof-element-right .list-def {
  padding-left: 0;
  border-left: none;
  }
	
.prof-body .sns-account { width: 100%; }
	
.prof-body .sns-account .header-sns-list { justify-content: center; }
.prof-body .sns-account .header-sns-list-item .sns-icon { height: 35px; width: 35px; }
}

/* ===== 政策 ============================================= */

.section-policy {
  background: #fff100;
}

.policy-module {
  border: none;
  padding: 50px;
  background: #fff100;
}

.tokyo5go-title { width: 90%; display: flex; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) {
.tokyo5go-title { width: 100%; }
}

.top-section-lead {
  font-size: 1.1rem;
  margin: 30px auto 20px;
  width: 90%;
}
.top-section-lead p {
  text-align: center;
}

.accordion__item {
  border: none;
  border-radius: 5px;
  margin-bottom: 20px;
  background: #fff;
  padding-top: 5px;
}

.accordion__list {
  width: 90%;
  margin: 0 auto 50px;
  padding-top: 1em;
}

.accordion__list li:last-child {
  border-bottom: 2px solid #003f88;
}

.accordion__head {
  /* border-top: 2px solid #003f88; */ border: none; padding-top: 0; padding-bottom: 5px;
}

.tokyo5-title-b-pc {
  display:flex; width:50%; margin-left: auto; margin-right: auto;
}

.tokyo5b-pc { display: block; padding-left: 30px; width: 97%; margin-bottom: 0px; }
.tokyo5b-sp { display: none; }
@media (max-width: 768px) {
.tokyo5b-pc { display: none!important; }
.tokyo5b-sp { display: block; margin-top: 5px; margin-bottom: 0px; }
}

.tokyo5b-pc img,.tokyo5b-sp img {
  width: 100%;
}

.accordion__head::after, .accordion__item.active .accordion__head::after {
  top: 28px;
  right: 38px;
  font-size: 1.6em;
  color: #fff;
}

.qah2-2 { 
  font-size: 1.4em;
  color: #000;
  font-weight: 900;
  margin-bottom: 25px;
  padding-left: 30px;
}

.accordion__body_list li {
  font-size: 1.2em;
  line-height: 1.6em;
  font-weight: 500;
  margin-bottom: 1em;
}

.accordion__body ul {
  text-align: justify;
  margin-top: 0;
  border: none;
  margin-bottom: 0;
}

.accordion__body ul li {
  text-indent: -1.4em;
  padding-left: 1.4em;
}

.accordion__body ul li::before {
  content: "●";
  color: #009fe8;
  margin-right: 0.3em;
}

.accordion__body ul li ul {
  border: none;
  padding: 0;
  margin-top: 0.5em;
}

.accordion__body ul li ul li {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.5em;
  text-align: justify;
  text-indent: 0;
  padding-left: 0;
  margin-bottom: 0.25em;
}

.accordion__body ul li ul li::before {
  content: none;
}

.accordion__item.active .accordion__body {
  padding: 0 15px 10px 15px;
  margin-bottom: 0;
}


@media (max-width: 768px) {
  .policy-module { padding: 1px; }
  .tokyo5b-pc {
  display: block;
  padding-left: 10px;
  width: 99%;
  margin-bottom: 0px;
}
  .top-section-lead { font-size: 1rem; margin: 20px auto 20px; width: 90%; }
  .accordion__item { width: 100%; }
  .accordion__body ul { padding: 0; }
  .accordion__list { width: 100%; padding-top: 1em; margin: 0; }
  .qah2-2 { font-size: 1.3em; margin-bottom: 12px !important; padding-left: 10px; padding-right: 5px;}
.accordion__head::after, .accordion__item.active .accordion__head::after {
  top: 17px; right: 16px; font-size: 1.6em; color: #fff; }
}


@media (max-width: 600px) {
  .accordion__head { position: relative; }
  .top-section-lead { font-size: 1rem; margin: 20px auto 20px; width: 100%; }
  .accordion__body_list { border: none !important; padding: 0 !important; }
  .qah2-2 { font-size: 1.1em; margin-bottom: 12px !important; }
  .accordion__head::after, .accordion__item.active .accordion__head::after { 
  
  font-size: 8vw;
  position: absolute;
  top: 1em;
  right: 15px;
  
  }
  .accordion__body ul { padding: 0; }
  .accordion__body_list li { font-size: 1.1em; }
}

/* ===== フッター ===== */

.section-share { background: #eeeeee; }
.sns-share-wrap {
padding-top: 50px !important;
  padding-bottom: 30px !important;
}

footer {
  padding-top: 0px;
}
.footer-credit { background: #fff100; }

.pagetop img {
  width: 55px;
  height: 55px;
  margin-right: 10px;
  margin-bottom: 10px;
  filter: none;
  border-radius: 0%;
}

.mark-elements { display: flex; margin-top: 5px; }
.mark-party-logo { width: 136px; }
.mark-name { 
  font-size: 4em;
  font-weight: 900;
  color: #009fe8;
  text-shadow: -3px -3px 0 white, 3px -3px 0 white, -3px 3px 0 white, 3px 3px 0 white;
  line-height: .8;
  margin-left: 10px;
 }
@media (max-width: 768px) {
.mark-elements {
  margin-top: 30px;
  margin-bottom: 20px;
  }
.mark-party-logo { width: 90px; }
.mark-name { 
  font-size: 2.6em;
  font-weight: 900;
  color: #009fe8;
  text-shadow: -3px -3px 0 white, 3px -3px 0 white, -3px 3px 0 white, 3px 3px 0 white;
  line-height: .8;
  margin-left: 10px;
 }
}

.footer-nav-area { background: #fff100; }
.footer-credit { background: #009fe8; }

/* ===== フォーム関係 ===== */

.section-contact {
  background: #eeeeee;
}
.module-contact {
  padding-top: 50px!important;
  margin-top: 80px;
}
@media (max-width: 768px) {
.module-contact {
  padding-top: 30px!important;
  margin-top: 30px;
}
}
.box-atenntion {
  margin-bottom: 10px;
}

.box-atenntion-content {
  padding: 50px;
  background: #ffffff;
  border: none !important;
}

.input-label-bold {
  font-size: 1.1em !important;
  font-weight: 700;
  background: none !important;
}

@media (max-width: 768px) {
  .box-atenntion-content {
  padding: 10px;
  }
}

.contact-accordion .accordion__item { 
  border: 2px solid #003f88;
  border-radius: 5px;
  margin-bottom: 20px;
}
.contact-accordion .accordion__head { 
  border: none; padding-bottom: 5px;
}
.contact-accordion .accordion__item .accordion__head::after, 
.contact-accordion .accordion__item.active .accordion__head::after {
  position: absolute;
  top: 2px;
  right: 25px;
  font-size: 1.6em;
}
.contact-accordion .accordion__item .accordion__head::after {
  font-family: "FontAwesome";
  content: "\f13a";
  font-size: 1.6em;
  color: #003f88;
}
.contact-accordion .accordion__item.active .accordion__head::after {
font-family: "FontAwesome";
  content: "\f139";
  position: absolute;
  font-size: 1.6em;
  color: #003f88;
}
.contact-accordion .qah2-2 {
  font-size: 1.5em;
  color: #003f88;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 30px;
}
.contact-accordion .accordion__content {}
.contact-accordion .accordion__body {
  padding: 0 25px 0 25px;
}
.contact-accordion .accordion__item.active .accordion__body {
  padding: 0 25px 10px 25px;
  margin-bottom: 0;
}

@media screen and (max-width: 600px) {
.contact-accordion .qah2-2 {
  margin-top: 2px;
  font-size: 1.2em;
  color: #003f88;
  font-weight: 700;
  padding-left: 10px;
}
.contact-accordion .accordion__item .accordion__head::after,
.contact-accordion .accordion__item.active .accordion__head::after {
  position: absolute;
  top: 3px;
  right: 15px;
}
.contact-accordion .accordion__item .accordion__head::after {
  font-family: "FontAwesome";
  content: "\f13a";
  font-size: 1.2em;
  color: #003f88;
}
.contact-accordion .accordion__item.active .accordion__head::after {
  font-family: "FontAwesome";
  content: "\f139";
  font-size: 1.2em;
  color: #003f88;
}  
.contact-accordion .qah2-2 {
  font-size: 1.2em;
  color: #003f88;
  font-weight: 700;
  margin-bottom: 5px !important;
  padding-left: 15px;
}
.contact-accordion .accordion__body {
  padding: 0 15px 0 15px !important;
}
}