@charset "utf-8";
/*
カラー設定
明るいブルー：　#09629c
暗いブルー：　#074e7c
*/

html {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro W3', 'Lucida Grande', 'Verdana', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-width: 1000px;
  color: #333;
}

#wrap {
  overflow: hidden;
}

a {
  color: #333;
  text-decoration: none;
}

.cf:after {
  display: block;
  content: "";
  clear: both;
}

/* アルファ */

a.alpha, a.alpha img, img.alpha {
  opacity: 1;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

a.alpha:hover, a.alpha:hover img, img.alpha:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
  -ms-filter: "alpha(opacity=60)";
}

.inner {
  position: relative;
  margin: 0 auto;
  width: 1000px;
}

/* header */

#header {
  width: 100%;
  height: 640px;
  z-index: 0;
}

#header .subaru_logo {
  position: absolute;
  top: 0;
  z-index: 9999;
}

#header ul {
  position: absolute;
  right: 0;
  top: 30px;
  list-style: none;
  z-index: 998;
}

#header ul li {
  float: left;
  margin-right: 12px;
}

#header .logo {
  position: absolute;
  top: 125px;
  width: 100%;
  z-index: 9998;
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
}

#header h1 {
  font-size: 4em;
  color: #fff;
  width: 3em;
  height: 3em;
  font-family: Avenir;
}

#header .logo img {
  display: inline-block;
  margin: 0 auto;
  vertical-align: bottom;
}

#header .logo div.animation {
  width: 300px;
  height: 190px;
  margin: 0 auto;
}

#header #slide {
  position: relative;
  width: 100%;
  height: 100%;
}

#header #slide div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat center top;
  background-size: cover;
  display: none;
  z-index: 1;
}

#header #slide div.s01 {
  display: block;
  background-image: url('../img/key_01.png');
  z-index: 2;
}

#header #slide div.s02 {
  background-image: url('../img/key_02.png');
}

#header #slide div.s03 {
  background-image: url('../img/key_03.png');
}

#header #slide div.s04 {
  background-image: url('../img/key_04.png');
}

#header #slide div.s05 {
  background-image: url('../img/key_05.png');
}

#header #slide div.s06 {
  background-image: url('../img/key_06.png');
}

#header #slide div.s07 {
  background-image: url('../img/key_07.png');
}

#header #slide div.s08 {
  background-image: url('../img/key_08.png');
}

#header .vehicle_name {
  position: absolute;
  top: 100px;
  right: 20px;
  z-index: 10;
}

#header .vehicle_name img {
  display: none;
}

#header .vehicle_name img:first-child {
  display: inline;
  ;
}

/* boxer text */

#boxer_text {
  margin: 0 auto;
  background: #fff;
}

#boxer_text dl dt, #boxer_text dl dd {
  display: table-cell;
  vertical-align: middle;
}

#boxer_text dl dt {
  padding-left: 88px;
  padding-right: 80px;
  height: 208px;
}

#boxer_text dl dd {
  font-size: 16px;
  line-height: 30px;
}

/* navigation */

#nav .fixbar {
  position: absolute;
  color: #fff;
  width: 100%;
  height: 60px;
  min-width: 1000px;
  background: #074e7c;
  top: 850px;
  z-index: 999;
}

#nav.fixed .fixbar {
  position: fixed;
  top: 0;
}

#nav .logo {
  float: left;
  margin: 8px 94px 0 75px;
}

#nav ul {
  height: 60px;
  list-style: none;
  text-align: center;
}

#nav ul li {
  display: inline-block;
  padding-right: 45px;
}

#nav ul li a {
  display: block;
  text-align: center;
  line-height: 60px;
  font-size: 14px;
  color: #fff;
}

#sp_nav {
  display: none;
}

/* contents */

#area_01, #area_02, #area_03 {
  padding-bottom: 160px;
}

#area_01 {
  background-color: #09629c;
}

#area_01 .engine {
  position: absolute;
  top: 135px;
  right: -10px;
  z-index: 1;
}

#area_02 {
  background-color: #2e79aa;
}

#area_02 .engine {
  position: absolute;
  top: 135px;
  right: -10px;
  z-index: 2;
}

#area_03 {
  background-color: #5f99be;
}

#area_03 .engine {
  position: absolute;
  top: 135px;
  right: -10px;
  z-index: 3;
}

.content {
  position: relative;
  padding-top: 60px;
  min-height: 700px;
  z-index: 99;
  color: #fff;
}

