@charset "utf-8";

/*------------------------------------------------
Web Fonts
------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&amp;display=swap&amp;subset=japanese");
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&amp;display=swap&amp;subset=japanese');

/*------------------------------------------------
Variables
------------------------------------------------*/

:root {
  /* Color */
  --primary-color: #6fb6f2;
  --primary-text-color: #333;

  /* Layout */
  --header-size-sp: 60px;
  --header-size-pc: 180px;
}

/*------------------------------------------------
基本
------------------------------------------------*/


html {
  font-size: 62.5%;  /* フォントサイズを10pxに設定 */
  box-sizing: border-box;
}

body {
  color: var(--primary-text-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;  /* 14px */
  line-height: 2;
  position: relative;
}

@media print, screen and (min-width: 769px) {
  html {
    min-width: 1024px;
  }

  body {
    font-size: 1.6rem;  /* 16px */
    min-width: 1024px;
  }
}


/*----- コンテンツが少ない場合に、フッターを最下部に固定 -----*/

html {
  display: flex;
  flex-direction: column;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
  min-height: 1%;
}

@media print, screen and (min-width: 769px) {
  body {
    min-height: 100vh;
  }
}


/*----- リンクホバー -----*/
a {
  color: inherit;
  text-decoration: none;
}

/* a:hover {
  opacity: .7;
} */

/*----- PCで電話番号リンク無効 -----*/
@media print, screen and (min-width: 769px) {
  a[href^="tel:"] {
    /*    color: inherit;*/
    text-decoration: none;
    pointer-events: none;
  }
}

/*----- イメージ下スペース削除 右クリック禁止 -----*/
img {
  vertical-align: middle;
}

/*----- テーブルスタイル削除 -----*/
table {
  border-collapse: collapse;
}

/*----- リストスタイル削除 -----*/
ul, ol {
  list-style: none;
}


/*----- 可変BRタグ -----*/
.brake-sp {
  display: inline-block;
}

@media print, screen and (min-width: 667px) {
  .brake-sp {
    display: none;
  }
}

.brake-tb {
  display: none;
}

@media print, screen and (min-width: 667px) {
  .brake-tb {
    display: inline-block;
  }
}

.brake-pc {
  display: none;
}

@media print, screen and (min-width: 769px) {
  .brake-pc {
    display: inline-block;
  }
}

/*------------------------------------------------
ヘッダー
------------------------------------------------*/
#header {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 320px;
  background-color: var(--primary-color);
  height: var(--header-size-sp);
}

.header-inner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-left: 10px;
}

.header-title {
  z-index: 10;
}

.header-title-logo {
  height: calc(var(--header-size-sp) - 30px);
  display: flex;
}

.header-title-logo > img {
  height: 100%;
  width: auto;
}



@media print, screen and (min-width: 769px) {
  #header {
    position: inherit;
    height: var(--header-size-pc);
  }
  .header-inner {
    max-width: 1000px;
    height: 125px;
    padding-top: 20px;
    padding-left: 0;
    margin: auto;
  }
  .header-title {
    padding-left: 0;
  }
  .header-title-logo {
    width: 370px;
    height: auto;
  }
  .header-title-logo > img {
    width: 100%;
  }
}

/*----- nav-open Style -----*/

.language-link {
  width: 65px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-left: auto;
}

.language-link-item {
  width: 30px;
  height: 30px;
}

.language-link-item-button {
  width: 100%;
  height: 100%;
  display: block;
  background-size: contain;
  background-position: center center;
}

.language-link-item-button-inner {
  display: none;
}

.language-link-item:nth-of-type(1) .language-link-item-button {
  background-image: url(../../images/common/icon_usa.svg);
}
.language-link-item:nth-of-type(2) .language-link-item-button{
  background-image: url(../../images/common/icon_cn.svg);
}

@media print, screen and (min-width: 769px) {
  .language-link {
    width: 75px;
  }

  .language-link-item {
    width: auto;
    height: auto;
    text-indent: 0;
    font-weight: bold;
    line-height: 1.5;
  }

  .language-link-item-button {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .language-link-item-button::before {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 6px);
    left: -15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 8px;
    border-color: rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,1);
  }
  .language-link-item-button-inner {
    display: block;
  }
  .language-link-item:nth-of-type(1) .language-link-item-button {
    background-image: none;
  }
  .language-link-item:nth-of-type(2) .language-link-item-button{
    background-image: none;
  }
}

