/* ==================================================
   AcOmO専用ナビゲーション
================================================== */
html {
  scroll-behavior: smooth;
}

.acomo-product-nav {
  background: #0f2747;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.acomo-product-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.acomo-product-nav__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  cursor: default;
}

.acomo-product-nav__logo {
  height: 38px;
  width: auto;
  display: block;
}

.acomo-product-nav__name {
  position: relative;
  padding-left: 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.acomo-product-nav__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%);
}

.acomo-product-nav__menu {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acomo-product-nav__menu a {
    position: relative;
    display: inline-block;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .03em;
    transition: color .25s ease;
}

.acomo-product-nav__menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #68b83e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.acomo-product-nav__menu a:hover::after {
    transform: scaleX(1);
}

.acomo-product-nav__menu a:hover {
    color: #fff;
}

@media screen and (max-width: 768px) {
  .acomo-product-nav__inner {
    padding: 16px 20px;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .acomo-product-nav__menu {
    width: 100%;
    overflow-x: auto;
    gap: 10px;
  }

  .acomo-product-nav__menu li {
    flex: 0 0 auto;
  }

  .acomo-product-nav__menu a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
  }
}


/* ==================================================
   Heroタイトル・ロゴ微調整
================================================== */

.a-tax-hero__logo {
  width: 380px;
}

.a-tax-hero__logo-wrap {
  margin-left: -20px;
  margin-bottom: -10px;
}

body .a-tax-hero .a-tax-hero__title {
  font-size: 44px !important;
}

/* ==================================================
   Hero黄色帯 微調整
================================================== */

body .a-tax-hero .a-tax-hero__catch {
  max-width: 720px;
  padding: 14px 28px 16px;
  font-size: 28px;
  box-sizing: border-box;
}

/* ==================================================
   課題セクション 背景調整
================================================== */

body .a-tax-problem {
  background: #f7f9fc !important;
}

/* ==================================================
   Hero下の影を削除
================================================== */

.a-tax-hero {
  box-shadow: none;
  border-bottom: 1px solid #eef2f7;
}

/* ==================================================
   課題セクション 画像カード調整
================================================== */

.a-tax-problem-image-card {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 10px 28px rgba(15, 39, 71, 0.06);
}

.a-tax-problem-image-card__image {
  margin: 22px 0 20px;
  border-radius: 12px;
  overflow: hidden;
}

/* ==================================================
   課題カード 高さ調整
================================================== */

.a-tax-problem-image-card {
  padding: 18px 18px 18px;
}

.a-tax-problem-image-card__head {
  min-height: 70px;
  margin-bottom: 10px;
}

.a-tax-problem-image-card__image {
  margin: 0 0 16px;
}

.a-tax-problem-image-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f6fa8 0%, #2196d3 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(15, 111, 168, 0.18);
}

/* ==================================================
   課題ラベル デザイン調整
================================================== */

.a-tax-problem__title span {
  color: #187fbd;
}

/* ==================================================
   全体の流れセクション リデザイン
================================================== */

.a-tax-flow {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(30, 127, 189, 0.08) 0,
      rgba(30, 127, 189, 0) 42%
    ),
    #edf5fb;
}

.a-tax-flow__inner {
  width: min(1420px, calc(100% - 64px));
  margin: 0 auto;
}

/* セクションラベル */
.a-tax-flow .a-tax-flow__label {
  width: fit-content;
  min-width: 106px;
  margin: 0 auto 30px;
  padding: 11px 24px 13px;
  border-radius: 22px;
  background: #0f6fa8;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-align: center;
  box-sizing: border-box;
}

/* 既存CSSに疑似要素がある場合の調整 */
.a-tax-flow .a-tax-flow__label::after {
  height: 2px;
  background: #0b5f91;
}

/* 見出し */
.a-tax-flow .a-tax-flow__title {
  margin: 0;
  color: #0f2747;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
}

.a-tax-flow .a-tax-flow__title span {
  color: #187fbd;
}

/* リード文 */
.a-tax-flow .a-tax-flow__lead {
  margin: 24px 0 48px;
  color: #25364e;
  font-size: 17px;
  font-weight: 500;
  line-height: 2;
  text-align: center;
}

/* ==================================================
   フロー全体
================================================== */

.a-tax-flow-process {
  display: grid;
  grid-template-columns:
    minmax(150px, 190px)
    42px
    minmax(170px, 210px)
    42px
    minmax(520px, 1fr)
    42px
    minmax(190px, 230px);
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

/* ==================================================
   左右の小カード
================================================== */

.a-tax-flow-process__side-card {
  height: 100%;
  min-height: 392px;
  padding: 26px 20px 22px;
  background: #fff;
  border: 1px solid #dce8f3;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 39, 71, 0.07);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.a-tax-flow-process__side-title {
  min-height: 58px;
  margin: 0;
  color: #0f2747;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a-tax-flow-process__line {
  width: 28px;
  height: 2px;
  margin: 8px auto 14px;
  border-radius: 999px;
  background: #187fbd;
}

.a-tax-flow-process__action {
  min-height: 52px;
  margin: 0 0 18px;
  color: #25364e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a-tax-flow-process__image {
  width: 100%;
  margin-top: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #eef5fa;
}

.a-tax-flow-process__image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* 既存行政システムカード */
.a-tax-flow-process__side-card--admin {
  min-height: 392px;
}

.a-tax-flow-process__side-card--admin
.a-tax-flow-process__image img {
  object-position: center;
}

/* ==================================================
   矢印
================================================== */

.a-tax-flow-process__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f4f85;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.a-tax-flow-process__arrow span {
  display: block;
  transform: translateY(-2px);
}

.a-tax-flow-process__arrow--both {
  font-size: 32px;
}

/* ==================================================
   自治体カード
================================================== */

.a-tax-flow-process__municipality {
  overflow: hidden;
  background: #fff;
  border: 4px solid #0f2747;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(15, 39, 71, 0.12);
}

.a-tax-flow-process__municipality-head {
  padding: 22px 28px 20px;
  background: #0f2747;
  text-align: center;
}

.a-tax-flow-process__municipality-head h3 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.a-tax-flow-process__municipality-head p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.a-tax-flow-process__municipality-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 28px;
  padding: 28px;
}

/* 宿泊税システム部分 */
.a-tax-flow-process__system-visual {
  min-width: 0;
}

.a-tax-flow-process__system-name {
  margin-bottom: 14px;
  color: #0f2747;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.a-tax-flow-process__system-image {
  overflow: hidden;
  border-radius: 12px;
  background: #edf4fa;
  border: 1px solid #dbe8f3;
}

.a-tax-flow-process__system-image img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
}

/* ポイント */
.a-tax-flow-process__system-points {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.a-tax-flow-process__system-point {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
}

.a-tax-flow-process__check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #126eae;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(18, 110, 174, 0.16);
}

.a-tax-flow-process__system-point p {
  margin: 0;
  color: #172942;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

/* ==================================================
   下部のまとめカード
================================================== */

.a-tax-flow-benefit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: stretch;
  gap: 32px;
  max-width: 1060px;
  margin: 46px auto 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #dce8f3;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 39, 71, 0.08);
  box-sizing: border-box;
}

.a-tax-flow-benefit__content {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 20px 12px 20px 18px;
}

.a-tax-flow-benefit__check {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #0f315c;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 66px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 49, 92, 0.14);
}

.a-tax-flow-benefit__text h3 {
  margin: 0;
  color: #0f2747;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.65;
}

.a-tax-flow-benefit__text p {
  margin: 14px 0 0;
  color: #40516a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.a-tax-flow-benefit__visual {
  overflow: hidden;
  border-radius: 13px;
  background: #edf5fb;
}

.a-tax-flow-benefit__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

