/*
Theme Name: BaseTheme
Theme URI: 
Text Domain: BaseTheme
Version: 2.0
Description: BaseTheme
Author: Kosei-Shuppan Co.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/*-------------------------------------------------
common
--------------------------------------------------*/
:root{
  --mont: 'Montserrat', 'Noto Sans', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans TC', 
          'Noto Sans Bengali', 'Noto Sans Arabic', 'Noto Sans Devanagari', 
          'Noto Sans Khmer', 'Noto Sans Sinhala', 'Noto Sans Thai', sans-serif;
  --noto: 'Noto Sans', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans TC', 
          'Noto Sans Bengali', 'Noto Sans Arabic', 'Noto Sans Devanagari', 
          'Noto Sans Khmer', 'Noto Sans Sinhala', 'Noto Sans Thai', sans-serif;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust:100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  font-family: var(--mont);
  color: #141c27;
  font-size: 1.6rem;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: normal;
  overflow: visible;
  hyphens: none; /*auto;*/
  /*text-wrap: pretty;*/
}

*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
/*  font-weight: normal;
  font-size: 1.6rem;*/
}

.none {
  display: none !important;
} 

img {
  font-size: 0;
  line-height: 0;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
}

a {
  color: #000;
  text-decoration: none;
}
/*
a:link {
  text-decoration: none;
  transition: all 0.4s;
}*/

p , li, table, .noto, .font2 {
  font-family: var(--noto);
}

.home p, .home li, .mont, .font1 {
  font-family: var(--mont);
}


p {
  line-height: 1.8;
  margin-top: 1em;
  margin-bottom: 1em;
/*  margin-block-start: 0;*/
  color: #333;
}

ul {
  list-style: none;
  /*text-align: left;*/
}

ol {
  padding: 0 25px; 
}
ol > li {
  padding: initial;
  line-height: 1.8;
}

p.wp-block-paragraph {
  margin-bottom: 20px;
  margin-top: 20px;
}

.underline {
  text-decoration: underline;
}

.wp-block-media-text__content :first-of-type {
  margin-top: 0;
}

.wp-block-image {
  margin-bottom: 35px;
  margin-top: 35px;
}



/* Form------------ */
/*
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}*/

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  background: #f0efe9;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-radius: 5px;
  padding: 4px 8px;
} 

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
  resize: none;
}

.select {
    position: relative;
}
.select::before,
.select::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.select::after {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #008458;
    border-right: 2px solid #008458;
    content: '';
}
.select select {
    appearance: none;
    min-width: 100px;
    padding: 14px 20px 12px 20px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
    color: #333333;
    font-size: 1.6rem;
    cursor: pointer;
}
.select select:focus {
    outline: 1px solid #b5b5b5;
}

.wpcf7-spinner{
    display: block;
    margin: 0 auto;
}
/* Form------------ */

/* Header start ------------------------------ */
header {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 99999;
  width: 100%;
  background: #fff;
}

.logo-toggle {
  display: flex;
  align-items: center;
}


.logo {
  flex: 0 0 200px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 40px 0 20px;
}
.logo img {
  width: 190px;
  max-width: none !important;
}

.menu {
  flex: 1;
  background: #fff;
}

.upper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 17px;
  background: #fff;
}
.upper a {
  display: inline-block;
  padding: 20px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}

.short-links {
  display: flex;
}
.donation-link {
  background: #F4AC01;
}
.portal-link {
  background: #F4AC01;
}
.subscribe-link {
  background: #58B530;
}

.icon-plus {
  display: none;
}

.search-box {
  display: flex;
  border: 1px solid #000;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  /*margin-right: 17px;*/
  padding: 3px 7px 0 5px;
}
.search-box input {
  border: none;
  padding: 6px 10px;
  width: 130px;
  outline: none;
  background: #fff;
}
.search-box button {
  border: none;
  cursor: pointer;
  background: #fff;
}
.search-box img {
  width: 20px;
}

.global_menu > ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 900px;
}
.global_menu > ul > li > a {
  display: inline-block;
  padding: 22px 9px;
  font-family: var(--mont);
  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
}
.global_menu > ul > li > a:hover {
  color: #58B530;
}
.global_menu > ul > li > a.active {
  color: #58B530;
}
/*
.menu-item-has-children:hover .sub-menu {
  display: block;
}*/
.global_menu .sub-menu {
  position: absolute;
  display: none;
  width: auto;
  height: auto;
  z-index: 999;
  background: #58B530;
  padding: 0;
  box-shadow: 0px 4px 8px #121a246b;
  border-radius: 5px;
}
.global_menu .sub-menu a {
  display: inline-block;
  width: 100%;
  min-width: 150px;
  font-family: var(--mont);
  font-size: 12px;
  color: #fff;
  padding: 10px 12px;
}
.global_menu .sub-menu li {
  background: #58B530;
  transition: .5s;
}
.global_menu .sub-menu li:hover {
  background: #7bcd57;
}
.global_menu .sub-menu li:first-child {
  border-radius: 5px 5px 0 0; 
}
.global_menu .sub-menu li:last-child {
  border-radius: 0 0 5px 5px; 
}

.indent {
  padding-left: 2rem;
}
.indent a {
  min-width: unset !important;
}

#js-nav-toggle {
  display: none;
}
/* Header end ------------------------------ */

/* Footer start ------------------------------ */
footer {
  background: #E0F2D8;
  padding: 70px 30px 20px 30px;
}
.footer-menu {
  margin-bottom: 60px;
  max-width: 1300px;
  margin: 0 auto 60px auto;
}
.footer-menu > ul {
  display: flex;
  justify-content: space-between;
}
.footer-menu > ul > li > a {
  font-family: var(--mont);
  font-size: 14px;
  font-weight: 700;
}

.footer-menu .sub-menu {
  margin-top: 20px;
}
.footer-menu .sub-menu a {
  display: inline-block;
  align-items: center;
  font-family: var(--mont);
  font-size: 12px;
  line-height: 1.5;
  margin: 7px 0;
}
.footer-menu .sub-menu .ltl-bn {
  margin-left: 20px;
}

/* フッターお問い合わせボタン */
.footer-menu .inquiry-btn a {
  background: #333;
  color: #fff;
  font-weight: 500;
  padding: 8px 20px 8px 25px;
  border-radius: 20px;
  margin-top: 13px !important;
  margin-left: -3px !important;
  transition: all 0.5s;
}
.footer-menu .inquiry-btn img {
  vertical-align: middle;
  padding-bottom: 2px;
  margin-left: 10px;
}
.footer-menu .inquiry-btn a:hover {
  background: #F4AC01;
}

