/* モバイル用のスタイル（〜767px） */
main {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
}

@media (min-width: 1101px) {
  .sp {
    display: none;
  }
}
@media (max-width: 1100px) {
  .pc {
    display: none;
  }
}

.contact {
  padding: 65px 20px;
  text-align: center;
  margin: 0 auto;
}

/* --- hero --- */
.hero {
  position: relative;
}
  .hero figure {
    width: 66.25%;
    margin: auto 0 auto auto;
    position: relative;
    z-index: 0;
  }
  .hero .text {
    width: 66.25%;
    font-size: 40px;
    background: rgba(0, 74, 48, 0.8);
    padding: 1em 1em 1em 10%;
    margin: -6em 0 0;
    position: relative;
    z-index: 1;
  }
  .hero .text h1 {
    color: #004A30;
    font-size: 0.6em;
    background: #FFE100;
    display: inline-block;
    padding: 0.5em;
    line-height: 1.2;
  }
  .hero .text h2 {
    color: #fff;
    font-size: 1em;
    line-height: 1.2;
  }

  .detail .hero .text {
    font-size: 32px;
    background: rgba(244, 245, 240, 0.8);
    padding: 0.5em 2.4em 0.5em 10%;
    margin: -7em 0 0;
  }
  .detail .hero .text h2 {
    color: #004A30;
  }
  .detail .hero .text .batch {
    width: 150px;
    position: absolute;
    right: -5%;
    top: -5%;
  }

  @media (max-width: 1100px) {
    .hero .text, .hero figure {
      width: 90%;
    }
    .hero .text {
      font-size: 20px;
      margin-top: -4em;
    }
    .detail .hero .text {
      font-size: 16px;
      padding-left: 5%;
      margin-top: -6.7em;
    }
    .detail .hero .text .batch {
      width: 60px;
      right: -1.2em;
    }
  }

/* --- nav --- */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  margin: 80px auto;
}

.menu span {
  color: #b5b5b5;
  border-color: #b5b5b5;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  position: relative;
  flex: 0 0 auto;
  font-size: 24px;
  border-bottom-width: 4px;
  border-bottom-style: solid;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  letter-spacing: 0;
}

  @media (max-width: 1100px) {
    .menu {
      gap: 10px;
      position: relative;
      margin: 40px auto;
    }
    .menu span {
      font-size: 12px;
      padding: 5px 15px;
      border-bottom-width: 2px;
    }
  }

.menu span b {
  font-size: 0.58em;
  font-weight: 400;
}

.menu span.active {
  color: #004a30;
  border-color: #004a30;
}

@media (min-width: 1025px) {
  .menu span:hover,
  .menu span:focus {
    color: #004a30;
    border-color: #004a30;
  }
}

/* contents */
.content {
  display: none;
}
.content.show {
  display: block;
}

main .center {
  text-align: center;
}
main .right {
  text-align: right;
}

main a {
  color: #004A30;
}

