@charset "UTF-8";

/*
Theme Name: aio
Author: Media Crew co. ltd
*/

/*==========================================
 全デバイス共通［common］
===========================================*/
html {
  font-size: 62.5%;
}

:root {
  --main-color: #D50000;
  --sub-color: #aaa;
  --text-color: #333;
  --bg-color: #F7F7F7;
}

body {
  width: 100%;
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.6rem;
  font-family: "Noto Sans JP";
  background: #fff;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a:link {
  color: var(--text-color);
  transition-duration: .3s;
  text-decoration: none;
}

a:hover {
  color: var(--main-color);
}

a:visited {
  color: #74325c;
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/NotoSansJP-Light.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/NotoSansJP-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/NotoSansJP-Bold.woff') format('woff');
}

@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    color: var(--text-color);
  }
}

/*------------
 hoverスタイル
------------*/
.hover_opacity {
  transition-duration: .3s;
}

.hover_opacity:hover {
  opacity: .7;
}

/*------------
ボタンのスタイル
------------*/
/*基本のボタン*/
a.btm {
  margin: 35px 0;
  padding: 10px 15px 10px 35px;
  color: var(--text-color);
  display: inline-block;
  font-weight: bold;
  font-size: 1.6rem;
  text-align: left;
  position: relative;
  /*アニメーションの指定*/
  transition: ease .2s;
}

a.btm::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--text-color);
  transition-duration: .3s;
}

a.btm:hover {
  letter-spacing: .15rem;
}

a.bnr-btm {
  width: 250px;
  padding: 20px 30px 20px 20px;
  color: #fff;
  background: var(--main-color);
  position: relative;
  text-align: center;
  text-decoration: none;
  align-content: center;
}

#contentArea a.bnr-btm {
  text-decoration: none !important;
}

a.bnr-btm:before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 45%;
  right: 15px;
}

a.bnr-btm:hover {
  animation: shine 1s;
}

@keyframes shine {
  0% {
    background: var(--main-color);
  }

  10% {
    opacity: .5;
  }

  100% {
    background: var(--main-color);
  }
}

a.bnr-btm.text-center {
  text-align: center;
}

/*------------
fadeinエフェクト
------------*/
.fadein {
  opacity: 0;
  transform: translate(0, 100px);
  transition: all 1s;
}

.fadein.active {
  opacity: 1;
  transform: translate(0, 0);
}

/*==========================================
 PC［1001px~］
===========================================*/
.sp_on,
.tb_on {
  display: none;
}

/*------------
	 見出し
------------*/
.content-ttl-h2 {
  margin: 40px auto;
  font-size: 4rem;
  letter-spacing: 0.25rem;
}

.content-ttl-h2 .jp {
  color: var(--main-color);
  font-size: 1.1rem;
  display: block;
  font-weight: normal;
  letter-spacing: 0;
}

.content-ttl-h3 {
  margin: 30px auto;
  font-size: 2.5rem;
  line-height: 1.5;
}

.content-ttl-h4 {
  margin: 15px 0;
  padding-left: 15px;
  letter-spacing: 0.15rem;
  position: relative;
  font-size: 2rem;
}

.content-ttl-h4:before {
  content: '';
  width: 10px;
  height: 2px;
  border-radius: 5px;
  background: #333;
  position: absolute;
  top: 50%;
  left: 0;
}

.content-ttl-h5 {
  margin: 10px 0 5px;
  letter-spacing: 0.15rem;
  font-size: 1.8rem;
}

.text_small {
  font-size: 40%;
}

.text_wh {
  color: #fff;
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/*------------
 header
------------*/
.header_wrap {
  width: min(100%, 1000px);
  margin: 30px auto;
  transition-duration: .3s;
}

/*fixed*/
.header_wrap.fixed {
  margin: 0 auto;
  padding: 10px 10px 0;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, .8);
  z-index: 5;
}

/*ENDfixed*/
.logo_area {
  width: 245px;
  height: 50px;
  background: #fff;
  z-index: 99;
  position: relative;
  top: -3px;
}

.logo_area a {
  width: 100%;
  height: 100%;
}