/* 注意書き */
.a-tax-flow__note {
  margin: 22px 0 0;
  color: #7b8798;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

/* ==================================================
   ホバー
================================================== */

@media (hover: hover) {

  .a-tax-flow-process__side-card {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  }

  .a-tax-flow-process__side-card:hover {
    transform: translateY(-5px);
    border-color: #bfd7ea;
    box-shadow: 0 18px 40px rgba(15, 39, 71, 0.11);
  }
}

/* ==================================================
   タブレット
================================================== */

@media screen and (max-width: 1200px) {

  .a-tax-flow__inner {
    width: min(1100px, calc(100% - 48px));
  }

  .a-tax-flow-process {
    grid-template-columns:
      minmax(140px, 170px)
      32px
      minmax(150px, 180px)
      32px
      minmax(440px, 1fr);
  }

  .a-tax-flow-process__arrow--both,
  .a-tax-flow-process__side-card--admin {
    grid-row: 2;
  }

  .a-tax-flow-process__arrow--both {
    grid-column: 4;
  }

  .a-tax-flow-process__side-card--admin {
    grid-column: 5;
    width: 230px;
    min-height: 330px;
    margin: 10px auto 0;
  }

  .a-tax-flow-benefit {
    grid-template-columns: 1fr 360px;
  }
}

/* ==================================================
   スマートフォン・小型タブレット
================================================== */

@media screen and (max-width: 900px) {

  .a-tax-flow {
    padding: 72px 0 76px;
  }

  .a-tax-flow__inner {
    width: calc(100% - 40px);
  }

  .a-tax-flow .a-tax-flow__title {
    font-size: 32px;
  }

  .a-tax-flow .a-tax-flow__lead {
    margin: 20px 0 38px;
    font-size: 15px;
    line-height: 1.9;
  }

  .a-tax-flow-process {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .a-tax-flow-process__side-card,
  .a-tax-flow-process__side-card--admin {
    width: 100%;
    max-width: 520px;
    min-height: auto;
    padding: 24px 20px;
  }

  .a-tax-flow-process__side-title {
    min-height: auto;
  }

  .a-tax-flow-process__action {
    min-height: auto;
  }

  .a-tax-flow-process__image img {
    height: auto;
    max-height: 270px;
  }

  .a-tax-flow-process__arrow {
    height: 36px;
    transform: rotate(90deg);
  }

  .a-tax-flow-process__arrow--both {
    transform: rotate(90deg);
  }

  .a-tax-flow-process__municipality {
    width: 100%;
    max-width: 680px;
  }

  .a-tax-flow-process__municipality-body {
    grid-template-columns: 1fr;
  }

  .a-tax-flow-process__system-image img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
  }

  .a-tax-flow-process__system-points {
    gap: 18px;
  }

  .a-tax-flow-benefit {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .a-tax-flow-benefit__visual {
    min-height: 240px;
  }
}

/* ==================================================
   スマートフォン
================================================== */

@media screen and (max-width: 600px) {

  .a-tax-flow {
    padding: 60px 0 64px;
  }

  .a-tax-flow__inner {
    width: calc(100% - 28px);
  }

  .a-tax-flow .a-tax-flow__label {
    min-width: 94px;
    margin-bottom: 24px;
    padding: 10px 20px 12px;
    font-size: 15px;
  }

.a-tax-flow .a-tax-flow__title {
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

  .a-tax-flow .a-tax-flow__lead {
    font-size: 14px;
  }

  .a-tax-flow-process__side-card {
    border-radius: 14px;
  }

  .a-tax-flow-process__municipality {
    border-radius: 14px;
  }

  .a-tax-flow-process__municipality-head {
    padding: 20px 18px 18px;
  }

  .a-tax-flow-process__municipality-head h3 {
    font-size: 21px;
  }

  .a-tax-flow-process__municipality-head p {
    font-size: 13px;
  }

  .a-tax-flow-process__municipality-body {
    gap: 24px;
    padding: 20px;
  }

  .a-tax-flow-process__system-name {
    font-size: 16px;
  }

  .a-tax-flow-process__system-point {
    grid-template-columns: 25px 1fr;
    gap: 10px;
  }

  .a-tax-flow-process__check {
    width: 24px;
    height: 24px;
    font-size: 13px;
    line-height: 24px;
  }

  .a-tax-flow-process__system-point p {
    font-size: 14px;
  }

  .a-tax-flow-benefit {
    gap: 10px;
    margin-top: 34px;
    padding: 14px;
  }

  .a-tax-flow-benefit__content {
    align-items: flex-start;
    gap: 16px;
    padding: 14px 8px;
  }

  .a-tax-flow-benefit__check {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 25px;
    line-height: 48px;
  }

  .a-tax-flow-benefit__text h3 {
    font-size: 18px;
    line-height: 1.7;
  }

  .a-tax-flow-benefit__text p {
    font-size: 13px;
  }

  .a-tax-flow-benefit__visual {
    min-height: 190px;
  }
}

/* ==================================================
   全体の流れ PC版 最終サイズ・比率調整
================================================== */

@media screen and (min-width: 1560px) {

  /* セクション内の利用可能幅を広げる */
  .a-tax-flow__inner {
    width: calc(100% - 40px) !important;
    max-width: 1600px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  /* フロー全体 */
.a-tax-flow-process {
  display: grid !important;
  grid-template-columns:
    255px
    44px
    255px
    44px
    620px
    44px
    255px !important;

  gap: 0 !important;
  align-items: center !important;
  justify-content: center !important;

  width: 1517px !important;
  max-width: calc(100vw - 40px) !important;
  margin: 34px auto 0 !important;
}

  /* ================================================
     宿泊者・宿泊施設・既存行政システム
  ================================================ */

  .a-tax-flow-process__side-card,
  .a-tax-flow-process__side-card--admin {
    width: 100% !important;
    height: 390px !important;
    min-height: 390px !important;
    padding: 24px 14px 16px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .a-tax-flow-process__side-title {
    min-height: 58px !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
  }

  .a-tax-flow-process__line {
    width: 30px !important;
    height: 2px !important;
    margin: 4px auto 14px !important;
  }

  .a-tax-flow-process__action {
    min-height: 56px !important;
    margin: 0 0 14px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .a-tax-flow-process__image {
    width: 100% !important;
    margin-top: auto !important;
    border-radius: 12px !important;
  }

  .a-tax-flow-process__image img {
    display: block !important;
    width: 100% !important;
    height: 205px !important;
    object-fit: cover !important;
  }

  /* ================================================
     矢印
  ================================================ */

  .a-tax-flow-process__arrow {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    line-height: 1 !important;
  }

  .a-tax-flow-process__arrow span {
    transform: none !important;
  }

  .a-tax-flow-process__arrow--both {
    font-size: 34px !important;
  }

  /* ================================================
     自治体・宿泊税システム
  ================================================ */

  .a-tax-flow-process__municipality {
    width: 620px !important;
    height: 390px !important;
    min-width: 620px !important;
    min-height: 390px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .a-tax-flow-process__municipality-head {
    height: 90px !important;
    padding: 15px 24px !important;
    box-sizing: border-box !important;
  }

  .a-tax-flow-process__municipality-head h3 {
    margin: 0 !important;
    font-size: 25px !important;
    line-height: 1.4 !important;
  }

  .a-tax-flow-process__municipality-head p {
    margin: 3px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .a-tax-flow-process__municipality-body {
    display: grid !important;
    grid-template-columns: 350px 1fr !important;
    gap: 22px !important;

    height: 300px !important;
    min-height: 0 !important;
    padding: 18px 20px !important;
    box-sizing: border-box !important;
  }

  .a-tax-flow-process__system-name {
    margin: 0 0 10px !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  .a-tax-flow-process__system-image {
    width: 100% !important;
    height: 230px !important;
    border-radius: 11px !important;
  }

  .a-tax-flow-process__system-image img {
    display: block !important;
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
  }

  .a-tax-flow-process__system-points {
    gap: 17px !important;
  }

  .a-tax-flow-process__system-point {
    grid-template-columns: 25px 1fr !important;
    gap: 9px !important;
  }

  .a-tax-flow-process__check {
    width: 24px !important;
    height: 24px !important;
    font-size: 14px !important;
    line-height: 24px !important;
  }

  .a-tax-flow-process__system-point p {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  /* ================================================
     下部まとめカード
  ================================================ */

.a-tax-flow-benefit {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 450px !important;
  gap: 26px !important;

  width: 1180px !important;
  max-width: none !important;
  height: 210px !important;
  margin: 28px auto 0 !important;
  padding: 15px !important;
  box-sizing: border-box !important;
}

  .a-tax-flow-benefit__content {
    gap: 18px !important;
    padding: 16px 10px 16px 18px !important;
  }

  .a-tax-flow-benefit__check {
  flex: 0 0 68px !important;
  width: 68px !important;
  height: 68px !important;
  margin-left: 6px !important;
  font-size: 34px !important;
  line-height: 68px !important;
}

  .a-tax-flow-benefit__text h3 {
    font-size: 23px !important;
    line-height: 1.65 !important;
  }

  .a-tax-flow-benefit__text p {
    margin-top: 12px !important;
    font-size: 14px !important;
  }

.a-tax-flow-benefit__visual {
  height: 180px !important;
  margin: 0 !important;
}

.a-tax-flow-benefit__visual img {
  width: 100% !important;
  height: 180px !important;
  min-height: 0 !important;
  object-fit: cover !important;
}

  .a-tax-flow__note {
    margin-top: 18px !important;
  }
}

/* ==================================================
   課題セクションと特長セクションの境界三角形
================================================== */

.a-tax-problem {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.a-tax-problem::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 38px solid transparent;
  border-right: 38px solid transparent;
  border-top: 38px solid #f7f9fc;

  z-index: 3;
}

.a-tax-flow {
  position: relative;
  z-index: 1;
}

/* ==================================================
   全体の流れ サイドカードのホバー動作を無効化
================================================== */

.a-tax-flow-process__side-card,
.a-tax-flow-process__side-card:hover {
  transform: none !important;
  transition: none !important;
}

/* カード内の画像拡大・移動も無効化 */
.a-tax-flow-process__side-card img,
.a-tax-flow-process__side-card:hover img,
.a-tax-flow-process__side-card img:hover {
  transform: none !important;
  transition: none !important;
}

/* ホバー時の影や枠線の変化も無効化 */
.a-tax-flow-process__side-card:hover {
  border-color: #d5e4f2 !important;
  box-shadow: 0 10px 26px rgba(15, 39, 71, 0.06) !important;
}


/* ==================================================
   課題・特長セクション 文字サイズ統一
================================================== */

.a-tax-problem__title,
.a-tax-flow__title {
  font-size: 42px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.a-tax-problem__lead,
.a-tax-flow__lead {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ==================================================
   課題・特長セクション 説明文の太さ統一
================================================== */

#problem .a-tax-problem__lead,
#flow .a-tax-flow__lead {
  font-weight: 700 !important;
}

/* ==================================================
   課題・特長セクション 説明文の太さ統一
================================================== */

#problem .a-tax-problem__lead,
#flow .a-tax-flow__lead,
#flow .a-tax-flow-benefit__text p {
  font-weight: 700 !important;
}

/* ==================================================
   課題・特長ラベル 文字サイズ統一
================================================== */

.a-tax-flow .a-tax-flow__label,
#contact .a-tax-flow__label {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
}

#contact .a-tax-flow__label {
  width: fit-content;
  min-width: 106px;
  margin: 0 auto 20px;
  padding: 11px 24px 13px;
  border-radius: 22px;
  background: #0f6fa8;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

#contact .a-tax-flow__label::after {
  height: 2px;
  background: #0b5f91;
}

/* ==================================================
   特長セクション タイトル周り余白調整
================================================== */

#flow .a-tax-flow__label {
  margin-bottom: 20px;
}

#flow .a-tax-flow__lead {
  margin-top: 16px;
}

/* ==================================================
   特長セクション タイトル周り余白調整
================================================== */

#flow .a-tax-flow__label {
  margin-bottom: 20px;
}

#flow .a-tax-flow__lead {
  margin-top: 16px;
}

/* ==================================================
   全体の流れ 宿泊者・宿泊施設 上部余白調整
================================================== */

@media screen and (min-width: 1500px) {
  .a-tax-flow-process__side-card:not(.a-tax-flow-process__side-card--admin) {
    padding-top: 24px !important;
  }
}

/* ==================================================
   主な機能セクション リニューアル
================================================== */

#function.a-tax-features {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin-left: 0;
  padding: 88px 0 96px;
  background: #031d43;
  box-sizing: border-box;
}

#function .a-tax-features__inner {
  position: relative;
  z-index: 3;
  width: min(1460px, calc(100% - 64px));
  max-width: none;
  margin: 0 auto;
}

/* ==================================================
   背景の街並み
================================================== */

#function .a-tax-features__city {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 215px;

  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;

  transform: translateX(-50%);

  background-image: url("../images/function-cityline.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;

  opacity: 0.14;
  pointer-events: none;
}

/* 街並みの下側を自然に消す */
#function .a-tax-features::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 390px;
  background: linear-gradient(
    180deg,
    rgba(3, 29, 67, 0) 0%,
    rgba(3, 29, 67, 0.4) 28%,
    rgba(3, 29, 67, 0.96) 100%
  );
  pointer-events: none;
}

/* ==================================================
   見出し
================================================== */

#function .a-tax-features__heading {
  position: relative;
  z-index: 4;
  text-align: center;
}

