@charset "utf-8";

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メイン
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* -------------------------------------------------------------------------------------------------
   * セクショニング
/* ---------------------------------------------------------------------------------------------- */

#main {}

#main-contents {}

#main-contents div.body {
  padding-left:20px;
  padding-right: 20px;
  margin: 0 auto;
}

#main-contents .column ~ .column {
  margin-top: 40px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {

 #main-contents div.body {
   max-width: 100%;
   padding-left:20px;
   padding-right: 20px;
   margin: 0 auto;
 }
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {

#main-contents > .section {
  padding-top: 2em;
  padding-bottom: 4em;
}

#main-contents div.body {
  max-width: 100%;
  padding:0 1em;
  margin: 0 auto;
}

#main-contents .column ~ .column {
  margin-top: 20px;
}

}

/* ****************************************************************************************************
   * ビジュアル　アイコン
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

body.page-topics #visual .body::before {
  content: "";
  display: block;
  background: url("../../_images/topics/title-icon-left.png") no-repeat;
  width: 300px;
  height: 300px;
  background-size: 300px 300px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  body.page-topics #visual .body::before {
    background: url("../../_images/topics/title-icon-left.png") no-repeat;
    width: 150px;
    height: 150px;
    background-size: 150px 150px;
  }
}

/* ****************************************************************************************************
   * ページナビ
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

.page-nav {
  padding: 0;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .page-nav .body {
    padding: 0 !important;
  }
  .page-nav ul {
    margin-top: 0 !important;
  }
  .page-nav ul li {
    width: 47%;
  }
}

/* ****************************************************************************************************
   * 共通タイトル
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

.topics .title-1 {
  font-size: 3.0rem;
  text-align: left;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
 .topics .title-1 {
    font-size: 2.0rem;
    text-align: left;
  }
}

/* ****************************************************************************************************
   * ニュース・トピックス
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

body.page-parent {
  background: var(--c-front-bg);
}

.topics {
  position: relative;
  padding-top: 70px;
  padding-bottom: 120px;
}

.topics .body {
  max-width: 1180px;
  padding: 0 20px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .topics {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}


/* ----------------------------------------------------------------------------------------------------
   * リスト
/* ------------------------------------------------------------------------------------------------- */

.topics ul.layout-flex-4 {
  text-align: center;
  justify-content: flex-start;
}

.topics ul.layout-flex-4 > * {
  width: 24%;
}

.topics ul.layout-flex-4 li {
  margin-left: 1.3%;
  text-align: left;
}
.topics ul.layout-flex-4 li:first-child,
.topics ul.layout-flex-4 li:nth-child(4n+1) {
  margin-left: 0;
}

.topics ul.layout-flex-4 li a {
  display: block;
  padding: 1em;
  border-radius: 20px;
}
.topics ul.layout-flex-4 li a:hover {
  opacity: 1;
  background: var(--c-yellow);
  border-radius: 20px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/   
  .topics ul.layout-flex-4 {
    margin-top: 0;
    justify-content: space-between;
  }
  .topics ul.layout-flex-4 > * {
    width: 48%;
  }
  .topics ul.layout-flex-4 li a {
    display: block;
    padding: 0;
    border-radius: 20px;
  }
  .topics ul.layout-flex-4 li a:hover {
    opacity: 1;
    background: none;
    border-radius: 20px;
  }
}

/* ----------------------------------------------------------------------------------------------------
   * 内容
/* ------------------------------------------------------------------------------------------------- */

.topics ul li .meta {
  margin-top: 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topics ul li .images {
  overflow: hidden;
  margin: 0 auto;
  border-radius: 20px;
  transition: transform .3s ease;
  position: relative;
  height: 0;
  padding-top: 100%;
  box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.5);
}

