@charset "UTF-8";

/* ========================================
Reset
======================================== */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ins {
  color: #000;
  text-decoration: none;
  background-color: #ff9;
}

mark {
  color: #000;
  font-style: italic;
  font-weight: bold;
  background-color: #ff9;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

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

hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}

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

input,
select {
  vertical-align: middle;
}

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

/* ========================================
Fonts
======================================== */
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  src: url("../fonts/NotoSerifJP-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


/* ========================================
Variables
======================================== */
:root {
  /* Fonts */
  --font-sans:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  --font-serif:
    "Noto Serif JP",
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;

  /* Layout */
  --content-width: 900px;
  --content-padding-sp: 1.8rem;

  /* White */
  --color-white: #ffffff;

  /* Text */
  --color-text: #272523;
  --color-text-light: #9d978d;

  /* Background */
  --color-page-background: #f7f4ef;
  --color-dialog-background: #f9f7f4;
  --color-profile-background: #efe9e0;
  --color-heading-background: #f1d1ca;
  --color-highlight: #dbf295;
  --color-highlight-background: #dbf295;
  --color-footer-background: #9ecd5b;

  /* Accent */
  --color-terracotta: #e35336;
  --color-terracotta-shadow: #b94028;
  --color-green: #7da344;

  /* Border */
  --color-border: #7c7467;
}


/* ========================================
Base
======================================== */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-page-background);
  -webkit-text-size-adjust: 100%;
}

.contents {
  flex: 1 0 auto;
}


/* ========================================
Back to Top
======================================== */
.back_to_top {
  position: fixed;
  right: calc(1.6em + env(safe-area-inset-right));
  bottom: calc(1.6em + env(safe-area-inset-bottom));
  z-index: 9999;
  inline-size: 4rem;
  block-size: 4rem;
  padding: 0;
  border: 1px solid var(--color-green);
  border-radius: 50%;
  background-color: var(--color-page-background);
  color: var(--color-white);
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    visibility 0s linear 0.25s;
}

.back_to_top::before {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  inline-size: 0.75em;
  block-size: 0.75em;
  border-top: 2px solid var(--color-green);
  border-left: 2px solid var(--color-green);
  transform: translate(-50%, -35%) rotate(45deg);
}

.back_to_top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    visibility 0s linear 0s;
}

@media (hover: hover) {

  .back_to_top:hover {
    opacity: 0.8;
  }

}


/* ========================================
Site Header
======================================== */
.site_header {
  width: 100%;
  min-width: var(--content-width);
  background-color: var(--color-white);
}

.site_header_inner {
  width: var(--content-width);
  margin-inline: auto;
  padding-block: 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site_hostname {
  font-size: 1.1rem;
  font-weight: 500;
}

.site_logo {
  width: 220px;
  margin-block: 0.4em 0;
}

.site_logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site_header_text {
  width: 430px;
  padding-inline: 1.4em 0;
  font-size: 1.1rem;
  line-height: 1.4;
  text-indent: -1.4em;
}

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

  .site_header {
    min-width: 0;
  }

  .site_header_inner {
    width: auto;
    margin-inline: var(--content-padding-sp);
    flex-direction: column;
    align-items: flex-start;
  }

  .site_header_text {
    width: auto;
    margin-block: 1.4rem 0;
    font-size: 1rem;
  }

}


/* ========================================
Submission
======================================== */
.submission {
  width: 100%;
  min-width: var(--content-width);
  padding-block: 6rem;
  background-color: #e1e9d5;
  position: relative;
}

.submission_inner {
  position: relative;
  width: var(--content-width);
  margin-inline: auto;
  padding-block: 2rem;
  padding-inline: 15rem 4rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-green);
  background-color: var(--color-dialog-background);
}

.submission_image {
  position: absolute;
  bottom: 2rem;
  left: 1rem;
  width: 11rem;
  z-index: 99;
}

.submission_image img {
  width: 100%;
  height: auto;
}

.submission_content {
  flex: 1;
  min-width: 0;
}

.submission_heading {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-green);
}

.survey_date {
  margin-block: 1rem 0;
  font-size: 1.3rem;
}

.submission_text {
  margin-block: 1rem 0;
  font-size: 1.3rem;
  line-height: 1.7;
}

.submission_button {
  flex-shrink: 0;
}

.submission_button a {
  display: inline-flex;
  align-items: center;
  gap: 1.5em;
  padding-block: 1em;
  padding-inline: 2em;
  border-radius: 0.4rem;
  background-color: var(--color-green);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.submission_button a::after {
  content: "";
  width: 0.7em;
  height: 0.7em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (hover: hover) {

  .submission_button a:hover {
    opacity: 0.8;
  }

}

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

  .submission {
    padding-block: 4rem;
    min-width: 0;
  }

  .submission_inner {
    width: auto;
    min-height: 0;
    padding: 2rem;
    margin-inline: var(--content-padding-sp);
    display: block;
  }

  .submission_image {
    width: 8rem;
    left: 3rem;
  }

  .submission_heading {
    font-size: 1.6rem;
  }

  .survey_date {
    font-size: 1.3rem;
  }

  .submission_text {
    font-size: 1.3rem;
  }

  .submission_text br {
    display: none;
  }

  .submission_button {
    margin-block: 4.2rem 0;
    text-align: center;
  }

  .submission_button a {
    justify-content: center;
    width: 100%;
  }

}

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

  .submission_image {
    width: 6rem;
    left: 1rem;
  }

  .submission_button {
    margin-block: 2.8rem 0;
  }

}


/* ========================================
Submission Balloon
======================================== */
.submission_balloon {
  position: absolute;
  top: -1.8em;
  left: 14rem;
  z-index: 1;

  width: max-content;
  margin: 0;
  padding-block: 0.6em;
  padding-inline: 1.5em 1em;
  border-radius: 100vw;
  background-color: var(--color-highlight);

  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  text-align: center;
}

.submission_balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.6em;
  transform: translateX(-50%);

  width: 0;
  height: 0;
  border-inline: .6em solid transparent;
  border-top: 1em solid var(--color-highlight);
}

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

  .submission_balloon {
    left: 1em;
    font-size: 1.2rem;
  }

}



/* ========================================
Footer
======================================== */
.footer {
  flex-shrink: 0;
  width: 100%;
  min-width: var(--content-width);
  padding-block: 2em;
  background-color: var(--color-footer-background);
  text-align: center;
}

.copy {
  font-size: 1.1rem;
}

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

  .footer {
    min-width: 0;
  }

}


/* ========================================
Accessibility
======================================== */
@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}