.content h2 .title {
  margin-top: 135px;
  width: 309px;
}

.content .textarea {
  margin-top: 30px;
  padding: 140px 0 20px;
  background: url("../img/vertical_line_155.png") repeat-y left top;
}

.content .textarea .text {
  position: relative;
  width: 735px;
  margin-left: 240px;
  z-index: 8888;
}

.content .textarea .text h3 {
  font-size: 30px;
  margin-bottom: 20px;
}

.content .textarea .text p {
  font-size: 16px;
  line-height: 30px;
}

table {
  color: #fff;
}

table tr.left {
  float: left;
}

table td.age {
  width: 115px;
  text-align: right;
}

table td.mark {
  width: 45px;
  background: url(../img/vertical_line.png) repeat-y top right;
  text-align: right;
}

#area_01 table td.mark img {
  background: #09629c;
}

#area_02 table td.mark img {
  background: #2e79aa;
}

#area_03 table td.mark img {
  background: #5f99be;
}

table td.thumnail {
  padding-left: 78px;
}

table td.thumnail video, table td.thumnail img {
  max-width: 300px;
  margin-right: 20px;
}

table td.thumnail img.thumb {
  display: none;
}

table td.thumnail p {
  display: inline-block;
  vertical-align: middle;
  width: 400px;
}

table tr.comment .thumnail {
  display: none;
}

table tr.header {
  height: 80px;
}

table tr.footer {
  height: 40px;
}

.more_btn {
  float: left;
  position: relative;
  cursor: pointer;
  z-index: 99;
}

.more_btn .large {
  display: block;
  width: 1000px;
}

.more_btn .small {
  display: none;
}

/* area_04 */

#area_04 {
  position: relative;
  padding: 110px 0 80px;
}

#area_04 .animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: -1;
  text-align: center;
}

#area_04 .animation img {
  position: absolute;
  width: 100%;
  height: auto;
}

#area_04 .why_boxer {
  margin-left: 150px;
}

#area_04 img {
  margin-right: 60px;
}

#area_04 img.text {
  position: absolute;
  right: 100px;
  top: 70px;
  width: 347px;
}

#area_04 .sub_title {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
}

#area_04 p {
  margin-left: 70px;
  width: 860px;
  font-size: 16px;
}

/* area_05 */

#area_05 {
  padding: 60px 0;
}

#area_05 .spec {
  margin-bottom: 60px;
}

#area_05 .spec div.text {
  float: left;
  width: 520px;
  margin-right: 80px;
}

#area_05 h3 {
  margin-bottom: 50px;
  font-size: 35px;
  color: #09629b;
  border-bottom: solid 1px #09629b;
}

#area_05 h4 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #09629b;
}

#area_05 div.movie {
  float: right;
  position: relative;
}

#area_05 div.movie video {
  width: 100%;
}

#area_05 img.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 67px;
  height: 67px;
  margin-left: -32px;
  margin-top: -32px;
  z-index: 10;
}

#area_05 img.thumb {
  display: none;
}

/* #area_06 { min-width: 1000px; } */

#area_06 .title {
  line-height: 92px;
  text-align: center;
  background: #3a81af;
}

#area_06 .title img {
  width: 387px;
}

#area_06 .inner {
  padding: 60px 0;
  text-align: center;
}

#area_06 .inner a {
  width: 490px;
  box-sizing: border-box;
}

#area_06 .inner a:first-child {
  margin-right: 10px;
}

#area_06 .inner a img {
  width: 490px;
}

/* footer */

#footer {
  background: #000;
  color: #fff;
  font-size: 12px;
  text-align: center;
  line-height: 50px;
  min-width: 1000px;
}

#footer div.sns {
  display: none;
}

/***************************************************************************/

