@charset 'utf-8';

:root {
  --color1: #0C8CAF;
  --color2: #60FFFF;
  --color3: #454545;
  --bgColor1: #222222;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color3);
  font-family: YakuHanJP_Narrow, 'Zen Kaku Gothic New', sans-serif;
  box-sizing: border-box;
  background-image: url('../img/bg3.webp');
  background-color: rgba(255, 255, 255, 0.3);
  background-blend-mode: lighten;
  z-index: -1;
}

section {
  margin-top: 6rem;
}

.main_contents_wrapper {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.container {
  width: 90%;
  max-width: 1100px;
  box-sizing: border-box;
}

img {
  vertical-align: baseline;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  section {
    margin-top: 5rem;
  }
}

/*---------------------------------------------------
mv
---------------------------------------------------*/
.page_mv {
  position: relative;
  width: 100%;
  height: 300px;
}

.page_subtitle {
  font-size: 2rem;
  color: var(--color2);
}

.page_maintitle {
  margin: 0.5rem 0 0 2rem;
  font-size: 3rem;
  font-weight: 500;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .page_subtitle {
    font-size: 1.5rem;
  }
  
  .page_maintitle {
    margin: 0.5rem 0 0 1rem;
    font-size: 2rem;
  }
}

/*---------------------------------------------------
section_title
---------------------------------------------------*/
.section_subtitle {
  color: var(--color1);
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
}

.section_title {
  margin-top: 0.5rem;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .section_subtitle {
    font-size: 1rem;
  }
  
  .section_title {
    font-size: 1.8rem;
  }
}

/*---------------------------------------------------
btn
---------------------------------------------------*/
.btn {
  position: relative;
  display: block;
  padding: 1.5rem 2rem;
  width: fit-content;
  border: 3px solid var(--color1);
  background: var(--color1);
  text-align: center;
  overflow: hidden;
  transition: ease .2s;
}

.btn span {
  display: block;
  padding: 0 2rem;
  margin: 0 auto;
  width: fit-content;
  position: relative;
  z-index: 10;
  color: #fff;
  /* font-size: 1.5rem; */
  font-weight: 500;
}

.btn::after {
  content:'';
  position: absolute;
  right: 10px;
  top: 26px;
  width:10px;
  height:10px;
  z-index: 10;
  border-top: 2px solid #fff;
  border-right:2px solid #fff;
  transform: rotate(45deg);
}

.btn:hover span {
  color: var(--color1);
}

.btn:hover::after {
  border-top: 2px solid var(--color1);
  border-right:2px solid var(--color1);
}

.bgskew:before {
  content: '';
    /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
    /*色や形状*/
  background:#fff;/*背景色*/
  width: 100%;
  height: 100%;
    /*アニメーション*/
  transition: transform .6s ease;
  transform: scale(0, 1);
  transform-origin: right top;
}

/*hoverした際の形状*/
.bgskew:hover:before{
  transform-origin:left top;
  transform:scale(1, 1);
}

@media screen and (max-width: 768px) {
  /* .btn {
    padding: 20px 30px;
  } */
  
  .btn span {
    font-size: 0.9rem;
  }
}


/*---------------------------------------------------
header
---------------------------------------------------*/
#header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 1rem 0 0.5rem;
  background: rgba(255, 255, 255, 0.9);
}

.header-logo {
  width: 160px;
  margin-left: 1rem;
}

.header-logo img {
  width: 100%;
}

.pc-menu {
  width: 100%;
}

.header-list {
  display: flex;
  width: 100%;
  margin-top: 0.2rem;
}

.header-list-item {
  margin-right: 3rem;
  width: fit-content;
}

.header-list-item:first-child {
  margin-left: 1rem;
}

.header-list-item:last-child {
  margin-right: 0;
}

.header-list li a {
  position: relative;
  display: block;
  color: #000;
  position: relative;
  overflow: hidden;
  padding: 0.5em 0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all .3s;
}

.header-list li a.current,
.header-list li a:hover{
  color:var(--color1);
}
.header-list li a.current::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color1);
}

.header-list li a::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color1);
  transition: all .3s;
  transform: scale(0, 1);
  transform-origin: center top;
}

.header-list li a.current::after,
.header-list li a:hover::after {
    transform: scale(1, 1);
}

.sp-menu {
  display: none;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color1);
  text-align: center;
  color: #fff;
  padding: 64px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay #close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 32px;
  cursor: pointer;
  color: #fff;
}

.overlay li {
  margin-top: 3rem;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
}

.overlay li img {
  width: 150px;
}

