/* =============================================
   グリーンコープ こだわりのハム・ソーセット LP
   ============================================= */

/* ----- RESET & BASE ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Zen Old Mincho', serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ----- HEADER ----- */
header {
  position: absolute;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  left: 0;
  right: 0;
  padding: 0 5%;
  z-index: 10;
}

.site-title {
  font-family: 'Zen Antique', serif;
  font-size: 5rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  margin: 0 auto;
  /*text-shadow: -0.5px -0.5px 0 #1d1d1d, 0.5px -0.5px 0 #1d1d1d, -0.5px 0.5px 0 #1d1d1d, 0.5px 0.5px 0 #1d1d1d;
  -webkit-text-stroke: 0.5px #1a1a1a;*/
  
}
.site-title i {
  font-size: 80%;
  margin-top: 8px;
  font-style: normal;
}
.site-title span {
  font-size: 80%;
  margin-top: 8px;
  margin-right: -1%;
}

.limited {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.limited-title {
  width: auto;
  margin: 0;
  flex-shrink: 0;
}

.limited-time {
  font-size: clamp(1.3rem, 1.9vw, 1.9rem);
  font-weight: 400;
  color: #1d1d1d;
  font-family: 'Zen Old Mincho', serif;
  margin: 0;
  border-bottom: #1a1a1a 3px dotted;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.limited-section {
  width: 100%;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-title-section {
  width: 100%;
  padding: 4rem 0;
}

header img {
  height: 50px;
  width: auto;
}
.gc-logo {
  height: 30px;
}
.gc-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
/* ----- HERO SECTION ----- */
.hero-section {
  background-color: #f8f0e3;
  background-image: url('../img/niku.webp'), url('../img/bg.webp');
  background-size: clamp(350px, 45rem, 1000px) auto, cover;
  background-position: calc(50% + 250px) calc(10% - 0%), top right;
  background-repeat: no-repeat, no-repeat;
  width: 100%;
  margin: 0 auto;
  height: auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8.75vh), 50% 100%, 0 calc(100% - 8.75vh));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 90px;
}

.hero-product-section {
  margin: 25rem auto 0;
  max-width: 1200px;
  width: 100%;
  padding: 0 5%;
  overflow: visible;
}

.product-set {
  position: relative;
  flex: 0 0 auto;
  width: 16rem;
  order: 1;
  overflow: visible;
  margin-top: 180px;
}
.product-set img {
  position: absolute;
  top: -225px;
  left: -60px;
  max-width: none;
}

.hero-icon {
  width: 100%;
}

.product-set .hero-icon {
  width: 126%;
}

.product-info {
  display: block;
}

.hero-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: #cc2929;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 1vh;
  text-shadow: -0.5px -0.5px 0 #cc2929, 0.5px -0.5px 0 #cc2929, -0.5px 0.5px 0 #cc2929, 0.5px 0.5px 0 #cc2929;
  -webkit-text-stroke: 0.5px #cc2929;
  min-width: 0;
  padding-left: 270px;
  position: relative;
  top: 87px;
  white-space: nowrap;
}
@media screen and (min-width: 1500px) {
  .hero-title {
    font-size: 2.1rem;
    letter-spacing: -0.04em;
  }
}
@media screen and (max-width: 1100px) {
  .hero-title {
    font-size: 3.1vw;
    letter-spacing: -0.03em;
  }
}

.hero-title span {
  margin-right: 5px;
}
.hero-title2{
  top: 0;
  padding-left: 0;
}
.hero-title2 span {
  margin-right: 5px;
  display: block;
}

.price {
  min-width: 0;
  order: 3;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  width: 100%;
  margin-top: auto;
  overflow: visible;
}



.hero-tag {
  flex: 0 0 auto;
  order: 2;
  min-width: 0;
  width: 20rem;
}

.hero-tag img {
  width: 100%;
}

.hero-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cc2929;
  border-radius: 4px;
  order: 3;
}

.hero-info img {
  width: 37px;
  flex-shrink: 0;
}

.hero-info p {
  font-size: 1rem;
  color: #cc2929;
  line-height: 1.55;
  font-family: 'Zen Old Mincho', serif;
  display: inline-block;
}

.hero-notice {
  max-width: 1200px;
  display: table;
  margin: auto;
  padding: 8px 5%;
}

.hero-notice p {
  font-size: 0.87rem;
  color: #777;
  line-height: 1.55;
  display: inline-block;
  padding-left: 25px;
}

