@charset "UTF-8";

html {
  font-size: 100%;
}
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 {
  color: #606060;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 30px;
}
/* 疑似要素を使って下線を引く */
.section-title::after {
  content: "";
  width: 150px;
  height: 1.5px;
  background-color: #ffa200;
  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: 1024px;
  padding: 0 16px;
  margin: 0 auto;
}
.container {
  margin-top: 30px;
}
.select:hover {
  opacity: 0.7;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  height: 80px;
  display: flex;
  align-items: center;
  background-color: rgb(29, 32, 136);
}
#header .logo a {
  width: 100px;
  margin-left: 20px;
}
#header .inner {
  display: flex;
  align-items: center;
}
#header .inner a {
  width: 200px;
}
#header .inner ul {
  display: flex;
  align-items: center;
}
#header .inner li {
  margin-right: 20px;
}
#header .inner li:last-child {
  margin-right: 0;
}
#navi {
  background-color: rgb(29, 32, 136);
}
#navi a {
  color: #fff;
  font-weight: bold;
}
#navi li {
  font-size: 0.875rem;
  padding: 10px 20px 10px 20px;
}

/*-------------------------------------------
画像
-------------------------------------------*/
#content {
  top: 100px;
}
.flex {
  display: flex;
  margin-top: 50px;
}
.flex .left {
  width: 40%;
}
/*
align-content: space-between;
均等配置にして上下を揃える
*/
.flex .right {
  width: 60%;
  display: flex;
  align-content: space-between;
  flex-wrap: wrap;
}
/*
「width: calc(100%/3);」で横幅を3等分した後、
「padding-left: 12px;」で左側にパディングを設定
*/
.flex .right li {
  width: calc(100%/3);
  padding-left: 12px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 900px) {
  /*
  左側の画像と右側の画像を縦に並べる
  */
  .flex {
    flex-direction: column;
  }
  .flex .left {
    width: 100%;
    padding-bottom: 12px;
  }
  .flex .right {
    width: 100%;
  }
  /*
  「width: 50%;」で右側の画像は2列に並べる
  */
  .flex .right li {
    width: 50%;
    padding: 0 0 12px 0;
  }
  /*
  奇数番目の画像は右にパディングを設定
  */
  .flex .right li:nth-child(odd) {
    padding-right: 6px;
  }
  /*
  偶数番目の画像は左にパディングを設定
  */
  .flex .right li:nth-child(even) {
    padding-left: 6px;
  }
}