@charset "utf-8";

/*
Theme Name: 不二建設株式会社
*/

/* RESET
----------------------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video,picture {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  line-height: 1.5em;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
}
picture {
  display: block;
}
/* ----------------------------------------------

 * 設定をしなおす

---------------------------------------------- */
:root {
  --inner: 124rem;
  --mainColor: #990001;
  --subColor: #000066;
  --black: #212121;
}
@media (prefers-reduced-motion: reduce) {
  * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
  }
}
html {
  -webkit-font-smoothing: antialiased;
  font-size: 62.5%;
}
@media screen and (max-width: 1439px) {
  html {
    font-size: 0.7320644217vw;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 2.6666666667vw;
  }
}
body {
  margin: 0 auto;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1.8em;
  color: var(--black);
  height: 100%;
  font-family: YakuHanJP_Noto, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 400;
  position: relative;
  background: url(./img/bg.png) repeat-y top left / 100% fixed #F8F8F8;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1.4rem;
  }
}

.en {
  font-family: "din-2014", sans-serif;
  font-weight: 400;
  font-style: normal;
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
  max-width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
}
main {
  display: block;
  position: relative;
}

a {
  outline:none;
  color: var(--black);
}

a:hover {
  text-decoration: none;
}

a,a:hover,a:hover img,button,input {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}

a:hover {
  filter: alpha(opacity=80);
  -moz-opacity:0.80;
  opacity:0.80;
}

* {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}


/* -----------------------------------------------
 * COMMON
----------------------------------------------- */
input[type=text]:focus {
    outline: none;
}

section {
  position: relative;
}
.container {
  max-width: calc(var(--inner) + 4rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
.large_container {
  max-width: 124rem;
}
.small_container {
  /*max-width: 112.6rem;*/
  max-width: 116rem;
}
.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
#grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, #DDDDDD, #DDDDDD 1px, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 45.4rem);
  z-index: -1;
}


@media only screen and ( max-width : 767px ) {
  .container {
    max-width: 100%;
  }
  .section {
    padding: 45px 0;
  }
  .br_pc {
    display: none;
  }
  .sp_none{display:none !important;}
  #grid {
    background: repeating-linear-gradient(90deg, #DDDDDD, #DDDDDD 1px, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 25.2rem);
  }
}
@media print, screen and ( min-width : 768px ) {
  .section {
    padding: 60px 0;
  }
  .br_sp {
    display: none;
  }
  .sp { display:none !important; }
}
/* ---------------------------------------------------------------------------------------------

　   FLEX

--------------------------------------------------------------------------------------------- */
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.d-inline-flex {
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}
.flex-row {
  -ms-flex-direction: row !important;
  flex-direction: row !important;
}

.flex-column {
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}

.flex-row-reverse {
  -ms-flex-direction: row-reverse !important;
  flex-direction: row-reverse !important;
}

.flex-column-reverse {
  -ms-flex-direction: column-reverse !important;
  flex-direction: column-reverse !important;
}

.flex-wrap {
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
}

.flex-nowrap {
  -ms-flex-wrap: nowrap !important;
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  -ms-flex-wrap: wrap-reverse !important;
  flex-wrap: wrap-reverse !important;
}
.justify-content-start {
  -ms-flex-pack: start !important;
  justify-content: flex-start !important;
}

.justify-content-end {
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}

.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.justify-content-between {
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.align-items-start {
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

.align-items-end {
  -ms-flex-align: end !important;
  align-items: flex-end !important;
}

.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}


@media (min-width: 576px) {
  .d-sm-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .justify-content-sm-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-sm-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-sm-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-sm-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-sm-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-sm-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-sm-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

@media (min-width: 768px) {
  .d-md-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .justify-content-md-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-md-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-md-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-md-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-md-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-md-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-md-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .justify-content-lg-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-lg-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-lg-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-lg-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-lg-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-lg-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-lg-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .flex-xl-wrap-reverse {
    -ms-flex-wrap: wrap-reverse !important;
    flex-wrap: wrap-reverse !important;
  }
  .justify-content-xl-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-xl-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-xl-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-xl-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-xl-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-xl-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-xl-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

/* ---------------------------------------------------------------------------------------------

　   TEXT

--------------------------------------------------------------------------------------------- */
.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}
.mb-1 {
  margin-bottom: 0.25rem !important;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}
.mb-3 {
  margin-bottom: 1rem !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.mb-5 {
  margin-bottom: 3rem !important;
}
@media (min-width: 576px) {
  .text-sm-left {
    text-align: left !important;
  }
  .text-sm-right {
    text-align: right !important;
  }
  .text-sm-center {
    text-align: center !important;
  }
}

@media (min-width: 768px) {
  .text-md-left {
    text-align: left !important;
  }
  .text-md-right {
    text-align: right !important;
  }
  .text-md-center {
    text-align: center !important;
  }
}

@media (min-width: 992px) {
  .text-lg-left {
    text-align: left !important;
  }
  .text-lg-right {
    text-align: right !important;
  }
  .text-lg-center {
    text-align: center !important;
  }
}

@media (min-width: 1200px) {
  .text-xl-left {
    text-align: left !important;
  }
  .text-xl-right {
    text-align: right !important;
  }
  .text-xl-center {
    text-align: center !important;
  }
}

/* ---------------------------------------------------------------------------------------------

　   HEADER

--------------------------------------------------------------------------------------------- */
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  transition: transform 0.3s 0.3s;
}
#header.scroll {
  background: transparent;
  backdrop-filter: blur(5px);
}
#header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

#h_logo a {
  display: flex;
  color: var(--mainColor);
  font-weight: 700;
}
#h_logo img {
  transition: .3s;
}

