/* ========================================
   PREF NOTICE COLOR
======================================== */

.is-shizuoka {
  --notice-color: #2953a3;
  --notice-bg: #eef1f5;
}

.is-yamanashi {
  --notice-color: #f19a00;
  --notice-bg: #f8f4ec;
}

/* ========================================
   PREF NOTICE
======================================== */
.p-pref-notice{
  padding:40px 0 56px
}

.p-pref-notice-section {
  padding: 72px 0 96px;
}

.p-pref-notice-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.p-pref-notice-section__box {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px;
  background: var(--notice-bg);
}

.p-pref-notice-section__box + .p-pref-notice-section__box {
  margin-top: 56px;
}

.p-pref-notice-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.p-pref-notice-section__title-wrap {
  min-width: 0;
}

.p-pref-notice-section__en {
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.3;
}

.p-pref-notice-section__ja {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.p-pref-notice-section__date {
  margin: 0;
  color: var(--notice-color);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.p-pref-notice-section__body {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
  padding:50px 0;
}

.p-pref-notice-section__body p {
  margin: 0 0 1em;
}

.p-pref-notice-section__body p:last-child {
  margin-bottom: 0;
}

.p-pref-notice-section__body a {
  color: var(--notice-color);
}

.p-pref-notice-section__button-wrap {
  margin-top: 32px;
  text-align: center;
}

/* ========================================
   PREF NOTICE BUTTON
======================================== */

.p-pref-notice-button {
  display: inline-block;
  width: 380px;
  max-width: 100%;
  border: 4px solid var(--notice-color);
  border-radius: 18px;
  text-decoration: none;
  overflow: hidden;
}

.p-pref-notice-button__top {
  display: block;
  padding: 14px 12px 12px;
  background: var(--notice-color);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.p-pref-notice-button__middle {
  display: block;
  padding: 30px 20px 22px;
  color: var(--notice-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.p-pref-notice-button__bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 0 20px 20px;
  color: var(--notice-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.p-pref-notice-button__arrow {
  position: relative;
  width: 26px;
  height: 26px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex: 0 0 auto;
}

.p-pref-notice-button__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  right: 6px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.p-pref-notice-button__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* ========================================
   PAGE HERO : PREF NOTICE
======================================== */

.p-page-hero--pref-notice .p-page-hero__text {
  max-width: 18em;
}

/* ========================================
   SP
======================================== */

@media (max-width: 767px) {
  .p-pref-notice-section {
    padding: 48px 0 64px;
  }

  .p-pref-notice-section__box {
    padding: 22px 16px 28px;
  }

  .p-pref-notice-section__head {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .p-pref-notice-section__en {
    font-size: 14px;
  }

  .p-pref-notice-section__ja {
    font-size: 18px;
  }

  .p-pref-notice-section__date {
    font-size: 11px;
    white-space: normal;
  }

  .p-pref-notice-section__body {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.8;
  }

  .p-pref-notice-button__top {
    font-size: 26px;
  }

  .p-pref-notice-button__middle {
    padding: 24px 16px 18px;
    font-size: 18px;
  }

  .p-pref-notice-button__bottom {
    gap: 10px;
    padding: 0 16px 18px;
    font-size: 16px;
  }

  .p-pref-notice-button__arrow {
    width: 22px;
    height: 22px;
  }
}

/* ========================================
   PREF NOTICE BODY CONTENT
   クライアント自由入力用の補助デザイン
======================================== */

/* h2：装飾なし */
.p-pref-notice-section__body h2 {
  margin: 48px 0 20px;
  color: inherit;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
  padding: 0;
  border: 0;
}

/* h3：県カラーの縦棒 */
.p-pref-notice-section__body h3 {
  position: relative;
  margin: 40px 0 16px;
  padding-left: 16px;
  color: var(--notice-color);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
}

.p-pref-notice-section__body h3::before {
  content: "";
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 6px;
  height: 1.2em;
  background: var(--notice-color);
  border-radius: 2px;
}

/* h4：県カラー + 下線点線 */
.p-pref-notice-section__body h4 {
  margin: 32px 0 12px;
  padding-bottom: 6px;
  color: var(--notice-color);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 2px dotted var(--notice-color);
}

/* list */
.p-pref-notice-section__body ul,
.p-pref-notice-section__body ol {
  margin: 16px 0 24px;
  padding-left: 1.4em;
}

.p-pref-notice-section__body li {
  margin-bottom: 6px;
  line-height: 1.9;
}

/* link */
.p-pref-notice-section__body a {
  color: var(--notice-color);
  text-decoration: underline;
}

/* image */
.p-pref-notice-section__body img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* table */
.p-pref-notice-section__body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.p-pref-notice-section__body th,
.p-pref-notice-section__body td {
  padding: 12px;
  border: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}

/* iframe / embed 念のため */
.p-pref-notice-section__body iframe {
  max-width: 100%;
}

/* mobile */
@media (max-width: 767px) {
  .p-pref-notice-section__body h2 {
    margin: 36px 0 16px;
    font-size: 22px;
  }

  .p-pref-notice-section__body h3 {
    margin: 30px 0 14px;
    padding-left: 14px;
    font-size: 19px;
  }

  .p-pref-notice-section__body h3::before {
    width: 5px;
  }

  .p-pref-notice-section__body h4 {
    margin: 24px 0 10px;
    font-size: 16px;
  }

  .p-pref-notice-section__body th,
  .p-pref-notice-section__body td {
    padding: 10px;
    font-size: 13px;
  }
}