.logo_area img {
  padding: 10px;
  width: 100%;
  height: auto;
  pointer-events: auto;
  z-index: 1;
  position: relative;
}

/* グローバルメニュー */
.global-nav {
  margin: -60px 0 0;
  position: relative;
}

.global-nav .nav-list {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  z-index: 3;
  position: relative;
}

.global-nav .nav-list .nav-item:hover {
  /*	background: #fff;*/
}

.global-nav .nav-list .nav-item:hover>a {
  background: rgba(0, 0, 0, .8);
}

.global-nav .nav-list .nav-item a {
  color: #fff;
  display: block;
  padding: 0.6em 1em;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.2;
}

.global-nav .nav-list .nav-item a .jp {
  font-size: 1.1rem;
  font-weight: normal;
}

.global-nav .nav-list .nav-item.nav_contact {
  margin: 0.6em 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.global-nav .nav-list .nav-item.nav_contact a {
  padding-left: 25px;
  font-size: 1.6rem;
  position: relative;
  background: var(--main-color);
}

.global-nav .nav-list .nav-item.nav_contact a:before {
  content: '';
  width: 10px;
  height: 8px;
  background-image: url("images/email.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 40%;
  left: 10px;
}

.global-nav .nav-list .nav-item.nav_contact a:hover {
  background: var(--text-color);
}

/* SP時：ハンバーガーメニューボタン */
#nav-toggle {
  display: none;
}

/* サブナビゲーション */
@media screen and (min-width: 1023px) {
  .nav-list {
    position: relative;
  }

  .nav-item_sub {
    background: rgba(0, 0, 0, .95);
    left: 0;
    margin: 0 calc(50% - 50vw);
    opacity: 0;
    position: absolute;
    top: 64px;
    transition: all 0.2s ease;
    visibility: hidden;
    width: 100vw;
  }

  .nav-item_sub .inner {
    display: flex;
    margin: 0 auto;
    width: min(100%, 1200px);
  }

  .global-nav .nav-list .nav-item a.nav_top {
    padding: 30px 20px 20px;
    font-size: 2.25rem;
  }

  .nav-item_sub .inner ul {
    margin: 20px 20px 20px;
  }

  .global-nav .nav-list .nav-item_sub a {
    text-align: left;
    position: relative;
  }

  .global-nav .nav-list .nav-item_sub a:hover {
    transform: translateX(5px);
    color: #aaa;
  }

  .global-nav .nav-list .nav-item_sub a[href$=".pdf"]::after {
    content: none;
  }
}

/*ナビPC-SP共通*/
.global-nav .nav-list .nav-item_sub ul li a:before {
  margin-right: 10px;
  content: '→';
}

/*li ul li*/
.nav-item_sub .inner ul li ul {
  margin: 0 20px;
}

.global-nav .nav-list .nav-item .nav-item_sub .inner ul li ul a {
  padding: 5px 10px;
  font-size: 1.3rem;
  padding-left: 1.7em;
  text-indent: -1.7em;

}

/*END li ul li*/
.nav-item:hover .nav-item_sub {
  opacity: 1;
  visibility: visible;
}

/*カレント*/
.global-nav .nav-list .nav-item.current>a {
  position: relative;
}

.global-nav .nav-list .nav-item.current>a:after {
  content: '';
  margin: 0 auto;
  width: 40px;
  height: 3px;
  background: var(--main-color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.global-nav .nav-list .nav-item_sub .current>a::before {
  color: var(--main-color);
}

/*------------
 コンテンツ
------------*/
.section {
  margin: 0 auto;
  padding: 60px 0;
  max-width: 1000px;
  width: 90%;
}

.section_2col {
  align-items: flex-start;
}

.content_inner {
  margin: 0 auto;
  padding: 50px 0;
  width: min(90%, 1000px);
}

/*------------
 contact
------------*/
#contactArea {
  background: var(--bg-color);
}

#contactArea .section {
  position: relative;
}

#contactArea h2 {
  margin: 0;
}

.contact-text {
  position: absolute;
  top: 75px;
  left: 250px;
}