@media screen and (max-width: 768px) {
  body {
    min-width: 90%;
  }
  .inner {
    width: 90%;
  }
  #header {
    width: 100%;
    height: 450px;
    z-index: 0;
  }
  #header .inner {
    position: relative;
    width: 100%;
  }
  #header .vehicle_name {
    top: 15px;
    right: 20px;
    text-align: right;
  }
  #header .vehicle_name img {
    width: 70%;
  }
  #header .logo {
    position: absolute;
    top: 180px;
    width: 100%;
    z-index: 99;
  }
  #header .logo img {
    display: inline-block;
    margin: 0 auto;
  }
  #header .logo div.animation {
    width: 300px;
    height: 190px;
    margin: 0 auto;
  }
  #header a.subaru_logo, #header ul {
    display: none;
  }
  #header #slide div.s01 {
    background-image: url('../img/sp_key_01.png');
  }
  #header #slide div.s02 {
    background-image: url('../img/sp_key_02.png');
  }
  #header #slide div.s03 {
    background-image: url('../img/sp_key_03.png');
  }
  #header #slide div.s04 {
    background-image: url('../img/sp_key_04.png');
  }
  #header #slide div.s05 {
    background-image: url('../img/sp_key_05.png');
  }
  #header #slide div.s06 {
    background-image: url('../img/sp_key_06.png');
  }
  #header #slide div.s07 {
    background-image: url('../img/sp_key_07.png');
  }
  #boxer_text {
    margin: 0 auto;
    padding: 10% 0;
    background: #fff;
  }
  #boxer_text dl {
    text-align: center;
  }
  #boxer_text dl dt {
    display: block;
    margin: 0;
    padding: 0;
    height: 127px;
  }
  #boxer_text dl dd {
    text-align: left;
    font-size: 16px;
    line-height: 28px;
  }
  #boxer_text br {
    display: none;
  }
  #area_01, #area_02, #area_03 {
    padding-bottom: 25%;
  }
  #area_01 {
    background-color: #09629c;
  }
  #area_01 .engine, #area_02 .engine, #area_03 .engine {
    position: relative;
    top: 0;
    margin-top: 10%;
    z-index: 1;
  }
  #area_01 .engine {
    left: 0px;
    width: 90%;
  }
  #area_02 {
    background-color: #2e79aa;
  }
  #area_02 .engine {
    left: 30px;
    width: 90%;
  }
  #area_03 {
    background-color: #5f99be;
  }
  #area_03 .engine {
    left: -30px;
    margin-bottom: 10%;
    width: 110%;
  }
  .content {
    position: relative;
    z-index: 99;
    color: #fff;
    text-align: center;
  }
  .content h2 .title {
    margin-top: 0px;
    width: 70%;
    max-width: 309px;
  }
  .content .textarea {
    margin: -10% 0 10%;
    padding: 0;
    background-image: none;
  }
  .content .textarea .text {
    position: relative;
    width: 100%;
    margin-left: 0;
    z-index: 8888;
  }
  .content .textarea .text h3 {
    font-size: 26px;
    margin-bottom: 5%;
  }
  .content .textarea .text p {
    font-size: 16px;
    line-height: 28px;
    text-align: left;
  }
  table {
    margin: 0 auto;
  }
  table td.age {
    width: 54px;
  }
  table td.mark {
    width: 10%;
    background: url(../img/vertical_line.png) repeat-y top center;
    text-align: center;
  }
  table td.mark img {
    background: #09629c;
  }
  table td.thumnail {
    padding-left: 0;
    text-align: left;
  }
  table td.thumnail video, table td.thumnail img {
    float: none;
    width: 100%;
    max-width: 300px;
    margin-left: 0;
    margin-bottom: 10px;
  }
  table td.thumnail img.thumb {
    display: inline;
  }
  table td.thumnail p {
    display: none;
  }
  table tr.comment td.thumnail {
    display: block;
    width: 100%;
    max-width: 300px;
  }
  table tr.footer {
    height: 30px;
  }
  .more_btn {
    width: 100%;
  }
  .more_btn img {
    margin: 0 auto;
    width: 100%;
    max-width: 560px;
  }
  .more_btn .small {
    display: block;
  }
  .more_btn .large {
    display: none;
  }
  #area_04 {
    position: relative;
    padding: 15% 0 10%;
    background: url("../img/boxer_piston/sp.png") center top no-repeat;
    background-size: cover;
  }
  #area_04 .why_boxer {
    margin: 0;
    text-align: center;
  }
  #area_04 img {
    margin: 0;
  }
  #area_04 img.text {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 50px;
    width: 75%;
    max-width: 385px;
  }
  #area_04 img.piston {
    max-width: 200px;
  }
  #area_04 .sub_title {
    margin-top: 15px;
    margin-bottom: 5%;
    font-size: 24px;
    text-align: center;
  }
  #area_04 p {
    margin-left: 0;
    width: 100%;
    font-size: 16px;
    line-height: 28px;
  }
  #area_04 p br {
    display: none;
  }
  #area_05 {
    padding: 10% 0 5%
  }
  #area_05 .spec {
    margin-bottom: 60px;
    text-align: center;
  }
  #area_05 .spec div.text {
    float: none;
    width: 100%;
    margin-bottom: 40px;
    text-align: left;
  }
  #area_05 h3 {
    margin-bottom: 10%;
    padding-bottom: 5%;
    font-size: 32px;
    color: #09629b;
    text-align: center;
    line-height: 45px;
    border-bottom: solid 1px #09629b;
  }
  #area_05 h4 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #09629b;
  }
  #area_05 p {
    font-size: 16px;
  }
  #area_05 div.movie {
    float: none;
    position: relative;
    margin: 0 auto;
    max-width: 415px;
  }
  #area_05 img.thumb {
    display: block;
    width: 100%;
  }
  #area_06 {
    min-width: 90%;
  }
  #area_06 .title {
    text-align: center;
    background: #3a81af;
    line-height: inherit;
  }
  #area_06 .title img {
    padding: 4% 0;
    width: 65%;
  }
  #area_06 .inner {
    padding: 8% 0;
    text-align: center;
  }
  #sp_nav {
    position: relative;
    display: block;
    z-index: 999;
  }
  #sp_nav a.menu {
    position: fixed;
    right: 0;
    margin: 10px;
    padding: 10px 15px;
    z-index: 10000;
    background-color: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }
  #sp_nav a.menu.open img {
    display: inline;
  }
  #sp_nav a.menu .close {
    display: none;
  }
  #sp_nav a.menu.open img {
    display: none;
  }
  #sp_nav a.menu.open .close {
    display: inline;
  }
  #sp_nav div {
    position: fixed;
    display: none;
    padding: 70px 0 30px;
    width: 100%;
    top: 0;
    text-align: center;
    background: #09629b;
    z-index: 9999;
  }
  #sp_nav ul {
    overflow: hidden;
    width: 90%;
    max-width: 556px;
    margin: 0 auto;
  }
  #sp_nav ul li {
    padding: 6% 0;
    margin-top: -1px;
    border-top: solid 1px #fff;
  }
  #sp_nav ul li a {
    display: block;
  }
  #sp_nav ul li a img {
    opacity: 1;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    width: 100%;
    max-width: 556px;
  }
  #sp_nav ul li a img:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
    -ms-filter: "alpha(opacity=60)";
  }
  #nav {
    display: none;
  }
  /* footer */
  #footer {
    padding: 3% 0 5%;
    min-width: inherit;
    width: 100%;
  }
  #footer div.sns {
    display: block;
    width: 80%;
    margin: 5% auto;
    text-align: center;
  }
  #footer .sns a {
    display: inline-block;
    width: 20%;
    margin: 0 12px;
  }
  #footer .sns a img {
    width: 100%;
    height: auto;
  }
  #footer p {
    font-size: 12px;
    line-height: 18px;
  }
}

