@charset "UTF-8";

/* 共通部分 */

:root{
    --grey: #333;
    --white: #fff;
}

html {
    font-size: 100%;
}

body {
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
    line-height: 1.7;
    color: #432;
}


a {
    text-decoration: none;
    color: blue;
}

img {
    max-width: 100%;
    border-radius: 10px;
}

.hr-pink {
    border: none;
    background-color: #ffe5f2;
    height: 2px;
}

.image2{
    margin-top:2%;
}

.image3{
    max-width: 50%;
    text-align: center;
}

.image3-div{
    text-align: center;
}

.image4{
    max-width:100%;
    text-align: center;
}

p {
    line-height: 2;
}

.p-right-pc{
    max-width:50%;
    text-align: right;
}

.p-right-sp{
    max-width:100%;
    text-align: right;
}

strong{
    color: red;
}

.wrapper {
    max-width:1100px;
    margin: 0 auto;
    padding: 0 4%;
}

.top {
    width: 40%;
    height: 40%;
    margin-top: 5px;
    padding-top: 15px;
    padding-bottom: 0;
    line-height: 0;

}

.main-nav  {
    display: flex;
    align-items: center;
    /*font-size: 1.25rem;*/
    font-size: 125%;
    text-transform: uppercase;
    margin-top: 20px;
    list-style: none;
    white-space: nowrap;
}

.main-nav li {
    margin-left: 3%;
}

.main-nav a {
    color: #432;
}

.main-nav a:hover {
    color: #0bd;
}

.icon-text-home {
    display: flex;
    align-items: center; /* 垂直方向に中央揃え */
}

.icon-text-home img {
    margin-right: 10px; /* 画像とテキストの間隔を設定 */
    width: 30px;
    height: 30px;
    border-radius: 0;    
}

.icon-text-leaf {
    display: flex;
    align-items: center; /* 垂直方向に中央揃え */
}

.icon-text-leaf img {
    margin-right: 10px; /* 画像とテキストの間隔を設定 */
    width: 25px;
    height: 25px;
    border-radius: 0;    
}

.icon-text-mail {
    display: flex;
    align-items: center; /* 垂直方向に中央揃え */
}

.icon-text-mail img {
    margin-right: 10px; /* 画像とテキストの間隔を設定 */
    width: 25px;
    height: 20px;
    border-radius: 0;    
}

.background {
    background-color: #ffe0c1;
    height: 180px;
    margin-bottom:40px;
}


/* 記事などのメイン部分 */

article {
    width: 74%;
}

aside {
    width: 22%;
}


.main-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.info {
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}

.date {
    background: #ffe5f2;
    border-radius: 40%;
    color: rgb(22, 21, 21);
    width: 110px;
    height: 110px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}

.date span{
    font-size: 70%;
    padding-top: 6px;
    display: block;
    width: 100%;
    margin: 0 auto;

}

.title {
    font-size: 2rem;
    font-weight: normal;

}

.title,
.category{
    margin-left:140px;
}

article img{
    margin-bottom: 20px;
}

article p {
    margin-bottom: 1rem;
}

.margin-l {
    margin-left: 200px;
}

.Arcadia {
    padding: 0;
}

/*　adide部分　*/


.aside-title1 {
    font-size: 1.2rem;
    padding: 0 8px 8px;
    border-bottom: 2px #734e30 solid;
    font-weight: normal;
}

.aside-menu1 {
    padding-left: 20px;
    margin-bottom: 60px;
    list-style: none;
}

.aside-title2 {
    font-size: 1.2rem;
    padding: 0 8px 8px;
    border-bottom: 2px #734e30 solid;
    font-weight: normal;
}

.aside-menu2 {
    padding-left: 20px;
    margin-bottom: 60px;
    list-style: none;
}

.aside-title3 {
    font-size: 1.2rem;
    padding: 0 8px 8px;
    border-bottom: 2px #734e30 solid;
    font-weight: normal;
}

.aside-menu3 {
    padding-left: 20px;
    margin-bottom: 60px;
    list-style: none;
}

/*　border部分　*/

.border {
    width: 95%;
    padding: 10px;
    margin-top: 2%;
    font-size: 23px;
    border-left: 10px solid #ffcc99;
    border-bottom: 2px solid #ffcc99;
    background-color: white;
}

/*　サブカテゴリのborder部分　*/

