.section-title {
  max-width: 500px;
  width: 90%;
}

.title-text {
  color: #004096;
  font-size: 27px;
  position: relative;
}

.title-text::after {
  content: "";
  z-index: -1;
  position: absolute;
  border-bottom: 6px solid #f7d949;
  width: 100%;
  bottom: 4px;
  left: 0;
}

.header-menu > a {
  color: #004096;
}

.general-application-method {
  position: relative;
  padding: 4rem 0 4rem;
  width: 100%;
}

.general-application-method > div {
  margin: auto;
  max-width: 1024px;
}

.general-application-method > div > a {
  text-align: center;
}

.general-application-method > div > a > img {
  margin: auto;
  width: 90%;
  max-width: 1024px;
}

.general-youtube-player-container {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

.general-banner-section {
  background-color: #f7d949;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.general-banner-section::after {
  content: "";
  display: block;
  left: 0;
  bottom: -1px;
  border-top: 60px solid transparent;
  border-left: 50vw solid transparent;
  border-right: 50vw solid #fff;
  border-bottom: 60px solid #fff;
}

.general-banner-content {
  background-color: #fff;
  display: flex;
  flex-flow: column;
  align-items: center;
  margin: 2rem 0;
  padding: 3rem 0 4rem;
  width: 95%;
}

.general-banner-content > img {
  margin-bottom: 2rem;
}

.banner-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 2rem;
  grid-row-gap: 1.5rem;
  width: 80%;
}

.banner-block > a > img {
  display: block;
  margin: auto;
  width: 100%;
}