.link {
  padding: 0.5em 0;
}
.link-icon {
  width: 13px;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.link-pdf {
  width: 16px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.pt80 {
  padding-top: 80px;
}
.mb80 {
  margin-bottom: 80px;
}
  @media (max-width: 1100px) {
    .pt80 {
      padding-top: 40px;
    }
    .mb80 {
      margin-bottom: 40px;
    }
  }

.inner {
  max-width: 1024px;
  width: 92%;
  margin: 0 auto;
}
.bg-light {
  background: #F4F5F0;
  position: relative;
  padding-bottom: 80px;
}
@media (max-width: 1100px) {
  .bg-light {
    padding-bottom: 40px;
  }
}
.arrow {
  position: relative;
  padding-top: 5px;
}
  .arrow::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 185px solid transparent;
    border-left: 185px solid transparent;
    border-top: 80px solid #fff;
    border-bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
  }

  @media (max-width: 1100px) {
    .arrow::before {
      border-right: 90px solid transparent;
      border-left: 90px solid transparent;
      border-top: 40px solid #fff;
    }
  }

.bg-photo {
  background: url('../images/alliances/common-bg.png') center/cover no-repeat;
  position: relative;
  padding: 80px 0;
}
  @media (max-width: 1100px) {
    .bg-photo {
      padding: 40px 0;
    }
  }

.eventBunner {
  width: 92%;
  margin: 80px auto 0;
}
  .eventBunner a {
    width: 100%;
    display: block;
    min-height: 308px;
    color: #000;
    text-decoration: none;
    position: relative;
    border: 4px solid #FFE100;
    border-radius: 20px;
    background: url('../images/alliances/space-eventBunner.png') center/cover no-repeat;
  }
  .eventBunner a .text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
    font-size: 16px;
  }
  .eventBunner a .text h4 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 0.4em;
  }
  .eventBunner a .text span {
    display: inline-block;
    color: #fff;
    padding: 0.5em 1em;
    background: #004A30;
    margin-top: 0.8em;
  }

  @media (max-width: 1100px) {
    .eventBunner {
      margin-top: 40px;
    }
    .eventBunner a {
      background-position-x: 15%;
      min-height: 240px;
    }
    .eventBunner a .text {
      width: 90%;
      right: 0;
      left: 0;
      margin: 0 auto;
      font-size: 12px;
      padding: 2em 1em;
      text-align: center;
      
      background: rgba(255,255,255,0.8);
    }
  }
  


.systemBunner {
  width: 92%;
  margin: 80px auto;
  align-items: center;
  color: #fff;
  background: #40A629;
  border-radius: 20px;
  display: flex;
  gap: 40px;
  padding: 20px 50px;
  box-shadow: 8px 8px 0 0px #004A30
}
  .systemBunner > img {
    width: 15%;
  }

  .systemBunner h5 {
    font-size: 20px;
  }

  .systemBunner table {
    font-size: 20px;
    font-weight: 700;
  }
  .systemBunner table td {
    line-height: 1.41;
    padding: 5px 0;
  }
  .systemBunner table td:first-child {
    text-indent: -1em;
    padding-left: 1em;
  }
  .systemBunner table td:nth-child(n+2) {
    width: 20%;
    text-align: center;
  }
  .systemBunner table td:last-child {
    color: #FFC2E9;
    font-size: 1.16em;
  }

  @media (max-width: 1100px) {
    .systemBunner {
      gap: 10px;
      padding: 20px;
      margin: 40px auto;
      flex-direction: column;
    }
    .systemBunner > img {
      width: 30%;
    }
    .systemBunner table {
      font-size: 15px;
    }
    .systemBunner h5 {
      font-size: 16px;
    }
  }

/* column */
.column {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.column-3 > .box {
  width: 30%;
}
.column-2 > .box {
  width: 46%;
}
.box dt {
  font-weight: 700;
}

.box .more {
  margin-top: 0.5em;
}

.box .more a {
  border-radius: 2em;
  color: #fff;
  background-color: #004A30;
  text-decoration: none;
  padding: 0.3em 1em;
}
.icon-arrow {
  position: relative;
  display: inline-block;
  width: 5.9px;
  height: 7.9px;
}

.icon-arrow::before,
.icon-arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 7px;
  height: 1px;
  border-radius: 9999px;
  background-color: #fff;
  transform-origin: calc(100% - 0.5px) 50%;
}

.icon-arrow::before {
  transform: rotate(40deg);
}

.icon-arrow::after {
  transform: rotate(-40deg);
}

.feature dl:nth-child(-n+2) {
  margin-bottom: 40px;
}
.feature dt img {
  display: block;
  margin-bottom: 5px;
}

  @media (max-width: 1100px) {
    .feature dl:nth-child(-n+2) {
      margin-bottom: 20px;
    }
    .feature dt {
      font-size: 14px;
    }
    .feature dd {
      font-size: 13px;
    }
  }

@media (max-width: 1100px) {
  .sp-column {
    flex-direction: column;
  }
  .sp-column > .box {
    width: 100%;
  }
}

