@charset "UTF-8";

/*
Theme Name : WEBSITE
Author: clovergraphic
Description: corporate website
Version: 1.0
*/

/*=======================================================
Common
=======================================================*/
:root {
  --color_1: #fff;
  --color_2: #444; /*メイン文字*/
  --color_3: #00A0E9; /*ブルー*/
  --color_4: #F9EA4C; /*イエロー*/
  --color_5: #CABD90; /*ブラウン*/
  --color_6: #F9F9F9; /*薄グレー*/
  --color_7: #56B125; /*グリーン*/
  --color_8: #2457A7; /*LPブルー*/
  --vw: 1vw;
}

html {
  scroll-behavior: smooth;
  --base-scale: 0.69444; 
  font-size: calc(var(--base-scale) * var(--vw));
}

@media screen and (min-width: 1600px) {
  html {
    font-size: 11.11px;
  }
}

@media screen and (max-width: 896px) {
  html {
    font-size: calc(1.11731 * var(--vw));
  }
}

@media screen and (max-width: 600px) {
  html {
    font-size: 62.5%;
  }
}

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

::selection {
  background: #00A0E933; /* Safari */
}
::-moz-selection {
  background: #00A0E933; /* Firefox */
}

body {
  position: relative;
  font-family:
    "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",
    sans-serif;
  font-size: 1.6rem;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  letter-spacing: 0.05em;
  vertical-align: middle;
  color: var(--color_2);
  overflow: clip;
}


/*背景画像*/
/*ホーム*/
body.home {
  background: url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat, url(img/bg-gradation-img-1.png) no-repeat;
  background-size: 110% auto;
  background-position: center top 133rem, center top 239rem, center top 402rem;
}

@media screen and (min-width: 1920px) {
  body.home {
    background-size: 110% 8%;
    background-position: center top 175rem, center top 275rem, center top 430rem;
  }
}
@media screen and (max-width: 896px) {
  body.home {
    background-position: center top 173rem, center top 270rem, center top 415rem;
  }
}
@media screen and (max-width: 600px) {
  body.home {
    background: url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat, url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat, url(img/bg-gradation-img-1.png) no-repeat;
    background-size: 200% 4%;
    background-position: center top 18%, center top 26.5%, center top 37%, center top 54%, center top 62%;
  }
}

/*サービス*/
body.page-id-9 {
  background: url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat, url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat, url(img/bg-gradation-img-1.png) no-repeat;
  background-size: 110% auto;
  background-position: center top 210rem, center top 315rem, center top 460rem, center top 575rem, center top 700rem;
}

@media screen and (min-width: 1920px) {
  body.page-id-9 {
    background-size: 110% 8%;
  }
}
@media screen and (max-width: 600px) {
  body.page-id-9 {
    background: url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat, url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat, url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat, url(img/bg-gradation-img-1.png) no-repeat, url(img/bg-gradation-img-2.png) no-repeat;
    background-size: 200% 4%;
    background-position: center top 29%, center top 37%, center top 45%, center top 57%, center top 65%, center top 73.5%, center top 81.5%, center top 91%;
  }
}

body p {
  text-align: justify;
}

body img.scaled-image {
  border: none;
  margin: 0;
}

.inner__1600 {
  width: 100%;
  max-width: 1600px;
  padding: 0 12rem 0 25px;
  margin: auto;/*
  border: 5px palevioletred dotted;*/
}

/*inner__1600内の幅90%制御*/
.content__wrap {
  width: 90%;
  margin: auto;/*
  border: 3px green dotted;*/
}

@media screen and (min-width: 1920px) {
  .inner__1600 {
  padding: 0 25px;
  }
}
@media screen and (max-width: 896px) {
  .inner__1600 {
    padding: 0 25px;
  }
  .content__wrap {
    width: 96%;
  }
}

@media screen and (max-width: 600px) {
  .content__wrap {
    width: 100%;
  }
}

/*=======================================================
Header
=======================================================*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: min-content;
  padding: 0 1rem 0 4rem;
  line-height: 1em;
  z-index: 5000;
}

.header__logo {
  padding: 2.4rem 0 0 0; 
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.008em;
  transition: 0.3s;
}
#header .header__logo:hover {
  opacity: 0.6;
}

.header__logo span {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.header__logo a {
  display: block;
  margin-top: 1rem;
  align-content: center;
}

.header__logo a img {
  width: 5rem;
  margin-top: -1rem;
}

.header__nav-pc {
  position: fixed;
  top: 0;
  right: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 11rem;
  height: 59rem;
}
/*pcメニュー背景*/
.header__nav-pc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11rem;
  height: 100%;
  background: url(img/g-nav-bg.svg) no-repeat;
  background-size: 100% 100%;
  z-index: 1;
}

