/* ========== 基本設定 ========== */
html {
  font-size: 100%; /* 16px基準 */
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    sans-serif;
  font-size: clamp(1rem, 4vw, 1.125rem);
  line-height: 1.7;
  color: #042060;
}

.center {
  text-align: center;
}
/* colors */
.red {
  color: #ce3635;
}
.navy {
  color: #042060;
}
.black {
  color: #000;
}
.interview {
  background: #0096d1;
}
.interview .title figure {
  max-width: 600px;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}
.site-footer a {
  color: #0096d1;
}
.bold {
  font-weight: bold;
}
.x-large {
  font-size: 4em;
  line-height: 1;
}
.large {
  font-size: 3em;
  line-height: 1;
}
.middle {
  font-size: 2em;
  line-height: 1;
}
.little {
  font-size: 1.6rem;
  line-height: 1;
}
.week {
  font-size: 0.6em;
  padding: 0.3rem 0.4rem;
  position: relative;
}
.vote-date .week {
  bottom: 4px;
  left: 1px;
}
.early-vote .week {
  bottom: 2px;
  left: 3px;
}
.month {
  position: relative;
  left: -1px;
}
.day {
  position: relative;
  left: -4px;
}
.to {
  position: relative;
  top: -14px;
  left: -10px;
  font-size: 2rem;
}
.week-background {
  background-color: #ffffff;
  border-radius: 50%;
}
.flex {
  display: flex;
  align-items: center;
}
.nomal {
  align-items: normal;
}
.column {
  flex-direction: column;
}
strong {
  display: inline-block;
  line-height: 1;
}
figure {
  margin: 0;
}
p {
  margin: 0;
}
dl,
dd {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}
address {
  font-style: normal;
}

