.button {
  padding-left: 15px;
  padding-right: 15px;
}

header {
  width: 100%;
}

header .top {
  background: linear-gradient(#1d1e20 50%, #ffffff 50%);
}

header .top p {
  position: relative;
  display: inline-block;
  background: linear-gradient(#f5f5f5 50%, #1d1e20 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  background-clip: text;
  font-size: 2.5rem;
  display: flex;
  justify-content: flex-start;
  margin-left: 1rem;
}



@media (min-width: 1600px) {
  header .top_down p {
    font-size: 5rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f5f5f5;
  color: #5d5d5d;
  font-family: "Noto Sans JP", sans-serif;
}

.wrapper {
  width: 97%;
  margin: 0 auto;
}

.omoi {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.setumei {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: flex-end;
  font-size: 0.8rem;
}

.label {
  color: #1E90FF;
  font-size: 16px;
}

.fumeiten {
  font-size: 16px;
  color: #5d5d5d;
}

.kibou {
  font-size: 16px;
  color: #5d5d5d;
}

input[type=text],
input[type=email] {
  margin-bottom: 8px;
  font-size: 14px;
  width: 100%;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

* {
  box-sizing: border-box;
}

.contact-btn {
  background: #009efb;
  border: none;
  color: #fff;
  position: fixed;
  bottom: 10px;
  z-index: 1;
  right: 10px;
  height: 60px;
  width: 60px;
  border-radius: 100%;
  cursor: pointer;
  transition: 0.2s;
  outline: none;
  --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}

.contact-btn:hover {
  background: #4f46e5;
}

.contact-btn span {
  font-size: 28px;
}

.close-btn {
  opacity: 0;
  pointer-events: none;
  background: #009efb;
  color: #fff;
  border: none;
  position: fixed;
  bottom: 10px;
  z-index: 1;
  right: 10px;
  height: 60px;
  width: 60px;
  border-radius: 100%;
  cursor: pointer;
  transition: 0.2s;
  outline: none;
  font-size: 28px;
  --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}

.close-btn:hover {
  background: #4f46e5;
}

.contact-modal {
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  position: fixed;  
  /* position: absolute; */
  bottom: 83px;
  right: 12px;
  width: calc(100% - 24px);
  max-width: 600px;
  overflow: auto;
  border-radius: 4px;
  transition: 0.2s;
  --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}

.contact-modal h2 {
  background: #1E90FF;
  color: #fff;
  padding: 10px 12px;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1;
}

.contact-modal form {
  width: 100%;
  background: #fff;
  padding: 16px 24px 24px;
}

.contact-modal form p {
  margin-bottom: 8px;
  margin-top: 0;
}

.contact-modal form label {
  display: block;
}

.contact-modal form label[for=need_reply] {
  display: inline-block;
  margin-bottom: 0;
  cursor: pointer;
}

.contact-modal form textarea {
  display: block;
  height: 160px;
  margin-bottom: 8px;
  font-size: 14px;
  width: 100%;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.contact-modal form input[type=file] {
  display: block;
  margin-bottom: 8px;
}

.contact-modal form .btn-primary {
  width: 160px;
  padding: 8px 0;
  margin-top: 0;
  margin-left: auto;
  display: block;
  background: #1E90FF;
  border: none;
  line-height: 1.5;
  border-radius: 0.25rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s;
}

.contact-modal form .btn-primary:hover {
  opacity: 0.8;
}

.shina {
  width: 98%;
  padding-bottom: 5rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  justify-content: space-evenly;
  display: flex;
  align-items: flex-start;
}

.shina .soto_2,
.shina .soto_1 {
  display: flex;
  flex-direction: column;
  width: 35%;
}

.shina .soto_2 a,
.shina .soto_1 a {
  text-decoration: none;
  color: #5d5d5d;
}

.shina .soto_2 .card_dai,
.shina .soto_1 .card_dai {
  background-color: #fff;
  box-shadow: 0 0 6px rgba(158, 159, 159, 0.6);
  border-radius: 6px;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.shina .soto_2 .card_dai img,
.shina .soto_1 .card_dai img {
  width: 100%;
}

.shina .soto_2 .onamae,
.shina .soto_1 .onamae {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shina .soto_2 .onamae p,
.shina .soto_1 .onamae p {
  margin-bottom: 0.2rem;
}

.shina .soto_2 .onamae p:hover,
.shina .soto_1 .onamae p:hover {
  color: #1E90FF;
}

.shina .soto_2 {
  width: 58%;
}

.syoukai {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  padding: 1rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.syoukai .main {
  margin-bottom: 1.2rem;
  font-weight: 500;
  font-size: 1.2rem;
}

.syoukai .contact p {
  font-size: 1.2rem;
}

.syoukai .contact p a.about {
  text-decoration: none;
  color: #1E90FF;
}

.syoukai .contact p a.about:hover {
  color: #f39700;
}

@media (min-width: 1800px) {
  .contact-modal {
    max-width: 600px;
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .shina {
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
  }

  .shina .soto_1 {
    width: 98%;
    margin: 0 auto;
    margin-bottom: 6rem;
  }

  .shina .soto_2 {
    width: 98%;
    margin: 0 auto;
  }
  
  .contact-modal{
    overflow-anchor: none; /* スクロール位置の固定を無効化 */
    width: calc(85% - 24px);
    bottom: 68px;
  }

  .contact-modal form textarea{
    height: 120px;
  }

  
}


footer {
  font-size: 16px;
  margin-top: 1rem;
  background: #1d1e20;
  display: flex;
  justify-content: center;
}

.indexfooter {
  color: #ced4da
}

.btn-more {
  background-color: #ff8ebf;
  border: none;
  color: aliceblue;
  /*padding: 0.6rem 1.7rem;*/
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
  font-family: "M PLUS Rounded 1c";
  border-radius: 40% 70% 50% 30%/50%;
  font-family: var(--bs-font-sans-serif);
  outline: none;
  padding: 2%;
  text-decoration: none;
  margin-bottom: -1rem;
}

.btn-more:hover {
  /*color: #f5c0d7;*/
  color: #ff8ebf;
  background-color: aliceblue;

}

.btn-more:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.contact {
  display: flex;
  justify-content: center;
}