#h_content {
  display: flex;
  align-items: center;
}


#menu_btn {
  transition: .3s;
  cursor: pointer;
  position: relative;
  z-index: 9999;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 6.8rem;
  height: 6.8rem;
  background: var(--mainColor);
  border-radius: 50%;
}

.menu-trigger {
  vertical-align: middle;
  text-align: center;
  position: relative;
  width: 3.3rem;
  height: 2rem;
}
.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: .5rem;
  background-color: #fff;
  transition: all .5s;
}
#menu_btn .midnightHeader.white .menu-trigger span {
  background: #fff;
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}

#menu_btn.active .menu-trigger span:nth-of-type(1) {
  transform: translateY(.8rem) rotate(-45deg);
}

.menu-trigger span:nth-of-type(2) {
  bottom: 0;
  width: 70%;
}
#menu_btn.active .menu-trigger span:nth-of-type(2) {
  transform: translateY(-.7rem) rotate(45deg);
  width: 100%;
}

.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, .2);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
  width: 100%;
  height: 100vh;
  opacity: 1;
}
#main {
  height: 100%;
  transition: all .5s;
}
#gNav {
  height: calc(100vh - 4rem);
  overflow: auto;
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 101;
  transition: all .3s;
  width: 34rem;
  border-radius: 2rem;
  opacity: 0;
  visibility: hidden;
  background: #990001;
  transform: translate(44rem);
  padding: 9rem 3rem;
}
#gNav.open {
  opacity: 1;
  visibility: visible;
  transform: translateZ(0);
}
.nav {
  margin-bottom: 4rem;
}
.nav li {
  border-bottom: 1px dashed #fff;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}
.nav li a {
  display: block;
  position: relative;
  font-weight: 700;
  color: #fff;
  padding-bottom: 1.4rem;
}
.nav li .menu-item-parent:before,
.nav li .menu-item-parent:after {
  content: '';
  display: inline-block;
  width: 1.2rem;
  height: .2rem;
  background-color: #fff;
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .5s;
}
.nav li .menu-item-parent:after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 1s;
}
.nav li.open .menu-item-parent:before {
    opacity: 0;
}
.nav li.open .menu-item-parent:after {
    transform: translateY(-50%) rotate(180deg);
}
#gNav .drop-menu-list {
  display: none;
  margin-bottom: .5rem;
}
.nav .drop-menu-list li {
  border-bottom: none;
  margin-bottom: 0;
}
.nav .drop-menu-list li a {
  padding: .9rem 0;
  font-size: 1.4rem;
}
.nav_contact_btn {
  border: 1px solid #fff;
  border-radius: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
}
.nav_contact_btn .nav_contact_btn_ico {
  width: 1.6rem;
  margin-right: .5rem;
}
.nav_contact_btn .nav_contact_btn_ico img,
.nav_tel_btn_ico img {
  width: 100%;
  display: block;
}
.nav_tel_btn {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
}
.nav_tel_btn_ico {
  margin-right: 1rem;
  width: 4rem;
}
.nav_tel_btn_num {
  font-size: 3.3rem;
  font-weight: 700;
}