.lowest {
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
}

.lowest div {
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.lowest a {
  font-size: 12px;
}
.lowest .terms-of-use {
  border-right: 1px solid #000;
  padding: 3px 15px 3px 0;
  margin-right: 15px;
}
/* Footer end ------------------------------ */

/* 上に戻る */
.js-page-top {
  position: fixed;
  right: 25px;
  bottom: -12.5rem;
  z-index: 200;
  transition: all 0.3s;
  opacity: 1;
}
.js-page-top.ani {
  right: 25px;
  bottom: 40px;
}
.js-page-top:hover {
  opacity: 1;
}

.page-header {
  position: relative;
  height: 330px;
  background-image: var(--pc-img);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-top: 117px;
}
.page-header h1 {
  display: flex;
  position: absolute;
  align-items: center;
  min-height: 105px;
  width: 100%;
  bottom: 0;
  left: 0;
  font-size: 4.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding: 10px 0px 10px 70px;
  /*padding: 25px 0px 25px 70px;*/
  background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 10%, transparent 60%);
}


.wp-block-list {
  padding-left: 1.8rem;
}
.wp-block-list li {
  font-family: var(--noto);
  line-height: 1.5;
  padding: 0.25em 0;
}
ol.wp-block-list li::marker {
  font-size: 1.6rem;
}
ul.wp-block-list li::marker {
  font-size: 1.1rem;
}

.list-style-circle {
  list-style: circle;
}

/* パンくず */
.breadcrumb-list {
  padding: 6px 0 12px 70px;
}
.breadcrumb-list ul {
  display: flex;
  align-items: center;
  list-style: none;
flex-wrap: nowrap;
overflow-x: auto;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
flex-shrink: 0;
}
.breadcrumb-list li span {
  font-size: 1.2rem;
  color: #898989;
  line-height: 2;
}
.breadcrumb-list li:first-child a {
  font-size: 0;
}
.breadcrumb-list li:first-child a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('images/common/home.svg') no-repeat center / contain;
}
.breadcrumb-list li + li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background: url('images/common/bread-arrow.svg') no-repeat center / contain;
}

main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 70px 90px 70px;
  /*padding: 40px 0 90px 0;*/
}

.pagination  {
  margin-top: 60px;
}
.pagination img {
  width: 24px;
}
.pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}
.pagination li {
  width: 40px;
  text-align: center;
  line-height: 0;
}

.pagination li .current {
  font-weight: bold;
}

h2.gl {
  font-size: 2.8rem;
  font-weight: 700;
  border-top: 1px solid #58b530;
  border-bottom: 1px solid #58b530;
  padding: 10px 0 10px 2px;
  margin: 50px 0 20px 0;
  line-height: 1.8;
}
h2.gl:first-child {
  margin: 0 0 20px 0;
}

.h2-line-none {
  border: none !important;
  padding-bottom: 0 !important;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 45px;
  border-radius: 50px;
  background: #58B530;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 auto;
  padding: 25px 40px;
}
.btn:after {
  content: "";
  position: absolute; 
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url('images/common/arrow.svg') no-repeat center / contain;
}
.btn[target="_blank"]:after {
  background: url('images/common/other-site.svg') no-repeat center / contain;
}
.download:after {
  background: url('images/common/download.svg') no-repeat center / contain;
}

.btn2 {
  width: 340px;
}
.btn2 a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  border-radius: 50px;
  background: #58B530;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 auto;
  padding: 5px 40px 5px 30px;
  transition: all 0.3s;
  hyphens: none;
}
.btn2 a:after {
  content: "";
  position: absolute; 
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url('images/common/arrow.svg') no-repeat center / contain;
}
.btn2 a[target="_blank"]:after {
  background: url('images/common/other-site.svg') no-repeat center / contain;
}
.btn2 a:hover {
  opacity: 0.7;
}

.download a:after {
  background: url('images/common/download.svg') no-repeat center / contain;
}



.bogo-pc {
  display: block;
}
.bogo-sp {
  display: none;
}

.bogo-select {
  position: relative;
  width: 150px;
}
.bogo-select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.bogo-select select {
  width: 100%;
  appearance: none;
  padding: 9px 10px 7px 14px;
  color: #000;
  border: 1px solid #000;
  border-radius: 50px;
  background: #fff;
}
.bogo-select select:focus {
  outline: none;
  box-shadow: none;
}


.kyoten {
  display: block;
  margin: 40px auto 20px auto;
}

.flex {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*
.col2 img {
  margin-bottom: 20px;
}*/

.lotus-sutra .flex {
  margin-top: 70px;
}

.lotus-sutra .flex a {
  width: 340px;
  margin-top: 20px;
}

.introduction .flex {
  
}


.teach-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 30px 45px;
  max-width: 1140px;
  margin: 50px auto 0 auto;
}
.teach-list article {
  position: relative;
  border: 1px solid #bbb;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.5s;
}
.teach-list article:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px 0 12px 0;
  background: #58b530;
}
.teach-list article:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  background-image: url("images/common/arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: transform 0.3s;
}
.teach-list article:hover {
  background: #F0EFE9;
}
/*
.teach-list article:hover::after {
  transform: translateX(4px);
}*/
.teach-list img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 324 / 182;
  object-fit: cover;
  object-position: center;
}
.teach-list h3 {
  margin-top: 10px;
  padding-right: 20px;
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 1.5;
}

.teach-list2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 30px 56px;
  max-width: 1140px;
  margin: 50px auto 0 auto;
}
.teach-list2 figure {
  position: relative;
  border: 1px solid #bbb;
  border-radius: 12px;
  padding: 25px;
}
.teach-list2 figure:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px 0 12px 0;
  background: #58b530;
}
.teach-list2 figure:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  background-image: url("images/common/arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: transform 0.3s;
}
.teach-list2 figure:hover::after {
  transform: translateX(4px);
}
.teach-list2 img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 324 / 182;
  object-fit: cover;
  object-position: center;
}
.teach-list2 figcaption {
  margin-top: 10px;
  padding-right: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
}


