@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;700;900&display=swap');

/*
*********************************************************
campaign-contents
*********************************************************
*/
#campaign-contents {
  max-width: 100%;
  margin: 0 auto;
}

/* chrome 画像・グラフィック文字のぼやけ対策 */
@media (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
  #campaign-contents img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* safari 画像 デフォルト値 */
@media (-webkit-min-device-pixel-ratio: 0) {

  _::-webkit-full-page-media,
  _:future,
  :root #campaign-contents img {
    image-rendering: auto;
  }
}

#campaign-contents .maximg {
  width: 100%;
  height: auto
}

#campaign-contents picture,
#campaign-contents picture img {
  width: 100%;
  height: auto;
  display: block;
}

.print-only,
.plan-print-only {
  display: none;
}

.inner-xs-wrap2,
.inner-xs-wrap,
.inner-s-wrap,
.inner-wrap {
  width: calc(100% - 16px);
  overflow: visible;
}

@media (max-width: 768px) {

  .inner-xs-wrap2,
  .inner-xs-wrap,
  .inner-s-wrap,
  .inner-wrap {
    width: 100%;
  }
}

#campaign-contents summary {
  list-style: none;
}

#campaign-contents details>summary::-webkit-details-marker {
  display: none;
}

/*
*********************************************************
#section-kv
*********************************************************
*/
#section-kv .kv-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1440/460;
}

#section-kv .kv-photo h1 {
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
}

/* ---------------------------------------------  */
/* --------------------- SP --------------------  */
/* ---------------------------------------------  */
@media screen and (max-width:768px) {
  #section-kv .kv-photo {
    aspect-ratio: 768/839;
  }
}



/*
*********************************************************
#section-greeting
*********************************************************
*/
#section-greeting {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 56px;
  padding-top: 100px;
}

#section-greeting .greeting-text {
  color: #006fb6;
  position: relative;
  text-align: center;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.8;
  margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1024px) {
  #section-greeting .greeting-text {
    font-size: 2.2vw;
  }
}

/* ---------------------------------------------  */
/* --------------------- SP --------------------  */
/* ---------------------------------------------  */
@media (max-width:768px) {
  #section-greeting {
    margin: 64px auto 0;
    padding: 0;
  }

  #section-greeting .greeting-text {
    font-size: 4.4vw;
    line-height: 1.6;
    padding: 0;
  }

  #section-greeting .greeting-text p:nth-child(n+2) {
    padding-top: var(--size24);
  }
}

/*
*********************************************************
topic > topic-inner（共通）
*********************************************************
*/
#campaign-contents .topic-inner {
  border: 20px solid #f5f6f4;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  padding: 20px 20px var(--size40) 20px;
}

#section-article .topic-inner {
  padding: 20px;
}

/* ---------------------------------------------  */
/* --------------------- SP --------------------  */
/* ---------------------------------------------  */
@media screen and (max-width: 768px) {
  #campaign-contents .topic-inner {
    width: calc(100% - 28px);
    border: 14px solid #f5f6f4;
    margin: var(--size32) auto;
    padding: 14px;
  }
}

/*
*********************************************************
topic > h2-band-wrap（共通）
*********************************************************
*/
#campaign-contents .h2-band-wrap {
  width: 100%;
  background-color: #b9d3e8;
  margin: 0;
  padding: 0;
}

#campaign-contents .h2-band-wrap h2,
#campaign-contents .h2-band-wrap p {
  background-color: #589fcc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 680px;
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  margin: 0 auto;
  padding: 12px 20px;
}

#campaign-contents .h2-band-wrap h2 span,
#campaign-contents .h2-band-wrap p span {
  display: block;
  font-size: 2rem;
  font-weight: normal;
  border: 1px solid #fff;
  padding: 5px;
  margin: 0 10px;
}

/* ---------------------------------------------  */
/* --------------------- SP --------------------  */
/* ---------------------------------------------  */
@media screen and (max-width: 768px) {

  #campaign-contents .h2-band-wrap h2,
  #campaign-contents .h2-band-wrap p {
    font-size: 5vw;
    line-height: 1.4;
    min-height: 40px;
    max-width: calc(100% - 28px);
    margin-top: var(--size32);
    padding: 10px 14px;
  }

  #campaign-contents .h2-band-wrap h2 span,
  #campaign-contents .h2-band-wrap p span {
    font-size: 2.8vw;
  }
}

@media (max-width: 320px) {

  #campaign-contents .h2-band-wrap h2,
  #campaign-contents .h2-band-wrap p {
    font-size: 4.4vw;
  }
}