/* title */
.ttl-h3 {
  text-align: center;
  font-size: 36px;
  line-height: 1.41;
  margin: 80px auto 40px;
}
.ttl-h3 span {
  font-size: 0.66em
}
.ttl-h3 b, .copy b, .copy_kv b {
  background:linear-gradient(transparent 60%, #FFE100 60%);
}

.under-ttl {
  font-size: 26px;
}
  .under-ttl::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #222;
    margin: 16px auto 0;
    border-radius: 2px;
  }

.ttl-h4 {
  font-size: 24px;
  line-height: 1.41;
  padding-left: 40px;
  position: relative;
  margin: 80px auto 40px;
}
  .ttl-h4 span {
    display: block;
    font-size: 0.66em;
    font-weight: 400;
  }
  .ttl-h4::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FFE100;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
  }

  .column + .ttl-h4 {
    margin-top: 0;
  }

.normal-ttl {
  color: #004A30;
  text-align: center;
  font-size: 36px;
  line-height: 1.41;
  font-weight: 700;
  margin-bottom: 40px;
}
  .normal-ttl span {
    font-weight: 400;
    font-size: 0.5em;
    display: block;
  }
  .normal-ttl::after {
    content: '';
    width: 1px;
    height: 40px;
    background: #004A30;
    display: block;
    margin: 10px auto 0;
  }

.copy {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 40px auto 80px;
}
  .copy .big {
    font-size: 2.33em;
  }
  .copy .middle {
    font-size: 1.5em;
  }

