/*
Theme Name:   タカノスマイル
Description: SMART-MINIMUMをカスタマイズしています。http://rfs.jp/
Author:     ComQuest
Author URI: http://www.comquest.co.jp/
Version:    1.0
*/

/*= googlefont =*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Noto+Sans+JP:wght@100..900&family=Oooh+Baby&display=swap');
/*= font-stream / レビュー用comquestのトークン =*/
@font-face{
  font-family: "CraftM";
  font-weight: normal;
  src:url("https://www.font-stream.com/fontdata/CraftM-SB.woff2?token=asidoito0usk72bb") format("woff2"),
  url("https://www.font-stream.com/fontdata/CraftM-SB.woff?token=asidoito0usk72bb") format("woff");
}

/* 変数 */
:root {
  --white: #fff;
  --white-opacity:rgba(255,255,255,.8);
  --black: #111;
  --gray: #333;
  --gray-bg: #f6f6f6;
  --base-color: #0c1954;
  --base-color-shadow: rgb(12, 25, 84,.2);
  --main-color: rgb(12, 112, 226);
  --accent-color: #F3E97D;
  --diff-color:#35F3D8;
  /*--diff-color: #12EFB1;*/
  --feature-color: #215067;
  --feature-grdient:linear-gradient(120deg, rgba(18, 239, 177, 0) 10%, rgba(33, 80, 103, 0.5) 100%),
    var(--base-color);
  --btn-gradient: linear-gradient(137.04deg, rgba(0, 2, 94, 0) 27.59%, rgba(253, 226, 27, 0.2) 82.75%), linear-gradient(260.34deg, #0FAFC9 0%, #0FA7C9 50%, #0C70E2 100%), linear-gradient(262.56deg, rgba(18, 239, 177, 0.5) 14.03%, #0C70E2 100%), #0C70E2;
  --bg-text-gradient:linear-gradient(to bottom, rgb(12, 112, 226,.25)0%,rgb(18, 239, 177,.25) 100%);
  --sep-color: #eee;
  --header-height:100px;
  --section-width:1440px;
}

/*= 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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing:border-box;
}
html, body, div, applet, object, iframe,dl, dt, dd, ol, ul, li,
h1, h2, h3, h4, h5, h6, p, tr, th, td {
  font-size: 100%;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
  display: none;
}
body {
  line-height: 1.75;
  font-family: 'Noto Sans JP',"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 400;
  background: var(--white);
}
@media screen and (max-width: 1024px){
  html, body, div, applet, object, iframe,dl, dt, dd, ol, ul, li,
  h1, h2, h3, h4, h5, h6, p, tr, th, td {
    font-size: 16px;
    /*font-size: 100%;*/
  }
}
@media screen and (min-width: 1024px){
  html, body, div, applet, object, iframe,dl, dt, dd, ol, ul, li,
  h1, h2, h3, h4, h5, h6, p, tr, th, td {
    font-size: 18px;
  }
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input,button,select,textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}
textarea {
  resize: vertical;
}
input[type='checkbox'],input[type='radio'] {
  display: none;
}
input[type='submit'],  input[type='button'],
label,button,select {
  cursor: pointer;
}
select::-ms-expand {
  display: none;
}

.grecaptcha-badge {
  display: none;
}

img {
  max-width:100%;
  vertical-align:bottom;
}
a {
  text-decoration:none;
  color: var(--black);
  transition: all .25s ease;
}
.btn-wrapper {
  margin-top: 1rem;
}
.btn {
  display: inline-block;
  background: var(--base-color);
  color: var(--white);
  padding: .5rem 4rem .5rem 1rem;
  position: relative;
  transition:color .25s ease;
  &:before {
    content: "";
    width: 2rem;
    height: .4rem;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1.25rem;
    margin: auto;
    border: transparent 1px solid ;
    border-right: var(--white) 2px solid ;
    border-bottom: var(--white) 1px solid ;
    transform:skew(45deg);
    transition:right .25s ease;
  }
  &:hover{
    color: var(--diff-color);
  }
  &:hover:before{
    right: 1rem;
  }
}

