@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  font-family: "Meiryo", "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", sans-serif;
  background-color: #fff;
  border-top: 10px solid #003366;
  font-size: 1rem;
}

.header {
  width: 100%;
  box-sizing: border-box; 
  margin: 0 auto;              
  padding: 0 20px;       
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-bottom: 0.5px solid #003366;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}


.site-title a{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #003366;
  font-size: 2.2rem;
}
.company-name{
  font-size: 2rem;
}

nav.global {
  display: flex;
  justify-content: flex-end;
  align-items: center; 
  margin: 20px;
  gap: 30px;
}

nav ul {
  font-family: "メイリオ";
  display: flex;
  list-style: none;
}

/* navi中身 */
header nav ul li {
  position: relative;
  width: 120px;
  text-align: center;
  display: flex;     
  align-items: center;
  justify-content: center;
  border-right: 1.2px dotted #003366;
}
.header nav ul li:last-child{
  border-right: none;
}

/* navi文字部分 */
nav.global ul li a {
  color: #003366;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  justify-content: center;
  padding: 8px;
}
.language ul {
  margin: 5px 0;
  padding: 0;
  display: flex;
  align-items: center;
  list-style: none;
}

.language ul li a {
  padding: 0 3px; 
  font-size: 1rem !important;     
}

/* リンクのホバー色 */
nav.global ul li a:hover {
  color: #3dc9db;
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s;
}


/* サブメニュー(非表示）
.submenu-set {
  position: relative;
}
.submenu {
  display: block;
  position: absolute;
}*/


main{
  margin: 0 auto;
  background-color:#cdc8ae23;
  border-bottom: 1px solid #fff;
}

.visual_wrapper {
  display: flex;
  justify-content: center;
}
/* バナー画像 */
.visual_image {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  background-image: url(../images/eternabio2.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-bottom: 1px solid #003366;
  border-radius: 6px;
  position:relative;
  background-color: #f5f5f5; 
  margin-bottom: 60px;
}

.visual_image h2 {
  margin: 0 0 10px;
  font-size: 3.8rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  margin-top: 40px;
  margin-left: 50px;
}

.visual_image p {
  margin-left: 50px;
  font-size: 2.4rem;
  color:#565555;
  box-sizing: border-box; 
}

.hero-button {
  position: absolute; 
  top: 40px;       
  right: 50px;        
  display: flex;
  gap: 10px;           
}

.hero-button ul {
  display: flex;
  flex-direction: column; 
  gap: 10px;              
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-button a {
  display: inline-block;
  width: 240px;
  padding: 10px 10px;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 500;
  font-weight: 550;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif ;
}
.hero-button a:hover {
  background-color: #fff;  
  color: #003366;            
}


/* 選ばれる理由 ラッパー */
.reason-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 60px;
  background-color: #f2fbfc;
  border-radius: 6px;
  border: 1px solid #003366;

}

h2.reason-title {
  text-align: center;
  line-height: 2 ;
  font-size: 2.9rem;
  padding-top: 30px;
  color:#003366;
  text-shadow:1px 1px 0 #b2b2b2, 2px 2px 0 #a0d1ed;
  }


/* 理由その1（三位一体モデル） */
.reason-item1 {
  background-color:#f2fbfc;
  text-align: center;
  padding: 30px 20px;
}

.reason-item1 h3 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.reason-item1 p {
  margin-bottom: 30px;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* ３つの丸（list）全体 */
.trinity-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: #f2fbfc;
}

/* 丸３つデザイン */
.trinity-list li {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: filter 0.3s ease;
  text-align: center;
  padding: 20px;
}

/* 丸の中の画像 */
.trinity-list li:nth-child(1) {
  background-image: url("../images/kenkyu.jpg");
  border:1px solid #fff7f7;
}
.trinity-list li:nth-child(2) {
  background-image: url("../images/oem.png");
  border:1px solid #fff7f7;
}
.trinity-list li:nth-child(3) {
  background-image: url("../images/branding.png");
  border:1px solid #fff7f7;
}

/* 丸を半透明の黒 疑似*/
.trinity-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  z-index: 0;
}
.trinity-list li:hover{
  filter: brightness(1.2);
}
.trinity-list li a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.5rem;

  line-height: 1.7;
  z-index: 1;
}