#function .a-tax-features__en {
  margin: 0 0 12px;
  color: #68b83e;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
}

#function .a-tax-features__title {
  margin: 0;
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

#function .a-tax-features__title-line {
  width: 58px;
  height: 3px;
  margin: 22px auto 28px;
  border-radius: 999px;
  background: #68b83e;
}

#function .a-tax-features__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ==================================================
   メインの製品画面
================================================== */

#function .a-tax-features__product {
  position: relative;
  z-index: 4;
  width: min(720px, 72%);
  margin: 40px auto 34px;
}

#function .a-tax-features__screen {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

#function .a-tax-features__screen img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(
    0 28px 38px rgba(0, 10, 28, 0.34)
  );
}

/* PC下部の細い接地ライン */
#function .a-tax-features__floor {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 86%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* ==================================================
   機能カード
================================================== */

#function .a-tax-function-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

#function .a-tax-function-card {
  min-width: 0;
  min-height: 270px;
  padding: 28px 18px 24px;
  border: 1px solid rgba(206, 221, 234, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 18px 34px rgba(0, 16, 40, 0.2),
    0 3px 8px rgba(0, 16, 40, 0.08);
  box-sizing: border-box;
  text-align: center;
}

#function .a-tax-function-card__icon {
  display: flex;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#function .a-tax-function-card__icon img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

#function .a-tax-function-card h3 {
  margin: 0;
  color: #0f2747;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

#function .a-tax-function-card__line {
  width: 32px;
  height: 2px;
  margin: 14px auto 14px;
  border-radius: 999px;
  background: #68b83e;
}

#function .a-tax-function-card p {
  margin: 0;
  color: #26384f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.85;
  text-align: left;
}

/* ==================================================
   主な機能 タブレット
================================================== */

@media screen and (max-width: 1200px) {

  #function .a-tax-function-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
  }

  #function .a-tax-function-card {
    min-height: 250px;
  }

  #function .a-tax-features__product {
    width: min(720px, 82%);
  }
}

/* ==================================================
   主な機能 スマートフォン・小型タブレット
================================================== */

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

  #function.a-tax-features {
    padding: 68px 0 72px;
  }

  #function .a-tax-features__inner {
    width: calc(100% - 36px);
  }

#function .a-tax-features__city {
  top: 240px;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  background-position: center top;
  background-size: contain;
  opacity: 0.1;
}

  #function .a-tax-features__en {
    font-size: 14px;
  }

  #function .a-tax-features__title {
    font-size: 34px;
  }

  #function .a-tax-features__title-line {
    width: 48px;
    margin-top: 18px;
    margin-bottom: 20px;
  }

  #function .a-tax-features__lead {
    font-size: 15px;
    line-height: 1.9;
  }

  #function .a-tax-features__product {
    width: 100%;
    margin-top: 30px;
  }

  #function .a-tax-function-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #function .a-tax-function-card {
    min-height: 245px;
    padding: 24px 15px 20px;
  }
}

/* ==================================================
   主な機能 スマートフォン
================================================== */

@media screen and (max-width: 520px) {

  #function .a-tax-features__inner {
    width: calc(100% - 28px);
  }

#function .a-tax-features__title {
  font-size: 32px;
  line-height: 1.4;
}

#function .a-tax-features__lead {
  font-size: 16px;
  line-height: 1.8;
}

#function .a-tax-function-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

#function .a-tax-function-card {
  min-height: auto;
  padding: 22px 20px 20px;
}

#function .a-tax-function-card p {
  font-size: 16px;
  line-height: 1.8;
}

#function .a-tax-function-card__icon {
  width: 74px;
  height: 74px;
  margin-bottom: 16px;
}

#function .a-tax-function-card__icon img {
  width: 70px;
  height: 70px;
}

#function .a-tax-function-card h3 {
  font-size: 21px;
  line-height: 1.5;
}

#function .a-tax-function-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 8px;
}

}

/* ==================================================
   主な機能セクション AcOmOブランドカラー反映
================================================== */

#function .a-tax-flow__label {
  background: #3598c5;
  color: #fff;
}

#function .a-tax-flow__label::after {
  background: #68b83e;
}

#function .a-tax-flow__title {
  color: #fff;
}

#function .a-tax-flow__title span {
  color: #72c4e8;
}

#function .a-tax-flow__lead {
  color: #fff;
}

/* ==================================================
   選ばれる理由 カードの輪郭・影再調整
================================================== */

