/*
Theme Name: CSS
Theme URL: テーマのサイトのURI
Description: 社内用
Author: 建助
Version: 1.0
Tags: 
License: kensuke
License URI: 
*/

@charset "UTF-8";
/* CSS Document */

/* ====================================================
Common
==================================================== */
html {
  font-size: 10px !important;
}

body {
	font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  /* font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo, sans-serif; */
  color: #333;
}

@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .hidden-sp {
    display: none;
  }
}
@media print, screen and (min-width: 768px) { /* PC表示 */
  .hidden-pc {
    display: none;
  }
}
  
.cont {
  width: 100%;
}

.cont-wrap {
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-inline: auto;
}

/* コンテンツ幅 
------------------------------ */
.cont-wrap,
.header-wrap {
  /* max-width: 950px; */
}

.cont p {
  font-size: 16px;
  line-height: 1.8;
}

/* a:hover {
  text-decoration: underline;
} */
a {
  position: relative;
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #333;
  text-decoration: none;
}

a:not([class])::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #b8b8c0;
  bottom: -2px;
  transform: scale(0, 1) !important;
  transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;   /*変形の時間*/
}
  
a:not([class]):hover::after {
  transform: scale(1, 1) !important; /*ホバー後、x軸方向に1（相対値）伸長*/
}


.text-line {
  background: linear-gradient(transparent 0%, #fff263 50%);
}

.yellow-text {
  color: #fff263;
}

@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .sp-hidden {
    display: none;
  }
}

@media print, screen and (min-width: 768px) { /* PC表示 */
  .pc-hidden {
    display: none;
  }
}

/* トップスクロールボタン */
.pagetop a {
  width: 40px;
  height: 40px;
  line-height: 35px;
  display: block;
  background-color: #333;
  border: 2px solid #fff;
  color: #fff;
  text-align: center;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  position: fixed;
  right: 15px;
  bottom: 15px;
}
.pagetop a::after {
  opacity: 0;
}


/* ====================================================
スマホメニュー
==================================================== */
nav.header-menu-sp {
  display: none;
}
@media print, screen and (max-width: 767px) { /* スマホ表示 */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
nav.header-menu-sp {
  display: block;
}
nav.header-menu {
  display: none;
}

#toggle {
  display: none;
}

header {
  position: fixed;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #b8b8c0;
  z-index: 99;
}

/**
  Hamburger
**/
.hamburger {
  position: absolute;
  top: 5.2em;
  right: 15px;
  margin-left: -2em;
  margin-top: -45px;
  width: 3em;
  height: 45px;
  z-index: 5;
}

.hamburger div {
  position: relative;
  width: 3em;
  height: 4px;
  border-radius: 3px;
  background-color: #333;
  margin-top: 6px;
  transition: all 0.3s ease-in-out;
}

/**
Nav Styles
**/
.nav {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #777;
  top: -100%; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  transform: scale(0);
  z-index: 1;
}
.nav-wrapper {
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  height: 100%;
}
nav {
  text-align: left;
  margin-left: 25%;
}
nav a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 2em;
  display: inline-block;
  margin-top: 1.25em;
  transition: color 0.2s ease-in-out;
  letter-spacing: 1px;
}
nav a:before {
  content: '';
  height: 0;
  position: absolute;
  width: 0.25em;
  background-color: white;
  left: -0.5em;
  transition: all 0.2s ease-in-out;
}
nav a:hover {
  color: white;
}
nav a:hover:before {
  height: 100%;
}

/**
Animations
**/
#toggle:checked + .hamburger .top-bun {
  transform: rotate(-45deg);
  margin-top: 20px;
}
#toggle:checked + .hamburger .bottom-bun {
  opacity: 0;
  transform: rotate(45deg);
}
#toggle:checked + .hamburger .meat {
  transform: rotate(45deg);
  margin-top: -4px;
}

#toggle:checked + .hamburger + .nav {
  top: 0;
  transform: scale(1);
}}
}

/* ====================================================
Header
==================================================== */
header {
  background-color: #fff;
  border-bottom: 1px solid #b8b8c0;
}

header .header-wrap {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin-bottom: 0;
}

header .logo {
  display: block;
  width: 240px;
  flex-shrink: 0;
  margin: 24px 0;
  transition: transform .3s,width .2s,margin .2s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo::after {
  opacity: 0;
}

header .logo img {
  width: 100%;
}

.header-menu {
  font-size: 1.6rem;
}

.header-menu a {
  color: #333;
  text-decoration: none;
}

@media print, screen and (max-width: 767px) { /* スマホ表示 */
  header .logo {
    width: 120px;
    margin: 10px 0;
  }
}


/* ====================================================
検索バー
==================================================== */
.search .cont-wrap {
  padding-top: 50px;
  padding-bottom: 50px;
}

.search form {
  display: flex;
  position: relative;
  width: 100%;
}

.search form button {
  display: block;
  background-color: inherit;
  color: inherit;
  border: none;
  padding: 0;
  width: fit-content;
  height: fit-content;
}

.search input[type="text"] {
  background-color: #e6e6f0;
  border-radius: 100vh;
  box-sizing: border-box;
  line-height: 2;
  padding: 0 1em;
  padding-right: 1em;
  width: 100%;
  margin-right: -2em;
  padding-right: 3em;
  height: 30px;
}

.search input[type="image"] {
  cursor: pointer;
  transition: transform .3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  box-sizing: initial;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding: 0;
  vertical-align: baseline;
}
.search input[type="image"]:hover {
  transform: scale(1.1);
}

@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .search {
  }

  .search .cont-wrap {
    padding-top: 76px;
    padding-bottom: 25px;
  }
}

