@charset "utf-8";

/* ---------------------------
   Base
---------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: #ffffff;
  color: #555555;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.portal {
  overflow: hidden;
  background: #ffffff;
}

.portal-inner {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ---------------------------
   Hero
---------------------------- */
.portal-hero {
  position: relative;
  padding: 54px 0 56px;
  overflow: hidden;
  background: #ffffff;
}

.portal-hero::after {
  content: "";
  position: absolute;
  top: 10px;
  right: max(-180px, calc((100vw - 1000px) / 2 - 260px));
  width: min(420px, 34vw);
  height: min(420px, 34vw);
  background: url("/img_portal/p1.png") no-repeat center center / contain;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.portal-date {
  margin: 0 0 14px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #555555;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}

.portal-lead {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.8;
  color: #555555;
  position: relative;
  z-index: 2;
}

.portal-title {
  margin: 0;
  text-align: center;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #555555;
  position: relative;
  z-index: 2;
}

.portal-subtitle {
  margin: 8px 0 0;
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: #555555;
  position: relative;
  z-index: 2;
}

.portal-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 162px;
  position: relative;
  z-index: 2;
}

.portal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc((100% - 24px) / 2);
  min-height: 260px;
  padding: 34px 20px 22px;
  background: #ed0048;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.portal-card:focus-visible {
  outline: 3px solid #333333;
  outline-offset: 4px;
}

.portal-card__area {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
  padding: 0 10px 8px;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  z-index: 1;
}

.portal-card__area::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 0.45em;
  z-index: -1;
  border-radius: 2px;
}

.portal-card--south .portal-card__area::after {
  background: #df8296;
}

.portal-card--north .portal-card__area::after {
  background: #f0bf7a;
}

.portal-card__text,
.portal-card__en {
  position: relative;
  z-index: 1;
}

.portal-card__text {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.portal-card__en {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.portal-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin-top: 18px;
  background: transparent;
  border-radius: 0;
}

.portal-card__icon img {
  display: block;
  width: 78px;
  max-width: none;
  height: auto;
}

.portal-note {
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.portal-note__title {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #555555;
}

.portal-note__text {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.9;
  color: #555555;
}

/* ---------------------------
   Full width message
---------------------------- */
.portal-message {
  width: 100%;
  background: #ed0048;
  padding:70px 20px 64px;
}

.portal-message__inner {
  width: min(1000px, 100%);
  margin: 0 auto;
  text-align: center;
}

.portal-message__title {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.portal-message__text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 2;
  color: #ffffff;
}

/* ---------------------------
   Company
---------------------------- */
.company {
  padding: 84px 0 120px;
  background: #ffffff;
}

.company-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.company-heading__ja {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ed0048;
}

.company-heading__ja::before {
  content: "";
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 5px;
  height: 1.2em;
  background: #ed0048;
}

.company-heading__en {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #555555;
}

.company-table {
  background: transparent;
  border-top: none;
  margin-top:60px;
}

.company-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  margin: 0;
  border-bottom: 1px solid #d7d7d7;
}

.company-row dt,
.company-row dd {
  margin: 0;
  padding: 52px 44px;
}

.company-row dt {
  background: #f4f4f4;
  font-size: 1.18rem;
  font-weight: 700;
  color: #555555;
  line-height: 1.7;
}

.company-row dd {
  background: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
  color: #555555;
  line-height: 1.9;
}

.company-table__note {
  display: block;
  margin-top: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.75;
  color: #666666;
}

.pc{
  display:block;
}

.sp{
  display:none;
}

/* ---------------------------
   Responsive
---------------------------- */
@media (max-width: 1180px) {
  .portal-hero::after {
    right: -120px;
    width: 340px;
    height: 340px;
  }
}

@media (max-width: 1024px) {
  .portal-hero::after {
    top: 20px;
    right: -100px;
    width: 300px;
    height: 300px;
  }

  .portal-links {
    margin-top: 74px;
  }

  .portal-card {
    min-height: 232px;
  }

  .portal-message__text {
    font-size: 1.06rem;
  }

  .company-row dt {
    font-size: 1.08rem;
  }

  .company-row dd {
    font-size: 1.02rem;
  }
}

@media (max-width: 767px) {
  .portal-hero {
    padding: 32px 0 42px;
  }

  .portal-hero::after {
    top: 55px;
    right: -36px;
    width: 190px;
    height: 190px;
    opacity: 0.95;
  }

  .portal-inner {
    width: min(100%, calc(100% - 28px));
  }

  .portal-date {
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

  .portal-lead {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .portal-title {
    padding: 0 8px;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1.25;
  }

  .portal-subtitle {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem);
    line-height: 1.35;
  }

  .portal-links {
    flex-direction: column;
    gap: 16px;
    margin-top: 26px;
  }

  .portal-card {
    width: 100%;
    min-height: auto;
    padding: 26px 18px 20px;
    border-radius: 16px;
  }

  .portal-card__area {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }

  .portal-card__area::after {
    bottom: 6px;
    height: 0.42em;
  }

  .portal-card__text {
    font-size: 1.6rem;
  }

  .portal-card__en {
    font-size: 0.92rem;
  }

  .portal-card__icon {
    width: 64px;
    height: 64px;
    margin-top: 14px;
  }

  .portal-card__icon img {
    width: 64px;
    max-width: none;
  }

  .portal-note {
    margin-top: 18px;
  }

  .portal-note__title {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .portal-note__text {
    font-size: 0.9rem;
    line-height: 1.85;
  }

  .portal-message {
    padding: 34px 16px 32px;
  }

  .portal-message__title {
    margin-bottom: 8px;
    font-size: 1.35rem;
  }

  .portal-message__text {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .company {
    padding: 50px 0 70px;
  }

  .company-heading {
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }

  .company-heading__ja {
    font-size: 1.55rem;
    padding-left: 14px;
  }

  .company-heading__ja::before {
    width: 4px;
  }

  .company-heading__en {
    font-size: 0.9rem;
  }

  .company-row {
    grid-template-columns: 1fr;
  }

  .company-row dt,
  .company-row dd {
    padding: 14px 16px;
  }

  .company-row dt {
    font-size: 0.98rem;
  }

  .company-row dd {
    font-size: 0.96rem;
    line-height: 1.8;
    background: #ffffff;
  }

  .company-table__note {
    font-size: 0.84rem;
    line-height: 1.75;
  }

.pc{
  display:none;
}

.sp{
  display:block;
}


}

@media (max-width: 767px) {
  .portal-hero::after {
    top: 55px;
    right: -36px;
    width: 190px;
    height: 190px;
    opacity: 0.7;
  }
}