/*
********************************************************************************
【目次】
■ 01. ヘッダー
■ 02. フッター
■ 03. メイン

※文字サイズ調整：max-width = 1100px、750px に設定あり
********************************************************************************
*/

/*
================================================================================
■ 01. ヘッダー
================================================================================
*/
#header {
  width: 100%;
}

#header .container {
  max-width: 1260px;
}

/* -------------------------------------------------
▼ ヘッダー上部
------------------------------------------------- */
#header .upper {
  padding: 10px 20px 20px;
}

#header .upper .slogan {
  font-size: 1.0rem;
  color: #707070;
  text-align: center;
  margin-bottom: 20px;
}

#header .upper .logo {
  max-width: 350px;
  margin: 0 auto;
}

#header .upper .logo .image-wrap {
  display: block;
}

/* レスポンシブ調整 --------------------------*/
@media print, screen and (max-width: 1100px) {
  #header .upper .logo {
    max-width: 300px;
  }
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #header .upper {
    padding: 20px;
    height: 80px;/*（固定値）展開メニューの位置に関係 */
  }

  #header .upper .slogan {
    display: none;
  }

  #header .upper .logo {
    max-width: 230px;
    padding-right: 30px;/* SPボタン幅の考慮 */
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/* -------------------------------------------------
▼ グローバルメニュー
------------------------------------------------- */

/*----------------- ▼ (PC) ▼ -----------------*/
@media print, screen and (min-width: 751px) {
  #gnavi-pc {
    display: block;
  }

  #gnavi-sp {
    display: none;
  }

  #gnavi-pc .gnavi {
    background: #e60012;
    padding: 5px 0;
  }

  #gnavi-pc .gnavi .list {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #gnavi-pc .gnavi .list .item {
    /*↓メニュー7個の場合*/
    /*width: 10.571%;*/
    /*↓メニュー8個の場合*/
    width: 9.25%;
    border-right: 1px solid #fff;
  }

  #gnavi-pc .gnavi .list .item.large {
    width: 13%;
  }

  #gnavi-pc .gnavi .list .item:first-child {
    border-left: 1px solid #fff;
  }

  #gnavi-pc .gnavi .list .item .link {
    display: block;
    width: 100%;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    padding: 0.6em 0.2em;
  }
}

/* レスポンシブ調整 --------------------------*/
@media print, screen and (max-width: 1100px) {
  #gnavi-pc .gnavi .list .item .link {
    font-size: 1.4rem;
  }
}
/*----------------- ▲ (PC) ▲ -----------------*/

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #gnavi-pc {
    display: none;
  }

  /* SP版メニュー展開 */
  #gnavi-sp {
    display: block;
    position: fixed;
    top: 80px;/* #header .upper の高さを指定 */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: calc(100% - 80px);
    background: rgba(255,255,255,0);
    transition: .2s;
    transform: translate(100%);
  }

  #gnavi-sp.active {
    transform: translate(0);
  }

  #gnavi-sp .container-sp {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #gnavi-sp .gnavi {
    color: #fff;
    padding: 20px 20px 30px;
    min-height: 100%;
    background: #e60012;
  }

  #gnavi-sp .gnavi .menu-category {
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 0.6em;
  }

  #gnavi-sp .gnavi .list {
    margin: 0 0 20px 10px;
  }

  #gnavi-sp .gnavi .list.list-01 {
    margin: 0 0 0 10px;
  }

  #gnavi-sp .gnavi .list .link {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    padding: 5px 1em 5px 20px;
    margin-bottom: 0.2em;
    position: relative;
  }

  #gnavi-sp .gnavi .list .link::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 15px;
    left: 0;
  }

  #gnavi-sp .gnavi .address {
    font-size: 1.2rem;
    font-weight: 500;
    font-style: normal;
    border-top: 3px solid #fff;
    padding-top: 30px;
    margin: 30px 0 0;
  }

  #gnavi-sp .gnavi .address .logo {
    /*max-width: 178px;*/
    max-width: 120px;
    margin-bottom: 20px;
  }

  #gnavi-sp .gnavi .address .company-name {
    margin-bottom: 0.5em;
  }

  #gnavi-sp .gnavi .address .company-info {
    display: flex;
  }

  #gnavi-sp .gnavi .address .company-info .title {
    /*width: 2em;*/
  }

  #gnavi-sp .gnavi .address .company-info .description {
    /*width: calc(100% - 2em);
    padding-left: 1em;*/
  }

  #gnavi-sp .gnavi .address .block-external {
    display: none;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/