/* ----- PRODUCT SECTION ----- */
.product-section {
  background: #fff;
  padding: 32px 5%;
  max-width: 760px;
  margin: 0 auto;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 22px;
}

.product-point {
  display: flex;
  gap: 35px;
  align-items: flex-start;
}

.point-item {
  flex: 0 0 42%;
}

.point-quality {
  flex: 1;
}

.quality-item {
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
  background: #fafaf8;
}

.quality-item p {
  margin-bottom: 2px;
  font-size: 0.93rem;
}

.gcmark {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 2px;
}

.gcmark img {
  height: 17px;
  width: auto;
  display: inline-block;
}

/* ----- ITEM INFO SECTION ----- */
.item-info-section {
  background: #f8f0e3;
  padding: 32px 20px;
  margin: 0 auto;
}

.info-title {
  font-size: 2rem;
  font-weight: 700;
  color: #6A3906;
  border-bottom: 2px solid #6A3906;
  margin-bottom: 6px;
  display: table;
  margin: auto;
}

.item-info-section > p {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 24px;
}

.highlight-diagonal {
  position: relative;
  padding: 8px 12px;
  border-radius: 4px;
  line-height: 1.75;
  display: table;
  margin: 0 auto;
  z-index: 2;
}

.highlight-diagonal::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.4;
  background: repeating-linear-gradient(
    -60deg,
    transparent,
    transparent 4px,
    #FCA619 4px,
    #FCA619 6px
  );
  pointer-events: none;
  border-radius: 0 0 4px 4px;
  z-index: -1;
  height: 2vh;
}

.item-info-point {
  display: flex;
  gap: 18px;
  max-width: 1200px;
  padding: 0 5%;
  margin: 25px auto;
}

.info-item {
  flex: 1;
  min-width: 0;
}

.info-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6A3906;
  padding-bottom: 5px;
  margin-bottom: 10px;
  text-align: center;
}

.info-item > div {
  font-size: 0.93rem;
  line-height: 1.75;
  color: #444;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-item > div p {
  flex: 0 0 60%;
}

.info-item-imgwrap {
  width: 30%;
}

.muenseki-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.item-info-section > div > h3 {
  margin: 0 auto 16px;
  display: table;
}
.muenseki-info{
  width: 75%;
  margin: 25px auto;
}
.muenseki-heading {
  font-size: 0;
  margin: 50px auto 25px;
  text-align: center;
}
.muenseki-heading img {
  width: 100%;
  height: auto;
  display: block;
}

.hamso-items {
  display: flex;
  justify-content: center;
  gap: 14px;
  max-width: 77%;
  margin: 0 auto 35px;
}

.hamso-items img {
  width: calc(33.333% - 10px);
  border-radius: 4px;
}

.items-lineup {
  max-width: 1200px;
  border-radius: 8px;
  padding: 18px 5%;
  margin: auto;
}

.items-lineup h3 {
  text-align: center;
}

