@charset "UTF-8";

html {
  font-size: 120%;
}
body {
  background-color: #f0f0f0;
  color: #000;
  font-size: 0.875rem;
}
a {
  color: #000;
  font-size: 0.875rem;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

.logo {
  width: 100px;
  line-height: 1px;
  margin-right: 60px;
}
.logo a {
  display: block;
}
.section-title {
  font-weight: normal;
  line-height: 1;
  margin-bottom: 50px;
}
/*
疑似要素を使って下線を引く
*/
.section-title::after {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #000;
  display: block;
}
/*
「display: inline-block;」を設定してブロック化することで、
改行されてmargin-bottomが使用できるようになる
*/
.section-title .en {
  display: block;
  font-size: 2.25rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.section-title .ja {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 36px;
}
/*
横幅を設定するための共通クラス
*/
.wrapper {
  width: 100%;
  max-width: 1032px;
  padding: 0 16px;
  margin: 0 auto;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header .inner {
  display: flex;
  align-items: center;
}

#header .inner ul {
  display: flex;
  align-items: center;
}
/*
#header .inner li {
  margin-right: 30px;
}
*/
#header .inner > ul > li {
  margin-right: 30px;
}

#header .inner li:last-child {
  margin-right: 0;
}


/*左配置のメニューバー試作
nav {
  position: fixed;
  top: 100px;
  left: 20px;
}
#header .inner ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#header .inner li {
  margin-right: 0;
  margin-bottom: 15px;
}
#header .inner li:last-child {
  margin-bottom: 0;
}
*/

#header .contact {
  width: 200px;
  height: 80px;
  line-height: 80px;
  background-color: #000;
  color: #fff;
  font-size: 0.75rem;
  display: inline-block;
  text-align: center;
}
#header .contact:hover {
  background-color: #333;
}

/*自動翻訳スイッチ*/
#header {
  position: relative;
}

.lang-switch {
  position: absolute;
  top: 20px;
  right: 220px;
  z-index: 100;
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
  margin-bottom: 120px;
}
/*
メインビジュアルを画面の高さに合わせる
headerの高さが80pxあるので、100vhから80px分だけマイナスする
*/
#mainvisual img {
  width: 100%;
  height: calc(100vh - 80px);
  object-fit: cover;
}

/*-------------------------------------------
News
-------------------------------------------*/
#news {
  margin-bottom: 120px;
}
#news .list {
  display: flex;
  justify-content: space-between;
}
/*
「width: calc(100%/3);」で横幅を3等分する
*/
#news .list li {
  width: calc(100%/3);
  border-right: solid 1px #000;
  padding: 10px 20px;
}
#news .list li:first-child {
  padding-left: 0;
}
#news .list li:last-child {
  border-right: none;
  padding-right: 0;
}
#news .list li .date-area {
  margin-bottom: 16px;
}
#news .list li .date-area span {
  width: 50px;
  height: 20px;
  line-height: 20px;
  background-color: #000;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  margin-left: 10px;
  text-align: center;
}

/*-------------------------------------------
About
-------------------------------------------*/
#about {
  display: flex;
  margin-bottom: 120px;
}
#about .img {
  width: 55%;
}
#about .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#about .text {
  width: 45%;
  padding: 180px 5% 0 5%;
}
#about .text p {
  line-height: 2.2;
}

/*
疑似要素でタイトルの横線を引く
*/
.about-title {
  position: relative;
  padding-left: 18px;
  margin-bottom: 16px;
}

/* 左側の横線 */
.about-title::before {
  content: "";

  width: 8px;
  height: 1px;

  background-color: #000;

  position: absolute;

  top: 50%;
  left: 0;
}

/*-------------------------------------------
メニュー関連
-------------------------------------------*/
/* メインメニュー */
.menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

/* 親メニュー */
.has-submenu {
  position: relative;
}

/* サブメニュー */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;

  background: #f0f0f0;
  border: 1px solid #ccc;

  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 0;
  min-width: 100px;
  margin-left: 0 !important;

  /*通常時はサブメニューを非表示*/
  display: none !important;

  /* ← これ重要 */
  display: none;
  flex-direction: column;
}