.banner-block > div {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.banner-block > div > a {
  display: block;
  width: 25%;
}

.banner-block > div > a > img {
  width: 100%;
}

.general-recruitment-menu {
  background-color: #f7d949;
  display: flex;
  position: relative;
  padding: 12px 24px;
  width: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
  border: 5px solid #f7d949;
}

.general-recruitment-menu:after {
  content: "";
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: -23px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #f7d949 transparent transparent transparent;
  border-width: 20px 14px 0 14px;
}

.general-top-section,
.general-recruitment-section {
  background-size: contain;
  background-repeat: no-repeat;
}

.general-top-section {
  padding-top: 50%;
  background-image: url("../images/general/pc/公募ページメインビジュアルPC.png");
}

.general-recruitment-section {
  background-color: #f7d949;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.general-recruitment-section::after {
  content: "";
  display: block;
  left: 0;
  bottom: -1px;
  border-top: 60px solid transparent;
  border-left: 50vw solid transparent;
  border-right: 50vw solid #fff;
  border-bottom: 60px solid #fff;
}

.general-recruitment-info {
  display: flex;
  z-index: 10;
  justify-content: center;
  margin: 50px 0;
  max-width: 700px;
  width: 60%;
  background-color: #fff;
  border: #f7d949 solid 5px;
}

.general-recruitment-sub-title {
  margin: 0 auto;
  width: 56%;
}

.general-recruitment-title {
  margin: 20px auto 0 auto;
  width: 88%;
  display: flex;
  justify-content: center;
}

.general-recruitment-text {
  line-height: 29px;
  padding: 0 14px;
}

.general-message-section {
  color: #004096;
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  background-color: #fff;
  position: relative;
  padding: 4rem 0 4rem;
}

.message-content > .message-info {
  display: flex;
  margin-top: 3rem;
  max-width: 800px;
}

.general-message-section > .message-content > .message-text {
  display: flex;
  margin-top: 3rem;
  max-width: 750px;
  padding: 0 5rem;
}

.message-content > .message-info > .introduction {
  text-align: center;
  margin: auto;
  width: 20%;
  min-width: 200px;
}

.message-content > .message-info > .introduction > img {
  width: 80%;
}

.message-content > .message-info > .introduction > div {
  color: #104394;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.message-content > .message-info > .introduction > div > strong {
  color: #104394;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.message-content > .message-info > .message {
  padding-left: 1rem;
  width: 80%;
}

.general-name-text {
  font-size: 20px;
  letter-spacing: 2px;
}

.general-message-box {
  left: 53%;
}

.general-message-text {
  margin-top: 25px;
}

.general-support-section {
  font-weight: normal;
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  position: relative;
  padding: 3rem 0 14rem;
}

.general-support-title {
  max-width: 450px;
}

.support-box h3 {
  font-size: 24px !important;
}

.support-box p {
  font-size: 18px;
}

.general-flow-section {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  position: relative;
  padding: 4rem 0 0;
}

.flow-explanation-title {
  font-size: 20px;
}

.caution-message {
  font-size: 18px;
}

.blue {
  background-color: #5dcadc;
}

.general-application-section {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  background-color: #f7d949;
  position: relative;
  padding: 5rem 0 10rem 0;
}

.application-requirements-title {
  font-size: 20px;
}

.application-requirements-detail {
  font-size: 18px;
}

.general-application-link {
  color: #000;
}

.general-dl-link {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  height: 32px;
  border-radius: 4px;
}

.list-margin {
  margin-bottom: 18px;
}

.prefecture-koubo-box {
  background-color: #fff;
  padding: 20px 24px;
  margin-top: 16px;
  border-radius: 4px;
}

.prefecture-koubo-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.prefecture-koubo-text {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.prefecture-koubo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.prefecture-koubo-links > a {
  color: #004096;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
}

.prefecture-koubo-links > a:hover {
  text-decoration: underline;
}

.general-local-councilor-section {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  margin: auto;
  padding: 8rem 0 0;
}

.general-local-councilor-content > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  width: 100%;
}

.general-local-councilor-content > div > p {
  padding-bottom: 2rem;
}

.general-local-councilor-content > div > a {
  text-align: center;
}

.general-local-councilor-content > div > a > img {
  margin: auto;
  width: 80%;
  max-width: 1024px;
}

.general-local-councilor-content {
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
}

.general-local-councilor-content > img {
  margin-bottom: 2rem;
}

.general-local-councilor-content > div:not(:last-child) {
  margin-bottom: 2.5rem;
}

.table-block1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.table-block1-column1 {
  grid-area: 1 / 1 / 2 / 2;
}
.table-block1-column2 {
  grid-area: 1 / 2 / 2 / 4;
}
.table-block1-column3 {
  grid-area: 2 / 1 / 3 / 2;
}
.table-block1-column4 {
  grid-area: 2 / 2 / 3 / 4;
}

.table-block2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.table-block2-column1 {
  grid-area: 1 / 1 / 2 / 3;
}
.table-block2-column2 {
  grid-area: 1 / 3 / 2 / 6;
}
.table-block2-column3 {
  grid-area: 2 / 1 / 3 / 3;
}
.table-block2-column4 {
  grid-area: 2 / 3 / 3 / 6;
}
.table-block2-column5 {
  grid-area: 3 / 1 / 4 / 3;
}
.table-block2-column6 {
  grid-area: 3 / 3 / 4 / 6;
}
.table-block2-column7 {
  grid-area: 4 / 1 / 5 / 3;
}
.table-block2-column8 {
  grid-area: 4 / 3 / 5 / 6;
}

.table-block1-column1,
.table-block1-column3,
.table-block2-column1,
.table-block2-column3,
.table-block2-column5,
.table-block2-column7 {
  font-weight: bold;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table-block1,
.table-block2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.table-block1 > p,
.table-block2 > p {
  border: 1px solid #000;
  box-sizing: border-box;
  padding: 0.4rem;
}

/* electoral-zone */
.electoral-zone-top-section {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  padding-bottom: 5rem;
}

.electoral-zone-top-section > img {
  width: 100%;
}

.electoral-zone-top-content {
  margin: auto;
  max-width: 1024px;
}

.electoral-zone-top-content > .share-box {
  margin: auto;
}

.electoral-zone-top-content > p {
  padding: 0 1rem;
  margin: 2.5rem auto;
  max-width: 800px;
}

.electoral-zone-top-content > p > strong {
  text-decoration: underline;
}

.constituency-list {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr 0.4fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  margin: auto;
  padding: 0 1rem;
  max-width: 800px;
}

.constituency-list > .row {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr 0.4fr;
  grid-template-rows: 1fr;
}

.constituency-list > .row > div {
  padding: 0.5rem;
}

.tochigi {
  background-color: #f2cdde;
}
.gunma {
  background-color: #fadceb;
}
.gifu {
  background-color: #e7f1cf;
}
.kyoto {
  background-color: #fffabd;
}
.hyogo {
  background-color: #fffcd6;
}
.wakayama {
  background-color: #fffdeb;
}
.shimane {
  background-color: #dcd4e7;
}
.tokushima {
  background-color: #deecdf;
}
.miyagi {
  background-color: #fde0c7;
}
.bold-delimiter {
  border-bottom: 2px solid #aaaaaa;
}
.delimiter {
  border-bottom: 1px solid #aaaaaa;
}
.large-text {
  font-size: 18px;
}
.emphasis-text {
  font-weight: bold;
}

.constituency-list-header {
  color: #004096;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  grid-column: 1 / 5;
}

.constituency-list-date {
  font-size: 14px;
  text-align: center;
  grid-column: 1 / 5;
  padding-bottom: 5px;
}

.column-name {
  background-color: #f0f0f0;
  padding: 0.5rem;
}

.electoral-zone-delimiter-section {
  background-color: #f7d949;
}

.electoral-zone-delimiter-section > div {
  display: flex;
  justify-content: space-evenly;
  margin: auto;
  width: 80%;
  max-width: 1024px;
}

.electoral-zone-delimiter-section > div > a {
  text-align: center;
  color: #000;
  background-color: #fff;
  display: block;
  margin: 2rem 1rem;
  padding: 1rem 0;
  width: 30%;
}

/* youth */
.value-top-section {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  padding-bottom: 5rem;
}

.value-top-section > img {
  width: 100%;
}

.value-top-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  max-width: 1024px;
  width: 80%;
}

.value-top-content > .section-title {
  margin: 2rem 0;
}

.value-top-content > .share-box {
  margin: auto;
}

.overview-content {
  word-break: break-all;
  border: 4px solid #004096;
  margin: auto;
  padding: 4rem 3rem;
  width: 80%;
}

.overview-content > div:not(:first-child) {
  margin-top: 3rem;
}

.overview-content > div > h2 {
  color: #fff;
  font-weight: normal;
  font-size: 24px;
  background-color: #004096;
  padding: 0.8rem 1rem;
}

.overview-content > div > p {
  margin-top: 1.2rem;
}

.overview-content > div > p > span {
  font-weight: bold;
  border-bottom: 2px dotted #f7d949;
}

.overview-content > div > .emphasis {
  width: fit-content;
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  margin: 2rem auto 0;
  border-bottom: 2px solid #f7d949;
}

.overview-content > div > ul {
  padding-left: 20px;
  list-style-type: "・";
  margin-top: 1rem;
}

.overview-content > div > ul > li {
  font-size: 14px;
}

.overview-content > div > ul > li > span {
  font-weight: bold;
  border-bottom: 2px dotted #f7d949;
}

.overview-content > div > ul > li > a {
  text-decoration: underline;
}

.overview-content > .resolution {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #f7d949;
  padding: 1.5rem 0.5rem;
}

.overview-content > .application-link > a > img {
  margin: auto;
  width: 80%;
}

.value-message-content {
  display: flex;
  margin-top: 3rem;
}

.value-message-content > .introduction {
  text-align: center;
  margin: auto;
  width: 20%;
  min-width: 200px;
}

.value-message-content > .introduction > a > img {
  width: 80%;
}

.value-message-content > .introduction > div > a {
  color: #104394;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.value-message-content > .introduction > div > a > span {
  font-size: 15px;
}

.value-message-content > .introduction > div > a > .detail {
  color: #000;
  font-weight: lighter;
  font-size: 13px;
  text-align: left;
  padding-top: 0.3rem;
}

.value-message-content > .message {
  padding-left: 1rem;
  width: 80%;
}

.value-message-content > .message > h3 {
  font-size: 18px;
  color: #104394;
  padding: 1rem 0 0;
}

.value-images-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 3rem;
}