/* ========== スキップリンク通常は非表示 ========== */
.skip-link {
  position: absolute;
  top: -100px; /* 多少大きめでOK */
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus-visible {
  top: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* フォーカス可視化 */
:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}

/* ========== ヒーロー ========== */

.hero {
  background: url(hero-background.webp) no-repeat center / cover;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  height: 100svh;
  min-height: 100svh;
  flex: 7 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  background: url(fv_750.webp) no-repeat center / cover;
  position: relative;
}

.hero-inner .idol {
  position: absolute;
  bottom: 0;
}
.hero-inner .hero-image-charactor,
.hero-inner .hero-image-charactor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-title {
  text-indent: -9999px;
  overflow: hidden;
}

.hero-image-logo {
  max-width: 730px;
  width: 90%;
  position: relative;
  z-index: 100;
}

.hero-image-charactor {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.vote-logo {
  background: #0097d2;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.vote-logo figure {
  text-align: center;
  max-width: 900px;
  width: 80%;
  margin: 0 auto;
  padding: 25px 0;
}
/* ========== 共通セクション ========== */

.section-title {
  font-size: clamp(1.2rem, 4vw, 2rem);
  margin: 0 0 8px;
}

.vote-num,
.early-vote,
.links-sub-inner,
.how-to-vote .title,
.contact {
  padding: 1.5rem 1rem;
}
.information {
  padding: 0 1rem 1.5rem;
}
.links-main {
  padding: 3rem 1rem;
}
.interview {
  padding: 2rem 1rem 5rem;
}
.media {
  padding: 3rem 1rem 1.5rem;
}
.contact-list {
  padding: 0 1rem 1.5rem;
}
.site-footer .wrap {
  padding: 2rem 1rem 0.2rem;
}
.how-to-vote-inner {
  padding: 3rem 1rem 1.5rem;
}

/* ========== 投票日 ========== */

.vote-panels {
  position: relative;
  flex: 3 0 0;
  margin: 0.5rem 0;
}

.vote-num {
  position: relative;
  background: #0096d1;
  color: #fff;
  text-align: center;
  z-index: 100;
}
.vote-num .inner,
.early-vote .inner {
  max-width: 500px;
  margin: 0 auto;
}
.vote-num > div {
  margin-bottom: 0.5rem;
}

.vote-num .flex,
.early-vote .flex {
  align-items: center;
  column-gap: clamp(16px, 4vw, 18px);
}
.vote-num .flex > div,
.early-vote .flex > div {
  flex: 0 0 10rem; /* 同じ幅 */
}

.vote-num .section-title {
  padding: 0 1rem;
  letter-spacing: 0.1rem;
  border: 2px solid #ffffff;
}

.vote-date {
  font-size: clamp(1.2rem, 5vw, 2rem);
  line-height: 1;
}

.vote-time {
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  margin: 0;
  letter-spacing: 0.1rem;
}

.sub-title .note,
.vote-time .note,
.early-vote-note,
.vote-information-note,
.vote-information-head .note {
  font-size: 0.85rem;
}
.vote-num .sub-title {
  background: #ffffff;
  border: 2px solid #ffffff;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.vote-panels .hyakumangokkun {
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 1000;
  max-width: 93px;
  width: 15%;
  height: auto;
}

/* ========== 期日前投票 ========== */

.early-vote {
  position: relative;
  text-align: center;
  z-index: 100;
}

.early-vote .section-title {
  color: #106aab;
  line-height: 1.2;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: 2px solid #106aab;
}

.early-vote-period {
  font-size: 1.2em;
  margin: 8px 0;
}
.early-vote-title {
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.early-vote-note,
.vote-information-note {
  text-align: left;
  line-height: 1.3;
}

.vote-num,
.early-vote {
  flex-shrink: 0; /* 潰れないように */
}

/* ========== キャッチコピー ========== */

.catchphrase {
  background: #0096d1;
  color: #fff;
  padding: 2.5rem 1rem 3.5rem;
}
.catchphrase .max-750 {
  position: relative;
}

.catchphrase p,
.catchphrase h3 {
  text-align: center;
}
.catchphrase .max-750::before {
  content: "";
  position: absolute;
  z-index: 0; /* 柄は下 */
  pointer-events: none; /* 念のため */
  top: auto;
  bottom: -40px;
  left: -6px;
  width: 50px;
  height: 40px;
  background: url("sakura-left.png") no-repeat center / contain;
}
.catchphrase .max-750::after {
  content: "";
  position: absolute;
  z-index: 0; /* 柄は下 */
  pointer-events: none; /* 念のため */
  top: auto;
  bottom: -40px;
  right: 6px;
  width: 50px;
  height: 40px;
  background: url("sakura-right.png") no-repeat center / contain;
}

.catchphrase h3 {
  margin-bottom: 1rem;
}
/* ========== 選挙情報 ========== */
.information .max-750 {
  position: relative;
}

.information .section-title {
  text-indent: -9999px;
  overflow: hidden;
}

.vote-information {
  padding-bottom: 1rem;
  gap: clamp(16px, 4vw, 18px);
  display: grid;
  grid-template-columns: 9rem 1fr;
  column-gap: 1rem;
  align-items: stretch;
}

.vote-information-title {
  color: #ffffff;
  background: #122b67;
  padding: 0.5rem 1rem;
  flex: 0 0 clamp(6rem, 30%, 10rem);
}
.vote-information-text {
  padding: 0.5rem 0;
}
.information .hyakumangokkun {
  position: absolute;
  right: 20px;
  top: 70px;
  width: 73px;
  height: auto;
}

.vote-information-title,
.vote-information-text {
  line-height: 1.4;
  margin: 0;
  font-weight: bold;
}
.vote-information-head .note {
  position: relative;
  left: 160px;
}

/* ========== リンク ========== */

.links-main {
  background: url(sky-background.webp) no-repeat center / cover;
}
.links-main .max-750 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.links-main .flex {
  column-gap: 0.5rem;
  align-items: stretch;
}

.links-button {
  position: relative;
  overflow: hidden;
  appearance: none;
  border: none;
  border-radius: 5px;
  padding: 1rem 1.5rem;
  width: 100%;
  cursor: pointer;
  background: #042060;
  text-align: center;
  line-height: normal;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.links-button-text {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.3;
  text-shadow: 1px 1px 1px #042060;
}

.links-button::before,
.links-button::after {
  content: "";
  position: absolute;
  z-index: 0; /* 柄は下 */
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none; /* 念のため */
}

.vote-page-link-img::before {
  bottom: -3px;
  left: 0;
  width: 64px;
  height: 34px;
  background: url("vote-page-link-img1.png") no-repeat center / contain;
}
.vote-page-link-img::after {
  top: 8px;
  right: 0;
  width: 44px;
  height: 29px;
  background: url("vote-page-link-img2.png") no-repeat center / contain;
}

.wajima-vote-link-img::before {
  bottom: 7px;
  left: 2px;
  width: 45px;
  height: 40px;
  background: url("wajima-vote-link-img1.png") no-repeat center / contain;
}
.wajima-vote-link-img::after {
  top: 14px;
  right: 0;
  width: 84px;
  height: 74px;
  background: url("wajima-vote-link-img2.png") no-repeat center / contain;
}
.early-vote-link-img::before {
  top: 8px;
  left: 10px;
  width: 44px;
  height: 34px;
  background: url("early-vote-link-img1.png") no-repeat center / contain;
}
.early-vote-link-img::after {
  bottom: 6px;
  right: 10px;
  width: 38px;
  height: 35px;
  background: url("early-vote-link-img2.png") no-repeat center / contain;
}

.links-button {
  box-shadow:
    1px 1px 0px #ffffff,
    3px 3px 0px #0096d1;
}
.links-button:focus-visible {
  outline: 3px solid #0096d1;
  outline-offset: 4px;
}

.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  line-height: 1.2rem;
  color: inherit;
  border: 2px solid #042060;
  border-radius: 5px;
}
.link-item[href="#"]{
pointer-events: none;
position: relative;
}
.link-item[href="#"]:after {
  content: "ただいま準備中";
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
}


/* アイコン共通 */
.links-sub > p {
  padding: 4rem 0 1rem;
}

.link-item::before {
  content: "";
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.candidate-img::before {
  background-image: url("candidate.png");
  width: 32px;
  height: 40px;
}

.tv-img::before {
  background-image: url("tv.png");
  width: 32px;
  height: 40px;
}

.vote-img::before {
  background-image: url("vote.png");
  width: 32px;
  height: 40px;
}

.absence-img::before {
  background-image: url("absence.png");
  width: 32px;
  height: 36px;
}

.time-img::before {
  background-image: url("time.png");
  width: 32px;
  height: 36px;
}

.moving-img::before {
  background-image: url("moving.png");
  width: 30px;
  height: 32px;
}

.news-img::before {
  background-image: url("news.png");
  width: 38px;
  height: 40px;
}

.links-sub-inner {
  gap: 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 2vw, 16px);
  position: relative;
}

.links-sub figure {
  padding: 3rem 0 7rem;
}
.how-to-vote figure {
  padding: 3rem 0 5rem;
}

.site-footer figure {
  padding: 4rem 0 6rem;
}

.links-sub figure img,
.how-to-vote figure img,
.site-footer figure img {
  width: 80%;
  max-width: 350px;
}

.interview .title {
  padding: 1rem 0 2rem;
  color: #ffffff;
}

.interview-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.interview-inner {
  display: flex;
  gap: 1rem;
  align-items: stretch; /* ← これ重要 */
}

.interview-inner > div {
  display: flex;
  flex-direction: column;
  flex: 1; /* ← 横幅をちゃんと使う */
}
.interview .comment {
  flex: 1;
}
.interview-inner figure {
  flex: 0 0 80px; /* 横幅は固定 */
  height: auto; /* 高さは親に合わせる */
}
.interview-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* はみ出しOKでトリミング */
}

.interview figure {
  flex: 0 0 clamp(6rem, 30%, 10rem);
}

.interview .name {
  text-align: center;
  background: #042060;
  color: #ffffff;
  margin-bottom: 1rem;
}
.interview .comment {
  line-height: 1.5;
  background: #ffffff;
  padding: 0.5rem;
}

.qa-question {
  width: 100%;
  margin-bottom: 1rem;
}
.qa-question-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.comment-design {
  position: relative;
}
.comment-design-left::after {
  content: "";
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #042060;
}
.comment-design-right::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #042060;
}

.qa-answer {
  margin-bottom: 2rem;
}
.qa-text {
  border: 2px solid #042060;
  padding: 0.5rem;
  width: 100%;
}
.qa-text::before {
  content: "Q.";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  width: 1.5rem;
  height: 1.5rem;
  background: #003b6f;
  margin: 0 0.3rem 0 0;
}
.qa-answer .qa-text::before {
  content: "A.";
  background: #ce3635;
}
.qa-avatar {
  width: 60px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.how-to-vote .title {
  color: #ffffff;
  background: #042060;
}

.contact {
  background: #106aab;
  color: #ffffff;
}

.contact-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.contact-city {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-item p {
  margin: 0.25rem 0;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* media */
.media .flex {
  gap: 2rem;
}
.media h2 {
  margin-bottom: 1rem;
}
.cm,
.sns {
  width: 100%;
}
.media .inner {
  border: 3px solid #0096d1;
  border-radius: 5px;
  margin-bottom: 3rem;
}
.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.sns .senkyo {
  margin-bottom: 3rem;
}
.sns .senkyo > div{
width: 48%;
overflow: hidden;
}

#ig{
border: #eee solid 1px;
border-radius: 10px;
}
#ig_header{
padding: 10px;
}
#ig_header .ig_profile a{
display: flex;
align-items: center;
text-decoration: none;
}
#ig_header .ig_profile span{
text-align: left;
color: #000;
margin: 0 0 0 10px;
font-size: 0.8em;
line-height: 1.8em;
}
#ig_header .ig_profile img{
width: 50px;
height: auto;
border-radius: 100px;
overflow: hidden;
}