/*
*********************************************************
topic > cp-btn（共通オレンジボタン）
*********************************************************
*/
#campaign-contents .cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ed6c00;
  color: #fff;
  font-size: 2.0rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 100vw;
  min-width: 340px;
  padding: var(--size8);
  transition: opacity 0.3s ease;
}

#campaign-contents .cp-btn:hover {
  opacity: 0.8;
}

#campaign-contents a.cp-btn[target="_blank"]:not(.icn-none):after {
  top: 0;
  width: 17px;
  background: url(/assets/images/icn_blank_white.svg) no-repeat center center / contain;
}

/* ---------------------------------------------  */
/* --------------------- SP --------------------  */
/* ---------------------------------------------  */
@media (max-width: 768px) {
  #campaign-contents .cp-btn {
    min-width: 0;
    width: 100%;
    max-width: inherit;
    font-size: 4vw;
    padding: var(--size8) var(--size24);
  }
}

/*
*********************************************************
section-article
*********************************************************

/* lead */
#section-article .lead-wrap {
  text-align: center;
  padding: var(--size8) 0 var(--size32);
}

#section-article .lead-wrap h3 {
  max-width: 694px;
  margin: 0 auto;
}

#section-article .lead-wrap h4 {
  font-size: 2.4rem;
  font-weight: bold;
  margin: var(--size16) 0;
}

#section-article .lead-wrap .lead-text {
  font-size: 1.6rem;
  line-height: 1.8;
}

/* ---- vote-grid ---- */
#section-article .topic-contents {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: url(/campaign/boxer60th-anniversary/portal/images/vote-bg.webp) no-repeat center center / cover;
  max-width: 980px;
  margin: 0 auto;
}

#section-article .profile {
  max-width: 700px;
  margin: auto;
  padding: 0 0 40px;
}

#section-article .h4ttl .text_red {
  color: #ff0000;
  display: block;
}
#section-article .h4ttl .text_blue {
  color: #144798;
  display: block;
}




/*
***************************************************************
btn-page-top
***************************************************************
*/
#campaign-contents .btn-page-top {
  position: fixed;
  right: var(--size48);
  bottom: 80px;
  z-index: 1000;
  width: var(--size48);
  height: var(--size48);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#campaign-contents .btn-page-top.show {
  opacity: 1;
  visibility: visible;
}

#campaign-contents .btn-page-top img {
  width: var(--size24);
  height: var(--size24);
}

@media (max-width: 768px) {
  #campaign-contents .btn-page-top {
    right: var(--size8);
  }
}

/*
***********************************************************
固定追従しないバージョン（通常ページ内）
***********************************************************
*/
#campaign-contents .btn-section {
  background-color: #dde2e6;
  max-width: var(--contentMaxW);
  margin: 0 auto 80px;
}

#campaign-contents .btn-section .btn-wrap-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: var(--size40) var(--size16);
}

#campaign-contents .btn-section .btn-nml.cv-btn {
  animation: none !important;
}

#campaign-contents .btn-section .btn-wrap-container .btn-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 326px;
  margin-top: 0;
}

#campaign-contents .btn-section .btn-wrap-container .btn-wrap .btn-nml {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  #campaign-contents .btn-section .btn-wrap-container {
    display: block;
    width: 100%;
    padding: var(--size32) var(--size16);
  }

  #campaign-contents .btn-section .btn-wrap-container .btn-wrap {
    max-width: inherit;
    padding: var(--size8) 0;
  }
}

/*
**************************************************
  fixed-menu
**************************************************
*/
#fixedBottomBtn {
  position: fixed;
  bottom: -56px;
  left: 0;
  width: 100%;
  background: rgb(255, 255, 255, 0.9);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease, visibility 0.3s ease;
  z-index: 10;
}

#fixedBottomBtn.show {
  bottom: 0px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#fixedBottomBtn .btn-wrap-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: var(--size8);
}

#fixedBottomBtn .btn-wrap-container .btn-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 326px;
  margin-top: 0 !important;
}

#fixedBottomBtn .btn-wrap-container .btn-nml.fixed-btn {
  width: 100%;
  font-size: 1.8rem;
  min-height: var(--size48);
  color: var(--white);
}

#fixedBottomBtn .btn-wrap-container .btn-wrap .btn-ttl {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  #fixedBottomBtn .btn-wrap-container {
    flex-wrap: nowrap;
    gap: var(--size8);
    padding: var(--size8) 0;
  }

  #fixedBottomBtn .btn-wrap-container .btn-wrap {
    max-width: 375px;
  }

  #fixedBottomBtn .btn-wrap-container .btn-nml.fixed-btn {
    font-size: 1.6rem;
    min-height: var(--size24);
  }

  #fixedBottomBtn .btn-wrap-container .btn-wrap .btn-ttl {
    font-size: 1rem;
    margin-bottom: 5px;
  }
}