/*
.daily-practices .flex {
  gap: 20px;
  margin-top: 20px;
}
.daily-practices .flex > div:nth-of-type(1) {
  width: 290px;
}
.daily-practices .flex > div:nth-of-type(2) {
  flex: 1;
}
.daily-practices .flex > div:nth-of-type(1) img {
  margin-bottom: 20px;
}
.daily-practices .flex > div:nth-of-type(1) a {
  width: 300px;
  max-width: 100%;
  margin-top: 20px;
}*/
/*
.events table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin:0 0 24px 0;
}
.events th {
  border: 1px solid #bbb; 
  padding: 10px 15px 7px; 
  line-height: 2.2; 
  background: #F0EFE9;
  font-weight: bold;
}
.events td {
  vertical-align: top;
  border: 1px solid #bbb; 
  padding: 10px 15px 7px; 
  line-height: 1.5; 
  background: #fff;
}*/
.events-table {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin:0 0 24px 0;
}
.events-table thead {
  border: none !important;
}
.events-table th {
  border: 1px solid #bbb !important; 
  padding: 10px 15px 7px; 
  line-height: 2.2; 
  background: #F0EFE9;
  font-weight: bold;
}
.events-table td {
  vertical-align: top;
  border: 1px solid #bbb !important;
  padding: 10px 15px 7px !important;
  line-height: 1.5; 
  background: #fff;
}
.events-table th:nth-child(1){
  width: 15%;
}
.events-table th:nth-child(2){
  width: 25%;
}

.col2-image {
  gap: 75px !important;
}
.col2-image img {
  width: 100%;
}

/*
.interreligious-cooperation .flex {
  justify-content: space-between;
  margin-top: 30px;
}
.interreligious-cooperation .flex > div {
  width: 50%;
  display: flex;
}
.interreligious-cooperation .flex > div > img {
  display: block;
  width: 100%;
}
.interreligious-cooperation .btn2 {
  width: 600px;
  max-width: 100%;
  margin-top: 40px;
}*/


.donate-a-meal-movement .btn {
  width: 300px;
}
/*.donate-a-meal-movement img {
  margin: 0 20px;
}*/
.donate-a-meal-movement .donate-links {
  margin-top: 40px;
}

.donate-a-meal-movement .paper img {
  display: block;
  margin: 40px auto 30px auto;
}

.politics a {
  width: 250px;
  margin-top: 40px;
}

/*
.cultural-projects-and-philanthropy .flex {
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px 70px;
}
.cultural-projects-and-philanthropy .flex > div {
  width: 50%;
  display: flex;
}
.cultural-projects-and-philanthropy .flex > div > img {
  display: block;
  width: 100%;
}
.cultural-projects-and-philanthropy a {
  width: 600px;
  max-width: 99%;
  margin-top: 40px;
}*/


.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 50px 70px;
}
.post-list article {
    background: #fff;
}
.post-list a {
  display: flex;
  gap: 10px;
}
.post-list img {
  display: block;
  width: 200px;
  height: 120px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border-radius: 5px;
}
.post-list div {
  position: relative;
  width: 100%;
  padding-bottom: 26px;
}
.post-list div .vm {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #58B530;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 20px;
  transition: .5s;
}
.post-list article:hover .vm {
  background: #008458;
}
/*
.post-list div:after {
  content: "View More";
  position: absolute;
  right: 0;
  bottom: 0;
  background: #58B530;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 20px;
  transition: .5s;
}
.post-list div:hover:after {
  background: #008458;
}*/
.post-list time {
  display: block; 
  font-size: 1.2rem;
  color: #58B530;
}
.post-list h3 {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 8px 0; 
}
.post-list p {
  font-family: var(--mont);
  font-size: 1.2rem;
  line-height: 1.3;
}

.category-select {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}
.category-select li a {
  display: block;
  width: 177px;
  padding: 10px 0;
  border: 1px solid #bbb;
  border-radius: 3px;
  text-align: center;
  transition: all 0.3s;
}
.category-select li a:hover {
  font-weight: bold;
  background: #F0EFE9;
}

.category-select li.current-cat a {
  color: #fff;
  background: #58B530;
  border: 1px solid #58B530;
  pointer-events: none;
  cursor: default;
}