.tel-box {
  margin: 35px auto;
  padding: 10px;
  border-top: solid 3px #777;
  border-bottom: solid 3px #777;
  background: #fff;
  text-align: center;
}

.tel-num {
  margin-right: 10px;
  font-size: 5.5rem;
  font-weight: bold;
  color: var(--text-color);
}

.eigyou {
  display: inline;
  font-size: 1.5rem;
}

#contactArea .flex>a {
  width: 48%;
}

/*------------
 footer
------------*/
#footer {
  position: relative;
  color: #fff;
}

/*footerTop*/
#footerTop {
  background: var(--text-color);
}

#footerTop .section>div {
  width: 50%;
}

.footer-logo {
  margin-bottom: 40px;
  font-weight: bold;
  font-size: 1.8rem;
}

.footer-logo a {
  color: #fff;
}

.footer-logo img {
  margin-right: 30px;
  width: 60px;
  height: auto;
}

#footerTop a[href*="tel:"] {
  color: #fff;
}

a.ft-btm {
  margin: 20px 0;
  padding: 8px 25px 8px 8px;
  border: solid 1px #fff;
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
}

a.ft-btm:before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 45%;
  right: 15px;
}

.ft-nav dt {
  width: 25%;
  font-size: 1.8rem;
  font-weight: bold;
}

.ft-nav dd {
  margin-bottom: 20px;
  width: 75%;
}

.ft-nav a {
  padding: 0 10px;
  font-size: 1.1rem;
  color: #fff;
  margin-right: 0 !important;
}

.ft-nav a:hover {
  opacity: .7;
}

.ft-nav-ul {
  justify-content: flex-start;
}

.ft-nav-ul li {
  position: relative;
}

.ft-nav-ul li a[href$=".pdf"]::after {
  content: none;
}

.ft-nav-ul li:not(:last-child):after {
  content: '';
  position: absolute;
  top: 45%;
  height: 10px;
  width: 1px;
  background: #fff;
}

/*footerBottom*/
#footerBottom {
  background: #000;
  border-bottom: solid 5px var(--main-color);
}

small {
  margin: 0 auto 0 0;
  display: block;
  font-size: 1.2rem;
  letter-spacing: .2rem;
}

#footerBottom ul a {
  padding: 0 5px;
  color: #fff;
  font-size: 1.2rem;
}

/*------------
	 pagetop
------------*/
#pagetop {
  height: 40px;
  position: absolute;
  bottom: 680px;
  right: 5%;
  z-index: 2;
  font-size: 1.5rem;
  mix-blend-mode: difference;
}

#pagetop a {
  width: 100%;
  height: 100%;
  display: block;
  text-align: center;
  position: relative;
  transform: rotate(90deg);
  color: #fff;
  font-weight: bold;
  letter-spacing: .2rem;
}

#pagetop a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

#pagetop a::after {
  content: '';
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  bottom: -5px;
  left: -3px;
  /*矢印の形状*/
  width: 15px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}