#ig_list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
}

#ig_list::-webkit-scrollbar {
  height: 6px;
}

#ig_list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

#ig_list .entry {
  flex: 0 0 170px;   /* 横幅固定 */
  scroll-snap-align: start;
}

#ig_list .entry:last-of-type a{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: #ccc;
text-decoration: none;
}
#ig_list .entry:last-of-type img{
width: 45px;
height: auto;
}

#ig_list img {
  width: 100%;
  display: block;
  border-radius: 8px;
}


.media .sns-inner {
  flex-direction: column;
  gap: 1rem;
}



/* =========================
  外部リンクアイコン
========================= */
.external-link {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h6V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6h-2v6H5V5z'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.site-footer {
  font-size: 0.9rem;
  color: #003b6f;
}
.site-footer .wrap {
  background: #eeefef;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.site-footer a {
  text-decoration: underline; /* ← 明示的に付ける */
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration-thickness: 2px;
}

.footer-org {
  font-weight: bold;
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.3;
}

.footer-address p {
  margin: 4px 0;
}

.footer-nav {
  margin-top: 16px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-nav li {
  margin: 8px 0;
}

.fsns {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  text-align: center;
}
.fsns p {
  margin: 0 0 0.5rem 0;
}
.fsns li {
  width: 35px;
  margin: 0 0.5rem 0;
}

/* =========================
 Mobile
========================= */

@media (max-width: 766px) {
  .hero-inner {
    background: url(fv_750.webp) no-repeat top / cover;
    min-height: 65vh;
  }
  .early-vote-note-dt {
    display: none;
  }
  .early-vote-note br,
  .links-button-text br,
  .link-item br {
    display: none;
  }

  .contact-city {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 0.5rem 0;
    z-index: 1;
  }
  .dt-explain {
    display: none;
  }

.sns .senkyo > div{
width: 100%;
overflow: hidden;
padding: 10px;
}

#ig_header{
padding: 10px;
}
#ig_header .ig_profile img{
width: 100px;
}

