@charset "utf-8";
/* -------------------------------------
     sp CSS
 (c) Copyright 2020 Sketches of Design
     version 2020-12-26
------------------------------------- */

/* 1300
--------------------------------------*/
@media screen and (max-width: 1300px) {
  .top-bar .inner{
    padding: 5px 4%;
  }
  body#recruit-mid-career #lv02-04 .inner,
  #form-area,
  #form-privacy .inner,
  #content .pagemenu,
  body#home #recruit .inner,
  body#home #reason .inner,
  body#home #about .inner,
  body#home #topics .inner,
  main section .inner{
    padding: 40px 4%;
    width: auto;
    max-width: auto;
  }
  .footer-meta ul{
    margin: 20px 4%;
  }
  #title-area .inner{
/*    padding: 20px 4% 0 4%;*/
  }
  ol.bc{
    padding: 0 4%;
  }
  #main-pic .lead p,
  #main-pic .inner,
  footer .inner{
    padding: 20px 4%;
  }
  #content .pagemenu{
    padding: 0 4%;
  }
  .footer-meta ul li a{
    padding: 6px 20px;
  }
  body#home #contact p {
    font-size: 1.6rem;
  }
  body#home #contact em{
    font-size: 3.0rem;
  }
  .footer-meta{
    padding: 0;
  }

}
/*  1024
--------------------------------------*/
@media screen and (max-width: 1024px) {
  #title-area h1,
  h1{
    font-size: 3.0rem;
  }
  body#product-life #lv02-01 h2,
  body#home #content h2{
    font-size: 2.8rem;
  }
  body#product-cremas h2,
  body#product-life #lv02-01 h3,
  h2{
    font-size: 2.4rem;
  }
  body#product-life #lv02-01 h4,
  body:not(#home) h3{
    font-size: 2.0rem;
  }
  body#product-cremas #lv02-01 p,
  body#home #about dl,
  h4{
    font-size: 1.6rem;
  }
  .category-list .more,
  .category-list .text,
  footer,
  main p,
  main dl,
  main table,
  main ul{
    font-size: 1.3rem;
  }
  .footer-address img{
    width: 200px;
  }
  .category-list,
  body#home #about .lv03-02 h3,
  body#home #about .inner div{
    width: 100%;
    max-width: 100%;
  }
  body#home #about .images,
  body#home #about dl{
    margin: 0;
  }
  body#home #about dl{
    align-content: flex-start;
    width: calc(100% - 220px);
  }
  body#home #about dt{
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
  body#home #about dd{
    width: calc(100% - 40px);
  }
  body#home #about .inner{
    background: none;
  }
  body#home #about .lv03-02{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  body#home #contact .inner{
    background-size: 200px auto;
  }
  body#home #contact .inner > div{
    width: calc(100% - 220px);
  }
  .category-list .link,
  .category-list .block{
    width: calc(50% - 20px);
  }
  





}
/*  768
--------------------------------------*/
@media screen and (max-width: 768px) {

  img{
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  /* diagram */
  .diagram .sp{
    display: block !important;
  }
  .diagram .image{
    display: none;
  }
  .diagram{
    position: relative;
  }
  .diagram span{
    display: block;
    position: absolute;
    width: 30px !important;
    height: 30px !important;
    right: 10px;
    margin: -40px 0 0 0;
  }
  .diagram img{
    max-width: 100%;
    height: auto;
    width /***/:100%;
  }
  /**/
  br.sp{
    display: block;
  }

  /* menu */
  .hamburger { display: flex; }
  .btn-inquiry,.ryobi-badge{ display: none; }
  #logo_think img{
    width: 115px;
  }
  .nav-bar {
    position: fixed;
    top: 54px;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #1255a3;
    z-index: 600;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  .nav-bar.open { transform: translateX(0); }
  .nav-bar::before { display: none; }
  #nav-bar .nav-inner {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    width: 100%;
    margin: 0;
    height: auto;
    overflow-y: auto;
  }
  #nav-bar .nav-item {
    flex: none;
    flex-direction: column;
    border-bottom: 1px solid #3c8ab1;
  }
  #nav-bar .nav-link {
    justify-content: space-between;
    padding: 15px 20px;
    border-right: none;
    border-left: none !important;
    height: auto;
  }
  #nav-bar .nav-link:hover,
  #nav-bar .nav-item:hover > .nav-link { background: #0e4a8f; color: #fff; }
  #nav-bar .nav-link.has-drop::after,
  #nav-bar .nav-item:hover > .nav-link.has-drop::after,
  #nav-bar .nav-item.open > .nav-link.has-drop::after,
  #nav-bar .nav-item.open:hover > .nav-link.has-drop::after {
    width: 14px; height: 14px;
    border: none;
    background:
      linear-gradient(#fff,#fff) center / 14px 2px no-repeat,
      linear-gradient(#fff,#fff) center / 2px 14px no-repeat;
    transform: none !important;
    transition: none;
  }
  #nav-bar .dropdown {
    position: static;
    opacity: 1; visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid #3c8ab1;
    background: #c7e5ef;
    display: none;
  }
  #nav-bar .dropdown .sp,
  #nav-bar .nav-item.open .dropdown { display: block; }
  #nav-bar .dropdown > a {
    display: block;
    padding: 11px 20px 11px 36px;
    color: #1255a3;
    text-decoration: none;
    border-bottom: 1px solid #a0c8d8;
    background: transparent;
    position: relative;
    transition: background .15s;
  }
  #nav-bar .dropdown > a:last-child { border-bottom: none; }
  #nav-bar .dropdown > a:hover { background: #a8d5e2; }
  #nav-bar .dropdown > a::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    width: 6px; height: 6px;
    border-right: 2px solid #1255a3;
    border-bottom: 2px solid #1255a3;
    transform: translateY(-50%) rotate(-45deg);
  }
  #nav-bar .has-submenu { position: static; }
  #nav-bar .submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #1255a3;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    border-bottom: 1px solid #a0c8d8;
    transition: background .15s;
  }
  #nav-bar .submenu-trigger:hover { background: #a8d5e2; }
  #nav-bar .submenu-trigger::after {
    content: '';
    display: inline-block;
    width: 12px; height: 12px;
    border: none;
    background:
      linear-gradient(#1255a3,#1255a3) center / 12px 2px no-repeat,
      linear-gradient(#1255a3,#1255a3) center / 2px 12px no-repeat;
    flex-shrink: 0;
    transform: none;
    transition: none;
  }
  #nav-bar .has-submenu.open .submenu-trigger::after {
    background:
      linear-gradient(#1255a3,#1255a3) center / 12px 2px no-repeat;
  }
  #nav-bar .submenu {
    position: static;
    opacity: 1; visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    display: none;
  }
  #nav-bar .has-submenu.open .submenu { display: block; }
  #nav-bar .submenu a {
    display: block;
    background: #00a0e9;
    padding: 10px 20px 10px 36px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #a0c8d8;
    position: relative;
    transition: background .15s;
  }
  #nav-bar .submenu a:last-child { border-bottom: none; }
  #nav-bar .submenu a:hover { background: #a8d5e2; }
  #nav-bar .submenu a::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    width: 6px; height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-50%) rotate(-45deg);
  }
  #nav-bar .drop-sep { display: none; }
  #nav-bar .sp-contact-row {
    padding: 13px 20px;
    border-bottom: 1px solid #3c8ab1;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s;
  }
  #nav-bar .sp-contact-row:hover {
    background: #0e4a8f;
  }

  /**/
  #form-area .weak,
  body#product-cremas #lv02-01 p{
    font-size: 1.3rem;
  }
  #form-area .inner,
  body#support-thinktaxfaq #content .block a,
  body#support-idx .block h4{
    font-size: 1.6rem;
  }
  body#product-cremas #lv02-01 li{
    font-size: 1.8rem;
  }
  .privacy-toggle,
  body#product-cremas h2{
    font-size: 2.0rem;
  }
  #title-area h1,
  h1{
    font-size: 2.4rem;
  }
  #title-area h1{
    padding: 20px 4%;
  }
  ol.bc{
    font-size: 70%;
  }
  .footer-cert img{
    width: 64px;
  }
  .footer-meta ul li{
    margin: 5px 0;
  }
  .footer-meta ul li a {
    padding: 0 10px;
  }
  .footer-address{
    margin-bottom: 20px;
    width: 100%;
  }
  .footer-nav ul{
    gap: 5px 10px;
  }
  body#home #content h3,
  h2 {
    font-size: 1.8rem;
    border-left: 4px solid #00a0e9;
  }
  body:not(#home) h3{
    font-size: 1.8rem;
    border-bottom: 1px solid #1255a2;
  }
  #modal .label,
  #modal .data,
  body#company-vision #content .images,
  body#company-vision #content .text,
  body#product-seminar #lv02-01 .images,
  body#product-seminar #lv02-01 .timeschedule .images,
  body#product-seminar #lv02-01 .text,
  body#company-corporation #history .block.pic .images,
  body#company-corporation #history .block.pic .text,
  body#company-corporation #address iframe,
  body#product-cremas #lv02-01 li,
  body#product-life #lv02-01 .block div,
  .category-list .link,
  .category-list .block,
  body#home #contact .inner > div,
  body#home #about dl{
    width: 100%;
  }
  body#home #about .images{
    margin: auto;
    width: 40%;
  }
  body#home #recruit .block,
  body#home #reason .block{
    width: calc(50% - 10px);
  }
  body#product-performance .lv03-01 dl{
    width: calc(33.33% - 10px);
  }
  body#home #contact .inner{
    background: none;
  }
  body#home #content h2 {
    font-size: 2.4rem;
  }
  body#home #reason .block{
    width: 100%;
    margin-bottom: 10px;
  }
  body#company-corporation #history .block.pic .images{
    margin-top: 20px;
  }
  #form-area .inner{
    padding: 20px;
  }
  .footer-info .tel-link{
    color: #fff !important;
  }
  body#home #contact .tel-link{
    color: #333;
  }
  body.company #main-pic .inner{
    background-size: contain;
  }


}
/*  480
--------------------------------------*/
@media screen and (max-width: 480px) {
  main section .inner{
    padding: 20px 4%;
  }
  body#home #content h2{
    margin: 0 0 20px 0;
  }
  body#home #recruit .block,
  body#home #about .images{
    width: 100%;
    margin-bottom: 10px;
  }
  body#home #contact p {
    font-size: 1.4rem;
  }
  .privacy-toggle{
    font-size: 1.8rem;
  }
  body#product-life #lv02-01 h2{
    font-size: 2.4rem;
    text-align: left;
  }
  body#support-idx .number {
    font-size: 3.0rem;
  }
  body#company-corporation table th {
    width: 10em;
  }
  #form-area form > div{
    display: block;
  }
  #form-area form > div > label{
    padding: 15px 0 0 0;
  }
  #form-area form > div > div{
    padding: 0 0 15px 0;
  }
  #form-area form > div:has(textarea) > div{
    padding: 10px 0 0 0;
  }
  body#home #about .images{
    text-align: center;
  }
  body#support-idx .box img{
    width: 60px;
  }
  body#support-idx .box .text {
    width: calc(100% - 80px);
  }
  .category-list .pic-wrap{
    height: 300px;
  }
  body#company-corporation table dd{
    padding: 0;
    margin: 0 0 10px 0;
  }
  table tr th,
  table tr td{
    padding: 10px;
  }

}