.copy_kv {
  color: #004A30;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}
  .copy_kv .big {
    font-size: 2.33em;
  }
  .copy_kv .middle {
    font-size: 1.5em;
  }


@media (max-width: 1100px) {
  .ttl-h3 {
    font-size: 20px;
    padding: 0 1em;
    margin: 40px auto 20px;
  }
  .normal-ttl {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .normal-ttl::after {
    height: 20px;
  }
  .copy {
    font-size: 15px;
    margin: 20px auto 40px;
  }
  .ttl-h4 {
    font-size: 16px;
    margin: 40px auto 20px;
  }
  .ttl-h4::before {
    width: 24px;
    height: 24px;
  }
  .column + .ttl-h4 {
    margin-top: 0;
  }
  .copy_kv {
    font-size: 11px;
  }
  .under-ttl {
    font-size: 18px;
  }
}

/* float */
.float {
  width: 100%;
  position: fixed;
  bottom: 0;
  background: #40A629;
  font-size: 16px;
  padding: 1.5em 0;
  z-index: 5;
}
  .float .inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .float li {
    width: 42%;
  }
  .float li a {
    padding: 1em;
    display: block;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
  }
  .float .float-detail a {
    color: #fff;
    background: #004A30;
  }
  .float .float-contact a {
    color: #004A30;
    background: #FFE100;
  }
  .float .float-back a {
    color: #fff;
    background: #6A6464;
  }
  .float li a img {
    width: 20px;
    display: inline-block;
    margin-left: 10px;
  }

  @media (max-width: 1100px) {
    .float {
      font-size: 12px;
    }
  }

/* infograph */
.infograph dl {
  color: #004A30;
  background: #F4F5F0;
  text-align: center;
  padding: 15px;
  letter-spacing: 0;
}
  .infograph dt {
    font-size: 16px;
  }
  .infograph dt img {
    display: block;
    height: 105px;
    margin: 15px auto 5px;
  }
  .infograph dd {
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
  }
  .infograph dd span {
    font-size: 50%;
  }

@media (max-width: 1100px) {
  .infograph dl {
    padding: 10px;
  }
  .infograph dt {
    font-size: 13px;
  }
  .infograph dt img {
    height: 55px;
  }
  .infograph dd {
    font-size: 24px;
  }
}

/* worries */
.worries dl {
  margin-bottom: 80px;
}
  .worries dt {
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-left: 1.8em;
  }
  .worries dt::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFE100;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }
  .worries dd {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .worries dd img {
    width: 30%;
  }
  @media (max-width: 1100px) {
    .worries dl {
      margin-bottom: 20px;
    }
    .worries dt {
      font-size: 14px;
    }
    .worries dt::before {
      width: 14px;
      height: 14px;
    }
    .worries dd {
      font-size: 13px;
    }
  }

/* alliance */
.alliance dl:nth-child(-n+3) {
  margin-bottom: 40px;
}
.alliance dt {
  font-size: 18px;
  line-height: 1.41;
  margin: 0 0 8px;
}
.alliance dd {
  line-height: 1.41;
}
  .alliance dt img {
    display: block;
    margin-bottom: 5px;
  }
  @media (max-width: 1100px) {
    .alliance dl:nth-child(-n+3) {
      margin-bottom: 20px;
    }
    .alliance dt {
      font-size: 14px;
    }
    .alliance dd {
      font-size: 13px;
    }
  }

/* dm */
.dm {
  width: 90%;
  margin: 0 auto 80px;
}

.dm li {
  position: relative;
}
.dm li p {
  position: absolute;
  right: 0;
  left: 0;
  font-size: 14px;
  bottom: 24%;
  margin: auto;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.41;
}
  @media (max-width: 768px) {
    .dm {
      width: 100%;
      margin-bottom: 40px;
    }
    .dm > .box {
      width: 32%;
    }
    .dm li p {
      font-size: 2vw;
      bottom: 20%;
    }
  }

/* letter */
.letter {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}
.letter img {
  width: 35%;
}
.letter h4 {
  font-size: 18px;
}
@media (max-width: 1100px) {
  .letter {
    flex-direction: column;
    gap: 10px;
  }
  .letter img {
    width: 60%;
  }
  .letter h4 {
    font-size: 14px;
  }
}

/* effect */
.effect {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 auto 80px;
}
.effect img {
  width: 15%;
}

.effect table {
  width: 100%;
}
  .effect table .pickup {
    width: 50%;
    border: 2px solid #ff0000;
  }
  .effect table .normal {
    width: 50%;
    color: #6666;
    border: 1px solid #B6B6B6;
  }
  .effect table .pickup > table tr,
  .effect table .normal > table tr {
    border-top: 1px solid #B6B6B6;
  }
  .effect table .pickup > table td,
  .effect table .normal > table td {
    padding: 0.2em 1em;
  }
  .effect table th {
    padding: 0.5em;
    background: #B6B6B6;
  }
  .effect table th span {
    color: #fff;
    display: inline-block;
    background: #40A629;
    padding: 0 0.5em;
  }
  .effect table .normal th span {
    color: #fff;
    display: inline-block;
    background: #F6AA00;
    padding: 0 0.5em;
  }
@media (max-width: 1100px) {
  .effect {
    flex-direction: column;
    gap: 10px;
  }
  .effect img {
    width: 60%;
  }
  .effect table .pickup > table td,
  .effect table .normal > table td {
    display: block;
    text-align: left;
    padding: 0.5em 0.7em 0;
  }
  .effect table .pickup > table .right,
  .effect table .pickup > table .unit,
  .effect table .normal > table .right,
  .effect table .normal > table .unit {
    display: inline-block;
    padding: 0 0.7em 0.5em;
  }
}

/* area */
.area {
  padding: 5em;
  background: rgba(255,255,255,0.5);
}

.area h4 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
}

.area dl {
  display: flex;
  border-bottom: 1px solid #000;
  padding: 0.5em;
}
  .area dl dt {
    width: 100px;
    font-weight: bold;
  }
  .area dl dd {
    width: calc(100% - 100px);
  }

.area p {
  padding: 2em 0 1em;
}
.area li {
  display: inline-block;
  margin-right: 1.5em;
}

@media (max-width: 1100px) {
  .area {
    font-size: 13px;
    padding: 2em;
  }
  .area h4 {
    margin-bottom: 20px;
  }
}

/* flow */
.flow {
  padding: 32px 16px 0 16px;
  text-align: center;
}
.flow-list {
  list-style: none;
  padding-top: 30px;
  margin: 0 auto;
  max-width: 98%;
  position: relative;
  padding-left: 25px;
  padding-right: 25px;
}
.flow-list li {
  display: block;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  min-height: 100px;
  margin-bottom: 20px;
}
.flow-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px 0;
  z-index: 1;
}
.flow-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 32px;
  width: 1px;
  height: calc(100% + 5px);
  background: #111;
  z-index: 0;
}
.flow-content {
  width: 95%;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.flow-title {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}
.flow-desc {
  font-size: 1.3rem;
  color: #444;
  line-height: 1.7;
  text-align: left;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .flow-list {
    max-width: 800px;
  }
  .flow-list li {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-height: 120px;
  }
  .flow-title {
    font-size: 1.8rem;
  }
  .flow-desc {
    font-size: 1.5rem;
  }
  .flow-num {
    position: static;
    margin-right: 24px;
    margin-top: 0;
    margin-bottom: 0;
    width: 50px;
    height: 50px;
    font-size: 1.7rem;
    flex-shrink: 0;
  }
  .flow-list li:not(:last-child)::after {
    left: 25px;
    top: 50px;
    width: 1px;
    height: calc(100% + 8px);
  }
  .flow-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: auto;
    margin-left: 0;
    padding-top: 8px;
  }
}