#ig_list {
  padding: 10px;
}



  /* 問い合わせ一覧 */

  .contact-list table a {
    color: #042060;
    text-decoration: none;
  }
  .contact-list table,
  .contact-list table > *,
  .contact-list table tr {
    width: 100%;
    display: block;
  }
  .contact-list table > * {
    display: inline-block;
    text-align: left;
  }
  .contact-list table th {
    padding: 0.5rem 0;
    display: block;
  }
  .contact-list table thead {
    display: none;
  }
  .contact-list table tr {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e5e5;
  }
  .contact-list table th a {
    display: inline-flex;
    align-items: center;
  }
  .contact-list table th a span {
    margin: 0 0 0 10px;
  }
  .contact-list table td {
    padding: 0.25rem;
  }
  .contact-list table td:last-of-type {
    display: block;
  }
  .contact-list table td a {
    display: table;
  }

  /* footer */
  .fsns {
    position: static;
    transform: none;
    text-align: left;
  }
  .fsns p {
    margin: 0.5rem 0;
  }
  .fsns li {
    width: 40px;
    margin: 0 0.8rem 0 0;
  }
}

/* =========================
 Desktop
========================= */

@media (min-width: 410px) {
  .vote-num .flex,
  .early-vote .flex {
    justify-content: flex-start;
  }
}
@media (min-width: 420px) {
  .vote-information-text br {
    display: none;
  }
}
@media (max-width: 419px) {
  .information .hyakumangokkun {
    display: none;
  }
}
@media (min-width: 767px) {
  .flex-md {
    display: flex;
  }
  .early-vote-note-dt br,
  .catchphrase .max-750 h3 br,
  .footer-org br,
  .cm br {
    display: none;
  }
  .max-750 {
    max-width: 750px;
    margin: 0 auto;
  }
  .sub-title .note,
  .vote-time .note,
  .early-vote-note,
  .vote-information-text,
  .vote-information-note,
  .vote-information-head .note {
    font-size: 1rem;
  }
  .x-large {
    font-size: 3em;
  }
  .large {
    font-size: 4.1em;
  }
  .middle {
    font-size: 1.4em;
  }
  .little {
    font-size: 2em;
  }
  .week {
    font-size: 1.5rem;
  }
  .to {
    display: inline-block;
    width: 60px;
    top: -13px;
    left: -2px;
  }
  .early-vote-note {
    opacity: 0;
  }
  .early-vote-note-dt {
    font-size: 1rem;
  }
  .vote-date .week {
    left: -3px;
  }
  .early-vote-period .middle {
    font-size: 3em;
  }
  .hero-inner {
    background: url(fv_1200.webp) no-repeat top / cover;
  }

  .vote-num .flex > div,
  .early-vote .flex > div {
    flex: none;
  }

  .vote-panels .hyakumangokkun {
    top: 20px;
    right: 30px;
  }
  .links-sub figure img,
  .how-to-vote figure img,
  .site-footer figure img {
    width: auto;
  }

  .links-sub-inner {
    padding: 3rem 0;
    grid-template-columns: repeat(3, 1fr);
  }
  .links-sub-inner:before {
    top: 3rem;
    bottom: 3rem;
    left: 0;
    right: 0;
  }

  .link-item {
    flex-direction: row;
    text-align: left;
  }

  .link-item br {
    display: none;
  }
  


  /*  */
  .catchphrase h3 {
    font-size: 2rem;
    font-weight: normal;
  }
  .catchphrase .max-750::before {
    bottom: -35px;
    left: -20px;
    width: 80px;
    height: 60px;
  }
  .catchphrase .max-750::after {
    bottom: -35px;
    right: 20px;
    width: 80px;
    height: 60px;
  }

  .information .hyakumangokkun {
    width: 100px;
  }

  /*  */

  .contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }

  .contact-item {
    padding: 1.5rem 0;
  }

  /* 質疑応答 */
  .how-to-vote .max-750 .title-img {
    width: 50%;
  }

  .qa-avatar {
    width: auto;
    aspect-ratio: auto;
    border-radius: 0;
  }

  /*  */
  .qa-list {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-auto-rows: auto;
    column-gap: 24px;
    row-gap: 8px; /* ← 質問と回答の距離はここで調整 */
  }

  .qa-question,
  .qa-answer {
    display: contents;
  }
  .qa-text {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  /* 中間ラッパーを消す（見た目だけ） */
  .qa-question-inner {
    display: contents;
  }

  /* 質問 */
  .qa-question .qa-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .qa-question .qa-text {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    top: -253px;
    margin-bottom: 12px;
  }
  .qa-question .qa-text.last-comment {
    top: -252px;
  }

  /* 回答 */
  .qa-answer .qa-text {
    grid-column: 2;
    grid-row: 1; /* ← ここがポイント */
    margin-top: 70px;
  }

  .qa-answer .qa-avatar {
    grid-column: 3;
    grid-row: 1;
  }

  .comment-design-left::after {
    top: 11%;
    right: -22px;
  }
  .comment-design-right::before {
    top: 76%;
    left: -22px;
  }
  .comment-design-right {
    margin: auto auto 0;
  }

  /* media */
  .media {
    padding: 4rem 1rem 1.5rem;
  }
  .media .sns-inner {
    flex-direction: row;
  }

  /* 問い合わせ一覧 */

  .contact-list table a {
    color: #042060;
    text-decoration: none;
  }
  .contact-list table {
    width: 100%;
  }
  .contact-list table thead th {
    font-weight: normal;
  }
  .contact-list table th,
  .contact-list table td {
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 0;
  }
  .contact-list table td {
    text-align: center;
  }
  .contact-list table th a {
    display: inline-flex;
    align-items: center;
  }
  .contact-list table th a span {
    margin: 0 0 0 10px;
  }
  .contact-list table td a {
    display: table;
    margin: 0 auto;
    pointer-events: none;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }
  .contact-item:first-child {
    padding: 1.5rem 0 0.5rem;
  }
  .contact-item .num-explain {
    display: inline-block;
    min-width: 117px;
  }
  .contact-city {
    min-width: 100px;
    /* sticky はPCでは解除 */
    position: static;
    margin-bottom: 0;
  }
  .contact-city.name-explain {
    font-weight: normal;
  }
  .address {
    min-width: 370px;
  }
  .contact-list .flex-md {
    column-gap: 1rem;
  }

  .footer-nav li {
    margin: 10px 0;
    border-left: 1px solid #042060;
    padding-left: 1rem;
    line-height: 1em;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 32px;
    align-items: start;
  }

  .footer-nav ul {
    display: flex;
    gap: 16px;
  }
  .footer-nav li {
    margin: 0;
  }
}