.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: .1s;
}
.overlay.show li:nth-child(2) {
  transition-delay: .2s;
}
.overlay.show li:nth-child(3) {
  transition-delay: .3s;
}
.overlay.show li:nth-child(4) {
  transition-delay: .4s;
}
.overlay.show li:nth-child(5) {
  transition-delay: .5s;
}
.overlay.show li:nth-child(6) {
  transition-delay: .6s;
}
.overlay.show li:nth-child(7) {
  transition-delay: .7s;
}

/* sp-menu */

@media (max-width: 960px) {
  header {
    display: flex;
    justify-content: space-between;
  }

  .sp-menu {
    display: block;
    margin-right: 20px;
  }
  
  .sp-menu .material-icons {
    font-size: 32px;
    /* line-height: 64px; */
    cursor: pointer;
    color: var(--color1);
  }
  
  .sp-menu #open.hide {
    display: none;
  }

  .pc-menu {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .header-logo img {
    width: 8rem;
  }
}

/*---------------------------------------------------
パンくずリスト
---------------------------------------------------*/
.breadcrumb {
  margin: 0;
  padding: 1.1em 1em;
  list-style: none;
  overflow: hidden;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-size: 0.8rem;
}

.breadcrumb li:nth-of-type(n + 2):before {
  content: '/';
  padding: 0 0.2em;
}

.breadcrumb li {
  position: relative;
}

.breadcrumb li a::after{
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transition: .2s ease-in-out;
  transform: scale(0,1);
  transform-origin: left top
}

.breadcrumb li:nth-of-type(n + 2) a::after{
  position: absolute;
  content: '';
  bottom: 0;
  left: 12px;
  width: 90%;
  height: 1px;
  background: #000;
  transition: .2s ease-in-out;
  transform: scale(0,1);
  transform-origin: left top
}

.breadcrumb li a:hover::after {
  transform: scale(1,1)
}

/*---------------------------------------------------
contact
---------------------------------------------------*/
.contact {
  margin-top: 150px;
  width: 75vw;
  color: #fff;
}

.contact_box {
  display: flex;
  align-items: center;
  height: 460px;
  background: var(--color1);
  border-radius: 0 230px 0 0;
}

.contact_left {
  width: 40%;
  font-weight: 300;
  text-align: center;
}

.contact_left img {
  width: 70px;
}

.contact_left h3 {
  margin-top: 1.5rem;
  font-size: 2rem;
  font-weight: 400;
}

.contact_text {
  width: fit-content;
  margin: 1.5rem auto 0;
}

.contact_text p {
  text-align: left;
}

.contact_right {
  width: 60%;
}

.contact_link {
  display: block;
  width: 400px;
  height: 80px;
  padding: 1.5rem;
  border: 3px solid #fff;
  border-radius: 80px;
  /* outline: 2px solid red; */
}

.contact_link:nth-of-type(2) {
  margin-top: 20px;
}

.tel_box_inner,
.mail_box_inner {
  position: relative;
  width: fit-content;
  margin-left: 80px;
}

.tel_box_inner .tel {
  display: block;
  font-size: 3rem;
}

.tel_box_inner::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -70px;
  background: url('../img/tel.webp');
  background-size: cover;
  width: 50px;
  height: 50px;
}

.tel_box_inner span:nth-of-type(2) {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
}

.mail_box_inner span {
  display: block;
  font-size: 1.7rem;
  line-height: 80px;
}

.mail_box_inner::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -70px;
  background: url('../img/mail.webp');
  background-size: cover;
  width: 50px;
  height: 50px;
}

@media screen and (max-width: 1100px) {
  .contact {
    margin-top: 5rem;
    width: 100%;
  }
  
  .contact_box {
    display: block;
    padding-top: 3rem;
    height: 460px;
    border-radius: 0 230px 0 0;
  }

  .contact_left {
    width: fit-content;
    margin: 0 auto;
    font-weight: 300;
    text-align: center;
  }
  
  .contact_left img {
    width: 50px;
  }
  
  .contact_left h3 {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
  }
  
  .contact_text {
    margin: 1rem auto 0;
  }
  
  .contact_text p {
    font-size: 0.8rem;
  }
  
  .contact_right {
    width: 90%;
    margin: 0 auto;
  }
  
  .contact_link {
    display: flex;
    align-items: center;
    width: 300px;
    margin: 2rem auto 0;
    padding: 1rem 1rem;
  }
  
  .contact_link:nth-of-type(2) {
    margin-top: 1.5rem;
  }
  
  .tel_box_inner,
  .mail_box_inner {
    margin-left: 70px;
  }
  
  .tel_box_inner .tel {
    font-size: 2rem;
    text-align: center;
  }

  .tel_box_inner span:nth-of-type(2) {
    line-height: 1.5;
  }
  
  .tel_box_inner .tel::before {
    top: 5px;
  }
  
  .mail_box_inner span {
    font-size: 1.3rem;
  }

  .tel_box_inner::before {
    top: 50%;
    transform: translateY(-50%);
    left: -60px;
    width: 40px;
    height: 40px;
  }

  .mail_box_inner::before {
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
  }
}