/* ====================================================
Footer
==================================================== */
footer {
  color: #fff;
  display: block;
  background-color: #777;
  text-align: center;
  padding: 15px 15px;
  margin-top: 50px;
}

footer small {
  font-size: 1.4rem;
}

@media print, screen and (max-width: 767px) { /* スマホ表示 */
  footer small {
    font-size: 1.2rem;
  }
}

/* ====================================================
パンくず
==================================================== */
.pankuzu {
  border-top: 1px solid #b8b8c0; 
}

.pankuzu-wrap {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* ====================================================
contents
==================================================== */

/* service
========================================== */
.service {
  background-color: #e6e6f0;
}

.service-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.service-block {
  width: 15%;
  height: 100%;
  margin-right: 2%;
  margin-bottom: 2%;
  padding-bottom: 2px;
  transition: padding .3s;
  position: relative;
}
.service-block:nth-of-type(6n) {
  margin-right: 0;
}
.service-block:hover {
  padding-top: 2px;
}
@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .service-block {
    width: 23%;
  }
  .service-block:nth-of-type(6n) {
    margin-right: 2%;
  }
  .service-block:nth-of-type(4n) {
    margin-right: 0;
  }
}

@media print, screen and (max-width: 427px) { /* スマホ表示 */
  .service-block {
    width: 32%;
  }
  .service-block:nth-of-type(6n) {
    margin-right: 2%;
  }
  .service-block:nth-of-type(4n) {
    margin-right: 2%;
  }
  .service-block:nth-of-type(3n) {
    margin-right: 0;
  }
}


.service-block::before {
  background-color: #0003;
  border-radius: 17px 17px 22px 22px;
  content: "";
  height: calc(100% - 6px);
  left: 50%;
  position: absolute;
  top: 6px;
  transform: translate(-50%);
  transition: opacity .3s;
  width: calc(100% + 4px);
  z-index: 0;
}
.service-block:hover::before {
  opacity: 0;
}


.service-block a {
  background-color: #fff;
  border-radius: 20px;
  box-sizing: border-box;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 2px);
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
  z-index: 1;
  text-align: center;
  text-decoration: none;
  font-size: min(1vw, 16px);
  font-optical-sizing: 16px;
}
.service-block a::after {
  opacity: 0;
}

.service-block a i {
  font-size: min(8em, 75px);
  margin-bottom: 5px;
}

.service-block a span {
  font-size: min(1.4em, 16px);
}

@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .service-block a i {
    font-size: 10em;
    margin-bottom: 5px;
  }
  
  .service-block a span {
    font-size: 2.5em;
  }
}

/* ====================================================
お知らせ
==================================================== */
.notice {
  
}

.notice-wrap {
  display: flex;
  flex-wrap: wrap;
}

.notice-wrap h2 {
  width: 100%;
  margin-bottom: 30px;
}

.notice-box {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
}
@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .notice-box {
    width: 100%;
    margin-bottom: 15px;
  }
}

.notice-box ul {
  display: block;
  padding-left: 0;
}

.notice-box li {
  display: block;
  list-style: none;
}

.notice-box ul:nth-of-type(1) {
  width: 35%;
}

.notice-box ul:nth-of-type(1) li {
  width: 90%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background-color: #777;
}

.notice-box ul:nth-of-type(2) {
  width: 60%;
}

.notice-box ul:nth-of-type(2) li:nth-of-type(1) {
  font-size: 1.4rem
}

.notice-box ul:nth-of-type(2) li:nth-of-type(2) {
  font-size: 1.8rem
}

/* ====================================================
新着情報
==================================================== */
.news {
  
}

.news-wrap {
  
}

.news-wrap h2 {
  margin-bottom: 30px;
}

.news-wrap div {
  
}

.news-wrap div ul {
  display: flex;
  padding-left: 0;
  border-bottom: 1px solid #000;
  margin-bottom: 20px;
}

.news-wrap div ul li {
  list-style: none;
  font-size: 1.6rem;
}

.news-wrap div ul li:nth-of-type(1) {
  width: 110px;
}
.news-wrap div ul li:nth-of-type(2) {
  width: 110px;
  background-color: #e6e6f0;
  text-align: center;
  margin-right: 15px;
  font-size: 1.2rem;
  line-height: 24px;
}
.news-wrap div ul li:nth-of-type(3) {
}

