@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  background-color: #fcfcfc;
  color: #000;
  font-size: 0.875rem;
	font-family: "Helvetica Neue",
    "Arial",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif !important;
}
a {
  color: #000;
  font-size: 0.875rem;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

.logo {
  width: 150px;
  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: 3.8rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
color: #1b459e;
}
.section-title .ja {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 36px;
	color: #1b459e;
}
/*
横幅を設定するための共通クラス
*/
.wrapper {
  width: 100%;
  max-width: 80%;
  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 li:last-child {
  margin-right: 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;
}

/*-------------------------------------------
content
-------------------------------------------*/
.content {
  display: flex;
  width: 100%;
  margin: 100px auto;
}
/*
「z-index: 10;」を設定して、画面幅を狭めた際に
テキストが画像の上にくるようにする
*/
.content .left {
  width: 35%;
  position: relative;
  z-index: 10;
}
.content .left .text-area {
  position: absolute;
  top: 60px;
  left: 60px;
}
.content .left .title {
  line-height: 1;
  margin-bottom: 56px;
}
/*
「display: block;」を設定することで、
改行されてmargin-bottomが効くようになる。
※spanタグはデフォルトではinlineのため、
改行もされないしmargin-bottomも効かない
*/
.content .left .title .en {
  display: block;
  font-size: 4.375rem;
  font-weight: bold;
  margin-bottom: 12px;
	color: #1b459e;
}
.content .left .title .ja {
  display: block;
  font-size: 2.375rem;
	color: #1b459e;
}
.content .left .copy {
  font-size: 1.5rem;
}
/*
clip-pathプロパティのpolygonを使って画像を斜めにする
指定方法は、要素の各点のX座標とy座標を左上から順に指定する
今回は、画像の左上の点を右側にずらしたい為、
polygonの1番目のX座標に160pxを設定している
※詳細は「clip-path」で検索
*/
.content .right {
  width: 65%;
  clip-path: polygon(160px 0, 100% 0, 100% 100%, 0 100%);
}
/*
「vertical-align: bottom;」で画像の下にできる隙間を消す
「object-fit: cover;」で高さを500pxで固定したままトリミングする
※「object-fit」はIEでは正しく動作しないため注意が必要
*/
.content .right img {
  width: 100%;
  height: 500px;
  vertical-align: bottom;
  object-fit: cover;
}

/*-------------------------------------------
About
-------------------------------------------*/
.image-wrapper {
  width: 90%;
  margin: 0 auto; /* 中央寄せ */
}

.image-wrapper img {
  display: block;   /* 余白防止 */
  width: 100%;
  height: auto;
}

/*-------------------------------------------
Company
-------------------------------------------*/
.company-section {
  background-color: #1B459E;
  width: 100%;
  color: #fff;
}

.company-inner {
  width: 80%;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 60px 0;
}

.company-info {
  flex: 1;
}

.company-info h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.company-info p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.company-map {
  flex: 1;
  min-height: 300px;
}
/*-------------------------------------------
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.8rem;
}

/*-------------------------------------------
go to top
-------------------------------------------*/
.gotop {
  display: block;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  background: #FFF;
  border: 1px solid #999;
  padding-top: 30px;
  text-align: center;
  letter-spacing: -1px;
  font-size: 85%;
  text-decoration: none;
  color: #333;
  opacity: 0.5;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
}
.gotop::before {
  content: "";
  display: block;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  width: 25%;
  height: 25%;
  top: 25%;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg);
}
.gotop:hover {
  opacity: 1;
}

/*-------------------------------------------
TABLET
-------------------------------------------*/
@media screen and (max-width:1025px) {
.content .left .text-area {
  position: absolute;
  top: 65px;
  left: 55px;
}
/*
「display: block;」を設定することで、
改行されてmargin-bottomが効くようになる。
※spanタグはデフォルトではinlineのため、
改行もされないしmargin-bottomも効かない
*/
.content .left .title .en {
  font-size: 3.3rem;
}
.content .left .title .ja {
  font-size: 1.2em;
}
.content .left .copy {
  font-size: 1.2rem;
}
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 768px) {
  .logo {
    width: 80px;
    margin: 8px 0;
  }
  .section-title {
    margin-bottom: 34px;
  }
  .section-title .ja {
    margin-bottom: 24px;
  }

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

  /*-------------------------------------------
  content
  -------------------------------------------*/
 .content {
    flex-direction: column;
  }
  .content .left {
    width: 100%;
    padding: 0 16px;
    margin-bottom: 20px;
  }
  .content .left .title .en {
    font-size: 2.25rem;
  }
  /*
  「position: static;」で absolute を解除する
  */
  .content .left .text-area {
    position: static;
  }
  /*
  スマホ表示の場合は画像を四角にするため、
  clip-pathにnoneを設定して斜めの設定をリセットする
  */
  .content .right {
    width: 100%;
    clip-path: none;
  }

  /*-------------------------------------------
  About
  -------------------------------------------*/
  .image-wrapper {
    width: 100%;
  }

  /*-------------------------------------------
  Company
  -------------------------------------------*/
  .company-inner {
    flex-direction: column;
    width: 90%;
  }

  .company-map {
    min-height: 250px;
  }

  /*-------------------------------------------
  footer
  -------------------------------------------*/
  #footer .flex {
    flex-direction: column;
    align-items: flex-start;
  }
  #footer .flex .logo {
    margin-bottom: 10px;
  }
	
/*-------------------------------------------
  go to top
  -------------------------------------------*/
.gotop {
    width: 35px;
    height: 35px;
    text-indent: -9999px;
    opacity: 1;
    border: none;
    background: none;
    bottom: 10px;
    right: 10px;
  }
  .gotop::before {
    bottom: 0;
  }
}