#strength .a-tax-reason-card {
  border: 1px solid #c5d4e1;
  box-shadow:
    0 10px 24px rgba(15, 39, 71, 0.11),
    0 3px 7px rgba(15, 39, 71, 0.07);
}

/* ==================================================
   選ばれる理由 リード文とカードの余白調整
================================================== */

#strength .a-tax-flow__lead {
  margin-bottom: 42px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

/* ==================================================
   選ばれる理由 番号サイズ・見出し間隔調整
================================================== */

@media screen and (min-width: 768px) {

  #strength .a-tax-reason-card__head {
    grid-template-columns: 60px 1fr;
    gap: 14px;
  }

  #strength .a-tax-reason-card__head span {
    width: 60px;
    height: 60px;
    font-size: 27px;
  }

}

/* ==================================================
   選ばれる理由 番号・見出し一体化調整
================================================== */

@media screen and (min-width: 1181px) {

  #strength .a-tax-reason-card__head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 15px;
  }

  #strength .a-tax-reason-card__head span {
    width: 58px;
    height: 58px;
    font-size: 26px;
  }

  #strength .a-tax-reason-card__head h3 {
    font-size: 27px;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

}

/* ==================================================
   選ばれる理由 背景を白に戻す
================================================== */

#strength.a-tax-advantage {
  background: #ffffff;
}

/* ==================================================
   選ばれる理由 番号・見出し・下線の配色調整
================================================== */

/* 番号の丸をAcOmO濃紺へ */
#strength .a-tax-reason-card__head span {
  background: #0f2747;
  color: #ffffff;
}

/* 見出しをAcOmO濃紺へ */
#strength .a-tax-reason-card__head h3 {
  color: #0f2747;
}

/* 見出し下線をAcOmOグリーンへ */
#strength .a-tax-reason-card__head h3::after {
  background: #68b83e;
}


/* ==================================================
   横スクロール対策 全幅セクション
================================================== */

.a-tax-hero,
.a-tax-problem,
.a-tax-flow,
.a-tax-advantage {
  width: 100%;
  margin-left: 0;
  box-sizing: border-box;
}

/* ==================================================
   お問い合わせセクション
================================================== */

#contact.a-tax-contact {
  position: relative;
  padding: 104px 24px 112px;
  background: #eaf4f9;
}

#contact .a-tax-contact__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


/* 見出し
-------------------------------------------------- */

#contact .a-tax-section-heading--contact {
  margin-bottom: 44px;
  text-align: center;
}

#contact .a-tax-section-heading--contact .a-tax-section-heading__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 5px 20px;
  border-radius: 999px;
  background: #3598c5;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
}

#contact .a-tax-section-heading--contact h2 {
  margin: 0 0 20px;
  color: #031d43;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

#contact .a-tax-section-heading--contact > p {
  margin: 0;
  color: #455c72;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.03em;
}


/* 大きな白カード
-------------------------------------------------- */

#contact .a-tax-contact__panel {
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}


/* 3つの導線
-------------------------------------------------- */

#contact .a-tax-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#contact .a-tax-contact-card {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 38px 28px 30px;
  flex-direction: column;
  align-items: center;
  border: 1px solid #dce9f0;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

#contact .a-tax-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 152, 197, 0.42);
  box-shadow: 0 16px 36px rgba(3, 29, 67, 0.1);
}


/* アイコン
-------------------------------------------------- */

#contact .a-tax-contact-card__icon {
  display: flex;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf4f9;
}

#contact .a-tax-contact-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #3598c5;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* カード内テキスト
-------------------------------------------------- */

#contact .a-tax-contact-card__label {
  margin: 0 0 12px;
  color: #3598c5;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

#contact .a-tax-contact-card h3 {
  margin: 0 0 18px;
  color: #031d43;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

#contact .a-tax-contact-card__text {
  margin: 0 0 28px;
  color: #53697d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
}


/* ボタン
-------------------------------------------------- */

#contact .a-tax-contact-card__button {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid #3598c5;
  border-radius: 999px;
  background: #3598c5;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#contact .a-tax-contact-card__button span {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

#contact .a-tax-contact-card__button:hover {
  transform: translateY(-1px);
  background: #fff;
  color: #3598c5;
}

#contact .a-tax-contact-card__button--mail {
  border-color: #031d43;
  background: #031d43;
}

#contact .a-tax-contact-card__button--mail:hover {
  background: #fff;
  color: #031d43;
}

#contact .a-tax-contact-card__button--download {
  border-color: #68b83e;
  background: #68b83e;
}

#contact .a-tax-contact-card__button--download:hover {
  background: #fff;
  color: #569d32;
}


/* プライバシーポリシー
-------------------------------------------------- */

#contact .a-tax-contact__privacy {
  margin: 28px 0 0;
  color: #65788a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

#contact .a-tax-contact__privacy a {
  color: #216f9a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#contact .a-tax-contact__privacy a:hover {
  text-decoration: none;
}


/* タブレット
-------------------------------------------------- */

@media screen and (max-width: 960px) {

  #contact.a-tax-contact {
    padding: 88px 24px 96px;
  }

  #contact .a-tax-contact__panel {
    padding: 40px 32px 28px;
  }

  #contact .a-tax-contact__grid {
    grid-template-columns: 1fr;
  }

  #contact .a-tax-contact-card {
    min-height: auto;
    padding: 34px 30px 30px;
  }

  #contact .a-tax-contact-card__button {
    max-width: 360px;
  }

}


/* スマートフォン
-------------------------------------------------- */

@media screen and (max-width: 600px) {

  #contact.a-tax-contact {
    padding: 72px 16px 78px;
  }

  #contact .a-tax-section-heading--contact {
    margin-bottom: 32px;
  }

  #contact .a-tax-section-heading--contact h2 {
    margin-bottom: 16px;
    font-size: 30px;
  }

  #contact .a-tax-section-heading--contact > p {
    font-size: 14px;
    line-height: 1.85;
  }

  #contact .a-tax-contact__panel {
    padding: 24px 16px 22px;
    border-radius: 20px;
  }

  #contact .a-tax-contact__grid {
    gap: 16px;
  }

  #contact .a-tax-contact-card {
    padding: 30px 20px 24px;
    border-radius: 16px;
  }

  #contact .a-tax-contact-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  #contact .a-tax-contact-card__icon svg {
    width: 30px;
    height: 30px;
  }

  #contact .a-tax-contact-card h3 {
    font-size: 19px;
  }

  #contact .a-tax-contact-card__text {
    margin-bottom: 24px;
    font-size: 13px;
  }

  #contact .a-tax-contact-card__button {
    min-height: 52px;
    font-size: 13px;
  }

  #contact .a-tax-contact__privacy {
    margin-top: 22px;
    font-size: 12px;
  }

}

/* ==================================================
   お問い合わせセクション
================================================== */

#contact.a-tax-contact {
  position: relative;
  overflow: hidden;
  padding: 32px 24px 40px;
  background-color: #EAF4F9;
  background-image: none;
}

#contact .a-tax-contact__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1127px;
  margin: 0 auto;
}


/* 背景装飾
-------------------------------------------------- */

#contact .a-tax-contact__decoration {
  position: absolute;
  z-index: 1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(75, 152, 225, 0.15);
  pointer-events: none;
}

#contact .a-tax-contact__decoration--left {
  bottom: -72px;
  left: -112px;
}

#contact .a-tax-contact__decoration--right {
  right: -75px;
  bottom: -74px;
}


/* 大きな白カード
-------------------------------------------------- */

#contact .a-tax-contact__panel {
  position: relative;
  padding: 24px 0 0;
}


/* 右上ドット
-------------------------------------------------- */

#contact .a-tax-contact__dots {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 100px;
  height: 78px;
  opacity: 0.7;
  background-image: radial-gradient(
    circle,
    #76b8ed 2px,
    transparent 2.2px
  );
  background-size: 18px 18px;
}


/* 見出し
-------------------------------------------------- */

#contact .a-tax-contact__heading {
  margin-bottom: 32px;
  text-align: center;
}

#contact .a-tax-contact__label {
  display: inline-flex;
  min-width: 196px;
  min-height: 42px;
  margin-bottom: 20px;
  padding: 8px 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #0874e1 0%,
    #0060d6 100%
  );
  box-shadow: 0 6px 14px rgba(0, 96, 214, 0.18);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

#contact .a-tax-contact__heading h2 {
  margin: 0 0 14px;
  color: #08275a;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

#contact .a-tax-contact__heading p {
  margin: 0;
  color: #173667;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
}


/* 2つのカード
-------------------------------------------------- */