/* サブメニューを縦並び */
.submenu li {
  width: 100%;
  margin-left: 0 !important;
}

/* サブメニューリンク */
.submenu li a {
  display: block;
  width: 100%;
  box-sizing: border-box;

  padding: 10px 20px;
  margin: 0;

  text-decoration: none;
  white-space: nowrap;
}

/* ホバー時に表示 */
.has-submenu:hover .submenu {
  display: flex !important;
}

/*テキスト内容の左にインデントをつける*/
.about-block p {
  padding-left: 1em;
  line-height: 2;
}

/*-------------------------------------------
Business
-------------------------------------------*/
#business {
  margin-bottom: 120px;
}
#business .flex {
  display: flex;
  justify-content: space-between;
  padding: 0 1%;
}
#business .flex .left {
  width: 46%;
  margin-top: 100px;
}
#business .flex .right {
  width: 46%;
}
#business .flex .item {
  margin-bottom: 50px;
}
#business .flex .item:last-child {
  margin-bottom: 0;
}
#business .flex .title {
  font-weight: bold;
  margin: 0 0 10px 18px;
  position: relative;
}
/*
疑似要素でタイトルの横線を引く
*/
#business .flex .title::before {
  content: "";
  width: 8px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: -18px;
}

/*-------------------------------------------
Company
-------------------------------------------*/
/*
テキストと画像はpositionを使って配置
子要素の「position: absolute;」で高さがなくなるため、
「height: 750px;」を指定して高さを確保
*/
#company {
  height: 750px;
  display: flex;
  align-items: center;
  position: relative;
}
#company .text {
  width: 55%;
  background-color: #fff;
  padding: 100px 8% 100px 6%;
  position: absolute;
  top: 0;
  left: 0;
}
#company .img {
  width: 53%;
  position: absolute;
  top: 115px;
  right: 0;
}
#company .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#company .info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#company .info dt {
  width: 20%;
  margin-top: 10px;
}
/*
1つめのdtにはmargin-topを設定しない
*/
#company .info dt:first-of-type {
  margin-top: 0;
}
#company .info dd {
  width: 80%;
  margin-top: 10px;
}
/*
1つめのddにはmargin-topを設定しない
*/
#company .info dd:first-of-type {
  margin-top: 0;
}
#company .info .add {
  margin-left: 20%;
}

/*-------------------------------------------
ETHIOPIA
-------------------------------------------*/
#ethiopia {
  margin-bottom: 120px;
}

#ethiopia .section-title {
  background-color: #fff;
  padding: 15px 25px;
}
#ethiopia .ethiopia-title {
  background-color: #fff;
  padding: 15px 25px;
}

/* 画像エリア */
#ethiopia .img-wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

#ethiopia .img-wrap img {
  width: 50%;
  height: 600px;
  object-fit: cover;
}

/* 右側の画像だけ下げる */
#ethiopia .photo2 {
  margin-top: 80px;
}

#ethiopia .photo-left {
  width: 100%;
  max-width: 800px;
  height: auto;
}

/* テキスト */
#ethiopia .text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#ethiopia .text p {
  line-height: 2.2;
  text-align: left;
}

#ethiopia .bold-text {
  font-size: 1.3em;
  font-weight: bold;
}

#ethiopia-history {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  padding-left: 20px;
}

#ethiopia-history::before {
  content: "";
  width: 10px;
  height: 1px;
  background: #000;
  position: absolute;
  left: 0;
  top: 50%;
}

#ethiopia-history span {
  font-weight: 700;
}

/*-------------------------------------------
Web Marketing
-------------------------------------------*/
#webmarketing {
  display: flex;
  margin-bottom: 120px;
}
#webmarketing .img {
  width: 55%;
}
#webmarketing .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#webmarketing .text {
  width: 45%;
  padding: 180px 5% 0 5%;
}
#webmarketing .text p {
  line-height: 2.2;
}

/*
疑似要素でタイトルの横線を引く
*/
.works-title {
  position: relative;
  padding-left: 18px;
  margin-bottom: 16px;
}

