body { line-height: 1.5em; }

.anchor-offset { position: absolute; height: 60px; top: -60px; visibility: hidden; }

.module-facebook { margin-top: 60px; }
.fb-page {
  width: 100% !important; /* デフォルト → wrapper の幅いっぱい */
}
@media (min-width: 732px) {
  .fb-page {
	display:flex;
    width: 500px !important;
    margin-left: auto;
    margin-right: auto;
  }
}

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

@media (min-width: 1024px) {
.drawer__button,.drawer__nav,.menu-sns-account { display:none; }
.global-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  }
.global-nav li { margin-right: 0;    /* 項目間の余白 */ }
.global-nav a { text-decoration: none; border: none; }
.global-nav a:hover  { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; cursor: pointer;  }
.drawer__nav__link { border-bottom: none; }
}

@media (max-width: 1023px) {
.global-nav { display:none; }
}

.header { background: #ffffff; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); position: fixed;　}
.site-content {
  padding-top: 80px; /* ヘッダーの高さに合わせて調整 */
}
.header .header-party-logo { width: 65px; }
.header .header-ttl-big { font-size: 3rem; font-weight: 900; color: #000 !important; }
.header .header-ttl-small {
  display: block;
  font-size: .9rem;
  line-height: 1;
  margin-top: 6px;
  color: #000;
  font-weight: 400;
  letter-spacing: .05em;
}
@media (max-width: 768px) {
.header .header-party-logo { width: 50px; }
.header .header-ttl-small {
  margin-top: 3px;
}
.site-content {
  padding-top: 60px; /* ヘッダーの高さに合わせて調整 */
}
.header .header-ttl-big { font-size: 2rem; }
}



.drawer__nav__link {
  border-bottom: solid 2px #f48812;
}

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

footer {
  padding-top: 0;
}

.footer-credit { background: #003f88; color: #fff; }
.footer-element-left p { line-height: 1.4em; }
.pagetop img {
  width: 50px;
  height: 50px;
  filter: none;
  margin-right: 0;
  border-radius: 0;
  margin-bottom: 80px;
}

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

.footer-nav-area {
  background: #eee;
}
.footer-navi {
  column-count: 1;
}
.footer-address { margin-top: 0; margin-bottom: 0;}
.footer-address-bold { font-weight: 700; }
.footer-credit {
  background: #f48812!important;
  color: #fff!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;
}
}

/* ********** 3大ボタン ****************************** */

.card-container-3index {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.card {
  flex: 1;
  height: 250px;
  min-width: 200px;
  aspect-ratio: 4 / 3;
  background-image: var(--bg);
  background-size: cover;
  background-position: top center;
  position: relative;
  text-decoration: none;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background-color: rgba(244, 136, 18, 0.7);
  color: #fff;
  font-size: 1.6em;
  font-weight: 900;
  text-align: center;
  line-height: 1em;
  transition: background-color 0.3s ease;
}

.card:hover .overlay {
  background-color: rgba(250, 190, 0, 0.8); /* hover時に色変更 */
}

@media (max-width: 600px) {
  .card-container-3index {
    flex-direction: column;
    margin-top: 20px;
  }
  .card  {
    height: 300px;
  min-width: 250px;
  }
  .overlay {
  font-size: 1.2em;
}
}


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

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

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

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

.label-news { color: #fff; background: #f48812; }

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

.card-img { width: auto; }

.wrapper-sns-account {
  width: 100%;
  max-width: 100%;
}
.module-sns-account {
  padding-top: 40px;
  padding-bottom: 50px;
  background: #f48812;
}
.sns-txt { color: #fff; }
.sns-account { padding-top: 0px; }

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

.read-more a, .return-toppage a, .wp-block-button a, .page-index-btn a, .page-index-btn2 a {
  font-size: 1.4em;
  border-radius: 0;
}
@media screen and (max-width: 1024px) {
  .read-more a, .return-toppage a, .wp-block-button a, .page-index-btn a, .page-index-btn2 a { font-size: 1.1em; }
}



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

@media screen and (max-width: 768px) { 
  .sns-list-item { margin-right: 15px; }
  .sns-icon { height: 50px; width: 50px; }
.sns-share-wrap {
  margin-top: 50px;
  margin-bottom: 0px;
}
} 
.sns-txt, .sns-txt-share { font-size: 1.2em; margin-bottom: 20px; text-align: center;
  font-weight: 700;
  margin-top: 0px;}
.sns-in-profile { margin-top: 60px; }
.sns-in-profile .module-sns-account { padding-bottom: 0; }

.twitter-share, .facebook-share, .line-share, .url-copy {
  border-radius: 0;
}

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

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

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

.bold { font-weight: 500; }

@media (max-width: 768px) {
.sub-header {
  padding-bottom: 0;
  margin-bottom: 0;
}
  .entry-content h2, .has-large-font-size {
    font-size: 1.4em !important;
  }
}
.entry-content h2 {
  font-size: 1.8em;
  line-height: 1.4em;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-all;
  border:none;
  padding-left: 0;
}
.entry-content p {
  text-align: justify;
}

@media (max-width: 768px) {
  .entry-content h4, .has-medium-font-size {
    font-size: 1.1em !important;
	font-weight: 400;
	line-height: 1.3em;
	text-align: justify;
  }
}

.list-def { list-style: none; }
.list-def li::before { content: "●"; color: #f48812; 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: #f48812; margin-right: .3em; }
.list-def2 li { text-indent: -1.3em; margin-left: -1em; text-align: justify; }

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

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

.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: #f48812; 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: #f48812; margin-right: .3em; }
.list-def2 li { text-indent: -1.2em; margin-left: 1.2em; text-align: justify; }
.catchphrase { color: #444; font-size: 1.4em!important; line-height: 1.4em!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: #003f88; color: #ffffff; border-color: #003f88; text-decoration: none;
	}

.entry-header h1, .archive-header h1, .archive-header-no-exp h1, .has-x-large-font-size {
  font-size: 2.2em!important;
  line-height: 1.3em;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0;
}
.entry-header h1, .archive-header h1, .archive-header-no-exp h1 {
  border-bottom: 5px solid #f48812;
  padding-bottom: .2em;
}


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


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

.message-body {
  border: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.message-body p { text-align: justify; }
.message-movie { margin-top: 80px; }

@media screen and (max-width: 768px) {
.message-body {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}
}

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

/* ベース */
.prof-container{
  display: grid;
  grid-template-columns: 1fr 1fr; /* 左右50% */
  gap: 20px;
  align-items: stretch; /* 各カラムの高さを揃える */
}
.prof-left {
  background-image: url("https://ishigurotatsuo.com/wp-content/uploads/2025/08/IMG_6226-2025-08-15-scaled.jpeg");
  background-size: cover;                /* 幅いっぱい＋トリミング */
  background-position: center bottom;    /* 横中央・下寄せ */
}

.prof-container .list-def2 { margin-top: 0; }
.list-def2.last-list { margin-bottom: 0; }

@media (max-width: 768px) {
  .prof-container {
    grid-template-columns: 1fr;
  }
  .prof-left {
    height: 400px; /* スマホ時は高さを任意で固定 */
  }
}


/* ********** お困りごと ****************************** */

.problem-block {
  padding-bottom: 20px;
}
.problems-cards-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -2%; /* 最後の行の下マージン調整 */
}

.problems-card {
  width: 49%;          /* 2カラム */
  margin-right: 2%;    /* 左右間隔 */
  margin-bottom: 2%;   /* 行間（ABとCDの間） */
  border: 1px solid #000;
  padding: 20px;
  box-sizing: border-box; /* ★これ重要 */
}

/* 右カラムの右マージンを消す */
.problems-card:nth-child(2n) {
  margin-right: 0;
}
.probrem-subtitle {
  font-size: 1.6em;
  font-weight: 500;
  margin-top: 0;
}
.problem-block .list-def2 { 
  margin-bottom: 0; }
.nado { text-align: right; margin-top: 0; margin-bottom: 0; }

/* スマホ */
@media (max-width: 768px) {
  .problems-card {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
	padding: 10px;
  }
.probrem-subtitle {
  font-size: 1.2em;
  text-align: center;
}
}





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

.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: #003f88!important;
  border-color: #003f88!important;
  cursor: hand;
  cursor: pointer;
}

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

.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: 60px; }
.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: #f48812;
  padding: 5px;
  padding-bottom: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}

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

/* 虫眼鏡 */
.mushimegane {
  position: absolute;
  bottom: 7px;
  right: 0;
  background: #f48812;
  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: #f48812;
  padding: 3px;
}

/* ************************************************************
オリジナルカラーパレット
************************************************************ */

.has-ishiguro-orange-color { color: #f48812; }
.has-ishiguro-orange-background-color { background-color: #f48812; }
.has-ishiguro-orangee-border-color { border-color: #f48812; }
