@charset "utf-8";
/* ========TEMPLATE LAYOUT======== */
body {
  font-size: 16px;
}

body {
  /* font-family: 'Helvetica Neue', sans-serif; */
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}
br.sp {
  display: none;
}

.main-visual {
  height: 520px;
  width: 100%;
  max-width: 100%;
}

.main-visual img {
  height: 520px;
  width: 100%;
  object-fit: cover;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

header h1 {
  color: #141414ff;
  font-size: 28px;
  font-weight: 600;
  height: auto;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: left;
  width: auto;
  max-width: 100%;
  justify-content: flex-start;
}
header h1 a {
  color: #141414ff;
  text-decoration: none;
}
header h1 a:hover {
  color: #141414;
}


header h1 img {
  height: 30px;
  width: auto;
  margin-left: 5px;
  position: relative;
  top: -3px;
}


.about {
  text-align: center;
  margin-top: 40px;
}

.about h2 {
  border-bottom: 1px solid #000000;
  color: #141414ff;
  font-size: 28px;
  font-weight: 800;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0px 0px 40px 0px;
  width: auto;
  max-width: 100%;
  justify-content: center;
  display: inline-block;
}

.about p {
  color: #141414ff;
  font-size: 18px;
  font-weight: 400;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 800px;
  margin: 50px auto;
}

.feature-box {
  border: 2px solid #333;
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  text-align: center;
  box-shadow: 4px 4px 0 #ccc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.feature-box p {
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 0.95rem;
  text-align: left;
  min-height: 3.5em;
  line-height: 1.5;
  width: 100%;
}

.feature-box img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.before-after {
  text-align: center;
  margin-top: 125px;
}

.before-after h2 {
  font-size: 28px;
  font-weight: 800;
  height: auto;
  letter-spacing: 0.05em;
  display: inline-block;
}

.before-after p {
  font-size: 20px;
  margin-top: 30px;
}
.before-after .material-symbols-outlined {
  font-size: 30px;
  vertical-align: middle;
}


.change-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 1000px;
  margin: 50px auto;
}

.change-images .image-container {
  position: relative;
  width: 400px
}

.change-images img {
  width: 100%;
  height: 270px;
  border-radius: 20px;
  object-fit: cover;
}

.change-images .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  padding: 4px 8px;
  font-size: 20px;
  border-radius: 4px;
}

.change-images .arrow {
  font-size: 2rem;
}

.change-images .arrow,
.flow .arrow {
  font-size: 2rem;
  margin: 0 10px;
}

.flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.flow-box {
  width: 200px;
  border: 2px solid #333;
  border-radius: 16px;
  text-align: center;
  box-shadow: 4px 4px 0 #ccc;
  background-color: #fff;
}

.flow-box p {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: left;
  padding: 10px;
  margin-top: 0;
  min-height: 5em;
  line-height: 1.5;
}

.flow-box img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.flow .material-symbols-outlined {
  font-size: 30px;
  vertical-align: middle;
}


.how-it-works {
  text-align: center;
  margin-top: 125px;
}

.how-it-works h2 {
  border-bottom: 1px solid #000000;
  color: #141414ff;
  font-size: 28px;
  font-weight: 800;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0px 0px 20px 0px;
  width: auto;
  max-width: 100%;
  justify-content: center;
  display: inline-block;
}
.how-it-works img {
  width: 900px;
  height: auto;
}
.how-it-works .explain {
  position: relative;
  width: 850px;
  margin: 0 auto;
}
.how-it-works .explain .setplace1 {
  position: absolute;
  top: 40px;
  left: -175px;
  width: 100%;
}
.how-it-works .explain .setplace2 {
  position: absolute;
  top: 40px;
  right: -175px;
  width: 100%;
}

.pre-registration p {
  font-size: 18px;
}

.gift {
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
}
.pre-registration .giftbig {
  font-size: 24px;
  margin: 40px 0
}

.world-designers {
  text-align: center;
  margin-top: 125px;
}

.world-designers h2 {
  border-bottom: 1px solid #000000;
  color: #141414ff;
  font-size: 28px;
  font-weight: 800;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0px 0px 50px 0px;
  width: auto;
  max-width: 100%;
  justify-content: center;
  display: inline-block;
}

.world-designers h3 {
  font-size: 24px;
  margin-bottom: 1rem;
  font-weight: bold;
  margin-top: 50px;
}

.world-message {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  width: 900px;
  margin: 0 auto;
}