/* 左側の横線 */
.works-title::before {
  content: "";

  width: 8px;
  height: 1px;

  background-color: #000;

  position: absolute;

  top: 50%;
  left: 0;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  background-color: #fff;
  padding-bottom: 20px;
}
#footer .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
}
#footer .flex .logo {
  margin-right: 0;
}
#footer .copyright {
  font-size: 0.625rem;
}

/*-------------------------------------------
スマホ対応
-------------------------------------------*/
@media screen and (max-width: 768px) {
  .logo {
    width: 80px;
    margin: 8px 0;
  }
  .section-title {
    margin-bottom: 34px;
  }
  .section-title .ja {
    margin-bottom: 24px;
  }
  #youtube {
    margin-bottom: 80px;
  }

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header .inner {
    flex-direction: column;
    align-items: flex-start;
  }
  #header .contact {
    display: none;
  }

  /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
  #mainvisual {
    margin-bottom: 80px;
  }

  /*-------------------------------------------
  News
  -------------------------------------------*/
  #news {
    margin-bottom: 80px;
  }
  #news .list {
    flex-direction: column;
  }
  #news .list li {
    width: 100%;
    border-right: none;
    padding: 10px 0;
    margin-bottom: 20px;
  }
  #news .list li:last-child {
    margin-bottom: 0;
  }

  /*-------------------------------------------
  About
  -------------------------------------------*/
  #about {
    flex-direction: column;
    margin-bottom: 80px;
  }
  #about .img {
    width: 100%;
    margin-bottom: 30px;
  }
  #about .img img {
    height: 300px;
  }
  #about .text {
    width: 100%;
    padding: 0 16px;
  }

  /*-------------------------------------------
  Business
  -------------------------------------------*/
  #business {
    margin-bottom: 80px;
  }
  #business .flex {
    flex-direction: column;
    padding: 0;
  }
  #business .flex .left {
    width: 100%;
    margin: 0 0 30px 0;
  }
  #business .flex .right {
    width: 100%;
  }
  #business .flex .item {
    text-align: center;
    margin-bottom: 30px;
  }
  #business .flex .title {
    text-align: left;
  }

  /*-------------------------------------------
  Company
  -------------------------------------------*/
  /*
  「position: static;」でrelativeを解除
  */
  #company {
    height: auto;
    flex-direction: column;
    position: static;
  }
  /*
  「position: static;」でabsoluteを解除
  */
  #company .text {
    width: 100%;
    padding: 40px 20px;
    margin-bottom: 20px;
    position: static;
  }
  /*
  「position: static;」でabsoluteを解除
  */
  #company .img {
    width: 100%;
    padding: 0;
    position: static;
  }
  #company .info {
    flex-direction: column;
  }
  #company .info dt {
    width: 100%;
    margin-top: 20px;
  }
  #company .info dd {
    width: 100%;
    margin-top: 5px;
    padding-left: 14px;
  }
  #company .info dd:first-of-type {
    margin-top: 5px;
  }
  #company .info .add {
    margin-left: 0;
  }
  /*自動翻訳スイッチ*/
  .lang-switch {
    position: fixed;
    top: auto;
    right: 10px;
    bottom: 10px;
    z-index: 9999;
  }

/*-------------------------------------------
footer
-------------------------------------------*/
#footer .flex {
  flex-direction: column;
  align-items: flex-start;
}
#footer .flex .logo {
  margin-bottom: 10px;
}
}

/*-------------------------------------------
YouTube
-------------------------------------------*/
#youtube {
  width: 100%;
  text-align: center;
  margin-bottom: 120px;
}

.movie-title {
  margin-bottom: 20px;
  font-weight: bold;
}

.youtube {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.youtube iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/*-------------------------------------------
言語選択（裏でGoogle翻訳を呼び出す）
-------------------------------------------*/
/* Powered by Google を非表示 */
.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  font-size: 0;
}

.goog-te-gadget-simple {
  border: none !important;
  background: transparent !important;
}

/* Google翻訳の余計な文字を非表示 */
.goog-te-gadget {
  font-size: 0 !important;
}