/*========== ヘッダーナビゲーション ==========*/

/*----- nav-open Style -----*/
.nav-open .header-nav {
  display: block;
  animation-name: header-nav-fade-in;
  animation-duration: .3s;
  background-color: var(--primary-color);
}

@keyframes header-nav-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.header-nav {
  display: none;
  position: fixed;
  top: var(--header-size-sp);
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.header-nav-list {
  width: 100%;
  height: 100vh;
}
.header-nav-item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: auto;
}
.header-nav-item a {
  color: var(--primary-text-color);
  width: 100%;
  height: 100%;
  text-align: center;
  font-weight: bold;
  display: block;
  padding: 20px;
}
.header-nav-item-button.for-pc {
  display:none;
}
.header-nav-item-button.for-sp.open-button {
  cursor: pointer;
  position: relative;
}
.header-nav-item-button.for-sp.open-button::after {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: solid 2px rgba(44, 67, 144, 1);
  border-right: solid 2px rgba(44, 67, 144, 1);
  right: 15px;
  top: calc(50% - 5px);
  transform: rotate(135deg);
  position: absolute;
  transition: .5s transform;
}

.header-nav-item-button.for-sp.open-button.active::after {
  transform: rotate(-45deg);
  transition: .5s transform;
}

@media print, screen and (min-width: 769px) {
  .header-nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow-y: inherit;
    height: 55px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    top:0;
  }
  .header-nav-list {
    margin: auto;
    width: 1000px;
    height: 54px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
  }
  .header-nav-item {
    width: calc(100% / 7);
    height: 100%;
  }

  .header-nav-item > a {
    width: 100%;
    height: 100%;
    padding:0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  .header-nav-item > a:hover {
    background-color: #fff;
    opacity: 1;
  }
  .header-nav-item-button.for-pc {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  .header-nav-item-button.open-button.for-sp {
    display: none;
  }
}

/*========== アコーディオン ==========*/


.accordion-label {
  color: var(--primary-color);
  position: relative;
  padding: 15px;
  width: 100%;
  text-align: center;
}

.accordion-item:not(:last-of-type) {
  border-bottom: 1px dashed #ccc;
}

.accordion-item:hover {
  cursor: pointer;
}

.accordion-list-box {
  width: 100%;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all .15s;
}

.active+.accordion-list-box {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
  transition: all .15s;
}

.accordion-item a {
  color: var(--primary-text-color);
  padding: 10px 0;
  font-size: .9em;
  opacity: .8;
  background-color: #fff;
}

.accordion-item a::before {
  content: "-";
  margin-right: 5px;
}

@media print, screen and (min-width: 769px) {

  .accordion-list-box {
    top: 54px;
    width: 100%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    position: absolute;
    left: 0;
  }

  .header-nav-item:hover .accordion-list-box {
    opacity: 1;
    visibility: visible;
    transition: all .3s;
  }

  .accordion-item:not(:last-of-type) {
    border-bottom: none;
  }

  .accordion-list {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
  }

  .accordion-item a {
    display: block;
    height: auto;
    padding: 15px 25px;
    line-height: 1.2;
    opacity: 1;
    color: var(--primary-text-color);
    background-color: rgba(255, 255, 255, 0);
    position: relative;
  }
  .accordion-item a:hover::after {
    content: "";
    display: block;
    position: absolute;
    left: 10px;
    top: calc(50% - 4px);
    border-style: solid;
    border-width: 4px 6px;
    border-color: rgba(111, 182, 242, 0) rgba(111, 182, 242, 0) rgba(111, 182, 242, 0) rgba(111, 182, 242, 1);
  }
  .accordion-item a::before {
    display: none;
  }
  .accordion-item.for-sp {
    display: none;
  }
}

/*========== ナビゲーショントリガー ==========*/

.nav-trigger {
  position: relative;
  width: 50px;
  height: var(--header-size-sp);
}

@media print, screen and (min-width: 769px) {
  .nav-trigger {
    display: none;
  }
}

/*========== ハンバーガーアイコン ==========*/

.humberger-icon {
  margin: 14px auto 15px;
}

.humberger-icon,
.humberger-icon::before,
.humberger-icon::after {
  display: block;
  position: relative;
  height: 3px;
  width: 30px;
  background-color: #2b3e5b;
}

.humberger-icon::before,
.humberger-icon::after {
  content: "";
  position: absolute;
  transition: transform .3s;
}

.humberger-icon::before {
  transform: translateY(-10px);
}

.humberger-icon::after {
  transform: translateY(10px);
}

.nav-open .humberger-icon {
  background-color: rgba(255, 255, 255, 0);
}

.nav-open .humberger-icon::before {
  transform: rotate(-45deg);
}

.nav-open .humberger-icon::after {
  transform: rotate(45deg);
}

/*========== グローバルナビゲーションオープン時のスクロールロック ==========*/

.no-scroll {
  position: fixed;
  width: 100%;
  height: 100%;
}

/*------------------------------------------------
フッター
------------------------------------------------*/


#footer {
  width: 100%;
  background-color: var(--primary-color);
}