@media screen and (max-width: 544px) {
  #header {
    width: 100%;
    height: 350px;
    z-index: 0;
  }
  #header .logo {
    top: 60px;
    transform: scale(0.75);
  }
}

@media screen and (max-width: 768px) {
  #area_06 .inner img {
    max-width: 100%;
  }
  #area_06 .inner a {
    width: 100%;
    display: block;
  }
  #area_06 .inner a:first-child {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/*----追加-----*/

#header .ml8 .letters-container {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  height: 1em;
}

#header .ml8 .letters {
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1em;
  right: -0.12em;
  top: -10px;
  text-shadow: 0px 3px 40px #777;
}

#header .ml8 .letters #img02 {
  width: 90px;
}

#header .ml8 .letters #img03 {
  width: 70px;
}

#header .ml8 .bang {
  font-size: 1.4em;
  top: auto;
  left: -0.06em;
}

#header .ml8 .line {
  opacity: 0;
  position: absolute;
  height: 3px;
  width: 146px;
  background-color: #fff;
  transform-origin: 0 0;
}

#header .ml8 .line1 {
  top: 65px;
  left: -156px;
}

#header .ml8 .line2 {
  top: 65px;
  right: -302px;
}

@media screen and (max-width: 768px) {
  #header .ml8 .letters {
    line-height: 1.2em;
  }
  #header h1 {
    font-size: 3em;
  }
  #header .ml8 .letters #img02 {
    width: 60px;
  }
  #header .ml8 .letters #img03 {
    width: 50px;
  }
  #header .ml8 .line {
    width: 112px;
  }
  #header .ml8 .line1 {
    top: 40px;
    left: -125px;
  }
  #header .ml8 .line2 {
    top: 40px;
    right: -238px;
  }
}