#contact .a-tax-contact__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  margin-bottom: 24px;
}

#contact .a-tax-contact-card {
  display: flex;
  min-height: 520px;
  padding: 25px 48px 28px;
  flex-direction: column;
  align-items: center;
  border: 1px solid #a9d0f5;
  border-radius: 17px;
  background: #fff;
  text-align: center;
}


/* カードアイコン
-------------------------------------------------- */

#contact .a-tax-contact-card__icon {
  display: flex;
  width: 104px;
  height: 104px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf6ff;
}

#contact .a-tax-contact-card__icon svg {
  width: 54px;
  height: 54px;
  fill: #086bdc;
  stroke: #086bdc;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* カード見出し
-------------------------------------------------- */

#contact .a-tax-contact-card h3 {
  margin: 0;
  color: #0066d7;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

#contact .a-tax-contact-card__line {
  display: block;
  width: 52px;
  height: 3px;
  margin: 23px auto 24px;
  border-radius: 999px;
  background: #0070e5;
}


/* 説明文
-------------------------------------------------- */

#contact .a-tax-contact-card__description {
  margin: 0 0 28px;
  color: #102f61;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.03em;
}


/* フォームボタン
-------------------------------------------------- */

#contact .a-tax-contact-card__button {
  display: flex;
  width: 100%;
  max-width: 440px;
  min-height: 74px;
  margin: 0 auto 26px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #0875e3 0%,
    #0061d8 100%
  );
  box-shadow: 0 10px 22px rgba(0, 100, 220, 0.22);
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

#contact .a-tax-contact-card__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 100, 220, 0.27);
  opacity: 0.92;
}

#contact .a-tax-contact-card__button-icon {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

#contact .a-tax-contact-card__button-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#contact .a-tax-contact-card__arrow {
  margin-left: auto;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}


/* メールアドレス
-------------------------------------------------- */

#contact .a-tax-contact-card__mail {
  display: flex;
  width: 100%;
  max-width: 390px;
  min-height: 72px;
  margin: 0 auto 25px;
  padding: 12px 25px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 12px;
  background: #edf6ff;
  color: #0068dc;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

#contact .a-tax-contact-card__mail:hover {
  transform: translateY(-2px);
  background: #e2f0ff;
}

#contact .a-tax-contact-card__external {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

#contact .a-tax-contact-card__external svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #0068dc;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* 受付時間
-------------------------------------------------- */

#contact .a-tax-contact-card__note {
  display: flex;
  margin: auto 0 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #173667;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

#contact .a-tax-contact-card__note--mail {
  align-items: flex-start;
}

#contact .a-tax-contact-card__clock {
  display: flex;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  align-items: center;
  justify-content: center;
}

#contact .a-tax-contact-card__clock svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #006ee1;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* 製品チラシ
-------------------------------------------------- */

#contact .a-tax-contact-download {
  display: grid;
  min-height: 122px;
  padding: 20px 32px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border: 1px solid #a9d0f5;
  border-radius: 17px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

#contact .a-tax-contact-download:hover {
  transform: translateY(-2px);
  background: #f8fbff;
  box-shadow: 0 10px 24px rgba(3, 29, 67, 0.07);
}

#contact .a-tax-contact-download__icon {
  position: relative;
  display: block;
  width: 72px;
  height: 78px;
}

#contact .a-tax-contact-download__icon svg {
  width: 58px;
  height: 66px;
  fill: none;
  stroke: #0069dd;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#contact .a-tax-contact-download__icon > span {
  position: absolute;
  bottom: 0;
  left: 1px;
  display: inline-flex;
  min-width: 44px;
  min-height: 25px;
  padding: 2px 6px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #0069dd;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

#contact .a-tax-contact-download__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

#contact .a-tax-contact-download__text strong {
  color: #0067d8;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

#contact .a-tax-contact-download__text small {
  color: #173667;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

#contact .a-tax-contact-download__action {
  display: flex;
  align-items: center;
  gap: 48px;
  color: #0067d8;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

#contact .a-tax-contact-download__action > span {
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}


/* プライバシーポリシー
-------------------------------------------------- */

#contact .a-tax-contact__privacy {
  display: flex;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #294a79;
}

#contact .a-tax-contact__privacy-icon {
  display: flex;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
}

#contact .a-tax-contact__privacy-icon svg {
  width: 26px;
  height: 26px;
  fill: #294a79;
  stroke: #294a79;
  stroke-width: 1.5;
}

#contact .a-tax-contact__privacy p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

#contact .a-tax-contact__privacy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0067d8;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 5px;
}

#contact .a-tax-contact__privacy a:hover {
  text-decoration: none;
}

#contact .a-tax-contact__privacy a span {
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

#contact .a-tax-contact__privacy a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #0067d8;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* タブレット
-------------------------------------------------- */

@media screen and (max-width: 1000px) {

  #contact .a-tax-contact__panel {
    padding: 28px 28px 34px;
  }

  #contact .a-tax-contact__cards {
    gap: 22px;
  }

  #contact .a-tax-contact-card {
    padding-right: 28px;
    padding-left: 28px;
  }

  #contact .a-tax-contact-download {
    grid-template-columns: auto minmax(0, 1fr);
  }

  #contact .a-tax-contact-download__action {
    grid-column: 2;
    justify-content: space-between;
  }

}


/* スマートフォン
-------------------------------------------------- */

@media screen and (max-width: 767px) {

  #contact.a-tax-contact {
    padding: 24px 14px 32px;
  }

  #contact .a-tax-contact__panel {
    padding: 26px 16px 24px;
    border-radius: 20px;
  }

  #contact .a-tax-contact__dots {
    top: 18px;
    right: 12px;
    width: 58px;
    height: 50px;
    background-size: 12px 12px;
  }

  #contact .a-tax-contact__heading {
    margin-bottom: 26px;
  }

  #contact .a-tax-contact__label {
    min-width: 150px;
    min-height: 38px;
    margin-bottom: 18px;
    font-size: 17px;
  }

  #contact .a-tax-contact__heading h2 {
    font-size: 23px;
  }

  #contact .a-tax-contact__heading p {
    font-size: 15px;
  }

  #contact .a-tax-contact__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #contact .a-tax-contact-card {
    min-height: auto;
    padding: 26px 18px 24px;
  }

  #contact .a-tax-contact-card__icon {
    width: 82px;
    height: 82px;
  }

  #contact .a-tax-contact-card__icon svg {
    width: 43px;
    height: 43px;
  }

  #contact .a-tax-contact-card h3 {
    font-size: 21px;
  }

  #contact .a-tax-contact-card__description {
    font-size: 15px;
  }

  #contact .a-tax-contact-card__button {
    min-height: 64px;
    gap: 12px;
    padding: 10px 18px;
    font-size: 16px;
  }

  #contact .a-tax-contact-card__mail {
    min-height: 64px;
    padding: 10px 14px;
    font-size: 16px;
  }

  #contact .a-tax-contact-card__note {
    font-size: 14px;
  }

  #contact .a-tax-contact-download {
    padding: 20px 18px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
  }

  #contact .a-tax-contact-download__text strong {
    font-size: 18px;
  }

  #contact .a-tax-contact-download__text small {
    font-size: 14px;
  }

  #contact .a-tax-contact-download__action {
    grid-column: 1 / -1;
    justify-content: space-between;
    font-size: 16px;
  }

  #contact .a-tax-contact__privacy {
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
  }

  #contact .a-tax-contact__privacy p {
    width: calc(100% - 40px);
    font-size: 13px;
  }

  #contact .a-tax-contact__privacy a {
    font-size: 13px;
  }

}

/* ==================================================
   お問い合わせ 背景を単色にする
================================================== */

#contact.a-tax-contact {
  background-color: #EAF4F9 !important;
  background-image: none !important;
}

/* 既存CSSの背景装飾を無効化 */
#contact.a-tax-contact::before,
#contact.a-tax-contact::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* お問い合わせ内の装飾要素を一旦非表示 */
#contact .a-tax-contact__decoration,
#contact .a-tax-contact__dots {
  display: none !important;
}

/* ==================================================
   お問い合わせ 新規デザイン
================================================== */

/* ==================================================
   お問い合わせ 背景を解決セクションと統一
================================================== */

#contact .a-tax-contact-new__inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}


/* ==================================================
   見出し
================================================== */

#contact .a-tax-contact-new__heading {
  margin-bottom: 48px;
  text-align: center;
}

#contact .a-tax-contact-new__heading .a-tax-section-marker {
  margin-bottom: 28px;
}

