.tiktok {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

/* ********** ヘッダー/メニュー/フッター ****************************** */

.header { background: #ffe33f; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);　}
.header .header-ttl-big { font-size: 2.8rem; font-weight: 900; color: #003f88; }
@media (max-width: 768px) {
.header .header-ttl-big { font-size: 2.1rem; }
}

.header .header-ttl-small {
  display: block;
  font-size: .9rem;
  line-height: 1;
  margin-top: 5px;
  color: #000;
  font-weight: 400;
  letter-spacing: .05em;
}

.footer-credit {
  background: #ffe33f!important;
  color: #000!important;
}

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

.slick-dots { display: none; }
.top-mv { padding-bottom: 0px!important; margin-bottom: 60px !important; }
.slick-list { margin-bottom: 0; }
.slick-dotted.slick-slider { margin-bottom: 0 !important; }
@media (max-width: 600px) {
.top-mv { margin-bottom: 30px !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;
}
}

/* ********** ニュースリスト ****************************** */

.top-newslist { padding-bottom: 50px; }

.update-list { padding: 0; margin-top: 60px; margin-bottom: 80px; }
@media (max-width: 768px) {
.update-list { margin-top: 20px; }
}

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

/* ********** その他の調整 ****************************** */

.card-img { width: auto; }

.wrapper-sns-account {
  background: #ffe33f;
  width: 100%;
  max-width: 100%;
}
.module-sns-account {
  padding-top: 40px;
}
.sns-account { padding-top: 0px; }

.marker2 { background:linear-gradient(transparent 70%, #fef84c 30%); display: inline; padding: 0; }

/* ------ SNS関係の調整 ----- */

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

@media screen and (max-width: 768px) { 
  .sns-icon { height: 45px; width: 45px; }
} 
.sns-txt { font-size: 1.2em; margin-bottom: 20px; }
.sns-in-profile { margin-top: 60px; }
.sns-in-profile .module-sns-account { padding-bottom: 0; }

/* ------ トップのセクションタイトル ----- */

.top-section-title {
	font-size: 2.4em;
	text-decoration: underline;
	text-decoration-color: #ffe33f;
	text-underline-offset: .3em;
	text-decoration-thickness: 6px;
}
@media screen and (max-width: 768px) {
.top-section-title {
	font-size: 1.8em;
}
.top-section-title.top-section-title-noexp {
    margin-bottom: 100px;
}
}

/* ********** 共通要素 ****************************** */

.bold { font-weight: 500; }

.list-def { list-style: none; }
.list-def li::before { content: "●"; color: #6e9ed4; margin-right: .3em; }
.list-def li { text-indent: -1.3em; margin-left: -1em; text-align: justify; }

.list-def2 { list-style: none; }
.list-def2 li::before { content: "●"; color: #ffe33f; margin-right: .3em; }
.list-def2 li { text-indent: -1.3em; margin-left: -1em; text-align: justify; }

.catchphrase {
  font-size: 2.6em!important; color: #6e9ed4!important; font-weight: 900 !important; text-align: center !important; line-height: 1.4em; margin-bottom: 55px;
}

.dpfp-blue { color: #003f88; }

@media screen and (max-width: 820px) {
.catchphrase { font-size: 1.8em!important; line-height: 1.6em!important; margin-bottom: 30px; }
}
	
@media screen and (max-width: 768px) {
.list-def { list-style: none; padding-left: 0; }
.list-def li::before { content: "●"; color: #6e9ed4; margin-right: .3em; }
.list-def li { text-indent: -1.2em; margin-left: 1.2em; text-align: justify; }
.list-def2 { list-style: none; padding-left: 0; }
.list-def2 li::before { content: "●"; color: #ffe33f; margin-right: .3em; }
.list-def2 li { text-indent: -1.2em; margin-left: 1.2em; text-align: justify; }
.catchphrase { font-size: 1.4em!important; line-height: 1.6em!important; margin-bottom: 30px; }
}

.read-more a:hover, .return-toppage a:hover,.wp-block-button a:hover,.page-index-btn a:hover,.page-index-btn2 a:hover { 
	background: #6e9ed4; color: #ffffff; border-color: #6e9ed4; text-decoration: none;
	}

.entry-header h1, .archive-header h1, .archive-header-no-exp h1, .has-x-large-font-size {
  font-size: 2.4em!important;
  line-height: 1.3em;
  font-weight: 700;
  text-align: center;
  letter-spacing: .1em;
}

@media (max-width: 600px) {
.entry-header h1, .archive-header h1, .archive-header-no-exp h1, .has-x-large-font-size {
font-size: 1.6em!important; }
}

.module-blog, /*.module-sns-account,*/ .module-banner, /*.module-profile,*/ .module-policy, .module-feed-youtube, .module-blog-multi, .module-blog, .module-feed-dpfp, .module-vonnector, .module-contact, .module-office, .module-plog, .module-members {
  padding-top: 100px;
  padding-bottom: 0px;
}
.module-profile {
  padding-bottom: 100px;
}
@media screen and (max-width: 768px) {
.module-blog, /*.module-sns-account,*/ .module-banner, /*.module-profile,*/ .module-policy, .module-feed-youtube, .module-blog-multi, .module-blog, .module-feed-dpfp, .module-vonnector, .module-contact, .module-office, .module-plog, .module-members {
  padding-top: 50px;
  padding-bottom: 0px;
}
}

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

.message-body {
  border: 3px solid #ffe33f;
  padding-left: 3em;
  padding-right: 3em;
  padding-bottom: 2em;
}
@media screen and (max-width: 768px) {
.message-body {
  border: 3px solid #ffe33f;
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 1em;
}	
}

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

.top-section-body-wrap.prof01 { margin-top: -160px; padding-top: 180px; border: 3px solid #ffe33f; }
.prof-img { display: flex; margin: 0 auto; width: 300px; height: 300px; object-fit: cover; cursor: pointer; }
.prof-body { width: 82%; margin: 0 auto 100px; }
.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) {
.module-profile {
  padding-top: 50px;
  padding-bottom: 20px;
}
.top-section-body-wrap.prof01 { margin-top: -100px; padding-top: 100px; }
.prof-img { width: 200px; height: auto; }
.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; }
}

/* ---- 経歴のアコーディオン -------------------- */

.accordion__list_prof .qah2-2 {
  font-size: 1.2em;
  font-weight: 700;
  text-align: left;
  padding-left: .3em;
  padding-right: 2em;
  margin-top: 0em !important;
  margin-bottom: .5em;
  color: #003f88;
}
.accordion__list_prof .accordion__head {
  border-top: 2px solid #6e9ed4;
}
.accordion__list_prof .accordion__head::after {
  font-family: "FontAwesome";
  content: "\f107";
  position: absolute;
  top: 12px;
  right: 10px;
  font-size: 1.4em!important;;
  color: #003f88;
}
.accordion__list_prof .accordion__item.active .accordion__head::after {
  font-family: "FontAwesome";
  content: "\f106";
  right: 10px;
  font-size: 1.4em;
}
.accordion__list_prof .accordion__item-last {
  border-bottom: 2px solid #6e9ed4;!important;
}
.accordion__list_prof .accordion__body p {
  font-size: 1em;
  line-height: 1.4em;
  margin-top: 0;
}
.accordion__list_prof .accordion__item.active .accordion__body {
  padding-left: .5em;
}


.accordion__list_prof .accordion__body .card-container { display: flex; flex-wrap: wrap; justify-content: left; padding-left: 0px; margin-bottom: 0px; }
.accordion__list_prof .accordion__body .card-container .card-img { width: 30%; }
.accordion__list_prof .accordion__body .card-container .card-text { width: 67%; margin-left: 1em; text-align: justify; }
.accordion__list_prof .accordion__body .card-container .card-img img { width: 100%; height: auto!important; aspect-ratio: 1/1; }

@media (max-width: 820px) {
.accordion__list_prof .accordion__body .card-container .card-text {
  width: 66%;
}
}

@media (max-width: 768px) {

.accordion__list_prof {
  margin-top:20px;
  margin-bottom: 10px;
}
.accordion__list_prof .qah2-2 {
  font-size: 1em;
  font-weight: 700;
  text-align: left;
  padding-left: .3em;
  padding-right: 2em;
  margin-top: 0em !important;
  margin-bottom: .5em;
  color: #003f88;
}
.accordion__list_prof .accordion__head::after {
  font-family: "FontAwesome";
  content: "\f107";
  position: absolute;
  top: 11px;
  right: 10px;
  font-size: 1em!important;;
  color: #003f88;
}
.accordion__list_prof .accordion__item.active .accordion__head::after {
  font-family: "FontAwesome";
  content: "\f106";
  top: 11px;
  right: 10px;
  font-size: 1em!important;;
  color: #003f88;
}

.accordion__list_prof .accordion__body { margin-bottom: 0 !important; }
.accordion__list_prof .accordion__body .card-container { display: block; }
.accordion__list_prof .accordion__body .card-container .card-img { width: 100%; }
.accordion__list_prof .accordion__body .card-container .card-img img { margin-bottom: 1em; }
.accordion__list_prof .accordion__body .card-container .card-text { width: 100%; margin-left: 0; text-align: justify; }
	
}

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

.policybanner img {
  width: 60%;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
.policybanner img { width: 100%; margin-bottom:30px; }
}
.policybanner a[target="_blank"]::after {
	content: none;
}

.qah2-2 {
  font-size: 2em;
  text-align: left;
  padding-left: .3em;
  padding-right: 2em;
  margin-top: 0.3em !important;
  margin-bottom: 0em;
  color: #003f88;
  line-height: 1.4em;
}
.accordion__head {
  border-top: 3px solid #ffe33f;
}
.accordion__head::after {
  font-family: "FontAwesome";
  content: "\f13a";
  position: absolute;
  top: 30px;
  right: 10px;
  font-size: 2.2em!important;;
  color: #003f88;
}
.policy-module .accordion__item.active .accordion__head::after {
  color: #fabe00;
}
.policy-module .accordion__list .last-item {
  border-bottom: 3px solid #ffe33f !important;
}
.accordion__head_list {
  padding-left: 1em;
  margin-bottom: 3em;
}
.accordion__head_list li {
  list-style: none;
  font-size: 1.4em;
  margin-bottom: .3em;
  font-weight: 500;
  text-indent: -1.3em;
  margin-left: 1.3em;
}
.accordion__head_list li::before {
content: "●";
  color: #fabe00;
  margin-right: .2em;
}
.accordion__list li:last-child {
  border: none;
}
.accordion__item.active .accordion__body {
  padding-left: 1em;
}
.accordion__body p {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}
.accordion__body_lead {
  margin-top: 0 !important;
  margin-bottom: 2em !important;
}
.accordion__body_subtitle {
  padding-top: 1em;
  font-weight: 500;
  font-size: 1.6em !important;
}
.accordion__body ul {
  list-style: none;
  border: none;
  padding-top: 0;
  padding-bottom: 2em;
}
.accordion__body ul li::before {
  content: "●";
  color: #6e9ed4;
  margin-right: .2em;
}
.accordion__body ul li ul li::before {
  content: "●";
  color: #ccc;
  margin-right: .2em;
}

@media screen and (max-width: 768px) {
	
.accordion__item.active .accordion__content {
max-height: 5000px; /* 必要に応じて最大高さを設定 */
}
	
.qah2-2 {
  font-size: 1.4em;
  text-align: left;
  padding-left: .2em;
  padding-right: 2em;
  margin-top: 0.5em !important;
  color: #003f88;
  line-height: 1.4em;
}
.accordion__list {
  padding-top: 0;		
}
.accordion__head {
  border-top: 3px solid #ffe33f;
}
.accordion__head::after {
font-family: "FontAwesome";
    content: "\f13a";
    position: absolute;
    top: 26px;
    right: 5px;
    font-size: 1.6em !important;
    color: #003f88;
}
.accordion__item.active .accordion__head::after {
    right: 5px;
}
.policy-module .accordion__list .last-item {
  border-bottom: 3px solid #ffe33f !important;
}
.accordion__head_list {
  margin-bottom: 2em;
  font-size: .7em;
  padding-left: .5em;
  line-height: 2em;
}
.accordion__head_list li {
  list-style: none;
  text-indent: -1.2em; 
  margin-left: 1.2em; 
  text-align: justify;
  font-weight: 500;
}
.accordion__head_list li::before {
content: "●";
  color: #fabe00;
  margin-right: .2em;
}
.accordion__list li:last-child {
  border: none;
}
.accordion__item.active .accordion__body {
  padding-left: .5em;
  padding-right: 0;
}
.accordion__body p {
  font-size: 1em;
  line-height: 1.6em;
  margin-top: 1em;
  margin-bottom: 1em;
}
.accordion__body_lead {
  font-size: 1em!important;
  line-height: 1.6em!important;
  margin-top: 0 !important;
  margin-bottom: 2em !important;
}
.accordion__body_subtitle {
  padding-top: 1.1em;
  font-weight: 500;
  font-size: 1.1em !important;
}
.accordion__body ul {
  list-style: none;
  border: none;
  padding-top: 0;
  padding-left: .5em;
  padding-right: 0;
  padding-bottom: 1em;
  text-align: justify;
}
.accordion__body ul li::before {
  content: "●";
  color: #6e9ed4;
  margin-right: .2em;
}
.accordion__body ul li ul {

}
.accordion__body ul li ul li::before {
  content: "●";
  color: #ccc;
  margin-right: .2em;
}
	
}

/* ********** 動画 ****************************** */

.module-feed-youtube { padding-bottom: 0; }

.youtube-mov .footer-elements {  }
.youtube-mov .footer-element-left, .youtube-mov .footer-element-right { width: 50%; }
.youtube-mov .footer-element-left { margin-right: 10px; } 
.youtube-mov .footer-element-right { margin-left: 10px; }

.mov-caption { font-size: 1em; font-weight: 400;}

@media (max-width: 768px){
.youtube-mov .footer-elements { display: block; }
.youtube-mov .footer-element-left, .youtube-mov .footer-element-right { width: 100%; margin: 0; }
	.youtube-mov .footer-element-left { margin-bottom: 40px; }
}

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

.box-atenntion { margin-bottom: 10px; }
.box-atenntion-content { padding: 50px; border: 1px solid #000 !important; }
.input-label-bold { font-size: 1.1em !important; font-weight: 500; 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 { font-family: "FontAwesome"; content: "\f107"; }
.contact-accordion .accordion__item.active .accordion__head::after { font-family: "FontAwesome"; content: "\f106"; }
.contact-accordion .accordion__item .accordion__head::after, .contact-accordion .accordion__item.active .accordion__head::after {
	position: absolute; top: 25px; right: 20px; 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__body { padding: 0 32px 0 32px !important; }

@media screen and (max-width: 600px) { 
.contact-accordion .accordion__head { padding-top: 5px; }
.contact-accordion .qah2-2 { font-size: 1.2em; color: #003f88; font-weight: 700; margin-bottom: 5px !important; padding-left: 15px; margin-top: 5px !important; }
.contact-accordion .accordion__item .accordion__head::after,
.contact-accordion .accordion__item.active .accordion__head::after { top: 12px; right: 15px; font-size: 1.2em; color: #003f88; }
.contact-accordion .accordion__body { padding: 0 20px 0 20px !important; }
}

legend { font-size: inherit; line-height: inherit; }

.button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
  color: #003f88;
  background-color: #6e9ed4!important;
  border-color: #6e9ed4!important;
  cursor: hand;
  cursor: pointer;
}

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

.footer-credit { background: #6e9ed4; color: #fff; }
.footer-element-left p { line-height: 1.4em; }
.pagetop img { width: 45px; height: 45px; filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.3));}

@media (max-width: 768px) {
  .footer-elements { display: flex; padding-bottom: 20px; }
  .header-party-logo-tagline img { margin-top: 0; }
}

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

.fade-in-section { opacity: 0; transform: translateY(50px); transition: all 0.5s ease; }
.fade-in-section.visible { opacity: 1; transform: translateY(0); }

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

.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;
}