.post-list p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.post-list2 {
  border-top: 2px solid #58B530;
}
.post-list2 article {
  border-bottom: 1px solid;
  border-image: repeating-linear-gradient(to right, #bbb, #bbb 2px, transparent 2px, transparent 4px) 1;
}

.post-list2 div {
  display: flex;
  padding: 0;
  margin: 30px 10px;
}
.post-list2 time {
  flex: none;
  width: 180px;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #58B530;
}
.post-list2 h3 {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 0;
}

.statement h2.gl:first-child {
  margin-bottom: 14px;
}
.single .statement time {
  display: block;
  text-align: right;
  margin-bottom: 25px;
}

.single-videos .iframe-wrapper {
  display: block;
  margin: 40px auto;
  text-align: center;
}
main .cmplz-placeholder-1 {
  height: unset !important;
}
main .cmplz-blocked-content-container, .cmplz-wp-video {
  background-size: contain !important;
  background-position: center !important;
  box-shadow: none !important;
}


.basic-information .sangha {
  font-size:2rem;
  font-weight:700; 
}
.basic-information .paper img {
  display: block;
  margin: 40px auto 30px auto;
  width: 300px;
  border: 2px solid #000;  
}
.basic-information .paper .btn {
  padding: 0 55px;
}

.year-link {
  display: grid;
  gap: 10px 15px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  margin: 30px 0 0 0;
}
/*.year-link > div > div {
  width: 100%;
}*/
.year-link a {
  position: relative;
  font-family: var(--noto);
  color: #000;
  background: #F0EFE9;
  padding: 12px;
  border-radius: 5px;
  text-align: left;
}
.year-link a:after {
  content: "";
  position: absolute; 
  right: 12px;
  top: 16px;
  width: 12px;
  height: 12px;
  background: url('images/common/under.svg') no-repeat center / contain;
}

.history h2:first-of-type {
  margin-top: 40px;
}

.history-table {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin:0 0 24px 0;
}
.history-table thead {
  border: none !important;
}
.history-table th {
  border: 1px solid #bbb !important; 
  padding: 10px 15px 7px; 
  line-height: 2.2; 
  background: #F0EFE9;
  font-weight: bold;
}
.history-table td {
  vertical-align: top;
  border: 1px solid #bbb !important;
  padding: 10px 15px 7px !important;
  line-height: 2.2; 
  background: #fff;
}
.history-table td:nth-child(1){
  width: 70px;
}
.history-table td:nth-child(2){
  width: 130px;
}

.leadership-block img {
  display: block;
  width: 90%;
  margin: 0 auto;
}

.hqs .text-img {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.hqs .text-img img {
  display: block;
  width: 400px;
  margin: 0 auto 40px auto;
}


.hqs .btn-inquiry a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 50px;
  color: #fff;
  font-family: var(--mont);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 auto;
  padding: 13px 70px 13px 50px;
  transition: all 0.5s;
}
.hqs .btn-inquiry a:after {
  content: "";
  position: absolute; 
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 13px;
  background: url('images/common/mail.svg') no-repeat center / contain;
}
.hqs .btn-inquiry a:hover {
  background: #F4AC01;
}
/*
.hqs .btn-inquiry a {
  position: relative;
  font-family: var(--mont);
  font-size: 12px;
  font-weight: bold;
}
.hqs .btn-inquiry a:before {
  content: "";
  position: absolute; 
  top: 50%;
  transform: translateY(-50%);
  left: 170px;
  width: 12px;
  height: 12px;
  background: url('images/common/mail.svg') no-repeat center / contain;
  pointer-events: none;
}*/


.local-dharma-centers strong {
  font-size: 2rem;
}
.local-dharma-centers .year-link a {
  text-decoration: none;
  color: #000;
  margin-right: 0;
}
.local-dharma-centers a {
  text-decoration: underline;
  color: #58B530;
  margin-right: 14px;
}
.local-dharma-centers span {
  display: inline-block;
}


.block2 {
  display: flex;
  gap: 60px; 
}
.block2 > div {
  flex: 1; 
}
.nl-block {
  margin-top: 120px;
}


.contact-us .columns-contact{
  gap: 50px;
}

.contact-us .h2-1 {
  color: #58B530;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: normal !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
}
.contact-us .h2-2 {
  color: #e43e38;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.contact-us .h2-3 {
  color: #1D2088;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.contact-us .p-txt {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.7;
  margin: 15px 0 10px 0;
}
.contact-us .sns-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-block-start: 0;
}
.contact-us .sns-icons img {
  width: 30px;
}
.contact-us iframe {
  display: block;
  width: 100%;
  font-weight: 700;
  margin: 20px 0 20px 0;
}
.contact-us .p-info {
  font-family: var(--mont);
  font-size: 1.4rem;
  line-height: 1.7;
  margin: 0 0 0 0;
}
.contact-us .p-info a {
  text-decoration: underline;
}
.contact-us label span {
  font-size: 1.6rem;
  font-weight: 700;
}
.contact-us label .req:after {
  content: "＊";
  font-size: 1.6rem;
  font-weight: 700;
  color: #F4AC01;
  margin-left: 3px;
}
.contact-us .wpcf7-form-control-wrap {
  display: block;
  margin: 10px 0 30px 0;
}
.contact-us .wpcf7-form-control-wrap input {
  line-height: 2.2;
  width: 100%;
}
.contact-us .wpcf7-textarea {
  line-height: 1.5;
  height: 200px;
}
.contact-us .submit-btn {
  text-align: center;
  padding-top: 10px;
}
.contact-us .submit-btn:hover {
  opacity: 0.7;
}
.contact-us .submit-wrap {
  display: inline;
  position: relative;
}
.contact-us .submit-wrap:before {
  content: "";
  position: absolute; 
  top: 50%;
  transform: translateY(-50%);
  left: 170px;
  width: 12px;
  height: 12px;
  background: url('images/common/arrow.svg') no-repeat center / contain;
  pointer-events: none;
}
.contact-us .wpcf7-submit {
  width: 200px;
  height: 45px;
  border: none;
  border-radius: 23px;
  background: #58B530;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  transition: all 0.3s;
}
.contact-us .wpcf7-spinner {
  position: absolute;
  top: 1px;
}
.contact-us .wpcf7-not-valid-tip {
  margin-top: 5px;
}
.contact-us #subscribe {
  margin-top: 100px !important;
  gap: 50px;
}
.contact-us .div-benchmark {
  margin-block-start: 0 !important;
}

/* subscribデザイン修正 20260911追加  */
main.contact-us {
	position: relative;
	padding: 0;
	max-width: 100%;
}
.main-inner {
	max-width: 1140px;
    margin: 0 auto;
    padding: 40px 70px 40px 70px;
}
main.contact-us::after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    right: 0;
    height: 550px;
    width: 100%;
    background-image: url(/wp-content/uploads/2026/09/bg_subscribe.jpg);
	opacity: 0.3;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: -1;
}
.contact-us .t-sub {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    margin: 2px 0 5px 0;
}
.contact-us .p-sub {
    margin: 2px 0 15px 0;
}
@media only screen and (max-width: 1000px) {
  .main-inner {
    padding: 20px 30px 40px 30px;
  }
  main.contact-us::after {
    height: 570px;
  }
}
@media only screen and (max-width: 891px) {
  main.contact-us::after {
    height: 600px;
  }
}
@media only screen and (max-width: 781px) {
  .main-inner {
	padding: 0 0 40px 0;
  }
  main.contact-us::after {
    height: 800px;
  }
  .ltl {
    width: 90%;
	margin: 0 auto;
  }
  .ltl .wp-block-buttons {
	margin-block-end: 24px !important;
  }
}
@media only screen and (max-width: 536px) {
  main.contact-us::after {
    height: 54em;
  }
}
@media only screen and (max-width: 404px) {
  main.contact-us::after {
    height: 57em;
  }
}
/* --- end ---  */

.lang-sel {
  display: grid;
  gap: 10px 15px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr))
}

.lang-sel a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 53px;
  border: 1px solid #bbb;
  border-radius: 3px;
  font-size: 2rem;
}
.lang-sel a:hover {
  background: #F0EFE9; 
  font-weight: bold;
}


.pull-box {
  display: flex;
  gap: 20px;
}
.pulldown {
  position: relative;
  width: 320px;
  background: #f0efe9;
  border-radius: 3px;
}
.pulldown .button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.pulldown .button::after {
  content: "";
  width: 13px;
  height: 13px;
  border-right: 3.5px solid #008458;
  border-bottom: 3.5px solid #008458;
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  transition: transform .3s;
  /*margin-left: 10px;*/
  padding-left: 8px;
}
.pulldown.active .button::after {
  transform: rotate(225deg);
}
.pulldown .button span {
  font-size: 1.4rem;
}
.pulldown ul{
  display: none;
  position: absolute;
  width: 100%;
  max-height: 200px;
  left: 0;
  overflow: auto;
  list-style: none;
  background: #f0efe9;
  border-radius: 0 0 3px 3px;
  z-index: 99;  
  margin: 0;
  padding: 0;
}
.pulldown li {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 1.4rem;
}
.pulldown li:hover {
  background: #f3f3f3;
}
.pulldown.active ul {
  display: block;
}