.g-nav__group {
  position: relative;
  margin: 5rem 0 auto;
  color: var(--color_1);
  z-index: 2;
}

.g-nav__item {
  width: 100%;
  font-weight: bold;
  letter-spacing: 0.01em;
  transition: 0.3s;
}
.g-nav__item:hover,
.g-nav__item:focus,
.g-nav__item:active {
  color: var(--color_8);
  background-color: #ffffff80;
}

.g-nav__item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 3rem 0;
  text-align: center;
}

.top {
  position: relative;
  margin: 0 0 1.6rem;
  padding: 1.6rem 0;
  font-weight: bold;
  text-align: center;
  color: var(--color_1);  
  z-index: 2;
  transition: 0.3s;
}
.top span {
  display: block;
  width: 2.2rem;
  height: 2rem;
  margin: 0 auto 1rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background-color: var(--color_1);
  transition: 0.3s;
}

.top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: #ffffff1a;
  opacity: 0;
  transition: background-color 0.3s ease 0s;
  z-index: -1;
}

.top:hover,
.top:active,
.top:focus {
  color: var(--color_4);
}

.top:hover span,
.top:active span,
.top:focus span {
  background-color: var(--color_4);
}

.top:hover::before,
.top:active::before,
.top:focus:before {
  opacity: 1;
}

@media screen and (max-width: 896px) {
  #header {
    padding: 0 1rem;
  }
  .header__logo {
    padding: 1.6rem 0 0 0;
  }
  .header__nav-pc {
    display: none;
  }
}

/*=======================================================
Toggle
=======================================================*/
.toggle__contents {
  display: none;
  position: relative;
}

.toggle__btn {
  position: absolute;
  top: 2.4rem;
  right: 1rem;
  width: 5rem;
  height: 4rem;
  cursor: pointer;
  z-index: 30;
}

.toggle__btn .line {
  display: block;
  position: absolute;
  width: 100%;
  height: 0.4rem;
  background-color: #999;
  border-radius: 5rem;
  transition: all 0.2s ease;
}

.toggle__btn .line:nth-of-type(1) { top: 0; }
.toggle__btn .line:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
.toggle__btn .line:nth-of-type(3) { bottom: 0; }

.toggle__btn.active > .line {
  background-color: var(--color_1);
  transition: 0.4s;
}

.toggle__btn.active > .line:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.toggle__btn.active > .line:nth-of-type(2) {
  opacity: 0;
}

