body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  /* ここで--textの色を使う */
}

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


/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #fff;
}

.header_logo {
  width: 120px;
}

.header ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.header a {
  color: #000;
}

/* Main Visual */
.pc-mv {
  width: 100%;
  display: block;
}

.sp-mv {
  display: none;
}


/* About */
.about {
  text-align: center;
  padding: 40px 20px;
}

.about-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.about-text h2 {
  margin: 4px 0px;
  font-size: 25px;
}

.about-text p {
  margin-top: 0px;
  font-size: 18px;
  color: #333;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  width: 270px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f2f2;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card img {
  width: 100%;
  height: auto;
}

.card span {
  display: block;
  padding: 10px;
  background: #FF782A;
  color: #fff;
  font-weight: bold;
}

.card.japanese span {
  background: #00943E;
}

.card.disabled {
  background: #555;
  color: #c1c1c1;
  pointer-events: none;
  border: 5px solid #471129;
}

.card.disabled span {
  background: #471129;
  color: #6c6c6c;
}

.card.disabled .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 30px;
  color: #e7e7e7;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.card.korean {
  border: 5px solid #FF782A;
}

.card.japanese {
  border: 5px solid #00943E;
}



/* Portal */
.portal {
  background: #fde9d9;
  text-align: center;
  padding: 20px 10px;
}

.portal h2 {
  margin: 4px 0px;
  color: #FF782A;
  font-size: 25px;
}

.portal p {
  margin-top: 0px;
  font-size: 18px;
  color: #333;
}

.articles {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  justify-content: center;
  /* これで中身が真ん中に揃います */
}

.articles-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.article-card {
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  text-align: center;
  border-radius: 8px;
}

.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dfdfdf;
}

.article-card p {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-top: 4px;
  text-align: left;
  text-decoration: none;
}

.link-button {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #E95B10;
  background-color: #fff;
  border-radius: 9999px;
  color: #E95B10;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.link-button:hover {
  background-color: #E95B10;
  color: #fff;
}



/* Footer */
.footer {
  background: #dff4f9;
}

.footer-1 {
  display: flex;
  padding: 15px 10px;
  justify-content: space-around;
}

.footer-logo {
  width: 120px;
}

.footer ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

.footer ul li {
  margin: 5px 0;
}

.footer a {
  text-decoration: none;
  color: #000;
}

.footer-copyright {
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 920px) {
  .card.disabled {
    display: none;
  }
}

@media (max-width: 850px) {
  .pc-mv {
    display: none;
  }

  .sp-mv {
    width: 100%;
    display: block;
  }

  .articles-list {
    flex-direction: column;
  }

  .article-card {
    flex: 1;
    min-width: 320px;
    max-width: 640px;
    text-align: center;
    border-radius: 8px;
  }

}

@media (max-width: 500px) {
  .footer-1 {
    flex-direction: column;
    align-items: center;
  }

}



/* ここから下はアバウトページ */

:root {
  --text: #111;
  --muted: #666;
  --line: #e5e5e5;
  --accent: #005B90;
  --maxw: 880px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: #fff;
}


.page-mv {
  background-color: #EDFBFF;
  /*background-image: repeating-linear-gradient(90deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px), repeating-linear-gradient(0deg, #ffbd3943, #ffbd3943 1px, transparent 1px, transparent 20px);*/
  min-height: 200px;
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-mv-text {
  color: #005B90;
}

.company-wrapper {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 16px 80px;
}

/* List */
.info-list {
  margin: 0;
  padding: 0;
}

.info-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.info-item:first-child {
  border-top: none;
}

.info-term {
  margin: 0;
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
}

.info-desc {
  margin: 0;
  font-size: 16px;
  color: var(--text);
  word-break: keep-all;
}

.info-desc a {
  text-decoration: underline;
}

/* PC(横並び) */
@media (min-width: 960px) {
  .info-item {
    grid-template-columns: 180px 1fr;
    /* 左:見出し / 右:内容 */
    align-items: start;
    gap: 24px;
    padding: 22px 0;
  }

  .info-term {
    font-size: 15px;
    /* 画像の印象に合わせやや小さめ */
    line-height: 1.6;
  }

  .info-desc {
    font-size: 15px;
  }
}

/*Contact & Comments*/
.contact-wrapper {
  width: 560px;
  margin: 100px auto;
  padding: 0 10px;
}

.required {
  color: #E60040;
}

.contact-wrapper input {
  width: 100%;
  padding: 10px;
  border: 1px solid #DDDFE6;
  border-radius: 4px;
}

.contact-wrapper select {
  position: relative;
  width: 100%;
  padding: 10px;
  border: 1px solid #DDDFE6;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url('../img/contact/contact-arrow.svg') no-repeat right 10px center/16px 16px;
  padding-right: 30px;
  padding-right: 30px;
}

.contact-wrapper textarea {
  width: 100% !important;
  padding: 10px;
  border: 1px solid #DDDFE6;
  border-radius: 4px;
  resize: none;
}

.contact-wrapper .wpcf7-submit {
  display: block;
  margin: 0 auto;
  background: #005B90;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  width: 160px;
  border: none;
  border-radius: 4px;
}

@media screen and (max-width: 640px) {
  .contact-wrapper {
    width: 100%;
    margin: 50px 0;
  }
}