@media only screen and ( max-width : 767px ) {
  #h_nav {
    display: none;
  }
  #menu_btn {
    width: 4rem;
    height: 4rem;
  }

  .menu-trigger {
    width: 2.1rem;
    height: 1.2rem;
  }
  .menu-trigger span {
    height: .3rem;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(1) {
    transform: translateY(.5rem) rotate(-45deg);
  }
  #menu_btn.active .menu-trigger span:nth-of-type(2) {
    transform: translateY(-.4rem) rotate(45deg);
    width: 100%;
  }

  #header {
    height: 8rem;
    padding: 1.5rem;
  }
  header.hidden {
    transform: translateY(-8rem) !important;
  }
  #h_logo img {
    width: 18rem;
  }
  #menu_btn.active {
    right: 1rem;
    top: .6rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  #header {
    height: 12rem;
    padding: 0 3rem;
  }
  header.hidden {
    transform: translateY(-12rem) !important;
  }
  .open #h_logo {
  }
  #h_logo img {
    width: 28.2rem;
  }
  #h_logo a span {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-left: 1.2rem;
  }
  #h_nav li {
    margin-right: 6rem;
    position: relative;
  }
  #h_nav li a {
    font-weight: 700;
    font-size: 2rem;
    display: block;
    position: relative;
    z-index: 10;
  }
  #h_nav li a:after {
    transition: .3s;
    content: "";
    bottom: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #h_nav li.current a:after,
  #h_nav li:hover a:after {
    content: "";
    width: 1rem;
    height: 1rem;
    background: var(--mainColor);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.2rem;
  }

  #h_nav .drop-menu-lists {
    width: 36.5rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 7rem;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
  }
  #h_nav .has-child-menu:hover .drop-menu-lists {
      visibility: visible;
      opacity: 1;
  }
  #h_nav .has-child-menu .menu-item-parent {
    pointer-events: none;
  }
  #h_nav .drop-menu-list {
    position: relative;
    padding: 1rem 3rem;
    width: 100%;
    background: #fff;
    border: solid 1px var(--mainColor);
    border-radius: 1rem;
  }
  #h_nav .drop-menu-list:before {
    content: "";
    position: absolute;
    top: -2.7rem;
    left: 50%;
    transform: translateX(-50%);
    border: .8rem solid transparent;
    border-bottom: 2rem solid #FFF;
    z-index: 2;
  }
  #h_nav .drop-menu-list:after {
    content: "";
    position: absolute;
    top: -3.1rem;
    left: 50%;
    transform: translateX(-50%);
    border: .9rem solid transparent;
    border-bottom: 2.1rem solid var(--mainColor);
    z-index: 1;
  }
  #h_nav .drop-menu-item {
    border-bottom: 1px dashed #212121;
    margin-right: 0;
  }
  #h_nav .drop-menu-item:last-child {
    border-bottom: none;
  }
  #h_nav .drop-menu-item a {
    position: relative;
    display: block;
    font-size: 1.6rem;
    padding: 1rem 3rem 1rem 1rem;
  }
  #h_nav .has-child-menu .drop-menu-item a:after {
    content: "";
    position: absolute;
    background: url(./img/nav-arrow.png) no-repeat center / 100%;
    width: 1.4rem;
    height: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    transition: .3s;
    left: auto;
    bottom: auto;
  }
  #h_nav .has-child-menu .drop-menu-item a:hover:after {
    right: .5rem;
  }
}