/* -------------------------------------------------
▼ SPメニューボタン
------------------------------------------------- */
/*----------------- ▼ (PC) ▼ -----------------*/
@media print, screen and (min-width: 751px) {
  #btn-sp {
    display: none;
  }
}
/*----------------- ▲ (PC) ▲ -----------------*/

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #btn-sp {
    display: block;
    position: absolute;
    top: 28px;
    right: 15px;
    z-index: 3;
  }

  .menu-trigger,
  .menu-trigger .menu-trigger-bar {
    display: inline-block;
  }

  .menu-trigger {
    width: 30px;
    height: 30px;
    background: transparent;
    position: relative;
  }

  .menu-trigger .menu-trigger-bar {
    position: absolute;
    right: 4px;
    width: 22px;
    height: 2px;
    background: #e60012;
    transition: .4s;
  }

  .menu-trigger .menu-trigger-bar:nth-of-type(1) {
    top: 8px;
  }

  .menu-trigger .menu-trigger-bar:nth-of-type(2) {
    top: 14px;
  }

  .menu-trigger .menu-trigger-bar:nth-of-type(3) {
    top: 20px;
    width: 16px;
  }

  /* 閉じる */
  .menu-trigger.active .menu-trigger-bar:nth-of-type(1) {
    transform: translateY(6px) rotate(-45deg);
  }

  .menu-trigger.active .menu-trigger-bar:nth-of-type(2) {
    display: none;
  }

  .menu-trigger.active .menu-trigger-bar:nth-of-type(3) {
    width: 22px;
    transform: translateY(-6px) rotate(45deg);
  }
}

@media print, screen and (max-width: 400px) {
  #btn-sp {
    top: 30px;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/*
================================================================================
■ 02. フッター
================================================================================
*/
#footer {
  padding: 30px 0;
  background: #e60012;
}

#footer .container {
  max-width: 1040px;
  display: flex;
  justify-content: space-between;
}

#footer .area-address {
  width: 40%;
  padding-right: 20px;
}

#footer .area-menu {
  width: 60%;
  display: flex;
  justify-content: space-around;
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #footer .area-address {
    width: 100%;
    padding-right: 0;
  }

  #footer .area-menu {
    display: none;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/* -------------------------------------------------
▼ 会社情報エリア
------------------------------------------------- */
#footer .area-address .address {
  font-size: 1.3rem;
  font-weight: 500;
  font-style: normal;
  color: #fff;
}

#footer .area-address .address .logo {
  /*max-width: 300px;*/
  max-width: 170px;
  margin-bottom: 20px;
}

#footer .area-address .address .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

#footer .area-address .address .wrap .block-info {
  margin-bottom: 10px;
}

#footer .area-address .address .wrap .block-external {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}

#footer .area-address .address .company-name {
  font-size: 1.6rem;
  margin-bottom: 0.5em;
}

#footer .area-address .address .company-info {
  display: flex;
}

#footer .area-address .address .company-info .title {
  /*width: 2em;*/
}

#footer .area-address .address .company-info .description {
  /*width: calc(100% - 2em);
  padding-left: 1em;*/
}

#footer .area-address .address .block-external .item {
  margin: 0 5px
}

#footer .area-address .address .block-external .item:nth-child(1) {
  max-width: 68px;
}

#footer .area-address .address .block-external .item:nth-child(2) {
  max-width: 44px;
}

#footer .area-address .address .block-external .item img {
  /*height: 40px;*/
  height: auto;
}

/* コピーライトエリア */
#footer .block-copyright {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-top: 10px;
}