#contact .a-tax-contact-new__heading .a-tax-flow__title {
  margin: 0;
  color: #0f2747;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
}

#contact .a-tax-contact-new__heading .a-tax-flow__title span {
  color: #187fbd;
}

#contact .a-tax-contact-new__heading .a-tax-flow__lead {
  margin: 18px 0 0;
  color: #25364e;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ==================================================
   フォーム・メールカード
================================================== */

#contact .a-tax-contact-new__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

#contact .a-tax-contact-new-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 410px;
  padding: 44px 44px 38px;
  border: 1px solid #dce8ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 39, 71, 0.05);
  text-align: center;
}

#contact .a-tax-contact-new-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
}

#contact .a-tax-contact-new-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #031d43;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#contact .a-tax-contact-new-card h3 {
  margin: 0;
  color: #0f2747;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

#contact .a-tax-contact-new-card__line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 20px;
  border-radius: 999px;
  background: #68b83e;
}

#contact .a-tax-contact-new-card__description {
  min-height: 58px;
  margin: 0 0 26px;
  color: #4c6078;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}


/* ==================================================
   お問い合わせフォームボタン
================================================== */

#contact .a-tax-contact-new-card__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 390px;
  min-height: 66px;
padding: 14px 52px;
  border-radius: 8px;
  background: #3598c5;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(53, 152, 197, 0.22);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#contact .a-tax-contact-new-card__button:hover {
  background: #287fa8;
  color: #fff;
  box-shadow: 0 9px 20px rgba(53, 152, 197, 0.28);
  transform: translateY(-2px);
}

#contact .a-tax-contact-new-card__button-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

#contact .a-tax-contact-new-card__button-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-54%);
}

#contact .a-tax-contact-new-card__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 15px 0 0;
  color: #738397;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

#contact .a-tax-contact-new-card__clock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
}

#contact .a-tax-contact-new-card__clock svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==================================================
   メールアドレス
================================================== */

#contact .a-tax-contact-new-card__mail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 390px;
  min-height: 66px;
  margin-top: 8px;
  padding: 14px 52px 14px 24px;
  border-radius: 8px;
  background: #3598c5;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(53, 152, 197, 0.22);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#contact .a-tax-contact-new-card__mail:hover {
  background: #287fa8;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 9px 20px rgba(53, 152, 197, 0.28);
  transform: translateY(-2px);
}

#contact .a-tax-contact-new-card__external {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
}

#contact .a-tax-contact-new-card__external svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==================================================
   製品チラシダウンロード
================================================== */

#contact .a-tax-contact-new-download {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  width: 100%;
  min-height: 148px;
  padding: 28px 34px;
  border: 1px solid #dce8ef;
  border-radius: 16px;
  background: #fff;
  color: #0f2747;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 39, 71, 0.05);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#contact .a-tax-contact-new-download:hover {
  border-color: #b8d8e7;
  color: #0f2747;
}

#contact .a-tax-contact-new-download__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 74px;
}

#contact .a-tax-contact-new-download__icon svg {
  width: 58px;
  height: 66px;
  fill: none;
  stroke: #031d43;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#contact .a-tax-contact-new-download__icon > span {
  position: absolute;
  left: 50%;
  bottom: 9px;
  min-width: 38px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #031d43;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  transform: translateX(-50%);
}

#contact .a-tax-contact-new-download__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#contact .a-tax-contact-new-download__text strong {
  color: #0f2747;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

#contact .a-tax-contact-new-download__text small {
  color: #52667d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

#contact .a-tax-contact-new-download__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 280px;
  min-height: 58px;
  padding: 13px 22px 13px 28px;
  border: none;
  border-radius: 8px;
  background: #3598c5;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 6px 16px rgba(53, 152, 197, 0.22);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#contact .a-tax-contact-new-download__arrow {
  display: inline-block;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transform: translate(16px, -2px);
}

#contact .a-tax-contact-new-card__mail-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-54%);
}

#contact .a-tax-contact-new-card__mail-arrow {
  position: absolute;
  top: 50%;
  right: 22px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-54%);
}

#contact .a-tax-contact-new-download__action:hover {
  background: #287fa8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(53, 152, 197, 0.28);
}

/* ==================================================
   お問い合わせ 濃紺配色テスト
================================================== */

/* お問い合わせフォームボタン */
#contact .a-tax-contact-new-card__button {
  background: #031d43;
  box-shadow: 0 6px 16px rgba(3, 29, 67, 0.22);
}

/* メールボタン */
#contact .a-tax-contact-new-card__mail {
  background: #031d43;
  box-shadow: 0 6px 16px rgba(3, 29, 67, 0.22);
}

/* 製品チラシをダウンロードボタン */
#contact .a-tax-contact-new-download__action {
  background: #031d43;
  color: #fff;
  box-shadow: 0 6px 16px rgba(3, 29, 67, 0.22);
}

/* 各ボタンのオンマウス */
#contact .a-tax-contact-new-card__button:hover,
#contact .a-tax-contact-new-card__mail:hover,
#contact .a-tax-contact-new-download__action:hover {
  background: #0f2747;
  color: #fff;
  box-shadow: 0 9px 20px rgba(3, 29, 67, 0.28);
}

/* ==================================================
   お問い合わせ 左右カードのボタン位置を統一
================================================== */

#contact .a-tax-contact-new-card__button,
#contact .a-tax-contact-new-card__mail {
  margin-top: auto;
}

#contact .a-tax-contact-new-card__mail {
  margin-bottom: 28px;
}

/* ==================================================
   お問い合わせ メールアドレス文字リンク
================================================== */

#contact .a-tax-contact-new-card__mail {
  display: inline-flex;
  width: auto;
  min-height: 0;
  margin: 18px auto 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #031d43;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

#contact .a-tax-contact-new-card__mail-address {
  color: #031d43;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

#contact .a-tax-contact-new-card__mail-icon {
  display: flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
}

#contact .a-tax-contact-new-card__mail-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #031d43;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================================================
   お問い合わせ メールリンクのホバー装飾を無効化
================================================== */

#contact .a-tax-contact-new-card__mail,
#contact .a-tax-contact-new-card__mail:hover,
#contact .a-tax-contact-new-card__mail:focus,
#contact .a-tax-contact-new-card__mail:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  border: none !important;
  color: #031d43 !important;
  text-decoration: none !important;
}

#contact .a-tax-contact-new-card__mail-address,
#contact .a-tax-contact-new-card__mail:hover
.a-tax-contact-new-card__mail-address,
#contact .a-tax-contact-new-card__mail:focus
.a-tax-contact-new-card__mail-address {
  background: transparent !important;
  color: #031d43 !important;
  box-shadow: none !important;
  transform: none !important;
}

#contact .a-tax-contact-new-card__mail-icon,
#contact .a-tax-contact-new-card__mail:hover
.a-tax-contact-new-card__mail-icon {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

#contact .a-tax-contact-new-card__mail-icon svg,
#contact .a-tax-contact-new-card__mail:hover
.a-tax-contact-new-card__mail-icon svg {
  stroke: #031d43 !important;
  transform: none !important;
}

/* ==================================================
   Heroバッジ 2026年度リリース予定 B案
================================================== */

.a-tax-hero__badge--fiscal {
  display: flex;
  width: 170px;
  height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 25%,
      #fff7a8 0%,
      #ffdc39 44%,
      #ffad16 100%
    );
  box-shadow:
    0 10px 24px rgba(123, 91, 0, 0.24),
    inset 0 0 0 3px rgba(183, 131, 0, 0.18);
  color: #031d43;
  text-align: center;
  box-sizing: border-box;
  transform: none;
}

.a-tax-hero__badge--fiscal .a-tax-hero__badge-year {
  position: relative;
  margin: 0 0 11px;
  padding: 0 0 11px;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.a-tax-hero__badge--fiscal .a-tax-hero__badge-year::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 108px;
  height: 2px;
  border-radius: 999px;
  background: rgba(3, 29, 67, 0.72);
  transform: translateX(-50%);
}

.a-tax-hero__badge--fiscal .a-tax-hero__badge-release {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  white-space: nowrap;
}

@media screen and (max-width: 1024px) {

  .a-tax-hero__badge--fiscal {
    width: 130px;
    height: 130px;
    border-width: 5px;
  }

  .a-tax-hero__badge--fiscal .a-tax-hero__badge-year {
    margin-bottom: 8px;
    padding-bottom: 8px;
    font-size: 20px;
  }

  .a-tax-hero__badge--fiscal .a-tax-hero__badge-year::after {
    width: 82px;
  }

  .a-tax-hero__badge--fiscal .a-tax-hero__badge-release {
    font-size: 17px;
  }

}