.sub-border {
    width: 50%;
    padding: 10px;
    margin: 0;
    font-size: 20px;
    border-left: 10px solid #c6ffc6;
    background-color: white;
}


/* back_number用イメージ */

  .image_area {
    padding-top: 20px;
}

  .image_text p {
      text-align: right;
}

  .image_text2{
    text-align: right;
}

  /* footer部分 */

footer {
    background: #c6ffc6;
    text-align: center;
    padding: 16px 0;

}

footer p {
    color: #000;
    font-size: 1rem;
    margin: 10px;
}

.Arcadia {
    margin-top: 30px;
    padding: 0;

}

.LINE_fukugawasukusuku {
    text-align: center;
}

.LINE_fukugawasukusuku_text {
    text-align: center;
}
    

.Copyright {
    font-size:0.875rem;
}

/* Google Map */

.location-map {
    height: 0;
    overflow: hidden;
    padding-bottom: 70%;
    position: relative;
}

.location-map iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.kakomi{
    border: 1px solid #333;
    background: #c6ffc6;
    padding: 2%;
}

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

/*
.char-color-red{
    font-weight: bold;
    color: pink;
}

.char-color-green{
    font-weight: bold;
    color: yellow;
}
*/

.char-color-pink{
    font-weight: bold;
    color: pink;
}

.wc{
    text-align: center;
}

.margin-t{
    margin-top: 8%;
}

.breadcrumb {
    margin-top: 0;
    padding: 0;
    list-style: none;
}
  
.breadcrumb li {
    display: inline;/*横に並ぶように*/
    list-style: none;
    font-weight: bold;/*太字*/
}
  
.breadcrumb li:after {/* >を表示*/
    content: '>';
    padding: 0 0.2em;
    color: #555;
}
  
.breadcrumb li:last-child:after {
    content: '';
}
  
  .breadcrumb li a {
    text-decoration: none;
    color: #52b5ee;/*色*/
}
  
  .breadcrumb li a:hover {
    text-decoration: underline;
}

@font-face {
    font-family: rounded-mplus-1c-heavy;
    src: url("font/rounded-mplus-20150529/rounded-mplus-1c-heavy.ttf" )format("opentype");
}
  
.otokojyuku {
  font-family: rounded-mplus-1c-heavy;
  color: red;
  font-size: 130%;
}

.otokojyuku-font{
    font-family: rounded-mplus-1c-heavy;
    color: red;
}

.otokojyuku-font-color{
    color: red;
}

.yamaguchi-color{
    color: green;
}

#random-text span {
    transition: opacity 0.5s ease;
}

.text-buttons-container {
    position: absolute;
    right: 50px;
    top: 20px;
}

.text-buttons-container button {
    width: 50px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    margin: 5px;
    background-color: white;
    }

.text-buttons-container span{
    margin-right: 10px;
    font-weight: bolder;
}
    
#enlarge-text, #normal-text{
    font-size: 17px;
}
    
.footer.wrapper {
    text-align: center;
}
      
.footer.wrapper .footer-links .links {
    display: inline-block;
}
      
.footer.wrapper .links a {
    margin: 0 30px;
}

.counter {
    margin-bottom: 0;
    padding-bottom: 0;
}

.date-of-installation {
    margin-top: 0;
    font-size: 70%;

}

.fc-daygrid-day-number {
    color: black;
  }
  
  /* 土曜日は青 */
  .fc-day-sat .fc-daygrid-day-number {
    color: blue;
  }
  
  /* 日曜日は赤 */
  .fc-day-sun .fc-daygrid-day-number {
    color: red;
  }

  /* まずは全曜日を黒 */
  .fc-col-header-cell .fc-col-header-cell-cushion {
    color: black !important;
   }
  
  /* 日曜だけ赤 */
  .fc-day-sun.fc-col-header-cell .fc-col-header-cell-cushion {
    color: red !important;
  }
  
  /* 土曜だけ青 */
  .fc-day-sat.fc-col-header-cell .fc-col-header-cell-cushion {
    color: blue !important;
  }

    /* モーダルの簡易CSS */
  .modal { 
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999; /* モーダルを前面に */
  }
  .modal-content {
    margin: 15% auto;
    background: #fff;
    width: 80%;
    padding: 16px;
    border-radius: 8px;
  }

  /* FullCalendarのボタン全体にツユクサ色を適用する */
  .fc .fc-button {
    background-color: #38A1DB; /* ツユクサ色 */
    border-color: #38A1DB;     /* ボーダーの色 */
    color: #fff;              /* テキストの色（お好みで） */
  }
  
  .fc .fc-button:hover {
    background-color: #38A1DB; /* ホバー時も同系色 */
    opacity: 0.8;             /* ちょっと暗くするなど調整 */
  }
  
  .fc .fc-button:active,
  .fc .fc-button:focus {
    background-color: #38A1DB;
    opacity: 0.9;
    outline: none;
  }