/* レスポンシブ調整 --------------------------*/
@media print, screen and (max-width: 1100px) {
  #footer .area-address {
    padding-right: 10px;
  }

  #footer .area-address .address {
    font-size: 1.2rem;
  }

  #footer .area-address .address .logo {
    /*max-width: 260px;*/
    max-width: 170px;
    margin-bottom: 10px;
  }

  #footer .block-copyright {
    font-size: 1.0rem;
  }
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #footer .area-address .address .logo {
    /*max-width: 240px;*/
    max-width: 150px;
    margin: 0 auto 20px;
  }

  #footer .area-address .address .wrap {
    flex-direction: column;
    align-items: center;
  }

  #footer .area-address .address .wrap .block-info {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 20px;
  }

  #footer .area-address .address .company-info {
    display: inline;
  }

  #footer .area-address .address .company-info .title {
    width: auto;
    display: inline;
  }

  #footer .area-address .address .company-info .description {
    width: auto;
    display: inline;
  }

  #footer .area-address .address .company-info .description .sub {
    font-size: 1.2rem;
  }

  #footer .area-address .address .block-external .item img {
    /*height: 50px;*/
    height: auto;
  }

  #footer .block-copyright {
    text-align: center;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/


/* -------------------------------------------------
▼ メニューエリア
------------------------------------------------- */
#footer .area-menu .list {
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  border-left: 1px solid #fff;
  padding: 0.7em 1em 0;
}

#footer .area-menu .list .item {
  margin-bottom: 0.7em;
}

#footer .area-menu .list .link {
  color: #fff;
}

/* レスポンシブ調整 --------------------------*/
@media print, screen and (max-width: 1100px) {
  #footer .area-menu .list {
    font-size: 1.2rem;
    padding: 0.7em 0.7em 0;
  }
}

/*
================================================================================
■ 03. メイン
================================================================================
*/
#main {
  position: relative;
}

#main .container {
  max-width: 1280px;
}

/* -------------------------------------------------
▼ 共通パーツ
------------------------------------------------- */

/* 棒矢印つきボタン */
#main .btn-more {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

#main .btn-more .link {
  display: inline-block;
  padding: 0.5em 2em 0.6em;
  background: #fff;
  border: 1px solid #242427;
}

#main .btn-more .arrow {
  display: inline-block;
  width: 50px;
  height: 10px;
  margin-left: 1em;
  position: relative;
  overflow: hidden;
}

#main .btn-more .arrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: #242427;
  position: absolute;
  bottom: 0;
  left: 0;
}

#main .btn-more .arrow::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12.1px;
  border-color: transparent transparent transparent #242427;
  position: absolute;
  bottom: -7px;
  right: 0;
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #main .btn-more .link {
    padding: 0.5em 2em 0.6em;
    color: #fff;
    background: #242427;
  }

  #main .btn-more .arrow::before {
    background: #fff;
  }

  #main .btn-more .arrow::after {
    border-color: transparent transparent transparent #fff;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/* 左ボーダー赤のエリアタイトル */
#main .title-type-line-left {
  font-size: 2.0rem;
  font-weight: 700;
  color: #242427;
  line-height: 1.2;
  border-left: 6px solid #e60012;
  padding-left: 0.5em;
  margin-bottom: 1.5em;
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #main .title-type-line-left {
    font-size: 1.6rem;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/* 四角やじるし赤のエリアタイトル */
#main .title-type-rect-arrow {
  font-size: 2.0rem;
  font-weight: 700;
  color: #242427;
  line-height: 1.2;
  padding-left: 1.8em;
  margin-bottom: 1em;
  position: relative;
}

#main .title-type-rect-arrow::before {
  content: '';
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: #e60012;
  position: absolute;
  top: 0;
  left: 0;
}

#main .title-type-rect-arrow::after {
  content: '';
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0.3em;
  left: 0.2em;
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #main .title-type-rect-arrow {
    font-size: 1.6rem;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/* 赤帯状のエリアタイトル */
#main .title-type-belt {
  font-size: 3.0rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  background: #e60012;
  padding: 0.3em 0.3em 0.3em 1em;
  margin-bottom: 0.5em;
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #main .title-type-belt {
    font-size: 2.0rem;
    padding: 0.4em 0.3em 0.4em 1em;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/