.topics ul li .images img {
  transition: transform .3s ease;
  border-radius: 20px;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.topics ul li:hover .images img {
  transform: scale(1.1);
}

.topics ul li .day {
  font-size: 1.6rem;
  color: var(--c-blue);
  font-weight: bold;
}

.topics ul li .category {
  color: var(--c-yellow);
  line-height: 1.0;
  text-align: center;
  padding: 0.3em 0.5em;
  border-radius: 20px;
  font-weight: bold;
  min-width: 120px;
}
.topics ul li .category-1 {
  background: var(--c-blue);
}
.topics ul li .category-2 {
  background: #000;
}
.topics ul li .text {
  font-size: 1.6rem;
  font-weight: bold;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {
  /*ブラウザの幅が736px以下の時*/
  .topics ul li .meta {
    margin-top: 1em;
    display: block;
    align-items: center;
    justify-content: space-between;
  }
  .topics ul li .day {
    font-size: 1.4rem;
    color: var(--c-blue);
    font-weight: bold;
    display: block;
  }
  .topics ul li .category {
    color: var(--c-yellow);
    line-height: 1.0;
    text-align: center;
    padding: 0.3em 0.5em;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    min-width: 120px;
  }
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .topics ul li .text {
    font-size: 1.4rem;
    font-weight: bold;
  }
}


/* ****************************************************************************************************
   * お知らせ詳細
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

#main .layout-body {}

#main .layout-body .layout-2 {
  max-width: 1120px;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メイン
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

#main .layout-body .layout-2 .topics {
  width: 72%;
}
#main .layout-body .layout-2 .topics > .body {
  padding: 0;
}

#main .layout-body .layout-2 .topics .meta {
  margin-top: 30px;
}

#main .layout-body .layout-2 .topics .meta.layout-2 {
  margin-top: 20px;
  justify-content: flex-start;
  align-items: center;
}

#main .layout-body .layout-2 .topics .day {
  font-size: 1.6rem;
  display: inline-block;
  margin-right: 10px;
}
#main .layout-body .layout-2 .topics .category {
  color: var(--c-yellow);
  line-height: 1.0;
  text-align: center;
  padding: 0.3em 0.5em;
  display: inline-block;
  min-width: 120px;
  border-radius: 20px;
  font-weight: bold;
}
#main .layout-body .layout-2 .topics .category-1 {
  background: var(--c-blue);
}
#main .layout-body .layout-2 .topics .category-2 {
  background: #000;
}
#main .layout-body .layout-2 .topics .category-3 {
  background: #c30d23;
}
#main .layout-body .layout-2 .topics .category-4 {
  background: #005e3a;
}
#main .layout-body .layout-2 .topics .category-5 {
  background: #6f5f00;
}


#main .layout-body .layout-2 .topics .content {
  margin-top: 30px;
  font-size: 1.6rem;
}

#main .layout-body .layout-2 .topics .content a {
  color: var(--c-blue);
  text-decoration: underline;
}
#main .layout-body .layout-2 .topics .content a:hover {
  color: var(--c-blue);
  text-decoration: none;
}

#main .layout-body .layout-2 .topics .content img {
  display: block;
  margin:10px auto;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {

#main .layout-body .layout-2 {
  display: block;
}
#main .layout-body .layout-2 .topics {
  width: 100%;
}
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {

#main .layout-body .layout-2 .topics .content {
  margin-top: 20px;
  font-size: 1.6rem;
}
}

/* ----------------------------------------------------------------------------------------------------
   * コンテンツエリア 装飾
/* ------------------------------------------------------------------------------------------------- */

#main .layout-body .layout-2 .topics .content ol {
  list-style: decimal;
  padding-left: 30px;
  margin-top: 1em;
}
#main .layout-body .layout-2 .topics .content ol li {
  list-style: decimal;
  padding-left: 0;
  margin-top: 0;
}
#main .layout-body .layout-2 .topics .content ol li ~ li {
  margin-top: 20px;
}
#main .layout-body .layout-2 .topics .content ol li p ~ p {
  margin-top: 0;
}

#main .layout-body .layout-2 .topics .content ul {
  list-style: disc;
  padding-left: 30px;
  margin-top: 1em;
}
#main .layout-body .layout-2 .topics .content ul li {
  list-style: disc;
  padding-left: 0;
  margin-top: 0;
}


/* ----------------------------------------------------------------------------------------------------
   * ボタン
/* ------------------------------------------------------------------------------------------------- */