/* 理由2、理由３ */
section.reason-item2,
section.reason-item3 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
  padding: 50px;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 6px;
}
section.reason-item2{
  background-color: #f2fbfc;
}
section.reason-item3{
  background-color: #f2fbfc
}
section.reason-item2 p a,
section.reason-item3 p a{
  text-decoration: underline;
  color: #003366;  
}
section.reason-item2 p a:hover,
section.reason-item3 p a:hover{
  font-weight: bold;
}
section.reason-item2 img,
section.reason-item3 img {
  width: 400px;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  border:1px solid #fff7f7;
}

/*h3*/
section.reason-item2 h3, 
section.reason-item3 h3 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

/* テキストp部分 */
section.reason-item2 .text,
section.reason-item3 .text {
  flex: 1;
  font-size: 1.6rem;
  line-height: 1.8;
}


/* NMN,企業情報 画像以外共通 */
/* ラッパー */
.wrapper-nmn, .wrapper-company {
  width: 100%;
  max-width: 1080px;
  box-sizing: border-box;
  margin: 0 auto 30px;
  padding: 30px 0;
}

/* 各背景画像 */
.nmn_image {
  background-image: url(../images/nmn.png);
  background-repeat: no-repeat;
}
.company_image {
  background-image: url(../images/bigtree.png);
  background-repeat: no-repeat; 
}

/* 共通背景画像ブロック */
.nmn_image, .company_image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 60px 20px;
  border-radius: 6px;
  text-align: center;
}

/* 共通テキストボックス（半透明） */
section.nmn, section.company-info {
  background-color: rgba(0, 0, 0, 0.4); 
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

/* 共通h2見出し*/
section.nmn h2, section.company-info h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

/* 共通pテキスト */
section.nmn p, section.company-info p, .news-list p{
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: left;
}
/* aリンクだけ中央寄せ */
section.nmn p:last-of-type, 
section.company-info p:last-of-type {
  text-align: center;
}
strong {
  font-weight: bold;
}

/* News全体ラッパー */
.wrapper-news {
  background-color: #f9f9f9;
  padding: 60px 0; 
}

/* News外枠 */
.news-inner {
  background-color: #fff;
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px; 
  box-sizing: border-box;
  border-radius: 6px;
}

/* section（内側のボックス）） */
section.news {
  max-width: 800px; 
  margin: 0 auto;
  text-align: left;
}

/* h2 */
section.news h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: left;
}

/* Newsリスト */
.news-list {
  margin: 0;
  padding: 0;
}

/* dt, dd */
.news-list dt, .news-list dd {
  display: inline-block;
  vertical-align: top;
  padding: 12px 16px;
  box-sizing: border-box;
}

/* dt */
.news-list dt {
  width: 160px;
  font-size: 1.4rem;
  color: #333;
}

/* dd */
.news-list dd {
  width: calc(100% - 160px - 32px);
  font-size: 1.5rem;
  color: #333;
  border-bottom: 1px dotted #aaaaaa;
  margin: 0;
}

/* 最後のdd線消す */
.news-list dd:last-of-type {
  border-bottom: none;
}

/* News内のリンク */
section.news p {
  text-align: center;
  margin-top: 20px;
  font-size: 1.4rem;
  line-height: 1.8;
}
.news-list {
  max-height: 200px;
  overflow-y: auto;
}



