/*
Theme Name: genken
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@charset "UTF-8";

/*====================ここからヘッダーcss====================*/

/*====================共通css====================*/

/*====================ここからフロントページcss====================*/

/*====================ここからフッターcss====================*/

/*====================ここからsingle-ourStoriesのcss=======*/

.ourstories-si-contents {
  width: 58.33%;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify; /*文章両端揃え*/
}

h3.ourstories-mm {
  margin-bottom: 50px;
}

h2.outline-heading {
  font-size: 30px;
  font-weight: 700;
  margin-top: 100px;
  margin-bottom: 10px;
}

h3.ourstories-era,
h3.ourstories-mm {
  font-size: 24px;
  font-weight: 700;
  margin-top: 5px;
}

.outline-hi {
  font-weight: 700;
}

h4.ourstories-s {
  font-size: 20px;
  font-weight: 700;
}

p.ourstories-text,
p.ourstories-text2 {
  font-size: 20px;
  margin-top: 33px;
}

.ourstories-first,
.ourstories-second {
  margin-top: 70px;
}

.r-title a {
  font-size: 20px;
  color: blue;
}

.r-title {
  text-align: right;
  margin-top: 18px;
}

/*====================ここからOur Storiesのcss=======*/

.ourstories-contents h2 {
  margin-left: 290px;
  margin-top: 50px;
}

.ourstories-container {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 219px);
  gap: 39px 38px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

.ourstories-item {
  border: 3px solid #4070bf;
  padding: 16px;
  margin-left: auto;
  margin-right: auto;
}

.ourstories-item h4 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

p.ourstories-subheading {
  font-size: 20px;
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 0;
}

p.part {
  font-size: 20px;
  margin-bottom: 0;
  text-align: justify;
  line-height: 1.448;
}

/*---------------------------ハンバーガーメニュ-------------------*/

.hamburger-menu-wrapper {
  position: relative;
}

#hamburger-menu-button {
  display: none;
}

#hamburger-menu-button:checked ~ .hamburger-menu-close {
  display: block;
  opacity: 0.5;
}

#hamburger-menu-button:checked ~ .hamburger-menu-content {
  transform: translate3d(0, 0, 0);
}

.hamburger-menu-open .fa-bars {
  color: #f4f4f4;
  font-size: 20px;
}

.hamburger-menu-open {
  position: absolute;
  margin-bottom: 0;
  width: 20px;
  top: 20px;
  height: 20px;
  transition: 0.3s ease;
  animation: site-title 0.8s ease 0.5s 1 normal;
  animation-fill-mode: forwards;
  opacity: 0;
  z-index: 4;
  cursor: pointer;
}

.hamburger-menu-close {
  display: none;
  opacity: 0;
  background: #000;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 3;
}

.hamburger-menu-content {
  background: #fff;
  position: fixed;
  left: 0;
  width: 80%;
  height: 100%;
  transition: 0.3s ease;
  transform: translate3d(-100%, 0, 0);
  overflow: auto;
  z-index: 5;
}

.hamburger-menu {
  padding: 15px;
}

.hamburger-menu li {
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 18px;
  text-align: left;
  transition: 0.3s ease;
}

.hamburger-menu li a {
  color: #555555;
}

.hamburger-menu li:before {
  color: #ff69b4;
  padding-right: 5px;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f054';
}

.hamburger-menu li:hover {
  transform: translateX(5px);
}

/*.child-contents{
    width: 58.33%;
    margin-top: 100px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;  /*文章両端揃え*/

/*.child-contents p{
    font-size: 20px;
    font-weight: 400;
}*/

/*====================メディアクエリーcss=======*/