/* -------------------------------------------------
▼ ページタイトル、パンくずエリア
------------------------------------------------- */
#main .area-pagetitle {
  background: #f5f6f8;
  padding: 20px 0 20px;
  margin-bottom: 40px;
}

#main .area-pagetitle .breadcrumbs {
  font-size: 1.6rem;
  font-weight: 500;
  color: #707070;
  margin-bottom: 0.8em;
}

#main .area-pagetitle .breadcrumbs .item {
  display: inline;
}

#main .area-pagetitle .breadcrumbs .item::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 3px 5px;
  border-top: 1px solid #707070;
  border-right: 1px solid #707070;
  transform: rotate(45deg);
}

#main .area-pagetitle .breadcrumbs .item:last-child:after {
  content: none;
}

#main .area-pagetitle .page-title {
  font-size: 4.0rem;
  font-weight: 500;
  color: #e60012;
  line-height: 1.2;
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #main .area-pagetitle .breadcrumbs {
    font-size: 1.2rem;
  }

  #main .area-pagetitle .page-title {
    font-size: 2.4rem;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/* -------------------------------------------------
▼ バナーエリア
------------------------------------------------- */
#main .area-special .container {
  max-width: none;
  padding: 0 0 20px;
}

#main .area-special .list {
  display: flex;
  flex-wrap: wrap;
}

#main .area-special .list .item {
  width: 25%;
  /*width: 33.3333%;*/
}

#main .area-special .list .item .image-wrap {
  width: 100%;
  height: 0;
  /* 640×420 */
  padding-bottom: 65.625%;
}

#main .area-special .list .item .image-wrap .image-file {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#main .area-special .list .item .title {
  font-weight: 500;
  padding: 0.5em 1em 1.5em;
  text-align: center;
}

/* レスポンシブ調整 --------------------------*/
@media print, screen and (max-width: 1400px) {
  #main .area-special .list .item .title .br-pc {
    display: none;
  }
}

@media print, screen and (max-width: 1100px) {
  #main .area-special .list .item .title {
    font-size: 1.5rem;
  }
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #main .area-special .list .item {
    width: 50%;
  }

  #main .area-special .list .item .title {
    font-size: 1.4rem;
    text-align: left;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/* -------------------------------------------------
▼ ベイシアグループ
------------------------------------------------- */
#main .area-group {
  padding: 40px 0 60px;
}

/* 下層ページにある場合 */
body.page-lower #main .area-group {
  border-top: 1px solid #707070;
}

#main .area-group .container {
  max-width: 1100px;
}

#main .area-group .container .area-title {
  font-size: 3.0rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.8em;
}

#main .area-group .container .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#main .area-group .container .list .item {
  width: 20%;
  padding: 5px;
  margin-bottom: 15px;
}

#main .area-group .container .list .item a,
#main .area-group .container .list .item span {
  display: block;
  max-width: 170px;
  margin: 0 auto;
}

#main .area-group .container .list .item .image-wrap {
  width: 100%;
  height: 0;
  /* 170×64 */
  padding-bottom: 37.647%;
}

#main .area-group .container .list .item .image-wrap .image-file {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*----------------- ▼ (SP) ▼ -----------------*/
@media print, screen and (max-width: 750px) {
  #main .area-group .container .area-title {
    font-size: 2.8rem;
  }

  #main .area-group .container .list .item {
    width: 33.333%;
  }
}

@media print, screen and (max-width: 500px) {
  #main .area-group .container .list .item {
    width: 50%;
  }
}
/*----------------- ▲ (SP) ▲ -----------------*/

/* -------------------------------------------------
▼ ページトップへボタン
------------------------------------------------- */
#btn-pagetop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1;
}

#btn-pagetop.stop {
  position: absolute;
  bottom: -25px;
  right: 20px;
}

#btn-pagetop .btn {
  display: block;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  position: relative;
}

#btn-pagetop .btn::before {
  content: '\025b3';
  font-size: 1.8rem;
  display: inline-block;
  position: absolute;
  top: 3px;
  left: 50%;
  margin-left: -0.5em;
}

#btn-pagetop .title {
  line-height: 65px;
}
