@charset "UTF-8";

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    line-height: 1.5;
    color: #4b1900;
    background-color: #015551;
    margin: 0;
}
a {
    text-decoration: none;
    color: #4b1900;
}

/* ----- header ----- */

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page-header {
    position: sticky;
    top: 0;
    padding: .5rem 1rem;
    background-color: #FDFBEE;
}
.logo {
    width: 115px;
    padding-top: 10px;
}
.main-nav {
    display: flex;
    gap: 1rem;
    list-style: none;
}
.main-nav a {
    color: #560d04;
}
.main-nav a:hover {
    color: #5f3830;
}

/* 送信完了 */
.bgc {
    background-color: #FDFBEE;
    margin: 8rem 1rem;
    padding-top: 120px;
    text-align: center;
    height: 300px;
    border-radius: 10px;
}
.submit {
    font-size: 1.4rem;
    margin-bottom: 4rem;
    font-weight: bold;
}
.back {
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FDFBEE;
  box-shadow: 0 4px 8px rgb(0 0 0 / 65%);
  width: 100px;
  height: 45px;
  font-size: 1rem;
  background-color: #015551;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
  
.back:hover {
  background-color: #013e3c;
}

/* ----- footer ----- */

.page-footer {
    background-color: #FDFBEE;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ---------- デスクトップ版 ---------- */

@media (min-width: 450px) {
    body {
        max-width: 375px;
        margin: 0 auto;
        position: relative;
        background-image: url(../img/main_visual.png);
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
        background-color: rgba(255,255,255,0.3);
        background-blend-mode: lighten;
    }
    .dt-bgc {
        position: fixed;
        width: 375px;
        height: 100%;
        margin: 0 auto;
        top: 0;
        background-color: #015551;
        z-index: -1;
    }
}