/*== ヘッダー ==*/
#site-header {
  box-shadow: 0 0 4px var(--base-color-shadow);
  height: var(--header-height);
  background:var(--white-opacity);
  z-index: 101;
  position: fixed;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr var(--header-height);
  align-items: center;
  #site-logo a {
    display: flex;
    align-items: center;
    padding-left:8px ;
  }
  .menu-logo {
    height: calc(var(--header-height) - 16px);
  }
  .logo-text {
    padding-left: 8px;
  }
  .menu_btn_wrapper {
    text-indent: -9999px;
    width: var(--header-height);
    height: var(--header-height);
    background: var(--base-color);
    cursor: pointer;
    z-index: 50;
    position: relative;
    &::before,&::after{
      content: "";
      height: 2px;
      width: 50%;
      position: absolute;
      left: 25%;
      margin: auto;
      background: var(--white);
      transition: all .25s ease;
    }
    &::before {
      top: calc(50% + -16px);
    }
    &::after {
      top: calc(50% + 4px);
    }
  }
  .menu_btn {
    text-indent: -99999px;
    height: 2px;
    width: 50%;
    left: 25%;
    position: absolute;
    top: calc(50% + -6px);
    background: var(--white);
    transition: all .25s ease;
  }
  .menu_label {
    display: inline-block;
    color: var(--white);
    text-indent: 0;
    font-size: 14px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 24px;
    padding: 4px 0;
    text-align: center;
    line-height: 1;
  }
  .global_menu_wrap {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
    width: 100%;
    left: 0;
    background: var(--white-opacity);
    height:calc(100% - 100px);
    position: fixed;
    top: -100%;
  }
  .menu-item {
    font-weight: 600;
    & > a {
      padding: 1rem;
      display: block;
      background: var(--white-opacity);
      width: 100%;
    }
    a:hover {
      color: var(--main-color);
    }
  }
  .menu-item:last-of-type{
    padding-bottom: 0;
  }
  #menu-main > .menu-item {
    padding-bottom:2px;
    a {
      cursor: pointer;
    }
  }
  .menu-item-has-children > a {
    pointer-events: none;
  }
  .feature-menu .strong {
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 2px;
  }
  .sub-menu {
    display: block;
  }
  .sub-menu .menu-item {
    border-top: 1px solid var(--sep-color);
  }
  .sub-menu .menu-item a{
    pointer-events: auto;
    padding-left: 2.5rem;
    position: relative;
    font-weight: 400;
  }
  .sub-menu .menu-item a:before {
    content: "";
    width: 1rem;
    height: 1px;
    background: var(--base-color);
    left: 1rem;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
  }
  .apply-btn a{
    background:var(--btn-gradient);
    color: var(--white);
  }
  .apply-btn a:hover{
    background:var(--main-color);
  }
}
#site-header.open {
  .menu_btn_wrapper {
    .menu_btn {
      left: 100%;
      opacity: 0;
    }
    &::before{
      transform: rotate(45deg);
      top: 40%;
    }
    &::after{
      transform: rotate(-45deg);
      top: 40%;
    }
  }
  .global_menu_wrap {
    opacity: 1;
    visibility: visible;
    top: var(--header-height);
    overflow-y: auto;
  }
}
@media screen and (min-width: 1024px){
  #site-header,
  #site-header.open {
    min-height: var(--header-height);
    height: auto;
    grid-template-columns: 320px minmax(0,1fr);
    width: 100%;
    .menu-logo {
      max-width: 200px;
      height: auto;
    }
    .menu_btn_wrapper {
      display:none;
    }
    .menu-main-container {
      height: 100%;
    }
    .global_menu_wrap {
      background: none;
      visibility: visible;
      opacity: 1;
      top: 0;
      right: 0;
      height: 100%;
      position: relative;
    }
    #menu-main {
      text-align: right;
      height: 100%;
      .menu-item {
        text-align: center;
        padding: 0;
        display: inline-block;
        height: 100%;
        vertical-align: middle;
      }
      .menu-item a{
        padding: 0 .75rem;
        height: 100%;
        background: none;
        display: flex;
        align-items: center;
      }
      .menu-item-has-children {
        position: relative;
        & > a {
          pointer-events: none;
          cursor:pointer ;
        }
        &:hover .sub-menu {
          opacity: 1;
          pointer-events: auto;
        }
      }
      .apply-btn a{
        background:var(--btn-gradient);
        color: var(--white);
        position: relative;
        .link-txt {
          z-index: 3;
        }
      }
      .apply-btn a:before{
        content: "";
        width: 100%;
        height: 100%;
        background:var(--btn-gradient);
        position: absolute;
        left: 0;
        top: 0;
        transform: rotate(180deg);
        z-index: 2;
        opacity: 0;
        transition: opacity .25s ease;
      }
      .apply-btn a:hover{
        background:var(--main-color);
      }
      .apply-btn a:hover:before{
        opacity:1;
      }
    }
    .feature-menu {
      line-height: 1.2;
    }
    .feature-menu .strong {
      display: block;
    }
    .feature-menu a {
      padding-bottom: 1rem;
    }
    .feature-menu.menu-item-has-children > a{
      position: relative;
    }
    .menu-item-has-children > a:before{
      content: "";
      border: transparent .5rem solid;
      border-top: var(--main-color) .5rem solid;
      position: absolute;
      top: calc(100% - .75rem);
      left: 0;
      right: 0;
      margin: auto;
      width: 0;
      height: 0;
    }
    #menu-main .sub-menu {
      pointer-events: none;
      top: 100%;
      left: 50%;
      position: absolute;
      background: var(--white-opacity);
      transition: opacity 0.3s ease .1s;
      opacity: 0;
      width: 200%;
      transform: translateX(-50%);
      .menu-item{
        display: block;
      }
      .menu-item a{
        padding: 1rem .5rem;
        display: block;
      }
      .menu-item a:before{
        display: none;
      }
    }
  }
}