/* ---------------------------------------------------------------------------------------------

　   FOOTER

--------------------------------------------------------------------------------------------- */
#footer {
  position: relative;
}
.f_inner {
  background: #212121;
  color: #fff;
  border-radius: 14rem 0 0 0;
}
.f_inner a {
  color: #fff;
}
.f_logo {
  margin-bottom: 2rem;
}
.f_sns_link {
  margin-top: 3rem;
}
.f_sns_link li {
  margin-right: 1rem;
}
.f_sns_link li:last-child {
  margin-right: 0;
}
.f_nav li {
  margin-bottom: 2rem;
}
.f_nav li a {
  display: block;
}
.f_nav li a span {
  display: block;
}
.f_nav_jp {
  font-weight: 700;
}
.f_nav_en {
  color: #999999;
  font-size: 1.2rem;
}
.f_bnr {
  border-top: 1px solid #666666;
  border-bottom: 1px solid #666666;
}
.f_bottom {
  width: 100%;
  font-weight: 700;
}
.f_bottom .f_copy {
  font-size: 1.2rem;
  font-weight: 700;
}
 
@media only screen and ( max-width : 767px ) {
  .f_inner {
    padding: 38rem 0 5rem;
  }
  .f_inner .container {
    flex-direction: column !important;
  }
  .f_nav_jp {
    font-size: 1.6rem;
  }
  .f_nav_en {
    margin-top: .3rem;
  }
  .f_right {
    order: 1;
  }
  .f_left {
    margin-top: 4rem;
    order: 3;
  }
  .f_bnr {
    order: 2;
    padding: 3rem 0;
  }
  .f_bnr li {
    margin-bottom: 2rem;
  }
  .f_bnr li:last-child {
    margin-bottom: 0;
  }
  .f_bnr li img {
    width: 100%;
  }
  .f_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .f_nav li {
    width: 44%;
  }
  .f_nav li:nth-child(2n) {
    width: 56%;
  }
  .f_bottom {
    margin-top: 4rem;
    order: 4;
  }
}

@media print, screen and ( min-width : 768px ) {
  .f_inner {
    padding: 29rem 0 10rem;
  }
  .f_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 42%;
  }
  .f_logo {
    width: 28rem;
  }
  .f_right {
    width: 44%;
  }
  .f_bnr {
    padding: 4rem 5.5rem;
    margin-top: 5.6rem;
  }
  .f_bnr li {
    width: 31%;
  }
  .f_nav__wrapper {
    display: flex;
    justify-content: space-between;
  }
  .f_nav_jp {
    font-size: 2rem;
  }
  .f_bottom {
    margin-top: 7rem;
  }
}

/* ---------------------------------------------------------------------------------------------

　   CONTACT

--------------------------------------------------------------------------------------------- */
#contact {
  position: relative;
}
#contact .contact__inner {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  z-index: 10;
}
.contact__title {
  background: #000066;
  color: #fff;
}
.contact__content {
  background: url(./img/contact_bg.jpg) no-repeat center / cover;
  color: #fff;
}
.contact__content .contact__tel a {
  color: #fff;
  font-weight: 700;
  display: block;
  line-height: 1;
  white-space: nowrap;
}
.contact__content .contact__tel a .contact__tel_ico {
  display: inline-block;
}
.contact__content .contact__tel a .contact__tel_ico img {
  display: block;
}
.contact__tel_num {
  line-height: 1;
}
.contact__content .btn {
  width: 30.8rem;
}
.contact__content .btn .btn_ico {
  display: inline-block;
  margin-right: .5rem;
}
.contact__content .btn .btn_ico img {
  display: block;
  width: 1.6rem;
}