.footer-inner {
  padding: 10px 0;
}
.footer-logo {
  width: 45%;
  max-width: 150px;
  margin: 0 auto 10px;
}
.footer-logo-button {
  width: 100%;
}
.footer-logo-button > img {
  width: 100%;
}

@media print, screen and (min-width: 769px) {
  /* #footer {} */
  .footer-inner {
    padding: 12.5px 0;
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }
  .footer-logo {
    width: 220px;
    max-width: 220px;
    margin: 0 auto 0 0;
  }
}

/*========== フッターナビゲーション ==========*/

.footer-nav {
  width: 100%;
  display: block;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav-item {
  width: 50%;
  height: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-nav-item:nth-of-type(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-nav-item-button {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
}

@media print, screen and (min-width: 769px) {
  .footer-nav {
    width: 600px;
  }

  .footer-nav-list {
    justify-content: flex-end;
  }
  .footer-nav-item {
    width: auto;
    height: auto;
    padding: 0 25px;
    border-top: none;
    margin-top: 7px;
    margin-bottom: 7px;
  }

  .footer-nav-item:nth-of-type(even) {
    border-right: 1px solid rgba(0, 0, 0, 0.3);
  }
  .footer-nav-item:nth-of-type(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.3);
  }
  .footer-nav-item-button {
    line-height: 1;
    font-size: 1.3rem;
  }
}

/*========== コピーライト ==========*/

.copyright {
  text-align: center;
  font-size: 1rem;
  /*  font-weight: bold;*/
  line-height: 1;
  padding-top: 5px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

@media print, screen and (min-width: 769px) {
  .copyright {
    /*    font-size: 1.1rem;*/
    text-align: right;
    border-top: none;
    padding-top: 10px;
  }
}


/*------------------------------------------------
メインコンテンツ
------------------------------------------------*/

.content-inner {
  padding: 15px;
}

@media print, screen and (min-width: 769px) {
  .content-inner {
    max-width: 1000px;
    margin: auto;
    padding: 0;
  }
}


/*------------------------------------------------
ページヘッダー
------------------------------------------------*/
.page-header {
  padding-top:  var(--header-size-sp);
  background-position: center;
  background-size: cover;
}

.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.page-header-title {
  color: #fff;
  font-family: "Noto serif JP", serif;
  text-shadow: 0 0 5px rgba(37, 58, 78, 1), 0 0 10px rgba(37, 58, 78, 1), 0 0 20px rgba(37, 58, 78, 1), 0 0 30px rgba(37, 58, 78, 1);
  font-weight: normal;
  text-align: center;
}

.page-header-title > .ruby {
  font-size: 1.2rem;
  display: block;
}

/*product*/
.page-header.product-bg {
  background-image: url(../../images/product/product_page_header_bg.jpg);
  background-position: center bottom;
}
/*process*/
.page-header.process-bg {
  background-image: url(../../images/process/process_page_header_bg.jpg);
  background-position: center bottom;
}
/*csr*/
.page-header.csr-bg {
  background-image: url(../../images/csr/csr_page_header_bg.jpg);
  background-position: center bottom;
}
/*environment-quality*/
.page-header.environment-quality-bg {
  background-image: url(../../images/environment-quality/environment_quality_page_header_bg.jpg);
  background-position: center bottom;
}

/*recruit*/
.page-header.recruit-bg {
  background-image: url(../../images/recruit/recruit_page_header_bg.jpg);
  background-position: center bottom;
}
/*staff-voice*/
.page-header.staff-voice-bg {
  background-image: url(../../images/recruit/staff-voice/staff_voice_page_header_bg.jpg);
  background-position: center top 50px;
}
/*guidelines*/
.page-header.guidelines-bg {
  background-image: url(../../images/recruit/guidelines/guidelines_page_header_bg.jpg);
  background-position: right top;
}
/*internship*/
.page-header.internship-bg {
  background-image: url(../../images/recruit/internship/internship_page_header_bg.jpg);
  background-position: right top;
}

/*company*/
.page-header.company-bg {
  background-image: url(../../images/company/company_page_header_bg.jpg);
  background-position: center bottom;
}
/*message*/
.page-header.message-bg {
  background-image: url(../../images/company/message/message_page_header_bg.jpg);
  background-position: center bottom;
}
/*history*/
.page-header.history-bg {
  background-image: url(../../images/company/history/history_page_header_bg.jpg);
  background-position: center bottom;
}
/*factory*/
.page-header.factory-bg {
  background-image: url(../../images/company/factory/factory_page_header_bg.jpg);
  background-position: center bottom;
}

/*contact*/
.page-header.contact-bg {
  background-image: url(../../images/contact/contact_page_header_bg.jpg);
  background-position: center bottom;
}
/*privacy-policy*/
.page-header.privacy-policy-bg {
  background-image: url(../../images/privacy-policy/privacy_policy_page_header_bg.jpg);
  background-position: center bottom;
}

@media print, screen and (min-width: 769px) {
  .page-header {
    padding-top: 0;
  }
  .page-header-inner {
    height: 345px;
  }
  .page-header-title {
    font-size: 6rem;
    letter-spacing: 0.1em;
  }
  .page-header-title > .ruby {
    font-size: 3rem;
  }
  /*staff-voice*/
  .page-header.staff-voice-bg {
    background-position: center center;
  }
  /*guidelines*/
  .page-header.guidelines-bg {
    background-position: right top;
  }
}


/*------------------------------------------------
セクションタイトル
------------------------------------------------*/

.headlined-text {
  font-family: "Noto serif JP", serif;
}

/*水平線*/
.title-type-horizon {
  display: flex;
  align-items: center;
  padding: 50px 0 30px;
  font-size: 2rem;
}

.title-type-horizon:before,
.title-type-horizon:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #d0d0d0;
}

.title-type-horizon:before {
  margin-right: 30px;
}

.title-type-horizon:after {
  margin-left: 30px;
}

@media print, screen and (min-width: 769px) {
  .title-type-horizon {
    font-size: 3rem;
    padding: 100px 0 30px;
  }
}

/*付箋*/
.title-type-tag {
  font-size: 1.8rem;
  font-family: "Noto serif JP", serif;
  line-height: 1;
  background-color: #dceaf6;
  border-left: 35px solid #2c4390;
  padding: 15px;
}

.title-type-tag span {
  display: inline-block;
  font-size: 1.6rem;
}

@media print, screen and (min-width: 769px) {
  /*付箋*/
  .title-type-tag {
    font-size: 2.4rem;
  }
}

/*アンダーライン*/
.title-type-underline {
  font-size: 1.8rem;
  font-family: "Noto serif JP", serif;
  line-height: 1;
  display: block;
  text-align: center;
  margin: 25px auto;
  position: relative;
  padding: 25px 20px;
}
.title-type-underline::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 3px;
  background-color:#2c4390;
  left: 0;
  bottom: 0;
  position: absolute;
}

.title-type-underline .ruby {
  display: block;
  font-size: 1.4rem;
  padding-top: 10px;
}

@media print, screen and (min-width: 769px) {
  .title-type-underline {
    font-size: 3rem;
    margin: 70px auto 50px;
    width: 510px;
  }
  .title-type-underline .ruby {
    font-size: 1.8rem;
  }
}

/*アイコン付きタイトル*/
.title-type-icon-square::before {
  content: "■";
  color: var(--primary-color);
  display: inline-block;
}



/*------------------------------------------------
ページトップボタン
------------------------------------------------*/

.pagetop-button {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  bottom: 70px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  position: fixed;
  z-index: 100;
}

.pagetop-button::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 5px 10px 0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

@media print, screen and (min-width: 769px) {
  .pagetop-button {
    bottom: 30px;
    right: 30px;
  }
}

.link-underline {
  color: #2c4390;
  border-bottom: 1px solid #2c4390;
}

.link-underline:hover {
  color: #2c4390;
  border-bottom: 1px dashed #2c4390;
}
