@charset "UTF-8";
/*
    Template: swell
    Theme Name: MORI GAKKO
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*********************
 * 全体 *
 *********************/
.home h2 {
  position: relative;
  padding: 1rem .4rem .75rem;
  margin-bottom: 1.5rem;
  color: #db8449;
  text-align: left;
  background: none !important;
}
.home h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #db8449, #db8449 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #db8449, #db8449 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.txt-center {
  text-align: center;
}
#top-message {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  line-height: 2.8rem;
}

#top-message:before, #top-message:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 3px;
  background-color: #82ae46;
}

#top-message:before {
  left:0;
}
#top-message:after {
  right: 0;
}

.p-mainVisual.-margin-on {
  max-width: 1232px;
  margin: 0 auto;
}
.p-mainVisual.-margin-on .p-mainVisual__inner {
  border-radius: 24px;
}

.note-button a {
  padding: 1.4rem 2rem 1rem 2rem;
}
.note-button a:hover {
  border-bottom: solid 2px #333;
}
#body_wrap:not(.id_5156) #sidebar {
  display:none;
}
#body_wrap:not(.id_5156) main {
  width: 100% !important;
  max-width: 960px !important;
}


/*********************
 * サムネイル *
 *********************/

.c-postThumb__cat[data-cat-id="1"],
.p-postList__cat[data-cat-id="1"] {
  background-color: #82ae46;
  color: #fafafa;
  padding: .25rem .5rem;
  border-radius: 4px;
}
.c-postThumb__cat[data-cat-id="2"],
.p-postList__cat[data-cat-id="14"] {
  background-color: #d9333f;
  color: #fafafa;
  padding: .25rem .5rem;
  border-radius: 4px;
}
.c-postThumb__cat[data-cat-id="3"],
.p-postList__cat[data-cat-id="3"] {
  background-color: #0095d9;
  color: #fafafa;
  padding: .25rem .5rem;
  border-radius: 4px;
}
.c-postThumb__cat[data-cat-id="4"],
.p-postList__cat[data-cat-id="4"] {
  background-color: #f8b500;
  color: #fafafa;
  padding: .25rem .5rem;
  border-radius: 4px;
}
.c-postThumb__cat[data-cat-id="5"],
.p-postList__cat[data-cat-id="5"] {
  background-color: #f08300;
  color: #fafafa;
  padding: .25rem .5rem;
  border-radius: 4px;
}



/*********************
 * Border Design *
 *********************/
.p-mainVisual {
  margin-top: -20px;
}

/** header border **/
.hd-brdr{
  overflow:hidden;
  position:relative;
  height: 20px;
}
.hd-brdr::before{
  content:'';
  font-family:'shape divider from ShapeDividers.com';
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  top: -1px;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat; 
  background-size: 154% 18px;
  background-position: 50% 0%;    
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%23ffffff"/></svg>'); 
}
@media (min-width:768px){
  .hd-brdr::before{
    background-size: 100% 45px;
    background-position: 50% 0%;   
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23ffffff"/></svg>'); 
  }  
}
@media (min-width:1025px){
  .hd-brdr::before{ 
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    background-size: 100% 16px;
    background-position: 50% 0%;  
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%23ffffff"/></svg>'); 
  }
}
@media (min-width:2100px){
  .hd-brdr::before{
    background-size: 100% calc(2vw + 0px);
  }
}


/** footer border **/
.ft-brdr {
  width:100%;
  height:96px;
  overflow:hidden;
  position:relative;
}
.ft-brdr::before{
  content:'';
  font-family:'shape divider from ShapeDividers.com';
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  top: -1px;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 40px;
  background-position: 50% 100%;
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -0.1 35.28 2.17" preserveAspectRatio="none"><path d="M35.28.31c-2.57.84-7.68.3-11.8.43-4.1.12-6.85.61-9.57.28C11.18.69 8.3-.16 5.3.02 2.3.22.57.85 0 .87v1.2h35.28z" fill="%23997866"/></svg>');
}

@media (min-width:768px){
  .ft-brdr::before{
    background-size: 100% 40px;
    background-position: 50% 100%;
  }
}

@media (min-width:1025px){
  .ft-brdr::before{
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw;
    background-size: 100% 40px;
    background-position: 50% 100%;
  }
}
@media (min-width:2100px){
  .ft-brdr::before{
    background-size: 100% calc(2vw + 40px);
  }
}

/*** copyright border ***/
.cp-brdr {
  width:100%;
  height:48px;
  overflow:hidden;
  position:relative;
  background:#997866;
}
.cp-brdr::before{
  content:'';
  font-family:'shape divider from ShapeDividers.com';
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  top: -1px;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 123% 18px;
  background-position: 50% 100%;
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -0.1 35.28 2.17" preserveAspectRatio="none"><path d="M35.28.31c-2.57.84-7.68.3-11.8.43-4.1.12-6.85.61-9.57.28C11.18.69 8.3-.16 5.3.02 2.3.22.57.85 0 .87v1.2h35.28z" fill="%23839541"/></svg>');
}
@media (min-width:768px){
  .cp-brdr::before{
    background-size: 100% 61px;
    background-position: 50% 100%;
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%23839541"/></svg>');
  }
}

@media (min-width:1025px){
  .cp-brdr::before{
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw;
    background-size: 100% 45px;
    background-position: 50% 100%;
  }
}
@media (min-width:2100px){
  .cp-brdr::before{
    background-size: 100% calc(2vw + 45px);
  }
}

/*** ヘッダーバー ****/
.fix-brdr{
  overflow:hidden;
  position:relative;
  background: rgb(0 0 0 / 0);
  top: 8px;
  height: 8px;
  z-index: -1;
}
.fix-brdr::before{ 
  content:'';
  font-family:'shape divider from ShapeDividers.com';
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  bottom: -0.1vw;
  left: -0.1vw;
  right: -0.1vw;
  top: -0.1vw; 
  background-size: 173% 10px;
  background-position: 50% 0%; 
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%23ffffff"/></svg>'); 
  opacity: 0.8;
}

@media (min-width:2100px){
  .fix-brdr::before{
    background-size: 173% calc(2vw + 0px);
  }
}