#main .layout-body .layout-2 .pager-single {
  text-align: center;
}
#main .layout-body .layout-2 .pager-single .btn.return {
  font-size: 1.6rem;
  width: 250px;
  padding: 20px 3em;
  font-weight: 900;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  #main .layout-body .layout-2 .pager-single .btn.return {
    font-size: 1.6rem;
    width: 250px;
    padding: 10px 3em;
    font-weight: 900;
  }
}


/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * サイドナビ
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

#main .layout-body .layout-2 #side-contents {
  width: 25%;
  margin-top: 70px;
  padding-bottom: 100px;
}

#main .layout-body .layout-2 #side-contents .title-2 {
  font-size: 2.0rem;
  text-align: left;
  font-weight: 900;
  color: var(--c-blue);
  background: var(--c-yellow);
  border-radius: 20px;
  padding: 0.1em 1em;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {

#main .layout-body .layout-2 #side-contents {
  width: 100%;
  margin-top: 0;
  padding-bottom: 50px;
}
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  #main .layout-body .layout-2 #side-contents .title-2 {
    font-size: 1.8rem;
    text-align: left;
    font-weight: 900;
    color: var(--c-blue);
    background: var(--c-yellow);
    border-radius: 20px;
    padding: 0.1em 1em;
  }
}

/* ----------------------------------------------------------------------------------------------------
   * 最新の記事
/* ------------------------------------------------------------------------------------------------- */

#main .layout-body #side-contents .recent ul {
  margin-top: 1em;
}

#main .layout-body #side-contents .recent ul li {}

#main .layout-body #side-contents .recent ul li ~ li {
  border-top: 1px solid #cccccc;
}

#main .layout-body #side-contents .recent ul li a {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 1em 0.5em;
}
#main .layout-body #side-contents .recent ul li a > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  width: 100%;
}
#main .layout-body #side-contents .recent ul li a:hover {
  background: var(--c-yellow);
  opacity: 1;
}

#main .layout-body #side-contents .recent ul li time {
  display: block;
  width: 100%;
  color: var(--c-blue);
  font-size: 1.4rem;
}
#main .layout-body #side-contents .recent ul li .category {
  display: block;
  font-size: 1.4rem;
  color: var(--c-yellow);
  border-radius: 20px;
  padding: 0 0.8em;
  min-width: 120px;
  text-align: center;
  margin-top: 0.5em;
}
#main .layout-body #side-contents .recent ul li .category-1 {
  background: var(--c-blue);
}
#main .layout-body #side-contents .recent ul li .category-2 {
  background: #000;
}
#main .layout-body #side-contents .recent ul li .category-3 {
  background: #c30d23;
}
#main .layout-body #side-contents .recent ul li .category-4 {
  background: #005e3a;
}
#main .layout-body #side-contents .recent ul li .category-5 {
  background: #6f5f00;
}
#main .layout-body #side-contents .recent ul li .layout-2 {
  margin-top: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}
#main .layout-body #side-contents .recent ul li .images {
  width: 80px;
  margin-right: 1em;
}
#main .layout-body #side-contents .recent ul li .images img {
  border-radius: 10px;
  min-width: 80px;
  min-height: 80px;
  object-fit: cover;
}
#main .layout-body #side-contents .recent ul li .text {
  overflow-wrap: anywhere; /* 改行処理*/ 
  line-height: 1.4;
  width: 62%;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
}

/* ----------------------------------------------------------------------------------------------------
   * 過去の記事
/* ------------------------------------------------------------------------------------------------- */

#main .layout-body #side-contents .archive ul {
  margin-top: 1em;
}

#main .layout-body #side-contents .archive ul li {
  font-size: 1.6rem;
}

#main .layout-body #side-contents .archive ul li ~ li {}

#main .layout-body #side-contents .archive ul li a {
  display: block;
  padding: 0.2em 10px;
}
#main .layout-body #side-contents .archive ul li a:hover {
  background: var(--c-yellow);
  opacity: 1;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  #main .layout-body #side-contents .archive ul li {
    font-size: 1.5rem;
  }
}