@media screen and (min-width: 1280px){
  #site-header,
  #site-header.open {
    grid-template-columns: 350px minmax(0,1fr);
    .menu-logo {
      max-width: 240px;
    }
    #menu-main > .menu-item a{
      padding: 0 1.5rem;
    }
  }
}

/*== メイン ==*/
#body_wrapper {
  padding-top: var(--header-height);
}
.section {
  padding: 2rem 0;
}
.section-inner {
  margin: 0 auto;
  padding: 2rem;
}
.section-short {
  margin: 0 auto;
  max-width: var(--section-width);
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
@media screen and (max-width: 1023px){
  .hide-sp {
    display: none;
  }
}
@media screen and (min-width: 1024px){
  .hide-pc {
    display: none;
  }
  .grid-wrap {
    grid-template-columns: 1fr 1fr;
  }
  .grid-30 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*== フッター ==*/
#site-footer {
  background: var(--base-color);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
  a {
    color: var(--white);
  }
  a:hover {
    color:var(--diff-color);
  }
  .pagetop_btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 1rem;
    text-align: center;
    background: var(--main-color);
    border: solid 1px var(--white);
    z-index: 9999;
    transition: opacity .5s ease, visibility .5s ease;
    visibility:hidden ;
    opacity: 0;
  }
  .pagetop_btn.active {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s ease, visibility .5s ease;
  }
  .pagetop_btn:hover {
    opacity:.8;
  }
  .pagetop_arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--white);
    border-right: 3px solid var(--white);
    transform: translateY(20%) rotate(-45deg);
  }
  .pp {
    margin-top: 0.5rem;
  }
  #copyright {
    font-size: 0.9rem;
    padding-top: 1rem;
  }
}