.value-images-content > img {
  width: 32%;
}

.value-images-content > div {
  display: flex;
  flex-direction: column;
  width: 33%;
}

.value-images-content > div > p {
  font-size: 13px;
  text-align: center;
  margin: 0.8rem 0;
}

.value-images-content > div > img {
  margin: auto;
  width: 95%;
}

/* municipal-councilor */
.municipal-councilor-section {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  padding-bottom: 5rem;
}

.municipal-councilor-top-section > img {
  width: 100%;
}

.municipal-councilor-top-content {
  margin: auto;
  max-width: 1024px;
}

.municipal-councilor-top-content > .share-box {
  margin: auto;
}

.municipal-councilor-top-content > p {
  padding: 0 1rem;
  margin: 2.5rem 0;
}

.municipal-councilor-local-councilor-section {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  margin: auto;
  padding: 2rem 0;
  max-width: 700px;
  width: 80%;
}

.municipal-councilor-banner-section {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Sans", sans-serif;
  padding: 2rem 0 6rem;
  margin: auto;
  max-width: 700px;
  width: 80%;
}

.municipal-councilor-banner-section > p {
  padding-bottom: 2rem;
}

.municipal-councilor-banner-section > a > img {
  width: 100%;
}

.share-seciton {
  display: flex;
  justify-content: center;
  margin: auto;
  padding: 1rem 0 4rem;
  max-width: 1024px;
}