@media screen and (max-width: 767px) {

  .a-tax-hero__badge--fiscal {
    width: 100px;
    height: 100px;
    border-width: 4px;
  }

  .a-tax-hero__badge--fiscal .a-tax-hero__badge-year {
    margin-bottom: 6px;
    padding-bottom: 6px;
    font-size: 15px;
  }

  .a-tax-hero__badge--fiscal .a-tax-hero__badge-year::after {
    width: 62px;
    height: 1px;
  }

  .a-tax-hero__badge--fiscal .a-tax-hero__badge-release {
    font-size: 13px;
  }

}

/* ==================================================
   セクション見出し ライン型ラベル
================================================== */

.a-tax-section-marker {
  position: relative;
  width: 400px;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 18px 0 20px;
  border-top: 2px solid #031d43;
  border-bottom: 2px solid #031d43;
  box-sizing: border-box;
  text-align: center;
}

/* 上下ライン中央の太いアクセント */
.a-tax-section-marker::before,
.a-tax-section-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 60px;
  height: 5px;
  border-radius: 999px;
  background: #031d43;
  transform: translateX(-50%);
}

.a-tax-section-marker::before {
  top: -3px;
}

.a-tax-section-marker::after {
  bottom: -3px;
}

.a-tax-section-marker__text {
  display: inline-block;
  color: #031d43;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

/* ==================================================
   セクション見出し ライン型ラベル SP調整
================================================== */

@media screen and (max-width: 600px) {

  .a-tax-section-marker {
    width: 280px;
    margin-bottom: 24px;
    padding: 14px 0 16px;
  }

  .a-tax-section-marker::before,
  .a-tax-section-marker::after {
    width: 48px;
    height: 4px;
  }

  .a-tax-section-marker__text {
    font-size: 28px;
  }

}

/* ==================================================
   課題カード 見出し高さ・行間統一
================================================== */

#problem .a-tax-problem-image-card__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 70px;
  margin-bottom: 10px;
}

#problem .a-tax-problem-image-card__head h3 {
  display: flex;
  align-items: center;
  min-height: 60px;
  margin: 0;
  line-height: 1.55;
  text-align: left;
}

/* ==================================================
   課題セクション 説明文の視認性調整
================================================== */

#problem .a-tax-problem__lead {
  color: #0f2747;
  font-size: 18px;
  font-weight: 700 !important;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ==================================================
   課題カード 番号・影の調整
================================================== */

/* 番号を濃紺のフラット丸に変更 */
#problem .a-tax-problem-image-card__number {
  background: #0f2747;
  box-shadow: none;
}

/* カードの影を弱くし、枠線を残す */
#problem .a-tax-problem-image-card {
  border: 1px solid #e3ebf2;
  box-shadow: 0 4px 12px rgba(15, 39, 71, 0.04);
}

/* ==================================================
   課題カード 番号の位置を少し上へ調整
================================================== */

#problem .a-tax-problem-image-card__number {
  position: relative;
  top: -5px;
}

/* ==================================================
   課題セクション 説明文とカードの間隔調整
================================================== */

#problem .a-tax-problem__lead {
  margin-bottom: 32px;
}

/* ==================================================
   解決セクション 説明文とフローカードの間隔調整
================================================== */

#flow .a-tax-flow__lead {
  margin-bottom: 32px;
}

/* ==================================================
   解決セクション 説明文の文字サイズ統一
================================================== */

#flow .a-tax-flow__lead {
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ==================================================
   宿泊者カード 文字サイズ調整
================================================== */

#flow .a-tax-flow-process > .a-tax-flow-process__side-card:first-child
.a-tax-flow-process__side-title {
  font-size: 26px !important;
}

#flow .a-tax-flow-process > .a-tax-flow-process__side-card:first-child
.a-tax-flow-process__action {
  min-height: 26px !important;
  margin-top: 0 !important;
  font-size: 20px !important;
}

/* ==================================================
   宿泊施設カード 文字サイズ・位置調整
================================================== */

#flow .a-tax-flow-process > .a-tax-flow-process__side-card:nth-child(3)
.a-tax-flow-process__side-title {
  font-size: 26px !important;
}

#flow .a-tax-flow-process > .a-tax-flow-process__side-card:nth-child(3)
.a-tax-flow-process__action {
  min-height: 26px !important;
  margin-top: 0 !important;
  font-size: 20px !important;
}

/* ==================================================
   自治体カード 説明文の文字サイズ・左揃え調整
================================================== */

#flow .a-tax-flow-process__system-point p {
  font-size: 16px !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

/* ==================================================
   解決セクション 説明文の文字サイズ統一
================================================== */

/* 自治体カード内の3項目 */
#flow .a-tax-flow-process__system-point p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

/* 既存の行政システム */
#flow .a-tax-flow-process__side-card--admin
.a-tax-flow-process__action {
  font-size: 15px !important;
  line-height: 1.7 !important;
}

/* ==================================================
   解決セクション 下部説明文調整
================================================== */

#flow .a-tax-flow-benefit__text {
  flex: 1;
  min-width: 0;
}

#flow .a-tax-flow-benefit__text p {
  margin-top: 10px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: left !important;
  white-space: nowrap;
}

/* ==================================================
   解決セクション 下部説明文 SP折り返し対応
================================================== */

@media screen and (max-width: 900px) {
  #flow .a-tax-flow-benefit__text p {
    white-space: normal;
  }
}

/* ==================================================
   解決セクション チェックマークの影を削除
================================================== */

#flow .a-tax-flow-process__check,
#flow .a-tax-flow-benefit__check {
  box-shadow: none !important;
}

/* ==================================================
   解決セクション チェックマーク配色統一
================================================== */

#flow .a-tax-flow-process__check,
#flow .a-tax-flow-benefit__check {
  background: #0f2747 !important;
  color: #ffffff !important;
}

/* ==================================================
   自治体カード 宿泊税システム見出し調整
================================================== */

#flow .a-tax-flow-process__system-name {
  font-size: 20px !important;
  font-weight: 600 !important;
}

@media screen and (min-width: 1560px) {
  #flow .a-tax-flow-benefit {
    grid-template-columns: minmax(0, 1fr) 420px !important;
  }
}

/* ==================================================
   選ばれる理由 ラベル統一
================================================== */

#strength .a-tax-section-marker {
  margin-bottom: 20px;
}

/* #strength .a-tax-section-marker__text {
  background: #3598c5;
} */

#strength .a-tax-section-marker__text::after {
  background: #68b83e;
}

/* ==================================================
   お問い合わせ メール返信案内
================================================== */

#contact .a-tax-contact-new-card__mail-note {
  margin: 16px 0 0;
  color: #7b8ba0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ==================================================
   お問い合わせフォームボタン ホバー調整
================================================== */

#contact .a-tax-contact-new-card__button {
  background: #0f2747;
  color: #ffffff;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

#contact .a-tax-contact-new-card__button:hover {
  background: #68b83e;
  color: #0f2747;
  box-shadow: none;
  transform: none;
}

/* ==================================================
   製品チラシボタン 配色・位置調整
================================================== */

#contact .a-tax-contact-new-download__action {
  background: #0f2747;
  color: #ffffff;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

#contact .a-tax-contact-new-download__action:hover {
  background: #68b83e;
  color: #0f2747;
  box-shadow: none;
  transform: none;
}

/* PC版のみ、右端から少し内側へ寄せる */
@media screen and (min-width: 769px) {
  #contact .a-tax-contact-new-download__action {
    margin-right: 24px;
  }
}


/* ==================================================
   お問い合わせ 背景・ネットワーク画像 最終調整
================================================== */

#contact.a-tax-contact-new {
  position: relative;
  overflow: hidden;
  padding: 96px 40px 100px;
  background: #edf5fb;
}

#contact.a-tax-contact-new::before {
  content: none;
  display: none;
}

/* ==================================================
   お問い合わせ 本文の可読性・配色統一
================================================== */

/* フォーム・メールカードの説明文 */
#contact .a-tax-contact-new-card__description {
  color: #25364e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

/* フォームカード下の受付案内 */
#contact .a-tax-contact-new-card__note {
  color: #40516a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

/* メールカード下の返信案内 */
#contact .a-tax-contact-new-card__mail-note {
  color: #40516a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

/* 製品チラシの説明文 */
#contact .a-tax-contact-new-download__text small {
  color: #25364e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

/* ==================================================
   SP Hero キャッチコピー見切れ調整
================================================== */