/*==========================================
 tb［769px-1024px以下］
===========================================*/
@media screen and (max-width: 1024px) {
  .tb_on {
    display: block;
  }

  .tb_none {
    display: none;
  }

  /*------------
	 header
	------------*/
  .header_wrap {
    margin: 0;
    position: relative;
    z-index: 999;
    pointer-events: none;
  }

  /*fixed*/
  .header_wrap.fixed {
    margin: 0 auto;
    padding: 0;
    position: relative;
    background-color: inherit;
  }

  .logo_area {
    margin: 10px;
    z-index: 0;
  }

  /* nav-toggle */
  #nav-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    height: 50px;
    width: 50px;
    background: #fff;
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-size: 28px;
    z-index: 9999;
    pointer-events: auto;
  }

  #nav-toggle>div {
    position: relative;
    width: 20px;
    color: #333;
  }

  #nav-toggle>div:after {
    content: 'MENU';
    font-size: 1rem;
    position: absolute;
    bottom: -45px;
    right: -20px;
  }

  #nav-toggle span {
    margin: 0 auto;
    width: 100%;
    height: 1px;
    position: absolute;
    left: 15px;
    display: block;
    background: #333;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }

  #nav-toggle span:nth-child(1) {
    top: 15px;
  }

  #nav-toggle span:nth-child(2) {
    top: 20px;
  }

  #nav-toggle span:nth-child(3) {
    top: 25px;
  }

  /* #nav-toggle close */
  .open #nav-toggle span:nth-child(1) {
    top: 20px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }

  .open #nav-toggle span:nth-child(3) {
    top: 20px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .global-nav {
    margin: 0;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    pointer-events: none;
  }

  .nav-list {
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .global-nav .nav-list {
    background: rgba(0, 0, 0, 0.8);
    display: none;
    left: 50%;
    padding: 60px 10px 10px;
    position: absolute;
    transform: translate(-50%, 0%);
    width: 100%;
    pointer-events: auto;
  }

  .global-nav .nav-list .nav-item a {
    color: #fff;
    padding: 1rem 1rem;
    text-align: left;
    position: relative;
  }

  .global-nav .nav-list .nav-item>a {
    pointer-events: none;
  }

  .global-nav .nav-list .nav-item.nav_news>a,
  .global-nav .nav-list .nav-item.nav_contact>a {
    pointer-events: all;
  }

  /*矢印*/
  .global-nav .nav-list .nav-item.parent>a:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(135deg);
    position: absolute;
    top: 50%;
    right: 10px;
    transition-duration: .3s;
  }

  .global-nav .nav-list .nav-item.parent>a.open:after {
    transform: rotate(-45deg);
  }

  /*END矢印*/
  .nav-item_sub,
  .global-nav .nav-list .nav-item a.nav_top {
    display: none;
  }

  /*li ul li*/
  .global-nav .nav-list .nav-item_sub ul li ul a:before {
    content: none;
  }

  /*END li ul li*/
  /*カレント
.global-nav .nav-list .nav-item.current >a:after:not{
	content: none;
}*/
  .global-nav .nav-list .nav-item.current>a::after {
    background: inherit;
    left: inherit;
  }

  /*------------
	CONTACT
	------------*/
  .eigyou {
    margin: 0 0 15px;
    display: block;
  }

  /*------------
	 footer
	------------*/
  #footerTop .section {
    padding: 80px 0 60px;
  }
}

/*==========================================
 sp［540px以下］
===========================================*/
@media screen and (max-width: 540px) {
  .sp_on {
    display: block;
  }

  .pc_on {
    display: none;
  }

  a.btm,
  a.bnr-btm {
    margin: 10% auto;
    font-size: 1.4rem;
  }

  /*------------
		 見出し
	------------*/
  .content-ttl-h2 {
    font-size: 3rem;
  }

  .content-ttl-h3 {
    margin-bottom: 30px;
    font-size: 2rem;
  }

  .content-ttl-h4 {
    font-size: 1.8rem;
  }

  /*------------
		 header
	------------*/
  .logo_area {
    margin: 0 10px;
  }

  #nav-toggle {
    top: 0;
    right: 0;
  }

  /*------------
	コンテンツ
	------------*/
  .section {
    padding: 50px 0;
  }

  .section p {
    font-size: 1.4rem;
  }

  /*------------
	CONTACT
	------------*/
  .contact-text {
    position: static;
  }

  #contactArea h2 {
    margin-bottom: 40px;
  }

  .tel-num {
    font-size: 10vw;
  }

  #contactArea .flex>a {
    width: 100%;
  }

  #contactArea .flex>a:first-child {
    margin: 0 0 5%;
  }

  /*------------
	 footer
	------------*/
  #footerTop .section>div {
    width: 100%;
  }

  #footerTop .section>div:first-child {
    margin-bottom: 5%;
  }

  .ft-nav dt,
  .ft-nav dd {
    width: 100%;
  }

  #footerBottom small {
    margin-top: 20px;
    order: 2;
  }

  /*------------
	 pagetop
	------------*/
  #pagetop {
    height: 100px;
    right: 2%;
    font-size: 1.1rem;
  }

  #pagetop a::before {
    bottom: 80px;
  }

  #pagetop a::after {
    bottom: 75px;
  }
}