/* グローバル設定 */
body {
  font-family: "BIZ UDPGothic", sans-serif;
  margin: 0;
  padding: 0;
  color: #003655;
  background-color: #FFFFFF;
  letter-spacing: 0.1rem;
}
img {
  max-width: 100%;
  height: auto;
}
h2 {
  font-size: 1em;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}
h3 {
  text-align: center;
  font-size: 1.9em;
  margin-bottom: 2rem;
  margin-top: 1.2rem;
  line-height: 2.6rem;
}
h3 .eng {
  font-size: 0.7em;
  margin-top: 0;
}
p {
  font-size: 1.2em;
  line-height: 2.2em;
}
.smalltext {
  font-size: 0.8em;
  line-height: 1.6em;
  margin-bottom: 2rem;
}
.smalltext2 {
  font-size: 0.8em;
  line-height: 2em;
  margin-bottom: 2em;
}
.smalltext3 {
  font-size: 0.6em;
}
.mgt-20px {
  margin-top: 20px;
}
.mgt-30px {
  margin-top: 30px;
}
.mgt-40px {
  margin-top: 40px;
}
.mgb-5px {
  margin-bottom: 5px;
}
.mgb-30px {
  margin-bottom: 30px;
}
/* ヘッダー */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: "Poppins", sans-serif;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.5rem;
}
.logo {
  width: 150px;
}
.nav-menu .textlink {
  margin-left: 1rem;
  text-decoration: none;
  color: #003655;
}
.nav-menu .textlink:hover {
  margin-left: 1rem;
  text-decoration: none;
  color: #40BCCB;
}
.button1 {
  background-color: #003655;
  color: white;
  padding: 0.5rem 2rem;
  text-decoration: none;
  border-radius: 9999px;
  display: inline-block;
  margin-left: 1rem;
}
.button1:hover {
  background-color: #40BCCB;
}
#menu-toggle {
  display: none;
}
/* メインビジュアル */
#main-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30vh;
  background-color: #fff;
}
#main-visual img {
  margin-top: 8rem;	
  width: 800px;
}
/* セクション */
section {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 auto;
}
#vision {
  max-width: 100%;
  margin: 0;
  background-color: #40BCCB;
  padding: 5rem;
}
 #vision p {
  text-align: center;
  }