.livingthelotus .post-list {
  margin-top: 35px;
}
.livingthelotus .post-list p {
  font-family: var(--mont);
}

/* Living the Lotus -Practicing the Dharma Here and Now */
.page-header:has(~ main.practicing-the-dharma-here-and-now) {
  background-position: center right;
}
/* Archived-issues 
.page-header:has(~ main.archived-issues) {
  background-position: center left;
}*/

.terms-of-use h3 {
  font-family: var(--noto);
  font-weight: 700;
  font-size: 2rem;
  padding: 16px 7px;
}
.terms-of-use p {
  font-family: var(--noto);
}
/*
.terms-of-use ul {
  padding-left: 25px;
  padding-bottom: 20px;
}
.terms-of-use ul > li > ul {
  padding-bottom: 0;
}
.terms-of-use li {
  font-family: var(--noto);
  list-style: disc;
  line-height: 1.5;
  padding: 0.25em 0;
}
.terms-of-use li::marker {
  font-size: 1.1rem;
}*/
/*
.terms-of-use ol {
  list-style: none;
  counter-reset: item;
  margin-left: 1rem;
  margin-block-start: 1rem;
}
.terms-of-use ol > li {
  counter-increment: item;
}
.terms-of-use ol > li::marker {
  content: "(" counter(item) ") ";
}*/
.terms-of-use ol {
  list-style: none;
  counter-reset: item;
  margin-left: 1rem;
  margin-block-start: 1rem;
  padding-left: 0;
}
.terms-of-use ol > li {
  counter-increment: item;
  padding-left: 2.6rem;
  position: relative;
}
.terms-of-use ol > li::before {
  content: "(" counter(item) ") ";
  position: absolute;
  left: 0;
}
.terms-of-use ul {
  list-style: disc;
  padding-left: 1rem;
}
.terms-of-use a {
  text-decoration: underline;
}


.regarding-personal-information h3 {
  font-family: var(--noto);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.8;
}
.regarding-personal-information p {
  font-family: var(--noto);
}
.regarding-personal-information ul {
  padding-left: 25px;
  padding-bottom: 20px;
}
.regarding-personal-information ul > li > ul {
  padding-bottom: 0;
}
.regarding-personal-information li {
  font-family: var(--noto);
  list-style: disc;
  line-height: 1.5;
  padding: 0.25em 0;
}
.regarding-personal-information li::marker {
  font-size: 1.1rem;
}
.regarding-personal-information a {
  text-decoration: underline;
}

.regarding-personal-information .cookie-used {
  font-size: 2rem;
  font-weight: 700;
}


.archived-issues-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 50px 70px;
  margin-top: 35px;
}
.archived-issues-list article {
  display: flex;
  gap: 10px;
  background: #fff;
}
.archived-issues-list img {
  display: block;
  width: 200px;
  height: 120px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border-radius: 5px;
}
.archived-issues-list > article > div {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
/*  padding-bottom: 26px;*/
}
.archived-issues-list time {
  display: block; 
  font-size: 1.2rem;
  color: #58B530;
}
.archived-issues-list h3 {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 8px 0; 
}
.archived-issues-list p {
  font-size: 1.2rem;
  line-height: 1.3;
}
.archived-issues-list .audio-pdf {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap : 10px;
  margin-top: auto;  
}
.archived-issues-list .audio-pdf > div {
  width: 50%;
  max-width: 120px;
}
.bn-audio, .bn-pdf {
  display: block;
  position: relative;
  width: 100%;
  color: #008458;
  border: 1px solid #008458;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 7px;
  text-align: center;
  padding-right: 20px;
}
.bn-audio span:after, .bn-pdf span:after {
  content: "";
  position: absolute; 
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 20px;
}
.bn-audio span:after {
  background: url('images/common/audio.svg') no-repeat center / contain;
}
.bn-pdf span:after {
  background: url('images/common/pdf.svg') no-repeat center / contain;
}
.bn-audio:hover, .bn-pdf:hover {
  background: #FDEECC;
}


.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px 40px;
  margin-top: 40px;
}
.book-list article {
  
    /*background: #fff;*/
    
}
.book-list a {
  display: flex;
  justify-content: center;
  gap: 10px;
  border: 1px solid #bbb;
  padding: 5px;
  aspect-ratio:1 / 1;
  overflow: hidden;
  transition: .5s;
}
.book-list a:hover {
  opacity: 0.7;
}
.book-list img {
  display: block;
  width: fit-content;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
.book-list div {
  position: relative;
  width: 100%;
  padding-bottom: 26px;
}

.book-list div:after {
  content: "View More";
  position: absolute;
  right: 0;
  bottom: 0;
  background: #58B530;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 20px;  
}
.book-list time {
  display: block; 
  font-size: 1.2rem;
  color: #58B530;
}
.book-list h3 {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 8px 0; 
}
.book-list p {
  font-size: 1.2rem;
  line-height: 1.3;
}


.post-type-archive-product main {
  padding: 20px 70px 90px 70px;
}

.cart-link {
  text-align: right;
}
.cart-link a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 40px;
  border-radius: 23px;
  background: #58B530;
  color: #fff;
  font-size: 1.6rem;
  margin: 0 auto;
  padding: 3px 35px 0 60px;
  transition: .5s;
}
.cart-link a:before {
  content: "";
  position: absolute; 
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('images/common/cart.svg') no-repeat center / contain;
}
.cart-link a:hover {
  background: #008458;
}

.wc-block-cart__empty-cart__title {
  margin: 30px 0 50px 0;
}
.return-shop  {
  text-align: center;
}
.return-shop a {
  font-size: 1.3rem;
}
.return-shop a::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-right: 8px;
    vertical-align: middle;
}

.error404 h1 {
  /* margin: 0 0 20px 0; */
}