.toggle__btn.active > .line:nth-of-type(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

.tgl-nav__menu {
  display: none;
}

.tgl-nav__menu.active {
  position: absolute;
  top: 0;
  right: -1rem;
  display: flex;
  flex-direction: column;
  width: 30rem;
  padding: 8rem 0 16rem;
  height: auto;
  transform: translateY(-100%);
  background: linear-gradient(#00A0E9 50%, #CBE9F7 85%, transparent);
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.tgl-nav__menu a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4rem;
  font-size: 2.4rem;
  color: var(--color_1);
  transition: all 0.2s;
}

.tgl-nav__menu a:hover,
.tgl-nav__menu a:focus,
.tgl-nav__menu a:active {
  color: var(--color_8);
  background-color: #ffffff80;
}

@media screen and (max-width: 896px) {
  .toggle__contents {
    display: block;
  }
}


/*=======================================================
fixed banner
=======================================================*/
.fixed__banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 11rem;
  z-index: 50000;
  transition: 0.3s;
}
.fixed__banner.is__visible {
  opacity: 1;
}

.fixed__banner:hover,
.fixed__banner:focus,
.fixed__banner:active {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: scale(0.9);
}

.fixed__banner-sp {
  display: none;
}

@media screen and (max-width: 896px) {
  .fixed__banner {
    width: 100px;
  }
}

@media screen and (max-width: 600px) {
  .fixed__banner {
    display: none;
  }
  .fixed__banner-sp {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    font-size: 2rem;
    font-weight: bold;
    line-height: 5rem;
    background-color: var(--color_5);
    z-index: 50000;
    /* フェードのための設定 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
  }
  .fixed__banner-sp.is__visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .fixed__banner-sp.-lp {
    background-color: var(--color_4);
    border-top: var(--color_1) 2px solid;
  }
  .fixed__banner-sp a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
  }
}

/*=======================================================
parts cta
=======================================================*/
.cta {
  max-width: 1600px;
  margin: auto;
  padding: 5rem 0;
}

.cta__button {
  position: relative;
  width: 90%;
  padding-bottom: 3.6rem;
  max-width: 47rem;
  margin: auto;
  z-index: auto;
}
.cta__button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60rem;
  height: 5.6rem;
  background: url(img/cta-bg.png) no-repeat;
  background-position: top center;
  background-size: contain;
  z-index: 1;
}

.cta__button a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 2rem;
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  color: var(--color_3);
  background-color: #ffffff1A;
  border: var(--color_3) 3px solid;
  border-radius: 5rem;
  transition: 0.3S;
  z-index: 2;
}
.cta__button a:hover {
  color: var(--color_1);
  background-color: #00A0E9B3;
}

.cta__button a span {
  display: inline-block;
}

@media screen and (max-width: 600px) {
  .cta__button {
    width: 98%;
    padding-bottom: 3.2rem;
  }
  .cta__button::before {
    width: 85vw;
    height: 4.5rem;
    background-size: 100% 100%;
  }
}

/*=======================================================
.pageTitle
=======================================================*/
.pageTitle {
  padding: 18rem 0;
}
.pageTitle h1 {
  position: relative;
  padding-top: 12rem;
}
h1::before {
  content: url(img/pageTitle-img.png);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
body.page-id-16 h1::before {
  display: none;
}

h1 .subTitle {
  font-size: 8rem;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}
h1 .mainTitle {
  font-size: 2rem;
  text-align: center;
}


@media screen and (max-width: 600px) {
  h1 .subTitle {
    font-size: 9vw;
  }
  h1 .mainTitle {
    font-size: 5vw;
  }
}


/*=======================================================
return up
=======================================================
#return_up {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 13px;
  right: 1.5%;
  padding: 0.8% 0.5%;
  transform: rotate(90deg);
  transform-origin: right top;
  color: var(--color_2);
  background-color: var(--color_1);
  -webkit-filter: drop-shadow(#efefef 0 2px 5px);
  filter: drop-shadow(#efefef 0 2px 5px);
  z-index: 800;
  transition-duration: 0.3s;
  pointer-events: none;
  transition-timing-function: ease-out;
}

#return_up.on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  bottom: 20px;
}

#return_up.on:hover {
  bottom: 15px;
  -webkit-filter: none;
  filter: none;
  transition: 0.3s;
}

@media screen and (max-width: 480px) {
  #return_up {
    right: 2px;
    bottom: 0;
    padding: 1% 2%;
  }
  #return_up.on {
    bottom: 5px;
  }

  #return_up.on:hover {
    bottom: 0;
  }
}
*/

/*=======================================================
Footer
=======================================================*/
footer {
  padding: 5.6rem 0 0;
  color: var(--color_1);
  background-color: var(--color_2);
}
.footer__flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.2rem;
}

.f-left {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.4;
}

.f-right p {
  text-align: right;
}

.f-right p.head {
  font-size: 1.3rem;
}

.f-logo {
  display: flex;
  align-items: center;
  justify-content: right;
  margin-bottom: 2rem;
}

.f-logo img {
  width: 7rem;
}

.f-logo span {
  margin-left: 1rem;
  font-size: 2.4rem;
  letter-spacing: 0.004em;
}

.f-info,
.f-info address {
  font-size: 1.4rem;
  text-align: right;
}

.f-info address {
 font-style: normal;
} 

.copyright{
  font-size: 1.2rem;
  text-align: center;
}

@media screen and (max-width: 1800px) {
  footer {
    padding: 5.6rem 0 0 0;
  }
}

@media screen and (max-width: 896px) {
  .footer__flex .f-left {
    font-size: 3.2rem;
  }
  .f-right p.head {
    font-size: 1rem;
  }
  .f-logo img {
    width: 5rem;
  }
  .f-logo span {
    margin-left: 0.5rem;
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 600px) {
  footer {
    margin-bottom: 5rem;
    padding: 5.6rem 0 0;
    font-size: 1.3rem;
  }
  .footer__flex {
    display: block;
    margin-bottom: 5.6rem;
  }
  .footer__flex .f-left {
    font-size: 2.4rem;
    margin-bottom: 8rem;
  }
  .footer__flex .f-right p, .f-logo span, .f-info address, .f-info address span {
    text-align: center;
  }
  .f-logo {
    justify-content: center;
    margin-bottom: 2rem;
  }
  .f-logo span {
    font-size: 2rem;
  }
  .f-info,
  .f-info address {
    font-size: 1.3rem;
  }
}