@media only screen and ( max-width : 767px ) {
  #contact {
    margin-bottom: -32rem;
  }
  .contact__title {
    padding: 4rem;
  }
  .contact__title .heading {
    margin-bottom: 0;
  }
  .contact__content {
    padding: 2rem;
  }
  .contact__content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  .contact__content .contact__tel {
    margin-bottom: 2rem;
  }
  .contact__content .contact__tel a {
    font-size: 4rem;
  }
  .contact__content .contact__tel a .contact__tel_ico {
    margin-right: 1rem;
  }
  .contact__tel_ico img {
    width: 4rem;
  }
  .contact__content .btn {
    width: 100%;
  }
}
@media print, screen and ( min-width : 768px ) {
  #contact {
    margin-bottom: -21rem;
  }
  .contact__title,
  .contact__content {
    width: 50%;
  }
  .contact__title {
    padding: 7rem 10rem;
  }
  .contact__content {
    padding: 7rem 6.5rem;
  }
  .contact__content h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }
  .contact__content .contact__tel {
    margin-bottom: 5rem;
  }
  .contact__content .contact__tel a {
    font-size: 6.2rem;
  }
  .contact__content .contact__tel a .contact__tel_ico {
    margin-right: 1.5rem;
  }
  .contact__tel_ico img {
    width: 7.2rem;
  }
}



/* ---------------------------------------------------------------------------------------------

　   COMMON

--------------------------------------------------------------------------------------------- */
#wrapper {
  overflow: hidden;
}
.fit {
  -o-object-fit: cover;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  width: 100%;
  height: 100%;
}
.btn {
  background: #fff;
  color: #212121;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 700;
  width: 26rem;
  border: 1px solid #212121;
  border-radius: 6rem;
}
.btn:hover,
.link:hover {
  opacity: 1;
}
.btn:after {
  content: "";
  width: 4.8rem;
  height: 4.8rem;
  background: url(./img/arrow.svg) no-repeat center / 1.5rem var(--mainColor);
  border-radius: 4.8rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: .7rem;
  transition: .3s;
}
.btn:hover:after {
  background-color: #212121;
}
.btn_center {
  margin: 0 auto;
}
.link {
  width: 15rem;
  position: relative;
  display: flex;
  align-items: center;
  height: 4rem;
  font-weight: 700;
}
.link:after {
  content: "";
  width: 4rem;
  height: 4rem;
  background: url(./img/arrow.svg) no-repeat center / 1.5rem var(--mainColor);
  border-radius: 4rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  transition: .3s;
}
.link:hover:after {
  background-color: #212121;
}

.heading {
  display: flex;
  flex-direction: column;
}
.heading-en {
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: block;
}
.heading-en:before {
  content: "";
  width: 2.3rem;
  height: 2.1rem;
  background: url(./img/title_deco.svg) no-repeat center / 100%;
  position: absolute;
  left: -3.3rem;
  top: 0;
}
.heading-jp {
  font-weight: 700;
  display: block;
}
#page_bottom_link li {
  border-bottom: 2px solid #212121;
}
#page_bottom_link li a {
  display: block;
  position: relative;
  font-weight: 700;
}
#page_bottom_link li a:after {
  content: "";
  background: url(./img/nav-arrow.svg) no-repeat center / 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.buruburu {
    -webkit-animation:buruburu 0.1s infinite linear alternate;
    animation:buruburu 0.1s infinite linear alternate;
}
@-webkit-keyframes buruburu {
  0%   {-webkit-transform: translate(-2px, 0) rotate(-10deg);}
  25%  {-webkit-transform: translate(2px, 0) rotate(10deg);}
  50%  {-webkit-transform: translate(-2px, 0) rotate(-10deg);}
  75%  {-webkit-transform: translate(2px, 0) rotate(10deg);}
  100% {-webkit-transform: translate(0, 0) rotate(0deg);}
}

@keyframes buruburu {
  0%   {transform: translate(-2px, 0) rotate(-10deg);}
  25%  {transform: translate(2px, 0) rotate(10deg);}
  50%  {transform: translate(-2px, 0) rotate(-10deg);}
  75%  {transform: translate(2px, 0) rotate(10deg);}
  100% {transform: translate(0, 0) rotate(0deg);}
}


.buruburu2 {
    animation: buruburu 0.4s infinite;
}

