* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Times New Roman", serif;
}

.hero {
  min-height: 100vh;
  background-image: url("main2.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(180, 180, 180, 0.55);
  z-index: 0;
  pointer-events: none;
}

.content {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  padding: 48px 56px;
  max-width: 380px;
  position: relative;
  z-index: 1;
  transform: translateY(0px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.content::before {
  content: "";
  position: absolute;
  inset: -35px;
  background: radial-gradient(
    circle,
  rgba(180, 180, 180, 0.28) 0%,
  rgba(180, 180, 180, 0.18) 45%),
  rgba(180, 180, 180, 0) 75%
  );
  z-index: -1;
    pointer-events: none;

  backdrop-filter: saturate(0.4)
blur(2px);
-webkit-backdrop-filter:
saturate(0.4) blur(2px);
  z-index: -1;
}

h1 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.75);
  transform: translateY(-20px);
}

.role {
  margin: 0 0 26px;
  font-size: 16px;
}

.dossier {
  margin: 18px 0 24px;
}

.dossier-title {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
}

.button {
  display: block;
  padding: 3px 0;
  margin: 3px 0;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 16px;
}

.contact {
    display: block;
    margin-top: 30px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 15px;
}

.mail-text {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

footer {
  position: fixed;
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  width: min(90%, 720px);
  text-align: center;
  font-size: 9px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 16px;
  box-sizing: border-box;
  z-index: 2;
}

footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .content {
    width: 82%;
    max-width: 320px;
    padding: 36px 28px;
    transform: translateY(-30px);
  }

  h1 {
    font-size: 34px;
  }

  .role,
  .dossier-title,
  .button,
  .contact {
    font-size: 14px;
  }

  .mail-text {
    font-size: 15px;
  }

  footer {
    bottom: 24px;
    font-size: 8px;
    width: 92%;
  }
}
/* どの端末でも崩れにくくする */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
}

footer,
.copyright {
  width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}


/* 画面からはみ出さず1枚に収める */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  min-height: 100svh;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

main {
  width: 100%;
  height: 100svh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 20px;
  box-sizing: border-box;
}

/* スマホ横向き */

@media screen and (orientation: landscape) and (max-height: 550px) {

  main {
    padding: 8px 20px;
  }

  h1 {
    font-size: clamp(38px, 11vh, 65px);
    margin-top: 0;
    margin-bottom: 7vh;
  }

  h2,
  .dossier {
    font-size: clamp(18px, 5vh, 30px);
    margin: 0 0 3vh;
  }

  a {
    font-size: clamp(16px, 4.5vh, 26px);
    line-height: 1.35;
  }

  .contact {
    margin-top: 5vh;
  }

  footer,
  .copyright {
    position: absolute;
    bottom: 6px;

    width: calc(100% - 24px);

    font-size: 7px;
    line-height: 1.2;

    text-align: center;
  }
}