@charset "utf-8";

/* body */
body {
  background-image: url(../images/contact_bg.jpg);
  background-size: cover;
  margin: 0 auto;
}

.wrapper {
  width: 1300px;
  background-color: transparent; /* #c0c0c000 をわかりやすく変更 */
  margin: 0 auto;
}

header {
  background-image: url(../images/header_001.jpg);
  background-size: cover;
  background-position: 3px 83px; /* カンマを削除 */
  margin: 0 auto;
  width: 1300px;
  height: 205px;
  display: flex;
  justify-content: space-between;
}

/* box001 & headbox001 */
.box001, .headbox001 {
  width: 165px;
  padding: 15px;
}

.box001 img, .box101 img {
  border-radius: 5px;
  border: 5px solid silver;
}

.logotext {
  color: rgb(240, 237, 237);
  font-size: 1.0rem;
  font-style: italic;
  font-weight: bold;
  text-indent: 1rem; /* 重複を整理 */
  margin: 0 auto;
  padding-top: 0.5rem;
}

.logoimg {
  border: 3px solid #1e02bf; /* solid が抜けていました */
  border-radius: 8px;
}

/* box002 */
.headbox002_01 {
  width: 400px;
  padding: 20px 0 10px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #de0000;
  font-style: italic;
  line-height: 2rem;
  text-shadow: 2px 2px 2px #080000;
}

.headbox002_01 span.pp1 {
  text-decoration: underline;
}

h2 {
  background-color: rgba(0, 0, 0, 0.555);
  text-align: center;
  border: blue solid 1px;
  border-radius: 5px;
  text-shadow: 6px 6px 3px #0b0b0b; /* 3p を 3px に修正 */
  margin-top: 3rem;
  text-indent: 1rem;
}

/* navigation */
.nav {
  height: 60px;
  border: 2px solid silver;
  border-radius: 3px;
  margin-top: 10px;
}

nav.grnav ul {
  display: flex;
  list-style: none; /* リストの黒丸を消す場合 */
  padding: 0;
}

nav.grnav ul li {
  line-height: 2.5rem;
  background-color: #ffffff;
  width: 125px;
  height: 55px;
  border-right: 1px solid #0b0b0b;
  text-align: center;
}

nav.grnav ul li a {
  font-size: 0.6rem;
  line-height: 1.5rem;
  display: block;
  color: rgb(238, 17, 17);
  transition: 150ms;
  text-decoration: none;
}

span.navspn {
  font-size: 1.1rem;
  color: rgb(81, 13, 240);
  font-weight: bold;
}

nav.grnav ul li a:hover {
  background-color: rgba(190, 255, 10, 0.5);
}

/* footer */
footer {
  margin: 0 auto;
  width: 1300px;
  height: 400px;
  border: 5px solid silver;
  border-radius: 50px;
  background: linear-gradient(45deg, rgba(1, 4, 94, 0.694), silver);
}

::placeholder { /* plsceholder を修正 */
  color: #f60a0aa9;
}

address {
  margin: 20px;
  font-size: 1rem; /* font: size を修正 */
  color: silver;
  font-weight: 600;
  line-height: 1.6rem;
  font-style: normal; /* address特有の斜体を解除する場合 */
}

.footergall {
  width: 280px;
  height: 280px;
  display: block;
  transition: 2s;
  margin-left: 200px;
  border: 1px solid silver; /* 1p を 1px に修正 */
  border-radius: 20px;
}

.footwrapper small {
  margin: 0 auto;
  font-size: 1.1rem; /* -size を修正 */
  font-style: italic;
}

/* フォームメイン */
.formmaster {
  width: 900px;
  background-color: rgba(255, 255, 255, 0.7); /* #ffffffb2 */
  color: #000; /* 文字が見えるように修正 */
  margin: 50px auto;
  padding: 30px;
  text-align: center;
}

.submition, .reset {
  width: 100px;
  height: 30px; /* 少し高さを確保 */
  border: 2px solid rgb(54, 4, 120); /* 末尾の b0b を削除 */
  cursor: pointer;
}