/*
Theme Name: 阿吽塾
Theme URI: none
Author: INOCHI TAKEUCHI
Description: 「阿吽塾」専用テーマです、余白を活かした文学出版社テーマ
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Green,Light,Fixed-Layout,Fluid-Layout,Responsive-Layout,One-Column,Two-Columns,Right-Sidebar,Custom-Colors,Custom-Menu,Featured-Image-Header,Featured-Images,Flexible-Header,Full-Width-Template,Microformats,Post-Formats,Sticky-Post,Theme-Options,Threaded-Comments,Translation-Ready,Holiday,Photoblogging,Seasonal

aun-juku WordPress Theme, Copyright 2023 Ice-Green
*/


/*
サイトの色に関係するスタイルを定義
*/
/*
色の設定
*/
:root {
    --accent_color: #8C7B6B;
    --sub_accent_color: #B7A99A;
    --color_1: #2F2A26;
    --color_2: #4a433c;
    --color_3: #7a6f63;
}
html, body {
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "MS Mincho", serif!important;
    background: #f4efe8!important;
    color: #4a433c!important;
    letter-spacing: 0.05em;
    position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 0;
}

/* containerの再設定 */
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1320px;
  }
}


/* メニューPC用 */
.nav {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-top: 4rem;
}
.nav ul {
    position: absolute;
    z-index: 99999;
    background-color: rgba(255,255,255,0.9);
    border: 4px double var(--color_1);
    top: 4rem;
    list-style: none;
    margin: 0;
    padding: 2rem;
    width: 100%;
}
.nav ul li {
    display: block;
    text-align: center;
    min-width: 7rem;
    padding: 2px;
    margin-bottom: 1rem;
}
.nav ul li:last-child {
    margin-bottom: 0;
}
.nav ul li a {
    text-decoration: none;
    color: var(--color_1);
    padding: 3px;
    display: block;
}
.nav ul li:hover {
    background-color: var(--color_2);
    color: white;
    padding: 2px;
}
.nav ul li:hover a {
    border: 1px solid white;
    color: white;
    padding: 2px;
}
@media (min-width: 992px) {
    .nav {
        background-color: transparent;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding-top: 4rem;
    }
    .nav ul {
        opacity: 1;
        position: initial;
        background-color: transparent;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        border: none;
    }
    .nav ul li {
        display: block;
        text-align: center;
        min-width: 7rem;
        padding: 2px;
        margin-bottom: 0;
    }
    .nav ul li a {
        text-decoration: none;
        color: var(--color_1);
        padding: 3px;
        display: block;
    }
    .nav ul li:hover {
        background-color: var(--color_3);
        color: white;
        padding: 2px;
    }
    .nav ul li:hover a {
        border: 1px solid white;
        color: white;
        padding: 2px;
    }
}
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container, .nav {
    max-width: 1200px!important;
  }
}
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container, .nav {
    max-width: 1280px!important;
  }
}
/* hamburger */
.hamburger {
    cursor: pointer;
    background-color: var(--color_1);
    border-radius: 5px;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
}
.hamburger span {
    position: absolute;
    display: block;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: white;
    margin-right: auto;
    margin-left: auto;
    transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.hamburger span:first-child {
    top: calc(25% - 1px);
}
.hamburger span:nth-child(2) {
    top: calc(50% - 1px);
}
.hamburger span:last-child {
    top: calc(75% - 1px);
}
.hamburger.open span:first-child {
  top: 50%;
  transform: rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:last-child {
  top: 50%;
  transform: rotate(-45deg);
}
@media (max-width: 991.98px) {
    body.menu-open {
        overflow: hidden;
    }
    #main-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }
    body.menu-open #main-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.header figure {
  max-width: 50%;
}
@media (min-width: 992px) {
    .hamburger {
        display: none;
    }
    .header figure {
      max-width: 40%;
    }
}
/* 光の粒演出 */
.header::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 300px;
  height: 100px;
  background: radial-gradient(rgba(255,220,180,0.3), transparent);
  transform: translateX(-50%);
  filter: blur(30px);
}


/* フッター */
footer {
    background-color: rgb(223,212,201);
    padding: 2rem;
}
footer p {
    margin: 0;
    padding: 0;
    text-align: center;
}


.btn {
    background: linear-gradient(rgb(167, 140, 111), rgb(140, 111, 82));
    color: white!important;
    width: 60%;
    word-wrap: normal;
    word-spacing: normal;
    word-break: keep-all;
    padding: 1rem!important;
    display: block!important;
    margin-left: auto;
    margin-right: auto;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
    text-decoration: none!important;
    border-radius: 58px!important;
    transition: transform 0.3s ease, box-shadow 0.3s ease!important;
    font-size: 0.875rem!important;
    position: relative;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 25px;
}
@media (min-width: 576px) {
    .btn {
        width: 45%;
    }
}