@media screen and (max-width: 767px) {

  /* PC用の左移動をスマホでは解除 */
  body .a-tax-hero .a-tax-hero__content {
    width: 100%;
    max-width: none;
    transform: none;
  }

  /* 黄色のキャッチコピー */
  body .a-tax-hero .a-tax-hero__catch {
    display: block;
    width: calc(100% - 36px);
    max-width: 360px;
    margin: 0 auto 18px;
    padding: 13px 16px 15px;
    box-sizing: border-box;

    font-size: 17px;
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: 0.02em;
    text-align: left;
  }

}

/* ==================================================
   SP Hero ロゴ・タイトル 最終調整
================================================== */

@media screen and (max-width: 767px) {

  /* AcOmOロゴの外側 */
  body .a-tax-hero .a-tax-hero__logo-wrap {
    width: 100%;
    margin: 0 0 2px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* AcOmOロゴ */
  body .a-tax-hero .a-tax-hero__logo {
    display: block;
    width: 220px !important;
    max-width: calc(100vw - 72px);
    height: auto;
    margin: 0 0 0 -10px;
  }

  /* 宿泊税システム */
  body .a-tax-hero .a-tax-hero__title {
    display: block;
    width: auto;
    max-width: calc(100% - 32px);
    margin: 0 16px 18px;
    padding: 0;

    color: #0f4f95;
    font-size: 28px !important;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-align: left;
    white-space: nowrap;
    text-shadow: none;
  }

}

/* ==================================================
   SP Hero 説明文の読みやすさ調整
================================================== */

@media screen and (max-width: 767px) {

  body .a-tax-hero .a-tax-hero__lead {
    display: block;
    width: calc(100% - 32px);
    max-width: 360px;
    margin: 0 auto 22px;
    padding: 12px 14px 13px;
    box-sizing: border-box;

    color: #0f2747;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.01em;
    text-align: left;

    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

}

/* ==================================================
   SP版 課題セクション タイトルサイズ調整
================================================== */

@media screen and (max-width: 600px) {

  #problem .a-tax-problem__title {
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: 0.02em;
  }

}

/* ==================================================
   SP版 解決セクション 見出し・説明文・カード余白調整
================================================== */

/* PC・タブレットでは改行しない */
.a-tax-flow__sp-break {
  display: none;
}

@media screen and (max-width: 600px) {

  /* タイトルをSPだけ指定位置で改行 */
  #flow .a-tax-flow__sp-break {
    display: block;
  }

  /* リード文を左揃え */
  #flow .a-tax-flow__lead {
    text-align: left;
  }

  /* 宿泊者・宿泊施設カードの内側余白 */
  #flow .a-tax-flow-process
  > .a-tax-flow-process__side-card:first-child,
  #flow .a-tax-flow-process
  > .a-tax-flow-process__side-card:nth-child(3) {
    padding-top: 20px;
    padding-bottom: 14px;
  }

  /* 宿泊者・宿泊施設の見出し */
  #flow .a-tax-flow-process
  > .a-tax-flow-process__side-card:first-child
  .a-tax-flow-process__side-title,
  #flow .a-tax-flow-process
  > .a-tax-flow-process__side-card:nth-child(3)
  .a-tax-flow-process__side-title {
    margin: 0;
  }

  /* 見出し下の青い線 */
  #flow .a-tax-flow-process
  > .a-tax-flow-process__side-card:first-child
  .a-tax-flow-process__line,
  #flow .a-tax-flow-process
  > .a-tax-flow-process__side-card:nth-child(3)
  .a-tax-flow-process__line {
    margin-top: 4px;
    margin-bottom: 8px;
  }

  /* 「宿泊する」「申告・納付する」と画像の間隔 */
  #flow .a-tax-flow-process
  > .a-tax-flow-process__side-card:first-child
  .a-tax-flow-process__action,
  #flow .a-tax-flow-process
  > .a-tax-flow-process__side-card:nth-child(3)
  .a-tax-flow-process__action {
    min-height: auto !important;
    margin: 0 0 12px !important;
  }

}

/* ==================================================
   SP版 解決セクション 下部まとめ文の左揃え調整
================================================== */

@media screen and (max-width: 600px) {

  /* 見出しを左揃え */
  #flow .a-tax-flow-benefit__text h3 {
    text-align: left;
  }

  /* 説明文の左余白を削除して左揃え */
  #flow .a-tax-flow-benefit__text p {
    margin: 12px 0 0 !important;
    padding-left: 0 !important;
    text-align: left;
  }

}

/* ==================================================
   SP版 お問い合わせセクション レイアウト修正
================================================== */

@media screen and (max-width: 600px) {

  /* セクション全体 */
  #contact.a-tax-contact-new {
    padding: 64px 16px 72px;
  }

  #contact .a-tax-contact-new__inner {
    width: 100%;
    max-width: none;
  }

  /* フォーム・メールを1列にする */
  #contact .a-tax-contact-new__cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  /* 各お問い合わせカード */
  #contact .a-tax-contact-new-card {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 30px 22px 26px;
    box-sizing: border-box;
  }

  /* カード見出しの不自然な縦折り返しを防ぐ */
  #contact .a-tax-contact-new-card h3 {
    font-size: 21px;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: normal;
  }

  /* 説明文 */
  #contact .a-tax-contact-new-card__description {
    min-height: 0;
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.8;
  }

  /* フォームボタン */
  #contact .a-tax-contact-new-card__button {
    width: 100%;
    max-width: none;
    min-height: 58px;
    padding: 12px 42px 12px 20px;
    box-sizing: border-box;
  }

  #contact .a-tax-contact-new-card__button-text {
    font-size: 15px;
  }

  /* メールアドレス */
  #contact .a-tax-contact-new-card__mail {
    width: 100%;
    max-width: none;
    min-height: 58px;
    padding: 12px 38px 12px 14px;
    box-sizing: border-box;
  }

  #contact .a-tax-contact-new-card__mail-address {
    min-width: 0;
    font-size: 15px;
    white-space: nowrap;
  }

  /* 製品チラシをSPでは縦並びにする */
  #contact .a-tax-contact-new-download {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 28px 22px 24px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-sizing: border-box;
    text-align: center;
  }

  #contact .a-tax-contact-new-download__text {
    align-items: center;
    width: 100%;
  }

  #contact .a-tax-contact-new-download__text strong,
  #contact .a-tax-contact-new-download__text small {
    width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  #contact .a-tax-contact-new-download__action {
    width: 100%;
    min-width: 0;
    justify-content: center;
    box-sizing: border-box;
  }

  #contact .a-tax-contact-new-download__action > span:first-child {
    font-size: 14px;
    white-space: normal;
  }

}

/* ==================================================
   SP版 お問い合わせ タイトル・製品チラシ文章調整
================================================== */

@media screen and (max-width: 600px) {

  /* お問い合わせタイトルを他セクションに合わせる */
  #contact .a-tax-contact-new__heading .a-tax-flow__title {
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: 0.02em;
  }

  /* 製品チラシの文章部分を左揃え */
  #contact .a-tax-contact-new-download__text {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  #contact .a-tax-contact-new-download__text strong {
    width: 100%;
    text-align: left;
  }

  #contact .a-tax-contact-new-download__text small {
    width: 100%;
    text-align: left;
  }

}

/* ==================================================
   SP版 Hero 背景画像の位置調整
================================================== */

@media screen and (max-width: 767px) {

  body .a-tax-hero {
    background-position: 55% center !important;
  }

}

/* ==================================================
   SP版 Hero キャッチコピー改行
================================================== */

.a-tax-hero__sp-break {
  display: none;
}

@media screen and (max-width: 767px) {

  .a-tax-hero__sp-break {
    display: block;
  }

}

/* ==================================================
   SP版 Hero 説明文の改行
================================================== */

.a-tax-hero__lead-sp-break {
  display: none;
}

@media screen and (max-width: 767px) {

  .a-tax-hero__lead-sp-break {
    display: block;
  }

}

/* ==================================================
   Hero キャッチコピー SPのみ改行
================================================== */

br.a-tax-hero__catch-sp-br {
  display: none;
}

@media screen and (max-width: 767px) {

  br.a-tax-hero__catch-sp-br {
    display: block;
  }

}

/* ==================================================
   SP版 Hero 黄色枠・説明文枠の幅を統一
================================================== */

@media screen and (max-width: 767px) {

  body .a-tax-hero .a-tax-hero__catch,
  body .a-tax-hero .a-tax-hero__lead {
    display: block;
    width: calc(100% - 36px);
    max-width: 250px;
    margin-right: auto;
    margin-left: 10px;
    box-sizing: border-box;
  }

}