.single-product main > div {
  display: flex;
  gap: 70px;
}
.single-product h2 {
  font-size: 2.8rem;
  font-weight: bold;
}
.single-product .subtitle {
  font-family: var(--mont);
}
.single-product .product-left {
  width: 250px;
  flex: none;
}
.single-product .product-left img {
  width: 100%;
}
.single-product .product-right {
  width: 100%;
}
.single-product .product-right p {
  white-space: pre-wrap;
}
.single-product .price {
  font-family: var(--mont);
  font-size: 2.8rem;
  margin: 16px 0;
}
.single-product .description {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  font-family: var(--mont);
  font-size: 1.6rem;
  padding: 20px 0;
}
.single-product .quantity {
  font-family: var(--mont);
  font-size: 1.4rem;
  margin: 0;
  padding: 10px 0;
}
.single-product .stock {
  display: none;
}
.single-product .add-cart {
  display: flex;
  gap: 20px;
}
.single-product .add-cart button {
  width: 100%;
  background: #F4AC01;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  border: none;
  border-radius: 40px;
  cursor: pointer;
}

.single-product .add-cart button:hover {
  opacity: 0.7;
}

.notes {
  display: block;
  text-align: center;
  margin-top: 40px;
  color: #555;
}

#payment-method .wc-block-components-checkout-step__content {
  display: none;
}
#payment-method .wc-block-components-checkout-step__description {
  font-size: 16px;
}

.search .main-search {
  width: 60%;
  margin: 0 auto 60px auto;
}

.search .main-search input {
  width: calc(100% - 40px);
  padding: 15px 20px;
}

.noresults {
  font-size: 2rem;
  text-align: center;
}

.portal-login form {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.portal-login h2 {
  font-family: var(--noto);
  font-size: 2.8rem;
}
.portal-login p {
  font-size: 1.8rem;
}
.portal-login input {
  display: block;
}
.portal-login input[type="password"] {
  border: 1px solid #000;
  border-radius: 5px;
  font-family: var(--noto);
  background: #fff;
  font-size: 18px;
  padding: 13px 20px;
  width: 350px;
  margin-top: 20px;
}
.portal-login input::placeholder {
  color: #999;
}

.portal-login button[type="submit"] {
  width: 250px;
  margin-top: 40px;
  border: none;
  font-family: var(--noto);
  font-size: 18px;
  transition: all 0.3s;
}
.portal-login button[type="submit"]:hover{
  opacity: 0.7;
}
.portal .wp-element-caption {
  text-align: center;
}
.sp-header {
  display: none;
}

h2.wp-block-heading {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.8;
  border-top: 1px solid rgb(88, 181, 48);
  border-bottom: 1px solid rgb(88, 181, 48);
  padding: 10px 0px 10px 4px;
  margin: 50px 0px 20px;
  hyphens: none;
}

.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0 !important;
}

.txt-contact-bottom {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 30px;
}
.txt-contact-bottom a {
  color: blue;
  text-decoration: underline;
}

/* 注文確認のPayment optionsを非表示 Paypal */
.wp-block-woocommerce-checkout-payment-block {
  display: none;
}

/* 注文完了の支払い項目を非表示 小切手 */
.woocommerce-table--order-details tfoot tr:last-child {
  display: none;
}

/* 言語選択を非表示 */
.bogo-select {
  display: none;
}

main > h2:first-child {
  margin-top: 8px !important;
}

#cmplz-manage-consent {
  position: fixed;
  z-index: 100;
}
#cmplz-manage-consent .cmplz-manage-consent {
    bottom: 40px !important;
    font-size: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 2px 0 !important;
    min-width: 0 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 4px !important;
    right: 80px !important;
    z-index: 10 !important;
}
#cmplz-manage-consent .cmplz-manage-consent::after {
    content: "";
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    background: url("/wp-content/themes/base/images/common/icn_key.svg") no-repeat center / contain;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.wp-block-contact-form-7-contact-form-selector {
  width: 90%;
  margin: 0 auto;
}



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

@media only screen and (max-width: 1200px) {
  .global_menu > ul {
    width: auto;
  }
  .global_menu ul > li:last-child > ul {
    left: auto;
    right: 0;
  }
}

@media only screen and (max-width: 1140px) {
}

@media only screen and (min-width: 1000px) {
  /* サブメニューhover */
  .menu-item-has-children:hover .sub-menu {
    display: block;
  }
}

@media only screen and (max-width: 1000px) {
  html {
    scroll-padding-top: 55px;
  }

  main {
    padding: 20px 30px 90px 30px;
  }
    
  .block2 {
    display: block;
  }
  .nl-block {
    margin-top: 0;
  }
  
  .block2 > div:first-of-type {
    margin-bottom: 50px;
  }
  
  .contact-us .columns-contact{
    gap: 24px;
  }
  .contact-us h2 {
    font-size: 2rem;
  }
  .contact-us .h2-1 {
    margin-top: 30px;
  }
  .contact-us .h2-2 {
    margin-top: 80px;
  }
  
  header{
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 99999;
    width: 100%;
    background: #fff;
  }
  
  .logo {
    flex: none;
    /*padding: 0 10px;*/
    padding: 2px 0 0 16px;
  }
  .logo img {
    width: 130px;
  }
  .logo-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #fff;
  }