.world-message h2 {
  font-size: 25px;
  margin-bottom: 1rem;
  font-weight: bold;
  border-bottom: none;
}

.world-message .description {
  text-align: left;
  flex: 1;
  font-size: 18px;
  font-weight: 700;
}

.world-message p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.world-message img {
  border-radius: 12px;
}
.world-map-container {
  max-width: 615px;
  width: 55%;
}
.world-message .world-map {
  width: 100%;
  height: auto;
}

.designer-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.designer-item{
  max-width: 280px;
  flex: 1
}
.designer-item img {
  width: 100%;
  height: 380px;
  display: block;
  margin-bottom: 0.5rem;
  object-fit: cover;
}

.designer-item p {
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

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

.template-gallery h2 {
  border-bottom: 1px solid #000000;
  color: #141414ff;
  font-size: 24px;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0px 0px 50px 0px;
  width: auto;
  max-width: 100%;
  justify-content: center;
  display: inline-block;
  font-weight: bold;
}
.template-gallery p {
  font-size: 20px;
  line-height: 1.8;
}

.templates {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 50px;
}

.templates img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 3;
}

.faq {
  text-align: center;
  margin-top: 125px;
}

.faq h2 {
  border-bottom: 1px solid #000000;
  color: #141414ff;
  font-size: 32px;
  font-weight: 800;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0px 0px 20px 0px;
  width: auto;
  max-width: 100%;
  justify-content: center;
  display: inline-block;
}

.faq p {
  font-size: 20px;
}
.faq-box {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.faq-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 40px 20px;
  border-radius: 20px;
  border: 2px solid #000;
  box-shadow: 4px 4px 0px #000000;
  text-decoration: none;
  width: 300px;
  transition: 0.3s;
}

.faq-link:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0px #000000;
}

.faq-icon {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.faq-button-text {
  font-size: 22px;
  font-weight: 700;
  color: #141414;
}


.team {
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 150px;
}

.team-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  width: 990px;
  margin: 0 auto;
}

.team-image {
  flex: 1 1 50%;
}

.team-image img {
  width: 100%;
  display: block;
}

.team-text {
  flex: 1 1 45%;
  text-align: left;
  font-size: 18px;
}

.team h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 50px;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.team-text p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.instagram {
  text-align: center;
  margin-bottom: 50px;
}

.instagram p {
  font-size: 20px;
  margin-top: 30px;
}

.instagram img {
  width: 40px;
  max-width: 40px;
  height: auto;
}