@media (min-width: 1160px) {
  .sub-title .note {
    font-size: 1.6rem;
  }

  .early-vote-note,
  .vote-time .note {
    font-size: 0.9rem;
  }
  .hero-inner {
    background: url(fv_1800.webp) no-repeat center / cover;
  }
  .hero {
    height: auto;
    min-height: auto;
    align-items: center;
  }
  .hero-image-logo {
    width: 100%;
  }
  .hero-inner {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    flex: none; /* ← ここ超重要 */
  }
  .vote-num,
  .vote-num .section-title,
  .vote-num .sub-title,
  .early-vote,
  .early-vote .flex > div,
  .early-vote .early-vote-note {
    flex: 1;
  }
  .vote-num .flex {
    flex-direction: column;
  }
  .vote-num .flex > div {
    flex: none;
  }
  .vote-num .flex > div {
    display: flex;
    flex-direction: row;
    width: 100%;
  }
  .vote-num .sub-title {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }
  .vote-panels {
    display: flex;
    align-items: stretch;
    flex: none;
    width: 100%;
  }

  .vote-num {
    background: #0097d2;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
    z-index: 100;
    padding-right: 2.8rem;
    margin: 1rem 0;
  }

  .vote-num > div {
    margin-bottom: 0;
  }

  .early-vote {
    background: #f2f2f2;
    clip-path: none;
    margin-left: -50px;
    z-index: 1;
    padding-left: 3.5rem;
  }
  .section-title {
    margin-bottom: 0;
  }

  .month,
  .day {
    font-size: 3.5rem;
  }
  .month {
    bottom: 4px;
    left: 1px;
  }
  .day {
    bottom: 4px;
    left: -6px;
  }
}
