.text-center {
  text-align: center !important;
}

.kiaka {
  background: #d41619 !important;
  color: #ff0 !important;
  padding: 10px 15px;
  margin: 20px 0 10px 0;
  font-family: sans-serif;
}
.pdesc {
  text-align: left;
  height: 7em;
}

.title {
  height: 10em;
}

#content {
  position: relative;
  padding-top: 30px !important;
}

#content::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: #e72d22;
}

#content::after {
  display: block;
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: #004e8f;
}

.error {
  margin-top: 30px;
}

.arigatou {
  border: solid 2px #e60013;
  padding: 29px;
  box-sizing: border-box;
  width: 70%;
  margin: 0 auto;
}

.arigatou h3 {
  text-align: center;
  font-size: 250%;
}

.pointer_none {
  pointer-events: none;
}

form h3 {
  text-align: center;
  font-size: 28px;
}

.koho h2 {
  background: #004e8f;
  padding: 10px 15px;
  margin: 20px 0 10px 0;
  font-family: sans-serif;
  text-align: center;
  font-size: 30px;
  line-height: 1.5;
}
.white {
  color: #fff !important;
}

.koho h2:before,
.koho h2:after {
  /* content: "";
  position: absolute;
  top: 100%;
  width: 0;
  height: 0; */
}

.koho h2:before {
  /* left: 0;
  border-left: 25px solid transparent;
  border-right: 15px solid #083967;
  border-top: 15px solid #083967;
  border-bottom: 0; */
}

.koho h2:after {
  /* right: 0;
  border-right: 25px solid transparent;
  border-left: 15px solid #083967;
  border-top: 15px solid #083967;
  border-bottom: 0; */
}

.page #content {
  padding-top: 0px;
}

.kiyaku h3 {
  font-size: 20px;
  margin: 15px;
  text-align: center;
}

form label {
  font-size: 16px;
  text-align: center;
}

.forkiyaku {
  height: 300px;
  padding: 15px;
}

.kiagree {
  padding: 20px 40px;
  font-size: 20px;
  background: #08396721;
  display: table;
  margin: 15px auto;
}
.kiagree label {
  padding: 10px;
}

.results {
  margin: 50px;
}
.results h2 {
  margin-bottom: 10px !important;
}

.results th,
.results td {
  padding: 0;
  background: #fff;
  color: inherit;
}
.results th {
  width: 200px;
}

.results span {
  display: block;
  font-size: 80%;
  color: #004e8f;
}

.product {
  /* other styles */
  cursor: pointer;
  padding: 10px;
  margin-bottom: 10px;
}

.thisoubo {
  padding: 5px 10px;
  background: #d41618;
  color: #fff;
  display: inline-block;
}

.exp h3 {
  text-align: center;
  font-size: 30px;
  margin: 30px 0;
}
.exp p {
  text-align: left;
  font-size: 18px;
  /* padding: 10px 0px 0px 0px; */
}
.exp h4 {
  margin-top: 20px;
  text-align: left;
  font-size: 20px;
  background: #d41619;
  color: #ff0;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 5px;
}

.hissu_p {
  padding-top: 15px;
}

.otherflex {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
}

#otherProduct {
  width: 500px;
  margin-right: 15px;
}

.now_p,
.past_p {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: stretch;
  text-align: center;
}

.now_p .product,
.past_p .product {
  width: 25%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
}
.now_p .product img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.past_p .product img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product.selected,
.otherProductSelected {
  background-color: #ffdad2;
}

input[type="submit"] {
  -webkit-appearance: auto;
}

#header {
  position: relative;
  z-index: 100;
  top: 0;
  height: 105px;
  width: 100%;
  background-color: #fff;
}

.page #content .titleWrap {
  background-image: none !important;
  background-position: none !important;
  background-size: none !important;
  text-align: center;
}

.page #content .titleWrap .title {
  height: 400px;
  margin-bottom: 20px;
  background-image: none !important;
  background-position: none !important;
  background-repeat: repeat-x, no-repeat;
  animation: none !important;
}

#header .logo img {
  width: 150px;
}

.page #content .titleWrap img {
  /* width: 900px; */
  /* height: 400px; */
  /* object-fit: cover; */
  margin: 0 auto;
}

.pdate{
  margin-top: 0.75em;
}

.pname {
  font-weight: bold;
}

.pcollab {
  font-size: 1.2em;
}

.past_p .pname {
  margin-top: 0.75em;
}

.page #content article {
  width: 1100px;
  margin: 50px auto;
}