@-webkit-keyframes buruburu2 {
  0%   {-webkit-transform: translate(-6px, 0) rotate(-20deg);}
  10%  {-webkit-transform: translate(6px, 0) rotate(20deg);}
  20%  {-webkit-transform: translate(-6px, 0) rotate(-20deg);}
  30%  {-webkit-transform: translate(6px, 0) rotate(20deg);}
  40%  {-webkit-transform: translate(-6px, 0) rotate(-20deg);}
  50%  {-webkit-transform: translate(6px, 0) rotate(20deg);}
  60%  {-webkit-transform: translate(-4px, 0) rotate(-10deg);}
  70%  {-webkit-transform: translate(4px, 0) rotate(10deg);}
  80%  {-webkit-transform: translate(-2px, 0) rotate(-5deg);}
  90%  {-webkit-transform: translate(2px, 0) rotate(5deg);}
  100% {-webkit-transform: translate(0, 0) rotate(0deg);}
}

@keyframes buruburu2 {
  0%   {transform: translate(-6px, 0) rotate(-20deg);}
  10%  {transform: translate(6px, 0) rotate(20deg);}
  20%  {transform: translate(-6px, 0) rotate(-20deg);}
  30%  {transform: translate(6px, 0) rotate(20deg);}
  40%  {transform: translate(-6px, 0) rotate(-20deg);}
  50%  {transform: translate(6px, 0) rotate(20deg);}
  60%  {transform: translate(-4px, 0) rotate(-10deg);}
  70%  {transform: translate(4px, 0) rotate(10deg);}
  80%  {transform: translate(-2px, 0) rotate(-5deg);}
  90%  {transform: translate(2px, 0) rotate(5deg);}
  100% {transform: translate(0, 0) rotate(0deg);}
}

.works-terms li {
  background: #212121;
  display: inline-flex;
  border-radius: .3rem;
  padding: .5em 1em;
  line-height: 1;
  font-size: 1.2rem;
  margin-bottom: .7rem;
  font-weight: 700;
  margin-right: .5rem;
}
.works-terms li:last-child {
  margin-right: 0;
}

@media only screen and ( max-width : 767px ) {
  #wrapper_sp {
    overflow: hidden;
    width: 100%;
    position: relative;
  }
  .sec {
    padding: 7rem 0;
  }
  .heading {
    margin-bottom: 3.5rem;
    /*margin-left: 1rem;*/
  }
  .heading-en:before {
    width: 1.6rem;
    height: 1.5rem;
    left: -2rem;
  }
  .heading-en {
    font-size: 4.8rem;
  }
  .heading-jp {
    font-size: 1.2rem;
  }
  .btn.large_btn {
    max-width: 26rem;
    height: 6rem;
    font-size: 1.6rem;
  }
  .btn.large_btn:after {
    content: none;
  }
  .btn.large_btn span {
    position: relative;
    padding-right: 2.6rem;
  }
  .btn.large_btn span:after {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    background: url(./img/arrow.svg) no-repeat center / .65rem var(--mainColor);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
  }
  .link {
    width: 13.2rem;
    height: 2.6rem;
    font-size: 1.6rem;
  }
  .link:after {
    width: 2.6rem;
    height: 2.6rem;
    background-size: .86rem;
  }
  #page_bottom_link {
    margin-bottom: 8rem;
    margin-top: 5rem;
  }
  #page_bottom_link li {
    margin-bottom: 1.6rem;
  }
  #page_bottom_link li:last-child {
    margin-bottom: 0;
  }
  #page_bottom_link li a {
    padding: .8rem 0;
    font-size: 1.6rem;
  }
  #page_bottom_link li a:after {
    right: 1rem;
    width: 2rem;
    height: 2rem;
  }
  .works-terms li {
    font-size: 1rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  .sec {
    padding: 10rem 0;
  }
  .heading {
    margin-bottom: 6rem;
  }
  .heading-en {
    font-size: 7.2rem;
  }
  .btn.large_btn {
    width: 38.8rem;
    height: 7.6rem;
    font-size: 2rem;
  }
  #page_bottom_link {
    margin-bottom: 12rem;
    margin-top: 7rem;
  }
  #page_bottom_link li:nth-child(-n+2) {
    margin-top: 0;
  }
  #page_bottom_link li {
    width: 48.5%;
    margin-top: 2rem;
  }
  #page_bottom_link li a {
    padding: 3rem 0;
    font-size: 2.8rem;
  }
  #page_bottom_link li a:after {
    right: 2rem;
    width: 3.8rem;
    height: 3.8rem;
  }
}