/* faq */
.faq {
  background: #f7f7f7;
  padding: 48px 10px 48px 10px;
  text-align: center;
}
.faq-list {
  max-width: 900px;
  margin: 32px auto 0 auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff;
  padding: 18px 10px 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.faq-question-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  position: relative;
}
.faq-question-row::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -8px;
  height: 1px;
  background: #ddd;
}
.faq-q {
  display: inline-block;
  background: #111;
  color: #fff;
  font-weight: bold;
  font-size: 1.15rem;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  margin-bottom: 8px;
  margin-right: 0;
  flex-shrink: 0;
}
.faq-question {
  font-weight: bold;
  font-size: 1.5rem;
  text-align: left;
  margin-top: 2px;
  margin-bottom: 6px;
  margin-left: 10px;
  flex: 1;
}
.faq-answer {
  font-size: 1.5rem;
  color: #444;
  text-align: left;
  margin-top: 18px;
  margin-left: 10px;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .faq {
    max-width: 100%;
  }
  .faq-answer {
    color: #444;
    text-align: left;
    margin-top: 18px;
    margin-left: 10px;
    line-height: 1.7;
    display: flex !important;
  }
}

/* --- Contact Form 7 対応 追加CSS --- */
.contact-form-7-contact-form-selector {
  margin: 20px 20px 0 20px;
}
.contact-form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.contact-form-label {
  font-size: 15px;
  font-weight: bold;
  display: inline;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.input-file {
  text-align: left;
  margin: 1em 0;
}
.req {
  color: #d00;
  margin-left: 15px;
}
.no-margin {
  margin-left: 0;
}

.contact-form-input,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-select {
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  background: #fff;
}
.contact-form-row.privacy {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  margin: 0 0 8px 0;
}
.contact-form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}
.wpcf7-form-control.wpcf7-submit.btn.btn-yellow {
  width: 70%;
  display: block;
  margin: 18px auto 0 auto;
  background: #ffe100;
  color: #234C98;
  border: none;
  border-radius: 8px;
  font-size: 1.7rem;
  font-weight: bold;
  padding: 16px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 15px;
}
.label-supplement {
  font-weight: normal;
  font-size: 13px;
  color: #888;
  margin-left: 12px;
}
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-not-valid-tip {
  color: #d00;
  font-size: 0.95em;
  margin-top: 4px;
  display: block;
  text-align: left;
}
.wpcf7-form-control-wrap.your-privacy .wpcf7-not-valid-tip {
  text-align: center;
}

/* --- CF7の全体エラーメッセージ（screen-reader-response）を非表示 --- */
.screen-reader-response {
  display: none !important;
}
.wpcf7-validation-errors {
  color: #d00;
}


/* タブレット・PC用スタイル（768px以上） */
@media (min-width: 768px) {
  main {
    margin-top: 60px;
  }
  .feature-contact-section-sp {
    display: none !important;
  }
  .feature-contact-section {
    display: block !important;
  }

}