/*---------------------------------------------------
footer
---------------------------------------------------*/
footer {
  margin-top: 6rem;
  padding: 3rem;
  background: #fff;
}

.footer_logo {
  width: 270px;
}

.footer_logo img {
  width: 100%;
}

.footer_container {
  display: flex;
  margin-top: 2rem;
}

.footer_left {
  padding: 1rem 4rem 1rem 0;
  border-right: 2px solid #F0F0F0;
}

.footer_left h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.address {
  margin-top: 1rem;
}

.address span {
  display: block;
}

.address span:nth-of-type(2) {
  margin-top: 0.2rem;
}

.map {
  margin-top: 1rem;
}

.map a {
  position: relative;
  color: var(--color1);
  transition: all .3s;
}

.map a:hover {
  opacity: 0.8;
}

.map a::after {
  content: '';
  position: absolute;
  top: 7.5px;
  right: -20px;
  display: block;
  width: 16px;
  height: 11.5px;
  background: url('../img/map_icon.webp');
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s;
}

.map a:hover::after {
  transform: translateX(5px);
}

.footer_left .tel {
  margin-top: 1rem;
}

.footer_left .tel a {
  display: block;
}

.footer_left .tel a:nth-of-type(2) {
  margin-top: 0.2rem;
}

.footer_center {
  padding: 1rem 4rem;
  border-right: 2px solid #F0F0F0;
}

.footer_center_inner {
  display: flex;
  width: fit-content;
}

.footer_list:first-child {
  margin-right: 4rem;
}

.footer_list_item {
  position: relative;
  margin: 2rem 0 0 1rem;
  width: fit-content;
  font-weight: 400;
}

.footer_list_item::before {
  content: '';
  width: 9px;
  height: 9px;
  border-top: solid 1px var(--color3);
  border-right: solid 1px var(--color3);
  transform: rotate(45deg);
  position: absolute;
  top: 30%;
  left: -20px;
}

.footer_list_item:first-child {
  margin-top: 0;
}

.footer_right {
  padding: 1rem 4rem;
}

.footer_right h3 {
  font-size: 1.2rem;
  font-weight: 400;
}

.instagram {
  width: 200px;
  margin-top: 0.5rem;
}

.instagram img {
  width: 100%;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.8rem;
  text-align: right;
}

.fax {
  pointer-events: none;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  footer {
    margin-top: 5rem;
    padding: 2rem;
  }

  .footer_logo {
    width: 200px;
    margin: 0 auto;
  }
  
  .footer_container {
    display: block;
    margin-top: 2rem;
  }

  .footer_left {
    padding: 0;
    border-right: none;
  }
  
  .footer_left h3 {
    font-size: 1rem;
  }
  
  .address {
    margin-top: 1rem;
  }
  
  .address span {
    font-size: 0.9rem;
  }
  
  .address span:nth-of-type(2) {
    margin-top: 0.1rem;
  }

  .footer_left .tel span {
    margin-top: 0.1rem;
  }

  .footer_center {
    margin-top: 3rem;
    padding: 0;
    border-right: none;
  }

  .footer_center_inner {
    display: block;
    width: 100%;
  }
  
  .footer_list:first-child {
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .footer_list_item {
    position: relative;
    margin: 2rem 0 0 1rem;
    width: 100%;
  }
  
  .footer_right {
    margin-top: 3rem;
    padding: 0;
  }
  
  .footer_right h3 {
    font-size: 1rem;
    font-weight: 400;
  }
  
  .instagram {
    width: 200px;
    margin-top: 0.5rem;
  }
  
  .instagram img {
    width: 100%;
  }
  
  .copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    text-align: center;
  }
}

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

/*---------------------------------------------------
page-top
---------------------------------------------------*/
  #page-top a{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color1);
    border-radius: 5px;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase; 
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
  }
  
  #page-top a:hover{
    background: #777;
  }
  
  /*リンクを右下に固定*/
  #page-top {
    position: fixed;
    right: 10px;
    z-index: 2;
      /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
  }
  
  /*　上に上がる動き　*/
  
  #page-top.UpMove{
    animation: UpAnime 0.5s forwards;
  }
  @keyframes UpAnime{
    from {
      opacity: 0;
      transform: translateY(100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /*　下に下がる動き　*/
  
  #page-top.DownMove{
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime{
    from {
      opacity: 1;
    transform: translateY(0);
    }
    to {
      opacity: 1;
    transform: translateY(100px);
    }
  }

  @media screen and (max-width: 960px) {
    #page-top {
      display: none;
    }
  }