/*---------ハンバーガーメニュー---------*/
  #js-nav-toggle {
    position: relative;
    display: flex;
    align-items: center;
    height: 53px;
    margin-right: 15px;    
    cursor: pointer;
  }
  #js-nav-toggle div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
  }
  #js-nav-toggle span {
    display: block;
    height: 3px;
    background: #000;
    transition: .35s ease-in-out;
    border-radius: 999px;
  }
  
  body.open-body {
/*    position: fixed;*/
    overflow: hidden;
    width: 100%;
  }
  
  .open-body #js-nav-toggle span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
  }
  .open-body #js-nav-toggle span:nth-of-type(2) {
    opacity: 0;
  }
  .open-body #js-nav-toggle span:nth-of-type(3) {
    transform: translateY(-11px) rotate(45deg);
  }
    
  .open-body header {
    position: relative;
  }
  .open-body .lower {
    margin-bottom: 150px;
  }
  .open-body .logo-toggle {
    position: fixed;
    z-index: 100000;
  }
 
  .menu {
    display: flex;
    position: fixed;
    top: 53px;
    z-index: 999;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 53px);
    overflow-y: scroll;
    margin-bottom: 42px;
    transition: opacity 0.5s ease-out;
    opacity: 0;
    visibility: hidden;
  }
  .open-body .menu {
    opacity: 1;
    visibility: visible;
  }
  .global_menu {
    padding-top: 20px;
  }
  .global_menu > ul {
    flex-direction: column;
    align-items: normal;
  }
  .global_menu > ul > li {
    position: relative;
    border-bottom: 1px solid #bbb;
  }
  .global_menu > ul > li > a {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 15px;
  }

  /* プラスのSVG配置 */
  .icon-plus {
    display: block;
    position: absolute;
    right: 20px;
    top: 24px;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
  }
  .icon-plus rect {
    fill: #58B530;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .menu-open .icon-plus .v {
    transform: rotate(90deg);
  }

  @keyframes anime-submenu {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  .global_menu .sub-menu {
    position: relative; /* 面倒 */
  }
  .menu-open .sub-menu { /* .menu-openは不要では */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    box-shadow: none;
    border-radius: none;
    animation-name: anime-submenu;
    animation-duration: 0.5s;
  }
  .menu-open .sub-menu > li {
    position: relative;
    border-top: 1px solid #bbb;
    background: #F0EFE9;
  }
  .menu-open .sub-menu > li > a {
    width: 100%;
    color: #000;
    font-size: 1.6rem;
    padding: 13px 15px 13px 30px;
  }
  .global_menu .sub-menu li:hover {
    background: #d8d7d1;
  }
  
  .upper {
    display: none;
    position: fixed;
    bottom: 0;
    flex-direction: column;
    width: 100%;
    z-index: 2000;
  }
  .open-body .upper {
    display: block;
    background: linear-gradient(to bottom, transparent 0%, #fff 40%);
  }
  
  .lower {
    display: none;
  }
  .open-body .lower {
    display: block;
  }
  
  .search-box {
    width: 90%;
    margin: 20px auto;
  }
  .search-box input {
    width: 100%;
  }
  .short-links {
    width: 100%;
  }
  .short-links a {
    flex: 1;
    text-align: center;
  }
  
  .page-header {
    margin-top: 53px;
  }
  .page-header h1 {
    min-height: 91px;
    font-size: 3.6rem;    
    padding: 5px 0px 5px 30px;
    /*padding: 25px 0px 25px 30px;*/
  }
  
  /* History */
  .page-header:has(~ main.history) {
    margin-top: 53px;
    background-image: var(--sp-img);
  }
  
  .breadcrumb-list {
    padding: 12px 0 12px 30px;
  }
  
  footer {
    padding: 0 20px;
  }
  
  .footer-menu {
    flex-wrap: wrap;
    gap: 0 20px;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  
  .footer-menu > ul {
    flex-wrap: wrap;
    gap: 0 20px;
  }
  .footer-menu > ul > li {
    width: calc(50% - 10px); /* gap調整 */
    margin-top: 25px;
  }
  .footer-menu > ul > li > a {
    display: inline-block;
    margin: 7px 0;
  }
  .footer-menu .sub-menu {
    margin-top: 0;
  }
  .footer-menu .sub-menu a {
    margin: 5px 0;
  }
  
  .footer-menu .inquiry-btn a {
    padding: 6px 15px 6px 15px;
    margin-top: 10px !important;
  }
  .footer-menu .inquiry-btn img {
    margin-left: 5px;
  }

  .lowest {
    flex-direction: column;
  }
  .lowest a {
    width: 50%;
  }
  .lowest .terms-of-use {
    border: none;
  }
  
  .lowest > div:nth-of-type(1) {
    display: flex;
    justify-content: space-between;
  }
  .lowest > div:nth-of-type(2) {
    text-align: center;
    margin: 15px 0;
  }

  /* Archived-issues 
  .page-header:has(~ main.archived-issues) {
    background-image: url(/wp-content/themes/base/images/common/mv-archived-issues-sp.jpg) !important;
    background-position: center center;
  }*/
  
  .archived-issues-list {
    margin: 35px 5px 0 5px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .archived-issues-list img {
    width: 149px;
    height: 120px;
  }
  .archived-issues-list p {
    margin-left: 0;
    overflow-wrap: anywhere;
  }
  
  .sp-header {
    display: flex;
    align-items: center;
  }
  .sp-header .bogo-select {
    width: 120px;
    font-size: 12px;
    margin-right: 20px;
  }
  .menu .bogo-select {
    display: none;
  }
  
  h2.wp-block-heading {
    font-size: 2.4rem;
  }

  #cmplz-manage-consent .cmplz-manage-consent {
    right: 20px !important;
    bottom: 75px !important;
    border-radius: 3px !important;
  }

  .js-page-top.ani {
    bottom: 15px;
  }
}

/*@media only screen and (max-width: 768px) {*/
@media only screen and (max-width: 781px) {
  html {
    scroll-padding-top: 80px;
  }
  .page-header {
    height: 220px;
    background-image: var(--sp-img);
  }
  .page-header h1 {
    min-height: 70px;
    font-size: 2.4rem;
    /*padding: 25px 0px 25px 15px;*/
    padding: 5px 0px 5px 15px;
  }
  
  .breadcrumb-list {
    padding: 6px 0 12px 15px;
  }
  
  main {
    padding: 0 0 80px 0;
  }
  
  main > * {
    padding: 0 10px;
  }

  .flex {
    flex-direction: column;
  }
   
  h2.gl {
    font-size: 2rem;
    padding: 12px 0 12px 8px;
    margin: 50px 0 20px 0;
  }
  h2.gl:first-of-type {
    margin: 15px 0 20px 0;
  }
  
  p {
  /*  margin-left: 1rem;
    margin-right: 1rem;*/
  }
  
  ol {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .wp-block-list {
    padding-left: 2.8rem;
  }
 /* .text-image {
    flex-direction: column;
    gap: 0;
  }
  .text-image img {
    max-width: none;
    width: 90%;
  }
*/
  .introduction .flex img {
    display: block;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;    
  }

  .kyoten {
    margin: 20px auto 30px auto;
  }
  
  .col2 { 
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
  }

  .lotus-sutra .flex {
    margin-top: 40px;
    gap: 50px;
  }
  .lotus-sutra .flex img {
    margin-bottom: 20px;
  }

  .teach-list {
    grid-template-columns: repeat(auto-fill, minmax(162px, 1fr));
    gap: 20px;
    margin: 20px 5px;
  }
  .teach-list article {
    padding: 15px;
  }
  .teach-list h3 {
    font-size: 1.6rem;
    line-height: 1.2;
  }
/*  
  .daily-practices .flex {
    flex-direction: column;
    align-items: center;
  }
  .daily-practices .flex > div {
    margin-top: 20px; 
  }
*/
  .hqs .btn-inquiry {
    margin: 0 auto !important;
  }

  .events-table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin:0 0 24px 0;
  }
  .events-table tr {
    display: block;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin-bottom: 30px;
  }
  .events-table thead {
    display: none;
  }
  .events-table td {
    display: block;
    border: none;
    border-bottom: 1px solid #bbb;
    border-right: none !important;
    border-left: none !important;
  }
  .events-table td:first-of-type {
    padding: 12px 10px 12px 15px !important;
    background: #F0EFE9;
  }
  .sp-width-80 a {
    width: 80% !important;
  }


/*
  .events table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin:0 0 24px 0;
  }
  .events tr {
    display: block;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin-bottom: 30px;
  }
  .events tr:first-of-type {
    display: none;
  }
  .events td {
    display: block;
    border: none;
    border-bottom: 1px solid #bbb;
  }
*/

.col2-image {
  gap: 30px !important;
}
/*
  .interreligious-cooperation .flex {
    margin-top: 30px;
  }
  .interreligious-cooperation .flex > div {
    width: 100%;
    padding: 0 10px;
  }

  .interreligious-cooperation .btn {
    max-width: 90%;
    margin-top: 20px;
  }
*/   
  .donate-a-meal-movement img {
    display: block;
    margin: 30px auto 0 auto;
  }
  
/*  
  .cultural-projects-and-philanthropy .flex {
    margin-top: 30px;
  }
  .cultural-projects-and-philanthropy .flex > div {
    width: 100%;
    padding: 0 10px;
  }
*/  
  .category-select {
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .category-select li a {
    width: 170px;
  }
  
  .post-list {
    /*margin: 0 5px;*/
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .post-list img {
    width: 149px;
    height: 120px;
  }
  .post-list p {
    margin-left: 0;
    overflow-wrap: anywhere;
  }
  
  .pagination {
    margin-top: 40px;
  }
  
  .post-list2 div {
    display: block;
    margin: 10px;
  }
  .post-list2 time {
    display: block;
    line-height: 1.6;
    margin-bottom: 10px;
  }


  .single-videos iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    padding: 0 1rem;
    margin: 30px auto 20px auto;
  }

  .year-link {
    gap: 10px 15px !important;
    /*margin: 15px 15px 20px 15px;*/
  }

  .history-column {
    gap: 5px !important;
  }

  .history-table table {
    border: 1px solid #000;
  }
  .history-table tr {
    display: block;
  }
  .history-table td {
    display: block;
    width: 100%;
  }
  .history-table td:first-of-type {
    width: 100%;
  }
  .history-table td:first-of-type {
    background: #F0EFE9;
  }
  .history-table td:nth-child(2) {
    width: 100%;
  }
  .history-table td:empty {
    display: none;
  }
  .history-table .text-img {
    display: block;
    margin-bottom: 25px;
  }
  .history-table .text-img img {
    display: block;
    width: 400px;
    max-width: 95%;
    margin: 0 auto;
  }

  .leadership-block .wp-block-column:first-child {
    order: 2;
  }
  .leadership-block .wp-block-column:last-child {
    order: 1;
  }
  .leadership-block img {
    width: 80%;
    max-width: 400px !important;
  }

  .hqs .text-img {
    display: block;
    margin-bottom: 25px;
  }
  .hqs .text-img img {
    display: block;
    width: 400px;
    max-width: 95%;
    margin: 30px auto 0 auto;
  }
  
  .livingthelotus .button span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .regarding-personal-information h3 {
 /*   margin-left: 1rem;
    margin-right: 1rem;*/
  }

  .book-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px 10px;
  }
  .book-list a {
    padding: 2px;
  }
  
  .post-type-archive-product main {
    padding: 0 0 90px 0;
  }
  
  .cart-link a {
    margin-bottom: 20px;
  }
  
  #pull-lang {
    width: 250px;
    margin: 0 10px;
    padding: 0;
  }
  
  .error404 h1 {
    /* margin: 20px 0 0 8px; */
  }
  
  .single-product main > div {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
  }
  .single-product .product-left {
    margin: 0 auto;
  }
  .single-product h2 {
    font-size: 2rem;
  }
  .single-product .subtitle {
    margin: 10px 0;
  }
  .single-product .price {
    font-size: 2rem;
    margin: 8px 0;
  }
  .single-product .description {
    margin: 0;
  }
  .single-product .add-cart button {
    font-size: 1.6rem;
  }
  .woocommerce-order-received .woocommerce-thankyou-order-details {
    padding: 0 10px;
  }
  .woocommerce-order-received .woocommerce-column--shipping-address {
    margin-top: 20px;
  }
  
  .search .main-search {
    width: 95%;
    margin: 20px auto 20px auto;
  }
  .search .main-search input {
    width: calc(100% - 30px);
    padding: 10px 15px;
  }
  .noresults {
    margin-top: 50px;
  }  
  
  
  h2.wp-block-heading {
    font-size: 2rem;
    padding: 10px;
  }
  
  .wp-block-media-text {
    gap: 20px;
  } 
  
  .has-media-on-the-right .wp-block-media-text__content {
    padding-right: 0 !important;
  }
  .wp-block-media-text__media {
    text-align: center;
  }
  .wp-block-media-text__media img {
    width: 80% !important;
  }

  .js-page-top {
    right: 10px;
  }
  .js-page-top.ani {
    right: 10px;
  }

  .btn2.wp-block-button__width-50 {
    width: 100% !important;
  }
  .btn2.wp-block-button__width-75 {
    width: 100% !important;
  }
  .contact-us #subscribe {
    margin-top: 70px !important;
    gap: 25px;
  }

  #cmplz-manage-consent .cmplz-manage-consent {
    right: 4px !important;
    bottom: 70px !important;
  }

  .wp-block-contact-form-7-contact-form-selector {
    width: 90%;
  }

  /* Archived-issues 
  .page-header:has(~ main.archived-issues) { 
    background-image: url(/wp-content/themes/base/images/common/mv-archived-issues-sp.jpg) !important;
  }*/


}

.mt10{margin-top:10px;}
.mt20{margin-top:20px;}
.mt30{margin-top:30px;}
.mt40{margin-top:40px;}
.mt50{margin-top:50px;}
.mt60{margin-top:60px;}
.mt70{margin-top:70px;}
.pw30{padding-left:30px;padding-right:30px;}
.pw40{padding-left:40px;padding-right:40px;}
.pw50{padding-left:50px;padding-right:50px;}
.pw60{padding-left:60px;padding-right:60px;}
.error{color:red;margin:0;}