.yellow-delimiter::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  border-top: 60px solid transparent;
  border-left: 50vw solid transparent;
  border-right: 50vw solid #f7d949;
  border-bottom: 60px solid #f7d949;
}

.white-delimiter::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  border-top: 60px solid transparent;
  border-left: 50vw solid transparent;
  border-right: 50vw solid #fff;
  border-bottom: 60px solid #fff;
}

@media screen and (max-width: 768px) {
  .banner-block {
    display: block;
    width: 100%;
  }

  .banner-block > a {
    display: block;
  }

  .banner-block > a:not(:first-child) {
    margin-top: 1rem;
  }

  .banner-block > a > img {
    width: 90%;
  }

  .general-application-method {
    padding: 1rem 0 3rem;
    width: 100%;
  }

  .general-application-method > div > a > img {
    width: 100%;
  }

  .general-youtube-player-container {
    margin: 2rem auto;
    width: 90%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
  }

  .general-youtube-player-container > iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

  .general-message-section {
    padding: 2rem 0 2rem;
  }

  .general-support-section {
    padding: 4rem 0 8rem;
  }

  .general-flow-section {
    padding: 4rem 0 0;
  }

  .general-message-section::after,
  .general-flow-section::after,
  .share-seciton::after {
    border-top: 30px solid transparent;
    border-bottom: 30px solid #f7d949;
  }

  .general-banner-section::after,
  .general-recruitment-section::after,
  .white-delimiter::after {
    border-top: 30px solid transparent;
    border-bottom: 30px solid #fff;
  }

  .yellow-delimiter::after {
    border-top: 30px solid transparent;
    border-bottom: 30px solid #f7d949;
  }

  .general-top-section {
    padding-top: 112.5%;
    background-image: url("../images/general/sp/公募ページメインビジュアルSP.png");
  }

  .message-content > .message-info {
    display: block;
  }

  .general-message-section > .message-content > .message-text {
    padding: unset;
  }

  .message-content > .message-info > .introduction {
    width: 100%;
  }

  .message-content > .message-info > .introduction > img {
    width: 40%;
  }

  .message-content > .message-info > .introduction > div {
    color: #104394;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
  }

  .message-content > .message-info > .message {
    padding: 0.8rem 0;
    width: 100%;
  }

  .general-support-title {
    width: 90%;
  }

  .general-recruitment-info {
    margin: 50px 0;
    width: 88%;
  }

  .general-recruitment-text {
    padding: 0;
  }

  .general-local-councilor-content {
    margin: auto;
    width: 90%;
  }

  .general-local-councilor-content > img {
    margin-bottom: 2rem;
  }

  .electoral-zone-delimiter-section {
    display: flex;
  }

  .electoral-zone-delimiter-section > div {
    display: block;
  }

  .electoral-zone-delimiter-section > div > a {
    margin: 1rem 0;
    width: 100%;
  }

  /* youth */
  .value-top-content {
    width: 90%;
  }

  .overview-content {
    padding: 2.5rem 1.5rem;
    width: auto;
  }

  .overview-content > .application-link > a > img {
    width: 100%;
  }

  .value-message-content {
    display: block;
  }

  .value-message-content > .introduction {
    width: 100%;
  }

  .value-message-content > .introduction > a > img {
    width: 40%;
  }

  .value-message-content > .message {
    padding: 0.8rem 0;
    width: 100%;
  }

  .value-images-content {
    display: block;
  }

  .value-images-content > div {
    width: 100%;
  }

  .value-images-content > img {
    width: 100%;
  }

  .value-images-content > img:not(:first-child) {
    margin-top: 0.5rem;
  }

  .municipal-councilor-local-councilor-section {
    width: auto;
  }

  .municipal-councilor-banner-section {
    width: 90%;
  }

  .general-local-councilor-section {
    padding: 4rem 0 0;
  }

  .general-local-councilor-content > div > a > img {
    width: 100%;
  }

  .general-application-section {
    padding: 2rem 0 4rem;
  }

  .share-seciton {
    padding: 1rem 0 4rem;
  }
}