/* ---------------------------------------------------------------------------------------------

　    NEWS

--------------------------------------------------------------------------------------------- */

.pickup-category {
  background: #212121;
  color: #fff;
  font-size: 1.2rem;
  padding: .1em 1em;
  border-radius: .3rem;
  text-align: center;
}
.pickup-category.pickup-category__blog {
  background: #3BA779;
}
.news__list_box a {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 2rem;
  position: relative;
}
.news__list_box:last-child {
  margin-bottom: 0;
}
.news__list_box a:after {
  content: "";
  width: 2.8rem;
  height: 2.8rem;
  background: url(./img/arrow02.svg) no-repeat center / 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: .3s;
}
.news__list_box .pickup_date {
  margin-top: 0;
}
.pickup_date {
  font-weight: 700;
  margin-top: 2rem;
}
@media only screen and ( max-width : 767px ) {
  .news__list_box {
    margin-bottom: 2rem;
  }
  .news__list_box a {
    align-items: center;
    padding: 1.5rem 5rem 1.5rem 2rem;
  }
  .news__list_box a:after {
    right: 1.5rem;
  }
  .news__list_box .pickup_date {
    margin-right: 1rem;
  }
  .news__list_box .pickup-category {
    width: 7.4rem;
  }
  .news__title {
    width: 100%;
    margin-top: 1rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  .news__list_box {
    margin-bottom: 3rem;
  }
  .news__list_box a {
    height: 9rem;
    align-items: center;
    padding: 1rem 4rem;
  }
  .news__list_box a:after {
    right: 4rem;
  }
  .news__list_box a:hover:after {
    background: url(./img/nav-arrow.svg) no-repeat center / 100%;
  }
  .news__list_box .pickup_date {
    width: 11rem;
  }
  .news__list_box .pickup-category {
    width: 7.4rem;
    margin-right: 5rem;
  }
  .news__title {
    width: calc(100% - (11rem + 7.4rem + 5rem));
  }
}

/* ---------------------------------------------------------------------------------------------

　   pagenavi

--------------------------------------------------------------------------------------------- */

.wp-pagenavi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.wp-pagenavi .pages,
.previouspostslink,
.nextpostslink {
  display: none;
}

.wp-pagenavi .page,
.wp-pagenavi .current {
  width: 6rem;
  height: 6rem;
  background: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  color: #ccc;
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  border: none;
  border-radius: 50%;
}
.wp-pagenavi .page:hover {
  background: var(--mainColor);
  color: #fff;
}
.wp-pagenavi .current {
  background: var(--mainColor);
  color: #fff;
}
.wp-pagenavi a, .wp-pagenavi span {
  border: none !important;
}
.wp-pagenavi .extend {
  display: flex;
  align-items: center; 
}
.wp-pagenavi .first,
.wp-pagenavi .last {
  display: flex;
  align-items: center;
  padding-top: .7em;
}
@media only screen and ( max-width : 767px ) {
  .wp-pagenavi {
    margin-top: 5rem;
  }
  .wp-pagenavi .page,
  .wp-pagenavi .current {
    width: 4rem;
    height: 4rem;
    line-height: 3.5rem;
    margin: 0 .5rem;
    font-size: 2rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  .wp-pagenavi {
    margin-top: 10rem;
  }
  .wp-pagenavi .page,
  .wp-pagenavi .current {
    line-height: 5.5rem;
  }
}

/* ---------------------------------------------------------------------------------------------

　   XXX

--------------------------------------------------------------------------------------------- */

@media only screen and ( max-width : 767px ) {
}
@media print, screen and ( min-width : 768px ) {
}