.img-row {
  display: flex;
  gap: 10px;            /* 画像の間隔調整 */
  justify-content: center; /* 中央寄せ */
}

.img-row img {
  width: 40%;           /* 画面に合うように調整、比率維持 */
  height: auto;         /* 縦横比維持 */
  border-radius: 4px;   /* オプション：角丸にする */
}

.aside-menu3 {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-menu3 li {
  margin-bottom: 8px;
}

#newyearCanvas {
  display: block;
  width: 100%;
  max-width: 220px;      /* PC/タブレットでは今まで通りの最大幅 */
  aspect-ratio: 220 / 150;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

/* 画面幅が 767px 以下のとき、FullCalendar のボタンを小さくする */
@media (max-width: 767px) {
    /* FullCalendar v5/v6 通常テーマの場合の例 */
    .fc .fc-toolbar .fc-toolbar-chunk .fc-button {
      font-size: 13px;       /* ボタンの文字サイズ */
      padding: 0.25rem 0.5rem; /* ボタンの上下左右の余白を調整 */
    }

    .fc .fc-toolbar-title {
        font-size: 22px;
    }
  }

/* 下松支部の講演画像の角丸を確実に適用するためのスタイル */
.lecture img {
    display: block;
    overflow: hidden;
}

  .img-row {
    flex-direction: column;
    align-items: center;
  }
  .img-row img {
    width: 100%;
  }

/* ipadやスマホ用 */


@media (min-width: 322px) and (max-width: 600px) {

    .top {
        width: 100%;
        height: 100%;
        margin-top: 14px;
        padding-top: 0px;
        line-height: 0;
    }

    
    /*.main-nav {
        display: flex;
        font-size: 1.6rem;
        text-transform: uppercase;
        margin-top: 10px;
        padding: 10px;
        text-align: center;
    }
    
    .top:before{
        position: relative;
        left: 0;
        content: "";
        display: inline-block;
        width: 50px;
        height: 50px;
        background: url(./leaf.png) no-repeat;
        background-size:contain;
    }*/

    img {
        max-width: 100%;
        border-radius: 10px;
        margin-top: 20px;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
        font-size: 100%;
        padding: 10px;
        margin: 0px;
        font-weight: normal;
        white-space: nowrap;
        list-style: none;

    }

    .main-nav li {
        font-size: 100%;
        margin-top: 0px;
    }


    .header {
        flex-direction: column;
        align-items: center;
    }

    .background {
        background-color: #ffe0c1;
        height: 200px;
        margin-bottom:20px;
    }

    .main-contents {
        flex-direction: column;
    }

    .date {
        background: #ffe5f2;
        border-radius: 30%;
        color: rgb(22, 21, 21);
        width: 80px;
        height: 80px;
        font-size: 1rem;
        text-align: center;
        position: absolute;
        top: 0;
        padding-top: 15px;
    }

    .date span {
        font-size: 0.8rem;
        padding-top: 0px;
        }
        
    article,
    aside {
        width: 100%;
    }

    aside {
        margin-top: 60px;
    }

    .info {
        margin-bottom: 30px;
    }

    
    .title {
        font-size: 1.5rem;
        margin-bottom: 0px;
        margin-left: 100px;

    }

    .category {
        margin-left: 100px;
    }

    /*　border部分　*/

    .border {
        width: 95%;
        padding: 10px;
        margin: 0;
        font-size: 23px;
        border-left: 10px solid #ffcc99;
        border-bottom: 2px solid #ffcc99;
        background-color: white;
    }
    
    .for-pc{display:none;}
    .for-sp{display:block;}

    /*
    .btn-menu {
        position: absolute;
        z-index: 9999;
        top: 10px;
        right: 10px;
        cursor: pointer;
        color: var(--white);
        padding: .5rem 1rem;
    }
    */
    /* margin:0; padding:0;でリセット　*/
    .sp-main-nav{
        margin: 0;
        padding: 0;
        background:#fff4ea;
        width: 0;
        height: 100vh; 
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        overflow: hidden;
        transition: .5s;
    } 

  .sp-main-nav li {
        text-align: center;
        margin: 2rem 0;
        color:rgba(255,255,255,1.0);
        white-space: nowrap;
  }

  .sp-main-nav a { 
    display: block;
}


  .menu-container {
    width: 5%;
    height: 3%;
    position: absolute;
    z-index: 9999;
    top: 0%;
    right: 0%;
    cursor: pointer;
    color: black;
    padding: 3% 3%;

}

  .menu-container img {
	  width: 100%;
	  position: absolute;
      top: 0;
      left: 0;

  }
	.menu-open {
		opacity: 1;
	}

    .menu-open.active {
        opacity: 0;
    }

	.menu-close {
		opacity: 0;
	}
    .menu-close.active {
        opacity: 1;
    }

    .sp-main-nav.menu-open {
      width: 100%;
    }


    body.fixed{
      overflow: hidden;
      padding: 0;
      margin-top: 0;
    }

    .text-buttons-container{
      display: none;
    }


}


/*小さめなスマホ用*/


@media (max-width: 321px) {

    /****メニュー全体****/
/*#menu{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 100;
}
*/

    .top {
        width: 100%;
        height: 100%;
        margin-top: 14px;
        
    }

    /* .top:before {
        position: relative;
        left: 0;
        content: "";
        display: inline-block;
        width: 40px;
        height: 40px;
        background: url(./leaf.png) no-repeat;
        background-size:contain;
    } */
    

    img {
        max-width: 100%;
        border-radius: 10px;
        margin-top: 15px;
    }


    .main-nav {
        display: flex;
        flex-wrap: wrap;
        font-size: 100%;
        padding: 0;
        margin: 5px;
        font-weight: normal;
        list-style: none;

    }


    .main-nav li {
        font-size: 100%;
    }


    .header {
        flex-direction: column;
        align-items: center;
    }

    .background {
        background-color: #ffe0c1;
        height: 190px;
        margin-bottom:20px;
    }

    .main-contents {
        flex-direction: column;
    }

    .date {
        background: #ffe5f2;
        border-radius: 30%;
        color: rgb(22, 21, 21);
        width: 80px;
        height: 80px;
        font-size: 1rem;
        text-align: center;
        position: absolute;
        top: 0;
        padding-top: 15px;
    }

    article,
    aside {
        width: 100%;
    }

    aside {
        margin-top: 60px;
    }

    .info {
        margin-bottom: 30px;
    }

    .date span {
        font-size: 0.8rem;
        padding-top: 0px;
        }
    
    .title {
        font-size: 1.5rem;
        margin-bottom: 0px;
        margin-top:20px;
        margin-left: 90px;

    }

    .category {
        margin-top: 10px;
        margin-left: 90px;
    }

    /*　border部分　*/

    .border {
        width: 95%;
        padding: 10px;
        margin: 0px;
        font-size: 20px;
        border-left: 10px solid #ffcc99;
        border-bottom: 2px solid #ffcc99;
        background-color: white;
        }
    
    .for-pc{display:none;}
    .for-sp{
        width:3%;
        height:3%;
        display:block;}

    .sp-main-nav{
        margin: 0;
        padding: 0;
        background:#fff4ea;
        width: 0;
        height: 100vh; 
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        overflow: hidden;
        transition: .5s;
    } 

  .sp-main-nav li {
        text-align: center;
        margin: 2rem 0;
        color:rgba(255,255,255,1.0);
        white-space: nowrap;
  }

  .sp-main-nav a { 
    display: block;
}


  .menu-container {
    width: 5%;
    height: 3%;
    position: absolute;
    z-index: 9999;
    top: 0%;
    right: 0%;
    cursor: pointer;
    color: black;
    padding: 3% 3%;
}

  .menu-container img {
	  width: 100%;
	  position: absolute;
      top: 0;
      left: 0;

  }
	.menu-open {
		opacity: 1;
	}

    .menu-open.active {
        opacity: 0;
            /*動き固定*/
    }

	.menu-close {
		opacity: 0;
	}
    .menu-close.active {
        opacity: 1;
    }

    .sp-main-nav.menu-open {
      width: 100%;
      color: var(--grey);
    }
  
    body.fixed{
      overflow: hidden;
      padding: 0;
      margin-top: 0;
    }

    .text-buttons-container {
        display: none;
      }

}
