/*
Theme Name: 一食を捧げる運動　英語サイト
Theme URI: 
Version: 1.0
Description: 一食を捧げる運動の英語サイトです
Author: 佼成出版社
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/*-------------------------------------------------
common
--------------------------------------------------*/
@font-face {
  font-family: 'OpenSans';
  src: url('font/OpenSans-Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'OpenSans';
  src: url('font/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'OpenSans';
  src: url('font/OpenSans-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'OpenSans';
  src: url('font/OpenSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'OpenSans';
  src: url('font/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Oswald';
  src: url('font/Oswald-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Caveat';
  src: url('font/Caveat-Regular.ttf') format('truetype');
  font-weight: 400;
}
html {
  font-size: 62.5%;
}
body {
  font-family: "OpenSans","Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #373737;
  font-weight: 400;
  font-size: 1.6rem;
  word-break: normal; /*単語の途中で改行しない*/
  overflow-wrap: break-word;/*ページからはみ出たら改行する*/
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.ft-min {
  font-family: "Times New Roman","Baskerville", "Baskerville Old Face", Garamond, serif;
}
img {
  width: 100%;
  vertical-align: top;
  font-size: 0;
  line-height: 0;
}
a:link {
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.op:hover {
  opacity: 0.8;
}
.txt-cmn-18 {
  font-size: 1.8rem;
  line-height: 1.7;
}
.txt-cmn-16 {
  font-size: 1.6rem;
  line-height: 1.8;
}
.box-1000 {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
}
.dis-inb {
  display: inline-block;
}
.blue-link {
  color: #0052EA;
  text-decoration: underline!important;
}
.pd-top-txt {
  padding-top: 1.4em;
}
/*-------------------------------------------------
header-ttl
--------------------------------------------------*/
.wrap-headttl {
  padding-bottom: 70px;
}
.inner-headttl {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 1920 / 433;
  max-height: 400px;
  min-height: 280px;
  background: url('images/common/bg_header_common.jpg') no-repeat center / cover;
  overflow: hidden;
}
.page-id-2 .inner-headttl,.page-id-96 .inner-headttl,.page-id-98 .inner-headttl,.page-id-100 .inner-headttl {
  background-image: url('images/common/bg_header_about.jpg');
}
.page-id-102 .inner-headttl,.page-id-104 .inner-headttl,.page-id-106 .inner-headttl,.page-id-108 .inner-headttl {
  background-image: url('images/common/bg_header_howto.jpg');
  background-position: center right;
}
.page-id-110 .inner-headttl,.page-id-112 .inner-headttl,.page-id-114 .inner-headttl {
  background-image: url('images/common/bg_header_wedo.jpg');
}
.page-id-116 .inner-headttl {
  background-image: url('images/common/bg_header_promotion.jpg');
}
.blog .inner-headttl,.single-post .inner-headttl {
  background-image: url('images/common/bg_header_news.jpg');
}
.page-id-110 .inner-headttl .box-ttl .h1-cmn,.page-id-112 .inner-headttl .box-ttl .h1-cmn,.page-id-114 .inner-headttl .box-ttl .h1-cmn {
  color: #fff;
}
.inner-headttl::before {
  content: "";
  position: absolute;
  aspect-ratio: 1/1;
  height: 140%;
  background: url('images/common/bg_header_circle.png') no-repeat center / 100%;
  top: 0; 
  bottom: 0; 
  left: -30px;
  margin: auto;
  z-index: 2;
}
.inner-headttl .box-ttl {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 100px;
}
.inner-headttl .box-ttl .h1-cmn {
  position: relative;
  display: block;
  padding-left: 120px;
  margin: 0;
  font-size: 4.8rem;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.3;
}
.inner-headttl .box-ttl .h1-cmn::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  top: -90px;
  left: 50px;
  background: url('images/common/bg_header_circle2.png') no-repeat top left / contain;
}
/*-------------------------------------------------
breadcrumb-list[パンくずリスト]
--------------------------------------------------*/
.breadcrumb-list ul, .breadcrumb-list li {
  margin: 0;
  padding: 0;
}
.breadcrumb-list {
  display: block;
  width: 100%;
  padding: 5px 10px 0;
  font-size: 1.2rem;
  z-index: 3;
}
.breadcrumb-list ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.breadcrumb-list li {
  position: relative;
  list-style-type: none;
  padding-right: 15px;
  max-width: 100%;
  color: #767676;
}
.breadcrumb-list li:after {
  content: "";
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  border-top: solid 1px #767676;
  border-right: solid 1px #767676;
  right: 6px;
  top: 0;
  bottom: 1px;
  margin: auto;
  transform: rotate(45deg);
  transition: 0.3s all;
}
.breadcrumb-list li:last-child {
  padding-right: 0;
}
.breadcrumb-list li:last-child:after {
  display: none;
}
.breadcrumb-list a {
  color: #767676;
}
.breadcrumb-list a:hover {
  opacity: 0.7;
}
/*-------------------------------------------------
js-page-top
--------------------------------------------------*/
.js-page-top {
  position: fixed;
  display: block;
  right: 15px;
  bottom: -12.5rem;
  z-index: 200;
  background: rgba(215,83,26,0.7);
  width: 50px;
  height: 50px;
  transition: all 0.3s;
}
.js-page-top::after {
  content: "";
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  right: 0px;
  left: 0px;
  top: 0;
  bottom: -5px;
  margin: auto;
  transform: rotate(-45deg);
}
.js-page-top.ani {
  right: 15px;
  bottom: 15px;
}
.js-page-top:hover {
  background: rgba(215,83,26,1);
}

/*-------------------------------------------------
記事一覧
--------------------------------------------------*/
.wrap-news-list {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 35px;
  padding: 10px 0 30px;
}
.wrap-news-list article {
  width: calc(100% / 3 - 25px);
}
.wrap-news-list .dummy-article {
  width: calc(100% / 3 - 25px);
  height: 1px;
}
.item-plist-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 34 / 20;
  overflow: hidden;
}
.item-plist-thumb img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s all;
}
.wrap-news-list article:hover .item-plist-thumb img {
  transform: scale(1.2, 1.2)
}
.item-plist-txt {
  padding-top: 10px;
}
.item-plist-date-cat {
  color: #E1591D;
  font-size: 1.4rem;
}
.item-plist-ttl {
  color: #373737;
  font-size: 1.8rem;
  line-height: 1.4;
}
.navigation.pagination .nav-links,
.pager .pager_list {
  position: relative;
  display: flex;
  justify-content: center;
  row-gap: 25px;
  column-gap: 4px;
  padding: 10px 0 0 0;
  margin: 0;
  list-style: none;
}
.page-numbers{
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50px;
  font-size: 1.8rem;
  line-height: 38px;
  text-align: center;
  color: #373737;
}
.page-numbers.current, a.page-numbers:hover{
  background: #FFC099;
}
.next.page-numbers,.prev.page-numbers {
  display: none;
}
/*-------------------------------------------------
footer
--------------------------------------------------*/
.footer {
  padding: 70px 0 0;
}
.footer-inner {
  width: 100%;
  max-width: 1040px;
  height: auto;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-list {
  padding: 40px 0;
  border-top: 1px solid rgba(139,105,84,88);
}
.footer-list ul {
  display: flex;
  justify-content: center;
  column-gap : 30px;
  row-gap: 20px;
  flex-wrap: wrap;
}
.footer-list ul li a {
  color: #3C1100;
  font-size: 1.6rem;
  font-weight: 600;
}
.footer-list ul li a:hover {
  opacity: 0.7;
}
.copyright {
  background: #4D1300;
  padding: 3px 10px;
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
}
/*ページ別footer*/
.wrapper-about-what+.js-page-top+.footer,
.wrapper-about-core-ideas+.js-page-top+.footer,
.wrapper-about-pray+.js-page-top+.footer,
.wrapper-about-anniversary+.js-page-top+.footer {
  padding-top: 0;
}
/*-------------------------------------------------
break point 1300px
--------------------------------------------------*/
@media only screen and (max-width: 1300px) {
  .inner-headttl .box-ttl {
    padding-bottom: 5%;
  }
}
/*-------------------------------------------------
break point 1200px
--------------------------------------------------*/
@media only screen and (max-width: 1200px) {
  .inner-headttl .box-ttl {
    padding-bottom: 6%;
  }
  .inner-headttl .box-ttl .h1-cmn {
    font-size: 4.6rem;
  }
}
/*-------------------------------------------------
break point 1100px
--------------------------------------------------*/
@media only screen and (max-width: 1100px) {
  /*header ttl */
  .inner-headttl {
    background-position: center;
  }
  .inner-headttl .box-ttl {
    padding-bottom: 7%;
  }
  .inner-headttl .box-ttl .h1-cmn {
    padding-left: 70px;
    font-size: 4.4rem;
  }
  .inner-headttl .box-ttl .h1-cmn::before {
    width: 130px;
    height: 130px;
    top: -80px;
  }
  .page-id-2 .inner-headttl, .page-id-96 .inner-headttl, .page-id-98 .inner-headttl, .page-id-100 .inner-headttl {
    background-position: center left;
  }
  /*news*/
  .wrap-news-list {
    row-gap: 30px;
  }
  .wrap-news-list article,.wrap-news-list .dummy-article {
    width: calc(100% / 3 - 20px);
  }
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .txt-cmn-18, .txt-cmn-16 {
    font-size: 1.6rem;
    line-height: 1.7;
  }
  /*---------headttl----------*/
  .wrap-headttl {
    padding-bottom: 50px;
  }
  .inner-headttl,
  .blog .inner-headttl, .single-post .inner-headttl,
  .page-id-2 .inner-headttl, .page-id-96 .inner-headttl, .page-id-98 .inner-headttl, .page-id-100 .inner-headttl,
  .page-id-102 .inner-headttl, .page-id-104 .inner-headttl, .page-id-106 .inner-headttl, .page-id-108 .inner-headttl,
  .page-id-110 .inner-headttl, .page-id-112 .inner-headttl, .page-id-114 .inner-headttl,
  .page-id-116 .inner-headttl {
    display: flex;
    flex-direction: column;
    background: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 0;
  }
  .inner-headttl::before {
    content: none;
  }
  .inner-headttl .breadcrumb-list {
    order: 2;
  }
  .inner-headttl .box-ttl {
    background: url('images/common/bg_header_common_sp.jpg') no-repeat center left / cover;
    height: auto;
    aspect-ratio: 940 / 320;
    overflow: hidden;
    padding-bottom: 8%;
  }
  .blog .inner-headttl .box-ttl, .single-post .inner-headttl .box-ttl {
    background-image: url('images/common/bg_header_news_sp.jpg')
  }
  .page-id-2 .inner-headttl .box-ttl, .page-id-96 .inner-headttl .box-ttl, .page-id-98 .inner-headttl .box-ttl, .page-id-100 .inner-headttl .box-ttl {
    background-image: url('images/common/bg_header_about_sp.jpg')
  }
  .page-id-102 .inner-headttl .box-ttl, .page-id-104 .inner-headttl .box-ttl, .page-id-106 .inner-headttl .box-ttl, .page-id-108 .inner-headttl .box-ttl {
    background-image: url('images/common/bg_header_howto_sp.jpg')
  }
  .page-id-110 .inner-headttl .box-ttl, .page-id-112 .inner-headttl .box-ttl, .page-id-114 .inner-headttl .box-ttl {
    background-image: url('images/common/bg_header_wedo_sp.jpg')
  }
  .page-id-116 .inner-headttl .box-ttl {
    background-image: url('images/common/bg_header_promotion_sp.jpg')
  }
  .inner-headttl .box-ttl::before {
    content: "";
    position: absolute;
    aspect-ratio: 1/1;
    height: 150%;
    background: url('images/common/bg_header_circle.png') no-repeat center / 100%;
    top: 0; 
    bottom: 0; 
    left: -30px;
    margin: auto;
    z-index: 2;
  }
  .inner-headttl .box-ttl .h1-cmn {
    padding-left: 40px;
    font-size: 3.8rem;
    letter-spacing: 1px;
  }
  .inner-headttl .box-ttl .h1-cmn::before {
    width: 120px;
    height: 120px;
    top: -70px;
    left: 30px;
  }
  /*----------news----------*/
  .wrap-news-list {
    row-gap: 30px;
    padding-top: 5px;
  }
  .wrap-news-list article,.wrap-news-list .dummy-article {
    width: calc(100% / 3 - 15px);
  }
  .item-plist-ttl {
    font-size: 1.6rem;
  }
  .page-numbers {
    font-size: 1.7rem;
  }
  /*--------footer------*/
  .wrapper-about-what+.js-page-top+.footer,
  .wrapper-about-core-ideas+.js-page-top+.footer,
  .wrapper-about-pray+.js-page-top+.footer,
  .wrapper-about-anniversary+.js-page-top+.footer {
    padding-top: 70px;
  }
  .footer-inner {
    background: #4D1300;
  }
  .footer-list ul {
    
  }
  .footer-list ul li a {
    color: #fff;
  }
  .copyright {
    padding-bottom: 70px;
  }
  /*-------pagetop---------*/
  .js-page-top.ani {
    bottom: 75px;
  }
}
/*-------------------------------------------------
break point 700px 
--------------------------------------------------*/
@media only screen and (max-width: 700px) {
  .box-1000 {
    padding: 0 15px;
  }
  /*--------header ttl----------*/
  .inner-headttl .box-ttl .h1-cmn {
    font-size: 3.4rem;
  }
  .inner-headttl .box-ttl .h1-cmn::before {
    width: 100px;
    height: 100px;
    top: -60px;
  }
  /*----------news----------*/
  .wrap-news-list {
    row-gap: 25px;
  }
  .wrap-news-list article {
    width: calc(100% / 2 - 15px);
  }
  .wrap-news-list .dummy-article {
    display: none;
  }
  .item-plist-date-cat {
    font-size: 1.4rem;
  }
  .item-plist-ttl {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  /*--------- pagetop------------*/
  .js-page-top {
    width: 40px;
    height: 40px;
  }
  .js-page-top::after {
    width: 10px;
    height: 10px;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .box-1000 {
    padding: 0 15px;
  }
  .txt-cmn-18, .txt-cmn-16 {
    font-size: 1.5rem;
    line-height: 1.6;
  }
  .wrap-headttl {
    padding-bottom: 30px;
  }
  .breadcrumb-list {
    font-size: 1.1rem;
  }
  .inner-headttl .box-ttl {
    height: 150px;
    padding-bottom: 40px;
    background-position: center;
  }
  .inner-headttl .box-ttl .h1-cmn {
    padding-left: 20px;
    font-size: 2.4rem;
    letter-spacing: 0.01em;
  }
  .inner-headttl .box-ttl .h1-cmn::before {
    width: 80px;
    height: 80px;
    top: -50px;
    left: 15px;
  }
  .page-id-116 .inner-headttl .box-ttl,
  .page-id-110 .inner-headttl .box-ttl, .page-id-112 .inner-headttl, .page-id-114 .inner-headttl .box-ttl,
  .blog .inner-headttl .box-ttl, .single-post .inner-headttl .box-ttl {
    background-position: center left;
  }
  /*----------news----------*/
  .wrap-news-list article {
    width: calc(100% / 2 - 6px);
  }
  .navigation.pagination .nav-links {
    column-gap: 3px;
  }
  .page-numbers {
    font-size: 1.6rem;
  }
  /*---------footer--------*/
  .footer,
  .wrapper-about-what+.js-page-top+.footer,
  .wrapper-about-core-ideas+.js-page-top+.footer,
  .wrapper-about-pray+.js-page-top+.footer,
  .wrapper-about-anniversary+.js-page-top+.footer {
    padding-top: 60px;
  }
  .footer-list {
    padding: 50px 15px 60px 25px;
  }
  .footer-list ul {
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 15px;
  }
  .footer-list ul li a {
    font-size: 1.5rem;
  }
  .copyright {
    text-align: left;
    padding-right: 100px;
    padding-left: 15px;
    padding-bottom: 63px;
  }
  /*------pagetop------*/
  .js-page-top.ani {
    bottom: 65px;
  }
}