/*
.goog-te-gadget span {
  display: none !important;
}
*/

/* Powered by Google を消す */
.goog-logo-link {
  display: none !important;
}

/* 翻訳バー余白調整 */
.goog-te-gadget {
  color: transparent !important;
}

/* セレクトボックス */
.goog-te-combo {
  padding: 5px;
  font-size: 14px;
}

.goog-te-gadget img {
  display: none !important;
}

.goog-te-gadget-simple {
  border: none !important;
  background: transparent !important;
}

/*-------------------------------------------
お問い合わせフォーム
-------------------------------------------*/
/* ボタン
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-form .button,
.contact-form button,
.contact-form input[type="submit"],
.contact-form input[type="reset"],
.contact-form input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box; }
.contact-form .button:hover,
.contact-form button:hover,
.contact-form input[type="submit"]:hover,
.contact-form input[type="reset"]:hover,
.contact-form input[type="button"]:hover,
.contact-form .button:focus,
.contact-form button:focus,
.contact-form input[type="submit"]:focus,
.contact-form input[type="reset"]:focus,
.contact-form input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0; 
}

/* フォーム
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-form input[type="email"],
.contact-form input[type="number"],
.contact-form input[type="number"],
.contact-form input[type="search"],
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="password"],
.contact-form textarea,
.contact-form select {
  height: 38px;
  padding: 6px 10px;
  background-color: #fff;
  border: 1px solid #D1D1D1;
  box-shadow: none;
  box-sizing: border-box;
  font-size: 16px;}

.contact-form input[type="email"],
.contact-form input[type="number"],
.contact-form input[type="search"],
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="password"],
.contact-form textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
.contact-form textarea {
  min-height: 150px;
  padding-top: 6px;
  padding-bottom: 6px; }
.contact-form input[type="email"]:focus,
.contact-form input[type="number"]:focus,
.contact-form input[type="search"]:focus,
.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="url"]:focus,
.contact-form input[type="password"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border: 1px solid #0FA0CE;
  outline: 0; }
.contact-form label,
.contact-form legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500; }
.contact-form fieldset {
  padding: 0;
  border-width: 0; }
.contact-form input[type="checkbox"],
.contact-form input[type="radio"] {
  display: inline; }
.contact-form label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; 
}

/* コード
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-form code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
.contact-form pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* テーブル
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-form table {
	border-collapse: collapse; }
.contact-form th,
.contact-form td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
.contact-form th:first-child,
.contact-form td:first-child {
  padding-left: 0; }
.contact-form th:last-child,
.contact-form td:last-child {
  padding-right: 0; }


/* スペース
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-form button,
.contact-form .button {
  margin-bottom: 1rem; }
.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form fieldset {
  margin-bottom: 1.5rem; }
.contact-form pre,
.contact-form blockquote,
.contact-form dl,
.contact-form figure,
.contact-form table,
.contact-form p,
.contact-form ul,
.contact-form ol,
.contact-form form {
  margin-bottom: 1rem; }


/* 全幅
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-form .full-width {
  width: 100%;
  box-sizing: border-box; }
.contact-form .max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.contact-form .pull-right {
  float: right; }
.contact-form .pull-left {
  float: left; }


/* 罫線
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-form hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; 
}

/* 配置の調整
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form table {
  width: 100%;
}

.contact-form th,
.contact-form td {
  text-align: left;
  vertical-align: top;
}

.contact-form h2.center,
.contact-form p.center {
  text-align: center;
}

/*-------------------------------------------
よくある質問
-------------------------------------------*/
#faq h2.center {
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 60px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1rem;
  font-weight: bold;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .icon {
  content: "-";
}

/*-------------------------------------------
Language
-------------------------------------------*/

#header{
    position: relative;
}

.language-selector{
    position:absolute;
    top:18px;
    right:260px;   /* 「お問い合わせ」の左 */
    z-index:999;
}

.language-selector select{
    padding:6px 12px;
    font-size:14px;
    border:1px solid #ccc;
    border-radius:5px;
    background:#fff;
    cursor:pointer;
}

.language-selector select:hover{
    border-color:#666;
}