:root {
  --main-color: #2196F3;
  /* 基調ブルー */
  --accent-color: #42A5F5;
  /* アクセントブルー */
  --text-color: #ffffff;
}

body {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c2c2c;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;

  height: 100%;
  padding: 0;
}

main {
  flex: 1;
}

/* ヘッダー */
#header-title {
  background: var(--main-color);
  margin: 0;
  padding: 12px;
  text-align: center;
  width: 100vw;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#header-title span {
  font-size: 40px;
  color: #fff;
}

#header-title a {
  color: #fff;
  text-decoration: none;

}

#header-title a:visited {
  color: #fff;
}

#header-title a:hover {
  color: var(--accent-color);
}


/* SNSシェア */
.sns-share {
  margin-top: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.sns-share p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0288d1;
}

.sns-share a {
  display: inline-block;
  margin: 0 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.btn-twitter {
  background-color: #1DA1F2;
}

.btn-twitter:hover {
  background-color: #0d8ddb;
}

.btn-line {
  background-color: #00c300;
}

.btn-line:hover {
  background-color: #00a600;
}

.btn-facebook {
  background-color: #1877F2;
}

.btn-facebook:hover {
  background-color: #105dbf;
}

.footer {
  text-align: center;
  padding: 10px 0;
  font-size: 0.9em;
  color: #666;
  border-top: 1px solid #ddd;
  margin-top: 30px;
}

/* 見出し */
h1 {
  font-size: 2rem;
  color: #0288d1;
  text-shadow: 1px 1px 3px #b3e5fc;
  margin: 1.5rem 0;
  text-align: center;
}

h2,
h5,
h6 {
  color: #0288d1;
  text-align: center;
}

h3,
h4 {
  color: #fff;
  text-shadow: 1px 1px 3px #0288d1;
  text-align: center;
}

swer-input {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: 2px solid #FF6F61;
  border-radius: 8px;
  width: 120px;
  transition: border-color 0.3s ease;
}

input[type="text"] {
  margin: 2rem 0;
  width: 23rem;
  height: 8rem;
  padding: 0.5rem 1rem;
  border: 2px solid #0288d1;
  border-radius: 8px;
  color: #2b2b2b;
  font-size: 14px;
  font-weight: bold;
}

input[type="text"]:focus {
  border-color: #01579b;
  outline: none;
}

/* ボタン */
button,
.btn-requesttons {
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
.btn-requesttons:hover {
  background-color: #0288d1;
}


/* リスト */
ul {
  list-style-type: none;
  padding: 0;
  max-width: 320px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(131, 131, 131, 0.2);
}

li {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #cbcbcb;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
}

li:last-child {
  border-bottom: none;
}


.nav-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.btn-requesttons {
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 8px;
  margin-top: 3rem;
  margin-bottom: 10rem;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* 下部TOPボタン */
#header {
  width: 100vw;
  padding: 1rem 0;
  text-align: center;
  background: var(--accent-color);
  position: fixed;
  bottom: 0;
  box-shadow: 0 -4px 12px rgba(2, 136, 209, 0.6);
  user-select: none;
}

#header span {
  font-size: 1.4rem;
  font-weight: 700;
}

#header a {
  color: white;
  text-decoration: none;
}

#header a:hover {
  color: var(--accent-color);
}

/* スマホ向け調整*/
@media (pointer: coarse) {

  #header-title {
    background-color: var(--main-color);
    margin: 0;
    padding: 1rem;
    text-align: center;
    width: 100vw;
  }

  #header-title span {
    font-size: 1.5rem;
    color: #fff;
  }

  /*SNSシェア*/
  .sns-share {
    margin-top: 2rem;
    text-align: center;
    user-select: none;
    margin-bottom: 1.5rem;
  }

  .sns-share p {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    font-weight: 600;
    color: #0288d1;
  }

  .sns-share a {
    display: inline-block;
    margin: 0 0.3rem;
    padding: 0.5rem 0.7rem;
    border-radius: 7px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
    font-size: 0.7rem;
  }

  .footer {
    text-align: center;
    padding: 10px 0;
    font-size: 0.7rem;
    color: #666;
    border-top: 1px solid #ddd;
    margin-top: 1.5rem;
    margin-bottom: 5rem;
  }

  /* 下部TOPボタン */
  #header {
    width: 100vw;
    padding: 1rem 0;
    text-align: center;
    background: var(--accent-color);
    position: fixed;
    bottom: 0;
    box-shadow: 0 -4px 12px rgba(2, 136, 209, 0.6);
    user-select: none;
  }

  #header span {
    font-size: 1.4rem;
    font-weight: 700;
  }

  #header a {
    color: white;
    text-decoration: none;
  }

  #header a:hover {
    color: var(--accent-color);
  }

}