/* ここからaboutページ */
.company-title{
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
  text-align: center;
  padding-top:40px;
  font-size: 1.6rem;
}
.company-title h2{
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.company-title .company-description{
  font-size: 1.6rem;
}
p.company-description{
  display: inline-block;
  text-align: left;
  margin-bottom:20px;
  font-size: 1.2rem;
  text-indent: 1em;
}
.company-box h3,
.history-box h3{
  font-size: 2rem;
  margin-left: 20px;
}
.company-box{
  background-image: url(../images/about-background.jpg);
}
.company-box dl dd{
  font-size: 1.7rem;
}
.company-box dl dt{
  font-size: 1.6rem;
}
.company-box dl{
  margin-left: 20px;
}
.company-box dt{
  margin-bottom: 5px;
}

/*企業情報と沿革のボックス*/
.company-box, .history-box{
  max-width: 900px;
  width: 100%;
  margin: 0 auto 3rem;
  padding: 2rem;
  text-align:left ;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}


/* 沿革 */
.history-box{
  background-color: #eef8fd;
}
.history-list {
  margin: 0;
  padding: 0;
}

.history-list dt, 
.history-list dd {
  display: inline-block;
  vertical-align: center;
  padding: 10px 10px;
  box-sizing: border-box;
  font-size: 1.5rem;
}

.history-list dt {
  width: 160px;
  font-weight: bold;
  font-size: 1.5rem;
}

.history-list dd {
  width: calc(100% - 160px - 32px);
  margin: 0;
  font-size: 1.5rem;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 12px;
}

/* 最後のddの下線は消す */
.history-list dd:last-of-type {
  border-bottom: none;
}

/* ここから認証、拠点、IR、リクルート、メインオフィス*/
/* 共通ボックス設定 */
.awards, .network, .ir, .recruit, .main-office {
  max-width: 900px;
  width: 90%;
  margin: 0 auto 3rem;
  padding: 50px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}

/* 各背景色 */
.awards       { background-color: #e3e3d4; }
.ir           { background-color: #e3e3d4; }
.recruit      { background-color: #eef8fd }
.main-office  { background-color: #e3e3d4; }
.network{
  background-image: url(../images/network.jpg);
}

p.text-overlay {
  background-color: rgba(255, 255, 255, 0.4); /* 半透明の白背景 */
  padding: 1em;
  border-radius: 0.5em;
}

/* h2 */
.awards h2, .network h2, .ir h2, .recruit h2, .main-office h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #003366;
}

/* p */
.awards p, .network p, .ir p, .recruit p, .main-office p {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #000;
  margin-bottom: 2rem;
}

/* リンクボタン（awardとIR）*/
.awards a, .ir a {
  display: inline-block;
  padding: 1em 2em;
  background-color: #fff;
  font-weight: 600;
  border-radius: 0.5em;
  color: #9a731f;
  text-decoration: none;
  border: 2px solid #9a731f;
  transition: 0.3s ease;
}
.awards a:hover, .ir a:hover{
  background-color: #9a731f;
  color: #fff;
  border-color: #fff;
}

/* Networkボタン */
.network a {
  display: inline-block;
  padding: 1em 2em;
  background-color: #fff;
  color: #007acc;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #007acc;
  border-radius: 0.5em;
  transition: 0.3s ease;
}
.network a:hover {
  background-color: #007acc;
  color: #fff;
  border-color: #fff;
}

/* リクルートリンクボタン３つ */
.recruit-links {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
}
.recruit img{
  border-radius: 50%;
}
.recruit-links li {
  width: 30%;
  text-align: center;
  margin: 20px auto;
}

.recruit-links a {
  display: block;
  padding: 1em 1em;
  background-color: #fff;
  color: #007acc;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 0.5em;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #007acc;
  transition: 0.3s ease;
}

.recruit-links a:hover {
  background-color: #007acc;
  color: #fff;
  border:2px solid #fff;
}

.lead-sentence {
  font-size: 1.7rem;
  color: #c59733; 
  font-weight: 600;
  
}

@media (max-width: 767px) {
  .recruit-links {
    flex-direction: column;
    gap: 10px;
  }
  .recruit-links li {
    width: 100%;
  }
  .recruit-links a {
    width: 100%;
    box-sizing: border-box;
  }
}
.office-map .map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 6px;
}

.main-office h2{
  font-size: 2rem;
}
.office-location h3{
  font-size: 1.8rem;
}
.office-location address{
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.office-access h3{
  font-size: 1.8rem;
}
.office-access ul li{
  font-size: 1.6rem;
  line-height:1.8;
  }
.office-map h3{
  font-size: 1.8rem;
  margin-top: 1rem;
}

/* contactページ */
.contact-wrapper {
  max-width: 700px;
  margin: 0px auto;
  padding: 80px 0 ;
  font-family: 'Noto Sans JP', sans-serif;
  color: #363636;
  line-height: 1.8;
}

/* h1 */
.contact-wrapper h1 {
  font-size: 3.1rem;
  margin-bottom: 20px;
  color: #363636;
}

/* p */
.contact-wrapper p {
  margin-bottom: 20px;
  font-size: 1.6rem;
  line-height: normal;
  color: #363636;
}

dl {
  margin: 20px 0 10px;
  margin-bottom: 18px;
  margin-top: 20px;
}

dt {
  font-weight: bold;
  margin-bottom:10px;
  font-size: 1.6rem;
  color: #363636;
}

dd, dd label{
  margin-bottom: 10px;
  font-size: 1.8rem;
}
dt label{
  font-size: 1.3rem;
  margin-top:30px;
}
/* ラベル共通 */
label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  color: #363636;
}

/* input 入力欄の箱*/
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  font-size: 1.4rem;
  border: 2px solid #a4a3a3;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus, input[type="file"]:focus {
  border-color: #b8892b; 
  outline: none;
}

/* textarea */
textarea {
  width: 100%;           
  max-width: 800px;   
  min-height: 200px;  
  padding: 10px;      
  font-size: 14px;      
  border: 2px solid #a4a3a3;
  border-radius: 4px; 
}

textarea:focus {
  border-color: #9a731f; 
  outline: none;     
}

/*チェックボックス*/
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

label[for="agree"] {
  display: inline;
  font-weight: 500;
  font-size: 0.95rem;
  color: #414040;
}

/* 添付ファイル */
.file{
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
label[for="attachment"]{
  font-size:1.4rem;
}

/* プライバシーポリシーのリンク */
.contact-wrapper a {
  color: #003366;
  text-decoration: underline;
}
.contact-wrapper a:hover {
  font-weight: bold;
}
p.input label{
  font-size: 1.5rem;
}
.submit{
  display: flex;
  justify-content: center;
  margin-top: 30px;
  text-align: center;
  }

.submit button{
  width: 400px;
  height: 50px;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  transition: background-color 0.3s;
  background-color: #9a731f; 
  color: #fff;
  border-radius: 4px;
  }
  
.submit button:hover{
    background-color: #fff;
    color: #9a731f;
    border:2px solid #9a731f;
  }

 /* link-more */
.link-more{
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: #fff;
  border: 2px solid #003366;
  border-radius: 6px;
  text-decoration: none;
  color: #003366;
  transition: 0.3s ease;
}
.link-more:hover{
  background-color: #003366;
  border-color: #fff;
  color: #fff;
}


/* ここからfooter */
footer {
  background-color: #003366;
  color: #fff;
  padding: 40px 100px 30px;
  box-sizing: border-box;
  font-family: sans-serif;
}

.local {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  flex: 1;
  min-width: 300px;
}

section.footer-nav {
  min-width: 150px;
}

section.footer-nav h3 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
  color: #fff;
}

section.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

section.footer-nav ul li {
  margin-bottom: 6px;
}

section.footer-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

section.footer-nav ul li a:hover {
  text-decoration: none;
}

section.footer-nav a:hover {
  color: #3dc9db;
}
section.footer-right {
  min-width: 300px;
  margin-left: 40px;
}

section.footer-right h2, 
section.footer-right h3 {
  font-size: 15px;
  margin-top: 10px;
  }

section.address, 
section.ul {
  font-size: 14px;
  line-height: 1.6;
}

section.footer-right ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

section.footer-right iframe {
  margin-top: 10px;
  border-radius: 4px;
}

section.footer hr {
  margin: 30px 0 10px;
  border: 0;
  border-top: 1px solid #d9d9d9;
}

footer .copyright {
  text-align: center;
  font-size: 14px;
  color: #fff;
  margin-top: 10px;
}
section.address{
  margin-bottom: 40px;
}

/* media（1024px以下） */
@media screen and (max-width: 1024px) {
  section.reason-item2 img,
  section.reason-item3 img {
  width: 300px;
  height: 195px;
}
}

@media screen and (max-width: 1035px) {
  .visual_image {
    height: auto;
    padding: 40px 20px 80px; 
  }

  .visual_image h2 {
    font-size: 2.2rem;
    margin-left: 0;
  }

  .visual_image p {
    font-size: 1.6rem;
    margin-left: 0;
  }

  .hero-button {
    position: static;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-button ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-button ul li {
    width: 100%;
  }

  .hero-button a {
    width: 100%;
    max-width: 280px;
    font-size: 1.3rem;
  }

  section.reason-item2 img,
  section.reason-item3 img {
  width: 300px;
  height: 195px;
}
}
