@charset "UTF-8";

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

html,
body,
header,
footer,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
li {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

button {
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
}

html {
  height: 100%;
  font-family: Inter, system-ui, Helvetica, Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

body {
  height: 100%;
  background-color: #eb5504;
  min-width: 312px;
  color: #222;
}

img {
  width: 100%;
  height: auto;
  vertical-align: top;
  font-size: 0;
  line-height: 0;
}

header {
  width: 100%;
  background-color: #fff;
}

h1 {
  color: #7b381b;
  font-style: normal;
  font-weight: 700;
  line-height: clamp(29px, 10vw, 70px);
  letter-spacing: 2px;
  text-align: center;
  font-size: clamp(15px, 4vw, 40px);
}

.logo {
  max-width: 815px;
  height: auto;
  margin: 0 auto 9px auto;
}

@media (max-width: 767px) {
  .logo {
    min-width: 272px;
    width: 80%;
  }
}

.contact_link_box {
  padding: 40px 0 5px;
  text-align: center;
}
@media (max-width: 767px) {
  .contact_link_box {
    padding-top: 20px;
  }
}

.contact_link {
  position: relative;
  padding: 8px 16px 8px 40px;
  border: 1px solid #7b381b;
  border-radius: 8px;
  font-size: clamp(0.75rem, 0.5rem + 1.25vw, 1.5rem);
  font-weight: bold;
  color: #7b381b;
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.contact_link:hover {
  opacity: 0.6;
}
.contact_link::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #7b381b;
  content: '';
}
@media (max-width: 980px) {
  .contact_link::before {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 14px;
  }
}
@media (max-width: 767px) {
  .contact_link {
    padding: 4px 8px 4px 24px;
    border-radius: 4px;
  }
  .contact_link::before {
    left: 8px;
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
  }
}

.boundary_box {
  position: relative;
  width: 100%;
  padding-top: 11.4%;
}

.boundary_box::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('./asset/boundary_box.svg');
  background-size: 102% auto;
  background-position: center;
  content: '';
}

.contents {
  text-align: center;
  margin-top: -1px;
  background-color: #eb5504;
}

.contents_title {
  margin-bottom: 9px;
  color: #fff;
  font-size: clamp(14px, 4vw, 40px);
  font-style: normal;
  font-weight: bold;
  line-height: normal;
  letter-spacing: 2.4px;
}
.line {
  max-width: 500px;
  width: 100%;
  height: auto;
  max-height: 21px;
  min-height: 9px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .line {
    width: 50%;
    min-width: 168px;
  }
}

.text_box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 72px auto;
  max-width: 720px;
}

@media (max-width: 767px) {
  .text_box {
    margin: 34px 24px;
  }
}

.text_box p {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 150%; /* 24px */
  letter-spacing: 0.8px;
  text-align: left;
}

footer {
  margin-top: -1px;
  position: sticky;
  top: 100vh;
  width: 100%;
  padding: 40px;
  text-align: center;
  color: #fff;
  font-size: clamp(12px, 4vw, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

footer p {
  font-weight: lighter;
  font-family: Verdana, 'Droid Sans', 'メイリオ', sans-serif;
  font-size: clamp(12px, 4vw, 15px);
}

.footer_link_text {
  display: inline-flex;
  gap: 54px;
  margin-bottom: 14px;
}

.footer_link_text a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: #fff;
}
.footer_link_text a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .footer_link_text {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
}