#about {
  max-width: 100%;
  margin: 0;
  background-color: #40BCCB;
  padding: 5rem;
}
#service {
  max-width: 100%;
  margin: 0;
  background-color: #fff;
  padding: 5rem 5rem 0 5rem;
}
#message {
  max-width: 100%;
  margin: 0;
  background-color: #fff;
  padding: 3rem 5rem 5rem;
}
/* ボックス */
.contents {
  max-width: 1000px;
  margin: 0 auto;
}
.whitebox {
  padding: 8rem 8rem;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
}
.border-box {
  border: 1px solid #ddd;
  padding: 3rem 5rem;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
}
.nopd-box {
  max-width: 100%;
  padding: 0;
  margin: 0 0 2rem 0;
}
/* サービス：横並び */
.service-content {
  width: 100%;
}
.service-content .text {
  float: left;
  width: 50%;
}
.service-content .image {
  display: block;
  float: right;
  width: 50%;
}
.service-content .image img {
  display: block;
}
.ceoimage {
  float: left;
  width: 25%;
  margin-top: 1em;
}
.ceotext {
  margin-top: 0;
  float: right;
  width: 70%;
}
.clear {
  clear: both;
}
.text-left {
  text-align: left;
  margin-top: 40px;
}
/* 定義リスト */
.company-info {
  margin: 0;
  padding: 0;
}
/* 各ペアを縦に積む */
.dl-row {
  display: flex; /* この中で横並びにする */
  flex-direction: row; /* 明示：dt・ddを横並びに */
  align-items: flex-start;
  padding: 30px 0;
  font-size: 1em;
  border-bottom: 1px solid #ccc;
}
/* 見出しラベル */
.dl-row dt {
  flex: 0 0 120px; /* ラベル幅を固定 */
  font-weight: bold;
  margin: 0;
}
/* 内容部分 */
.dl-row dd {
  flex: 1;
  margin: 0;
}
/* フッター */
footer {
  background: #f8f8f8;
  padding: 5rem 1rem 2rem;
  text-align: center;
}
.contact {
  padding: 0;
  max-width: 100%;
  margin: 0;
}
.contact-box {
  padding: 3rem 5rem;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 3rem;
  background: #fff;
  border-radius: 24px;
}
.contact-box h3 {
  margin-bottom: 0.5rem;
}
.footer-links {
  max-width: 1280px;
  gap: 2rem;
  margin: 1em auto;
  line-height: 3em;
}
.footer-links a {
  color: #003655;
  text-decoration: none;
  margin-left: 30px;
  margin-top: 0px;
  font-weight: 700;
}
.footer-links a:hover {
  text-decoration: underline;
}
/* ボタン */
.button2 {
  background-color: #003655;
  color: white;
  padding: 1rem 5rem;
  text-decoration: none;
  border-radius: 9999px;
  display: inline-block;
  margin: 1rem auto;
}
.button2:hover {
  background-color: #40BCCB;
}
/* フェード */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
/* フェード画面内に入ったら表示 */
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* 波 */
.wave {
  width: 100%;
  height: 400px; /* SVGのheightと一致 */
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
}
.wave-pc {
  display: block;
}
.wave-sp {
  display: none;
}
.sponly {
  display: none;
}
.copyright {
  font-size: 0.8rem;
  letter-spacing: normal;
}
/*---------------------------SPの設定--------------------------*/
@media (max-width: 768px) {
/* ハンバーガーメニュー */
#menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}
#hamburger-icon .bar {
  fill: #003655;
  transition: 0.4s ease;
}
/* 開閉時のアニメーション（✕に変化） */
#menu-toggle.open .bar.top {
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  y: 46px;
}
#menu-toggle.open .bar.middle {
  opacity: 0;
}
#menu-toggle.open .bar.bottom {
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
  y: 46px;
}
#mobile-menu {
  padding: 1rem;
  background: #fff;
}
#mobile-menu a {
  padding: 2rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
  width: 100%;
  color: #003655;
  display: block;
	
}
  .pconly {
    display: none;
  }
  .sponly {
    display: block;
  }
  .service-content, .ceo-intro {
    flex-direction: column;
  }
  /* 定義リスト */
  .company-info {
    margin: 0;
    padding: 0rem 1rem;
  }
  /* 各ペアを縦に積む */
  .dl-row {
    display: block;
    font-size: 0.9em;
    border-bottom: 1px solid #ccc;
    margin-top: 0;
    padding: 20px 0;
  }
  /* 見出しラベル */
  .dl-row dt {
    font-weight: bold;
    margin: 0;
  }
  /* 内容部分 */
  .dl-row dd {
    margin-top: 1rem;
  }
  #menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
  }
  .wave {
    max-width: 100%;
  }
  /* セクション */
  section {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  #vision, #about {
    max-width: 100%;
    margin: 0 auto;
    background-color: #40BCCB;
    padding: 0;
  }
 #vision p {
  text-align: left;
  }
 
  #service {
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 0;
  }
  #message {
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 0;
  }
  /* ボックス */
  #message .contents {
    max-width: 90%;
    margin: 0 auto;
    padding: 0.5rem 0 0.5rem;
  }
  .contents {
    max-width: 90%;
    margin: 0 auto;
    padding: 3rem 0;
  }
  .whitebox {
    padding: 3rem 1rem;
    max-width: 90%;
    margin: 3rem auto;
    background: #fff;
    border-radius: 24px;
  }
  #vision .whitebox {
    padding: 3rem 2rem;
    max-width: 90%;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
  }
  .border-box {
    border: 1px solid #ddd;
    padding: 1.5rem 2em;
    max-width: 90%;
    margin: 2em auto 2em;
    background: #fff;
    border-radius: 24px;
  }
  .nopd-box {
    max-width: 90%;
    padding: 0;
    margin: 0 auto;
  }
  h2 {
    font-size: 1em;
    text-align: center;
  }
  h3 {
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    line-height: 2rem;
  }
  h3 .eng {
    font-size: 0.7em;
    margin-top: 0;
  }
  p {
    font-size: 1em;
    line-height: 2.2em;
  }
  .smalltext {
    font-size: 0.8em;
    line-height: 1.6em;
    padding-bottom: 2rem;
    margin-top: 1rem;
  }
  .smalltext2 {
    font-size: 0.8em;
    line-height: 2em;
    margin-bottom: 0;
  }
  .smalltext3 {
    font-size: 0.6em;
  }
  .mgt-20px {
    margin-top: 20px;
  }
  .mgt-30px {
    margin-top: 30px;
  }
  .mgt-40px {
    margin-top: 40px;
  }
  .mgb-5px {
    margin-bottom: 5px;
  }
  .mgb-30px {
    margin-bottom: 30px;
  }
  /* サービス：縦並び */
  .service-content {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    height: auto;
  }
  .service-content .text {
    width: 100%;
    margin: 0 auto;
  }
  .service-content .image {
    width: 100%;
    height: auto;
    margin-right: 30px;
  }
  .ceoimage {
    width: 100%;
    margin: 0 auto;
  }
  .ceoimage img {
    width: 50%;
    margin: 2rem auto 0;
    display: block
  }
  .ceotext {
    margin-top: 0;
    width: 100%;
  }
  .clear {
    clear: both;
  }
  .text-left {
    text-align: center;
    margin-top: 40px;
  }
  /* フッター */
  footer {
    background: #f8f8f8;
    text-align: center;
    max-width: 100%;
    padding: 0 0 1rem 0;
    margin: 0 auto;
  }
  .contact-box {
    padding: 2rem;
    max-width: 100%;
    margin: 0 auto 3rem;
    background: #fff;
    border-radius: 24px;
  }
  .contact-box h3 {
    margin-bottom: 0.5rem;
  }
  .contact-box p {
    max-width: 90%;
    padding: 0 1rem;
  }
  .footer-links {
    max-width: 90%;
    margin: 3rem;
    line-height: 1em;
  }
  .footer-links a {
    color: #003655;
    text-decoration: none;
    margin: 20px auto 20px;
    display: block;
    text-align: left;
    font-weight: 600;
    padding: 0 0 1rem 0;
    border-bottom: 1px #dddddd solid;
  }
  .footer-links a:hover {
    text-decoration: underline;
  }
  /* ボタン */
  .button2 {
    background-color: #003655;
    color: white;
    padding: 1rem 5rem;
    text-decoration: none;
    border-radius: 9999px;
    display: block;
    margin: 0 auto;
    text-align: center;
  }
  .button2:hover {
    background-color: #40BCCB;
  }
  .copyright {
    font-size: 0.8rem;
    letter-spacing: normal;
  }
  /* 波 */
  .wave {
    margin-bottom: -3px;
    max-width: 100%;
    height: 200px;  }
	
  .wave-pc {
    display: none;
  }
  .wave-sp {
    display: block;
  }
  .wave-sp svg {
    height: 200px;
  }
}