/* ====================================================
カテゴリー
==================================================== */
.category {

}

.category-wrap {

}

.category-wrap h2 {
  font-size: 2.4rem;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.category-wrap h2 i {
  font-size: 2.6rem;
  top: 3px;
  position: relative;
  margin-right: 5px;
}

.category .category-box {
  
}

.category .category-box ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 0;
}

.category .category-box li {
  width: 48%;
  font-size: 1.6rem;
  list-style: none;
  border-bottom: 1px solid #000;
  margin-bottom: 20px;
  /* padding-left: 2rem; */
  padding-bottom: 1px;
}

.category .category-box li a {
  display: block;
  width: 100%;
  position: relative;
}

.category .category-box a i {
  position: relative;
  right: 0;
  font-size: 1em;
  margin-right: 5px;
}
.category .category-box a:hover i {
  /* transform: scale(1.1); */
}

@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .category .category-box li {
    width: 100%;
  }
}

/* ====================================================
子カテゴリー
==================================================== */
.small-category {

}

.small-category-wrap {

}

.small-category-wrap h2 {
  font-size: 2.4rem;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.small-category-wrap h2 i {
  font-size: 2.6rem;
  top: 3px;
  position: relative;
  margin-right: 5px;
}

.small-category .small-category-box {
  
}

.small-category .small-category-box ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 0;
}

.small-category .small-category-box li {
  width: 48%;
  font-size: 1.6rem;
  list-style: none;
  border-bottom: 1px solid #000;
  margin-bottom: 20px;
  /* padding-left: 2rem; */
  padding-bottom: 2px;
}

.small-category .small-category-box li a {
  display: block;
  width: 100%;
  position: relative;
}

.small-category .small-category-box a i {
  position: absolute;
  right: 0;
  font-size: 1.4em;
}
.small-category .small-category-box a:hover i {
  transform: scale(1.1);
}

@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .small-category .small-category-box li {
    width: 100%;
  }
}

/* ====================================================
シングルページ
==================================================== */
.single {

}

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

.single-contents {
  width: 68%;
}
.single-contents p{
  padding-bottom: 30px;
}

.single-contents h2 {
  font-size: 3rem;
  border-bottom: 2px solid #777;
  padding-bottom: 20px;
}

.single-contents .single-subtitle {
  margin-bottom: 30px;
}

.single-contents ul{
  
}
.single-contents li{
  font-size:2em;
  font-weight: bold;
  padding-bottom: 10px;
}

/*H3見出し*/
.single-contents h3 {
    font-size: 18px;/*文字サイズ*/
    padding: 15px 20px;/*文字回りの余白（上下 左右）*/
    display: block;
    position: relative;
    border-left: 8px solid #ccc;/*左線上側（太さ 実線 色）*/
}

.single-contents h3:before {
    position: absolute;
    content: '';
    left: -8px;
    bottom: 0;
    width: 8px;/*左線下側の太さ（幅）*/
    height: 50%;/*左線下側の高さ*/
    background-color: #eee;/*左線下側の色*/
}

/*H4見出し*/
.single-contents h4{
    color: #ccc;/*文字色*/
    font-size: 16px;/*文字サイズ*/
    padding: 8px 40px;/*文字回りの余白（上下 左右）*/
    display: block;
    position: relative;
}

.single-contents h4:before {
    content: "❖";
    font-weight: 900;/*マーク部の太さ*/
    position: absolute;
    font-size: 30px;/*マーク部のサイズ*/
    left: 0;
    top: 0;
    color: #eee;/*マーク部の色*/
}

.waku01 {
  margin: 2em auto;  
  padding: 1em;
  color: #666666;
  background-color: #f7f7f7;
  border: 2px solid #ccc;
  border-radius: 8px; 
 }

/* 関連記事
========================================== */
.kanren {
  margin-top: 300px;
  padding: 15px 10px;
  background-color: #777;
}

.kanren h2 {
  color: #fff;
  text-align: center;
}

.kanren ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 10px;
}

.kanren ul li {
  width: 30%;
  height: 200px;
  margin-bottom: 15px;
  background-color: #fff;
  list-style: none;
  border-radius: 15px;
}

/* サイドバー
========================================== */
.sidebar {
  width: 25%;
  margin-top: 38.8px;
  background-color: #e6e6f0;
}

.sidebar h2 {
  background-color: #777;
  color: #fff;
  font-size: 1.6rem;
  padding: 15px 10px;
}

.sidebar ul {
  padding-left: 10px;
  padding-right: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 1.4rem;
}

.sidebar li {
  list-style: none;
  margin-bottom: 10px;
}

.sidebar li a {
}


@media print, screen and (max-width: 767px) { /* スマホ表示 */
  .single-contents {
    width: 100%;
  }
  
  .kanren {
    width: 100%;
  }
  .sidebar {
    width: 100%;
  }
}






@media print, screen and (max-width: 767px) { /* スマホ表示 */

}

/* ====================================================

==================================================== */

/* 
========================================== */

/*  
------------------------------ */