dt,
dd,
li,
caption,
th,
td,
input,
button,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
address {
  line-height: initial;
  font-size: initial;
  margin: 0px 0 5px 0;
  padding: 0;
}
p {
  line-height: initial;
  font-size: 140%;
  margin: 0px 0 5px 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

table th,
table td {
  padding: 5px 20px;
  text-align: left;
  box-sizing: border-box;
}

table th {
  background: #004e8f;
  color: #fff;
  border-bottom: solid 1px #959595;
  box-sizing: border-box;
}
form table th {
  width: 400px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: solid 1px #cccccc;
  box-sizing: border-box;
}
textarea {
  height: 90px;
}

button {
  margin: 10px 10px 0 0;
}

button[value="confirm"] {
  background-color: #e60012;
  border: none;
  color: #fff;
  padding: 20px 50px;
  text-align: center;
  text-decoration: none;
  display: block;
  font-size: 16px;
  transition: background-color 0.5s;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 auto;
}

button[value="confirm"]:hover {
  background-color: #e60013cd;
}

button[value="confirm"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 13, 216, 0.5);
}

button[value="send"] {
  background-color: #e60012;
  border: none;
  color: #fff;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background-color 0.5s;
  cursor: pointer;
  border-radius: 5px;
}

button[value="send"]:hover {
  background-color: #e60013cd;
}

button[value="send"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px #e60013cd;
}

button[value="back"] {
  background-color: #3d3d3d;
  border: none;
  color: #fff;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background-color 0.5s;
  cursor: pointer;
  border-radius: 5px;
}

button[value="back"]:hover {
  background-color: rgb(7, 30, 133);
}

button[value="back"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgb(7, 30, 133);
}

.error li {
  color: #d60000;
}
.error li:before {
  /* content: "\2022"; */
  padding-right: 3px;
}
.hissu {
  color: #dc143c;
}

.pc_on {
  display: block;
}
.sp_on {
  display: none;
}

@media only screen and (max-width: 768px) {
  .title {
    height: 15em;
}
.pdesc {
  height: 12em;
}

  .past_p .product img {
    width: 100%;
    height: 120px;
    object-fit: cover;
  }
  .now_p .product img {
    width: 100%;
    height: auto;
    /* object-fit: cover; */
  }
  .exp p {
    text-align: left;
    padding: 0px 20px;
  }
  .page #content {
    padding-top: 20px;
  }
  form table th {
    width: 100%;
  }

  #header .logo img {
    width: 80px !important;
  }

  .pc_on {
    display: none;
  }
  .sp_on {
    display: block;
  }
  #header {
    position: absolute;
    z-index: 100;
    top: 30px;
    height: auto;
    width: 100%;
    background-color: #fff;
  }
  .page #content .titleWrap img {
    width: 100%;
    height: auto;
    /* object-fit: contain; */
    margin: 0 auto;
  }
  .page #content article {
    width: 100%;
    padding: 0 15px;
    margin: 50px auto;
    box-sizing: border-box;
  }
  .page #content article section h2 {
    margin-bottom: 10px;
  }
  .now_p .product,
  .past_p .product {
    width: 50%;
  }
  #otherProduct {
    width: 100%;
    margin-right: 0;
  }
  .form7 table tr {
    display: block;
  }
  .form7 table th,
  .form7 table td {
    display: block;
    padding: 10px;
  }
  .results {
    margin: 10px;
  }
  .results th,
  .results td {
    padding: 1px 0px 1px 1px;
  }
}

.result h3 {
  background: #d41619 !important;
  color: #ff0 !important;
  font-size: 37px;
  text-align: center;
  line-height: 2.5;
  font-family: sans-serif;
}

.result p{
  font-size:18px;
}

.col1 {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.col1 .reBox {
  width: 60%;
}

.reBox img {
  width: 100%;
}

.reBox h4 {
  text-align: center;
  line-height: 2.25;
  font-size: 24px;
}

.reBox p {
  text-align: center;
  font-size: 22px;
}

.col2 {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.col2 .reBox {
  width: 32%;
}

.under {
  text-align: center;
  margin-top: 60px;
}

.rank {display: flex;justify-content: space-evenly;text-align: left;margin: 30px 0;background: #eff8ff;padding: 15px;flex-wrap: wrap;}

.rank p {
  font-size: 2em;
  font-weight: bold;
}
.rank p span {
  margin-right: 0.8em;
}

.rankBox {width: 48%;margin-bottom: 15px;text-align: center;background: #fff;padding: 15px;}

.rankBox h4 {
    font-size: 24px;
    line-height: 2.5;
}

p.number {display: inline-block;background: #003D76;color: #fff;width: 3.5em;padding: 0.25em 1em;}

p.un-r{font-size:25px;}

@media only screen and (max-width: 768px) {
  .col1 .reBox {
    width: 100%;
}

.col2 {
  flex-direction: column;
}

.col2 .reBox {
    width: 100%;
    margin-bottom: 30px;
}

.col2 .reBox:last-child {
    margin-bottom: 0;
}

.rank {
    text-align: center;
}
.rankBox {
  width: 100%;
}
}

/*slide*/
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 300px; /* 画像の高さに合わせて調整 */
  overflow: hidden;
}

.slider {
  display: flex;
  width: 13200px; /* 6600pxの画像2つ分の幅 */
}

.slider img {
  width: 6600px;
  height: 300px;
  display: block;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-6600px);
  }
}

.slider {
  animation: scroll 75s linear infinite;
}