@media (max-width: 353px) {
  #fixedBottomBtn .btn-wrap-container .btn-wrap .btn-ttl {
    font-size: 0.8rem;
  }
}

/* --------------------- 共通 -------------------- */
/* #campaign-contents .btn-nml {
  color: var(--white);
} */

#campaign-contents .btn-nml:hover {
  /* color: #014E98; */
  opacity: .7;
}

@media (max-width: 768px) {
  #campaign-contents .btn-nml:hover {
    /* color: #fff; */
    opacity: 1;
  }
}

/*
***********************************************************
キャンペーン終了エリア
***********************************************************
*/
/*
  テキストを縦並び＆中央寄せ
  module.css のレイアウトをベースに、余白を最適化
*/
.notice-area-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.notice-area.alert .notice-area-inner {
  text-align: justify;
  padding-top: 10px;
  padding-bottom: 10px;
}

.notice-area .notice-txt {
  text-align: justify !important;
}

/*
***********************************************************
シンプルフッターマージン調整
***********************************************************
*/
.footer.footer-simple {
  margin-top: 0;
}

/*
***********************************************************
SNS注意喚起
***********************************************************
*/
#campaign-contents .sns-caution {
  padding: 0 0 var(--size8);
}

#campaign-contents .sns-caution .notice-area {
  margin-top: var(--size40);
}

@media (max-width: 768px) {
  #campaign-contents .sns-caution .notice-area {
    margin-top: var(--size32);
  }

  .notice-area {
    margin-left: var(--size16);
    margin-right: var(--size16);
  }
}



***********************************************************
PRINT
***********************************************************
*/
#campaign-contents img.pr-img {
  display: none !important;
}

/* ============================================================
   共通 印刷スタイル
   ============================================================ */
@media print {

  /* 背景色・背景画像を印刷する */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 非表示にする要素（SP・PC共通） */
  #fixedBottomBtn,
  .btn-page-top,
  #section-video,
  .modal-overlay {
    display: none !important;
  }

  /* リンクのhref表示を無効化 */
  a[href]::after {
    content: none !important;
  }

  #section-greeting {
    padding-top: var(--size40);
  }

  #section-vote {
    page-break-before: always !important;
  }
}

/* ============================================================
   SP 印刷スタイル（768px以下）
   ============================================================ */
@media print and (max-width: 768px) {
  .sp-only {
    display: block !important;
  }

  .pc-only {
    display: none !important;
  }

  /* 全体 */
  #campaign-contents img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ============================================================
   PC 印刷スタイル（769px以上）
   ============================================================ */
@media print and (min-width: 769px) {
  .sp-only {
    display: none !important;
  }

  .pc-only {
    display: block !important;
  }

  /* 全体 */
  #campaign-contents {
    max-width: 100%;
  }

  #campaign-contents img {
    max-width: 100% !important;
    height: auto !important;
  }
}


/*
***********************************************************
ページ内リンク
***********************************************************
*/
.txt-link-top{
  padding-left: 4.0rem;
  padding-top: 2.4rem;
  margin-bottom: 5.0rem;
  border-top: 1px solid #ddd;
}

@media screen and (max-width: 768px) {
  .txt-link-top {
    width: 100%;
    margin-bottom: 3.0rem;
  }
  
}
/*
***********************************************************
contribution
***********************************************************
*/
.inner-1000-wrap{
  max-width: 1000px !important;
}
.lead-text{
  line-height: 1.8;
  font-size: 2.0rem;
}
.ttl_uline{
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.4em;
  width: 100%;
}
.fig-box{
  max-width: 700px;
  margin: 0 auto;
  background-color: #EFEFEF;
}
.fig-box .img{
  max-width: 680px;
  margin: 0 auto;
  padding-top: 10px;
}
.fig-box .img-caption {
  font-size: 14px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}
.fig-box .img-caption.no-caption {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .sp-w-90{
    width: 90%;
    margin: 0 auto;
  }
  .fig-box{
    width: 100%;
  }
  .fig-box .img{
    width: 94%;
  }
  .lead-text{
    width: 90%;
    margin: 0 auto 40px;
  }
  .tab-wrap .tab-btns-list {
    justify-content: center;
  }
  .txt-link-top {
    padding-left: 0;
  }
}
@media screen and (min-width:769px) and ( max-width:1000px) {
  .inner-1000-wrap{
    padding: 0 2rem;
  }
  .inner-xs-wrap{
    padding: 0 2rem;
  }
}
@media screen and (min-width:540px) and ( max-width:768px) {
  .fig-box .img{
    width: 96%;
  }
}