.companies {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.company-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-logo.mogana img {
  max-width: 90px;
  height: auto;
}
.company-logo.mashupgolf img {
  max-width: 80px;
  height: auto;
}
.company-logo.userbox img {
  max-width: 120px;
  height: auto;
}
.guideentrybtn {
  font-size: 20px;
  font-weight: bold;
  padding: 1.5rem 3rem;
  border-radius: 9999px;
  border: 2px solid #000;
  background: #fff;
  cursor: pointer;
  box-shadow: 2px 2px 0 #000;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #000;
}

.guideentrybtn:hover {
  transform: translateY(2px);
  box-shadow: 2px 2px 0 #000;
  background-color: #000;
  color: #fff;
}

.sub-visual {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.sub-visual img {
  width: 25%;
  flex: 1;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.formwrap {
  text-align: center;
  margin-top: 40px;
}

.formwrap h2 {
  font-size: 38px;
  font-weight: 800;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0px 0px 20px 0px;
  width: auto;
  max-width: 100%;
  justify-content: center;
  display: inline-block;
}

.formwrap p {
  font-size: 16px;
  text-align: center;
}
.custom-form {
  max-width: 850px;
  margin: 30px auto 0;
  font-family: sans-serif;
  color: #333;
  text-align: left;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: left;
}

.form-group .required {
  color: red;
  margin-left: 0.25rem;
}

.custom-form input,
.custom-form select {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f2f2f2;
  box-sizing: border-box;
  transition: border 0.2s ease;
}

.custom-form input:focus,
.custom-form select:focus {
  border-color: #999;
  outline: none;
}
.custom-select {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  background-color: #f2f2f2;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.custom-select option {
  background-color: #fff;
  color: #555;
}

.custom-form textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f2f2f2;
  resize: vertical;
  box-sizing: border-box;
  height: 200px;
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-group {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem;
  display: inline-block;
  width: auto;
}

.submit-group {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 5rem;
}

.submit-button {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 200px;
  box-sizing: border-box;
}

.submit-button:hover {
  background-color: #333;
}

.privacy_box {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 1.2rem;
  margin-bottom: 1rem;
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 6px;
  color: #333;
  text-align: left;
  color: #666;
}
.privacy_box p {
  text-align: left;
  font-size: 14px;
  color: #666;
}
.privacy_box ul {
  margin: 1rem 0;
}
.privacy_box ul li {
  color: #666;
}
.jsonpost {
  display: none;
}
.confirm-form {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  font-family: sans-serif;
}

.confirm-item {
  margin-bottom: 1.5rem;
}

.confirm-row {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1rem;
}

.confirm-label {
  width: 35%;
  font-weight: bold;
  font-size: 0.95rem;
  background-color: #f9f9f9;
  padding: 0.8rem 1rem;
  box-sizing: border-box;
}

.confirm-value {
  flex: 1;
  font-size: 0.95rem;
  background-color: #fff;
  padding: 0.8rem 1rem;
  box-sizing: border-box;
  word-break: break-word;
  white-space: pre-wrap;
  text-align: left;
}

.confirm-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  width: 400px;
  margin: 30px auto 10px;
}

button {
  padding: 0.6rem 2rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.back-button {
  background-color: #ccc;
  color: #000;
}

.submit-button {
  background-color: #000;
  color: #fff;
}

.thanks-container {
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
}

.thanks-container h1 {
  font-size: 24px;
  font-weight: 800;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0px 0px 20px 0px;
  width: auto;
  max-width: 100%;
  justify-content: center;
  display: inline-block;
}

.thanks-container p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.thanks-container .button-area {
  margin-top: 5rem;
}

.thanks-container .top-button {
  background-color: #000;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.thanks-container .top-button:hover {
  background-color: #333;
}

/* ========EACH PAGE LAYOUT======== */

/* ========RESPONSIVE PAGE LAYOUT======== */
@media (min-width: 1400px) {
  /*フル最大幅レイアウト*/
}

@media (max-width: 1400px) {
  /*通常最大幅レイアウト*/
}

@media (max-width: 1200px) {
  /*PC広幅レイアウト*/
}

@media (max-width: 992px) {
  /*PC通常幅レイアウト*/
  .change-images {
    width: 100%;
    padding: 0 10px;
  }
  .flow .material-symbols-outlined {
    display: none;
  }
  .flow-box {
    width: 45%;
  }
  .before-after {
    margin: 0 10px;
    margin-top: 60px;
  }
  .how-it-works img {
    width: 100%;
  }
  .how-it-works {
    box-sizing: border-box;
    margin: 0 10px;
    margin-top: 60px;
  }
  .world-designers {
    margin: 0 10px;
    margin-top: 60px;
  }
  .world-message {
    width: 100%;
    display: block;
    box-sizing: border-box;
  }  
  .world-message .description {
    width: 100%;
  }
  .world-message .world-map {
    width: 100%;
  }
  .team-inner {
    width: 100%;
    display: block;
  }
  .team-text {
    margin-top: 20px;
  }
  .custom-form {
    max-width: 100%;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  /*タブレットレイアウト*/
  br.sp {
    display: block;
  }  
  .about p {
    font-size: 20px;
  }
  .features {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .feature-box img {
    width: 80px;
    height: 80px;
  }
  .templates {
    grid-template-columns: repeat(3, 1fr);
  }
  .designer-list {
    padding: 0 10px;
    box-sizing: border-box;
  }
  .designer-item img {
    height: 250px;
  }
  .team {
    margin-top: 60px;
  }
  .instagram {
    margin-bottom: 20px;
  }
  .instagram p {
    margin-top: 0;
  }
  .pre-registration p {
    font-size: 20px;
  }
  .team-text {
    font-size: 20px;
  }
  .sub-visual {
    flex-wrap: wrap;
  }

  .sub-visual img {
    width: 50%;  /* 横幅を半分に */
    flex: 0 0 50%;
  }
  .formwrap p {
    font-size: 18px;
  }
  .custom-form input, .custom-form select {
    font-size: 1.1rem;
  }
  .custom-form textarea {
    font-size: 1.1rem;
  }
  .flow-box p {
    font-size: 1.1rem;
  }
  .pre-registration .giftbig {
    font-size: 28px;
  }
  .world-map-container {
    width: 100%;
  }
  .guideentrybtn {
    font-size: 24px;
  }
}

@media screen and (max-width: 576px) {
  /*スマホレイアウト*/
}

