/*
  Modern Reset / Normalize baseline (2026)
  - modern evergreen browsers (Chromium / Safari / Firefox)
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

body {
  font-size: 1.6rem;
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-skip-ink: auto;
}

a:not([class]) {
  text-decoration: underline;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
picture {
  height: auto;
}

iframe {
  border: 0;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

textarea:not([rows]) {
  min-height: 10em;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:target {
  scroll-margin-block: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --text: #333;
  --white: #ffffff;
  --red: #a92028;
  --orange: #e18635;
  --blue: #004ea2;
  --purple: #8e51c2;
  --red-strong: #fd0100;
}

html {
  font-size: 62.5%;
}

body {
  width: max(100%, 960px);
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  color: #004be5;
}
a:hover {
  opacity: 0.65;
}

.cta-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 244px);
  height: 58px;
  font-size: 2.4rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  border: 0;
  position: relative;
}
.cta-footer:after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 20px solid #fff;
  border-left: 0 solid transparent;
  border-top: 20px solid #000;
  border-bottom: 0;
  position: absolute;
  right: 0;
  bottom: 0;
}
.cta-footer--red {
  background: var(--red);
}
.cta-footer--red:after {
  border-top-color: var(--red);
}
.cta-footer--orange {
  background: var(--orange);
}
.cta-footer--orange:after {
  border-top-color: var(--orange);
}
.cta-footer--blue {
  background: var(--blue);
}
.cta-footer--blue:after {
  border-top-color: var(--blue);
}
.cta-footer--purple {
  background: var(--purple);
}
.cta-footer--purple:after {
  border-top-color: var(--purple);
}
.cta-footer--red-strong {
  background: var(--red-strong);
}
.cta-footer--red-strong:after {
  border-top-color: var(--red-strong);
}

.header {
  width: 100%;
  background: #fff;
}
.header__top {
  margin: 0 auto;
}
.header__logo {
  padding: 50px 24px 46px;
}
.header__logo a {
  display: flex;
  justify-content: center;
}
.header__logo img {
  height: auto;
}
.header__nav {
  background: #002e81;
}
.header__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  background-color: #002e81;
}
.header__menu li {
  border-right: 2px solid #1d4ca0;
  width: min(100%, 497px);
}
.header__menu li:first-child {
  border-left: 2px solid #1d4ca0;
}
.header__menu a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  width: 100%;
  min-height: 108px;
  font-size: 2.6rem;
  font-weight: bold;
  text-decoration: none;
}

.footer {
  background: #fff;
  padding: 90px 16px 84px;
}
.footer__inner {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__brand {
  width: min(100%, 400px);
}
.footer__menu {
  margin: 25px 0 0;
  padding-left: 1.1em;
  font-size: 1.6rem;
}
.footer__menu a {
  color: #333;
  text-decoration: none;
}
.footer__copy {
  display: block;
  margin-top: 35px;
  color: #333;
  font-size: 1.4rem;
}
.footer__left {
  width: 400px;
}
.footer__right {
  width: min(100%, 498px);
  display: grid;
  grid-template-columns: repeat(2, minmax(244px, 1fr));
  gap: 10px;
  padding-top: 35px;
}

#pagetop {
  position: fixed;
  right: 37px;
  bottom: 27px;
  width: 50px;
  z-index: 100;
}

#main-image {
  position: relative;
  width: 100%;
  height: 170px;
  padding-top: 2px;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../img/common/title-bg.png);
}
#main-image.contact_send, #main-image.contact {
  background-image: url(../img/title/title-contact.png);
}
#main-image h2 {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #333;
}

#breadcrumbs {
  position: relative;
  width: min(1000px, 100%);
  margin: 0 auto;
}
#breadcrumbs ul {
  display: flex;
  align-items: center;
}
#breadcrumbs ul li {
  display: flex;
  align-items: center;
  margin-left: 8px;
  font-size: 1.4rem;
}
#breadcrumbs ul li:first-child {
  margin-left: 0;
}
#breadcrumbs ul li:first-child a span {
  padding-left: 0;
}
#breadcrumbs ul li:last-child {
  white-space: nowrap;
  padding-right: 0;
  vertical-align: middle;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
#breadcrumbs ul li:last-child span {
  margin-left: 8px;
  padding-right: 0;
}
#breadcrumbs ul li a {
  text-decoration: none;
  padding: 0;
  color: #333333;
}
#breadcrumbs ul li a:hover {
  opacity: 0.5;
  transition: none;
}
#breadcrumbs ul li a span {
  border-bottom: 0;
}