.items-lineup ul {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.items-lineup li {
  text-align: center;
  min-width: 0;
}

.items-lineup li img {
  width: 100%;
  border-radius: 4px;
}

.items-lineup h4 {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
  margin-top: auto;
}

/* ----- ORDER SECTION ----- */
.order-section {
  background: #fff;
  padding: 32px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.order-delivery-section {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 50px;
  width: 100%;
}

.order-set {
  flex: 0 0 calc(50% - 20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.order-set img {
  width: 100%;
}

.howto-order {
  flex: 0 0 calc(50% - 20px);
}

.howto-order ol {
  counter-reset: step-counter;
  margin-bottom: 16px;
}

.howto-order li {
  position: relative;
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  padding-left: 75px;
}

.howto-order li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-family: roboto, sans-serif;
  font-weight: bold;
  box-sizing: border-box;
  flex-shrink: 0;
}

.howto-order li::after {
  content: '▼';
  position: absolute;
  left: 28px;
  top: 75px;
  font-size: 12px;
  color: #1d1d1d;
}

.howto-order li:nth-last-child(1)::after {
  display: none;
}

.howto-order li:last-child {
  border-bottom: none;
}

.order-step-img {
  flex-shrink: 0;
  width: 100px;
}

.order-step-img img {
  width: 100%;
  object-fit: contain;
  max-height: 75px;
}

.howto-order li > div:last-child h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.howto-order li > div:last-child p,
.howto-order li > div:last-child small {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.65;
  display: block;
}

.howto-order li > div:last-child small {
  font-size: 0.87rem;
  color: #888;
}

.important-info {
  font-size: 1.15rem;
  color: #cc2929;
  margin-bottom: 22px;
  font-weight: 900;
}
.rspnotion{
  position: relative;
}
.enter-btn {
  text-align: center;
  margin: 24px 0;
}

.enter-btn a {
  display: inline-block;
  background: #4a3814;
  color: #f5e8be;
  font-size: 1.05em;
  font-weight: 700;
  padding: 16px 44px;
  border-radius: 5px;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.enter-btn a:hover {
  opacity: 0.85;
}

hr {
  border: none;
  border-top: 2px solid #4a3814;
  margin: 35px 0;
}

.tel-info {
  margin-bottom: 20px;
}

.tel-info > div {
  margin-bottom: 16px;
}

.tel-info-title {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.tel-info-title h3 {
  font-size: 1.9em;
  color: #444;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tel-info-title h3::before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background: url('../img/tel.png') no-repeat center / contain;
}

.tel-info-title a {
  display: flex;
  align-items: center;
}

.tel-info-title img {
  max-width: 300px;
}

.tel-info-notice {
  position: relative;
  display: table;
  border: 2px solid #cc2929;
  border-radius: 4px;
  padding: 10px 12px;
  background: #fff9f9;
  gap: 12px;
  min-height: 80px;
  margin: 50px auto;
}

.tel-info-notice img {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  flex-shrink: 0;
}

.tel-info-notice p {
  position: relative;
  font-size: 1rem;
  color: #cc2929;
  line-height: 1.55;
  margin: 0;
  padding: 10px 10px;
  text-align: center;
}

.order-notion {
  font-size: 0.87rem;
  color: #888;
  line-height: 1.65;
  text-align: center;
}

.faq-btn {
  text-align: center;
  margin: 16px 0;
}

.faq-btn a {
  font-size: 0.93rem;
  color: #4a7c3f;
  text-decoration: underline;
}

.faq-btn a:hover {
  opacity: 0.8;
}

/* ----- FOOTER ----- */
footer {
  background: #f8f0e3;
  padding: 22px 20px;
  border-top: 1px solid #e0d0bc;
}

.footer-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.footer-content img {
  height: 28px;
  width: auto;
  margin: 0 auto 12px;
}

.footer-content a {
  display: block;
  font-size: 0.93rem;
  color: #555;
  margin-bottom: 10px;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-content p {
  font-size: 0.93rem;
  color: #999;
  font-family: zen-gothic, sans-serif;
}

/* ----- FLOAT BUTTON ----- */
.float-btn-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  pointer-events: none;
}

.float-btn-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}

.float-btn-cta {
  position: absolute;
  bottom: 27%;
  right: 2%;
  pointer-events: all;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #4a3814;
  color: #f5e8be;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.float-btn-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-btn-cta:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ----- HIGHLIGHT WITH DOTS ----- */
.highlight-red-dot {
  color: #cc2929;
  position: relative;
  display: inline-block;
  padding-top: 14px;
}

.highlight-red-dot::before {
  content: attr(data-dots);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  letter-spacing: 0.15em;
  font-size: 0.93rem;
  color: #cc2929;
}
/* ----- WIDE SCREEN (1420px+) ----- 
  .hero-section {
    background-size: 756px auto, cover;
    background-position: calc(50% + 300px) 5%, top right;
  }
}*/

/* ----- RESPONSIVE (ipad) ----- */
@media (max-width: 1024px) {
  .hero-tag {
    width: 27vw;
  }
  /*.hero-section {
    background-size: clamp(350px, 60vw, 1000px) auto, cover;
    background-position: calc(100% - -10%) calc(32% - 10%), top right;
    height: auto;
    padding-bottom: 100px;
  }
  .hero-notice{
    margin: 0;
  }
  .product-set {
    width: 40vw;
  }
  .product-info {
    margin-top: 34px;
  }*/

}
/* ----- RESPONSIVE (ipadAir) ----- */
@media (max-width: 820px) {
  .hero-title {
    font-size: 2.9vw;
  }

}
/* ----- RESPONSIVE (mobile) ----- */
@media (max-width: 768px) {
  /* Hero Section */
  .hero-title-section {
    padding-top: 200px;
  }
  .site-title-section {
    padding: 0;
  }
  .site-title{
    margin: 0;
    padding-left: 0;
  }
  .site-title br{
    display: none;
  }
  .hero-section {
    background-size: 95vw auto, cover;
    background-position: 45px calc(30% - 10%), top right;

    height: auto;
    min-height: 100vh;
  }
  .limited {
    margin: auto;
    width: 90%;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .limited-section {
    align-items: start;
}
  header img {
    height: 35px;
    width: auto;
  }
  .limited-title {
    width: 70%;
  }
  .limited-time{
    font-size: 1rem;
  }
  .hero-tag{
    width: 80%;
    margin: 25px auto 0;
    flex: none;
    order: 1;
  }
  .hero-tag img {
      width: 100%;
  }
  .price {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .product-set {
    width: 100%;
    order: 2;
  }
  .product-set .hero-icon {
    width: 100%;
  }
  .product-set img {
    position: relative;
    top: 0;
    left: 0;
  }
  .hero-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    order: 3;
  }
  .hero-info img {
    width: 10vw;
    flex-shrink: 0;
  }
  .hero-info p {
    text-align: left;
    font-weight: 900;
    font-size: 0.93rem;
  }
   .hero-info p br{
    display: none;
   }
  .hero-notice p {
    display: block;
    padding-left: 0;
  }
/* product Section */
  .product-title{
    font-size: 1.7rem;
  }
  .item-info-section > p {
    font-size: 1rem;
  }
  .highlight-diagonal::after {
    top: 100%;
  }
  .muenseki-section {
    padding: 0;
  }
  .muenseki-heading {
    width: 100%;
  }
  .hamso-items{
    max-width: 100%;
  }
  .info-item > div p {
    font-size: 0.93rem;
  }
  .info-item > div {
    display: block;
    overflow: hidden;
  }
  .info-item-imgwrap {
    width: 38%;
    margin: 25px auto 0;
  }
  .item-niku{
    transform: rotate(90deg);
    margin: 0 auto;
  }
/* Order Section */
  .info-title {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
  }
  .order-delivery-section {
    flex-direction: column !important;
    padding-top: 30px;
  }

  .order-set {
    flex: 0 0 100% !important;
    margin-bottom: 24px;
  }
  .howto-order {
    width: 100%;
    margin: auto;
  }

  /* Howto Order Steps */
  .howto-order li {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 70px;
    padding-top: 0;
    gap: 8px;
  }

  .howto-order li::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
  }

  .howto-order li::after {
    display: block;
    left: 20px;
    bottom: 0;
    top: unset;
    margin: auto;
  }

  .order-step-img {
    width: 80px;
  }
  .order-step-img img {
    max-height: 62px;
  }
 
  .howto-order li > div:last-child p {
    font-size: 0.93rem;
  }
  .important-info{
    margin-top: 50px;
  }

  /* Tel Info */
  .tel-info-title {
    flex-direction: column;
    gap: 16px;
  }

  .tel-info-title h3 {
    font-size: 1.2em;
  }

  .tel-info-title a {
    width: 100%;
  }

  .tel-info-title img {
    width: 100%;
  }

  .tel-info-notice {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 25px;
    min-height: auto;
  }

  .tel-info-notice img {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  .tel-info-notice p {
    margin: 0;
  }
  .tel-info-notice p br{
    display: none;
  }
  .order-notion{
    text-align: left;
  }
  .order-notion p{
    margin-bottom: 5px;
  }
  .order-set img {
    width: 90%;
  }
  .site-title {
    font-size: 2.2rem;
  }

  .hero-product-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 400px auto 0;
    padding: 0 5%;
  }

  .product-set {
    width: 80%;
    margin: auto;
  }
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0;
    padding-left: 0;
    top: 0;
  }
  .hero-title span {
    display: block;
  }
  .hero-info{
    padding: 0 5%;
  }
  .product-info {
    width: 100%;
    text-align: center;
    top: 0;
  }

  .product-point {
    flex-direction: column;
  }

  .point-item {
    flex: none;
    width: 65%;
    margin: 0 auto;
  }

  .item-info-point {
    flex-direction: column;
    padding: 0;
  }
  .items-lineup {
    padding: 0;
  }
  .items-lineup ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .items-lineup li {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }

  .enter-btn a {
    padding: 14px 24px;
    font-size: 0.95em;
  }

  .hamso-items {
    gap: 8px;
  }
  .muenseki-info {
    width: 100%;
  }
  .footer-content a {
    font-size: 0.93rem;
    font-family: zen-gothic, sans-serif;
  }

  .float-btn-cta {
    width: 100px;
    height: 100px;
    font-size: 0.87rem;
  }
}
@media (max-width: 640px) {
  .hero-section{
    height: auto;
    padding-bottom: 10vh;
  }
}

/* Form Styles */
.form-section {
    background: var(--bg-light);
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.form-section h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 16px;
    color: var(--text-color);
}

.error-box {
    background: #fff5f5;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 30px;
}

.error-box h3 {
    color: #e74c3c;
    font-size: 18px;
    margin-bottom: 15px;
}

.error-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-box li {
    color: #e74c3c;
    padding: 5px 0;
    padding-left: 1.5em;
    position: relative;
}

.error-box li:before {
    content: "×";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* エラーフィールドのスタイル */
.form-group.has-error {
    border-left: 3px solid #e74c3c;
    padding-left: 15px;
    margin-left: -15px;
}

input.has-error,
select.has-error,
textarea.has-error {
    border-color: #e74c3c !important;
    background-color: #fff5f5;
}

input.has-error:focus,
select.has-error:focus,
textarea.has-error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 30px;
}

.hp-field {
    position: absolute;
    left: -5000px;
    height: 0;
    overflow: hidden;
}

.form-group label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 16px;
}

.form-group label.required::after {
    content: '必須';
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 10px;
    font-weight: normal;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group textarea:focus {
    background-color: #f9f9f9;
    box-shadow: 0 0 0 3px rgba(0, 105, 52, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.checkbox-group,
.radio-group {
    display: table;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.checkbox-label:hover,
.radio-label:hover {
    background-color: #f5f5f5;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span,
.radio-label span {
    font-size: 16px;
    color: var(--text-color);
}

.form-submit {
    margin-top: 50px;
    text-align: center;
}

.submit-button {
    background: rgba(0,105,52,1);
    color: #fff;
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,105,52,0.3);
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.submit-button:hover {
    background: #005028;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,105,52,0.4);
}

.submit-notice {
    font-size: 14px;
    color: #e74c3c;
    margin-top: 12px;
    text-align: center;
    line-height: 1.6;
    font-weight: 600;
}

/* Form Responsive */
@media (max-width: 768px) {
    .form-section {
        padding: 100px 15px 60px;
    }

    .form-section h1 {
        font-size: 28px;
    }

    .application-form {
        padding: 30px 20px;
    }

    .form-group label {
        font-size: 15px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group select {
        font-size: 16px;
    }

    .submit-button {
        padding: 15px 40px;
        font-size: 16px;
        width: 100%;
    }
}

/* Thanks Page Styles */
.thanks-section {
    background: var(--bg-light);
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.thanks-icon {
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
}

.thanks-section h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.thanks-message {
    text-align: left;
    margin-bottom: 40px;
    line-height: 2;
}

.thanks-message p {
    margin-bottom: 20px;
}

.thanks-message strong {
    color: var(--primary-color);
    font-weight: bold;
}

.thanks-notice {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.thanks-notice h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.thanks-notice ul {
    list-style: none;
    padding: 0;
}

.thanks-notice li {
    padding-left: 1.5em;
    margin-bottom: 10px;
    position: relative;
}

.thanks-notice li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.thanks-special {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 2px solid var(--yellow);
}

.thanks-special .highlight {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
}

.thanks-contact {
    margin: 40px 0;
}

.thanks-contact h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thanks-section .btn {
    margin-top: 40px;
}

.thanks-section .btn a {
    background: rgba(0,105,52,1);
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,105,52,0.3);
}

.thanks-section .btn a:hover {
    background: #005028;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,105,52,0.4);
}

/* Thanks Page Responsive */
@media (max-width: 768px) {
    .thanks-section {
        padding: 100px 15px 60px;
    }

    .thanks-content {
        padding: 40px 25px;
    }

    .thanks-section h1 {
        font-size: 24px;
    }

    .thanks-notice,
    .thanks-special {
        padding: 20px;
    }

    .thanks-special .highlight {
        font-size: 16px;
    }
}

.enter_to_set{
    grid-area: hero-cta;
    width: fit-content;
    padding: 6px 20px 10px;
    border-radius: 8px;
    margin: 8px auto 26px;
    position: relative;
    z-index: 3;
}
.enter_to_set-main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.enter_to_set-main span{
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 10px;
}
.enter_to_set-main img{
    width: 25px;
    height: 25px;
    object-fit: contain;
}