@charset "UTF-8";
/*-------------------------------------------
Common
-------------------------------------------*/
html {
    font-size: 62.5%;
}
body {
    color: #3B3B3B;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Meiryo", "Cormorant Garamond", "Noto Serif Devanagari", "Arial", serif;
    font-weight: 400;
    font-size: 1.7rem;
}
main {
	overflow-x:hidden;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
li {
    list-style: none;
}
a {
    color: #3B3B3B;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    opacity: 0.7;
}
.wrapper-1476 {
    max-width: 1446px;
    padding: 0 40px;
    margin: 0 auto;
}
.wrapper {
    max-width: 1050px;
    margin: 0 auto;
	padding: 0 40px;
}
.wrapper-1250 {
	max-width: 1250px;
    margin: 0 auto;
}

.line {
    text-align: center;
}

.line h2 {
    font-size: 3.8rem;
    text-align: center;
    font-weight: 400;
    display: inline-block;
    padding-bottom: 12px;
    border-bottom: 2px solid #3FA9F5;
    margin-bottom: 41px;
}

.btn_blue {
    box-shadow: 0px 3px 3px #808080;
    border-radius: 5px;
    font-family: "Meiryo";
}
.btn {
    color: #fff;
    background-color: #3FA9F5;
    font-size: 2.6rem;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}
/*-------------------------------------------
header
-------------------------------------------*/
header {
    border-top: 13px solid #000;
}
.logo {
    width: 642px;
    margin: 67px auto 85px;
}
header .navi {
    border-top: 1px solid #808080;
}
header .navi .menu {
    display: flex;
    justify-content: center;
    max-width: 1050px;
    margin: 0 auto;
}
header .navi .menu .menu-first {
    position: relative;
    border-left: 1px solid #808080;
    border-top: 1px solid #3FA9F5;
    /*padding: 14px 0;*/
    width: 262px;
    text-align: center;
    cursor: pointer;
}
header .navi .menu .menu-first span {
	display: block;
    padding: 14px 0;
}
header .navi .menu .menu-first:last-of-type {
    border-right: 1px solid #808080;
}
/* メニューの初期非表示 */
.navi .menu .menu-second {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFF;
    width: 100%;
    text-align: center;
    z-index: 100;
}
.navi .menu .menu-second li {
    padding: 19px 12px;
}
/* ハンバーガー共通 ----------------------- */
.hamburger {
    display: none;
    width: 40px;
    height: 22px;
    position: absolute;
    top: 5%;
    right: 4%;
    cursor: pointer;
    z-index: 300;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background: #3b3b3b;
    margin-bottom: 9px;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
/* マスク ----------------------- */
.mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 150;
}
/*-------------------------------------------
mainvisual
-------------------------------------------*/
.mainvisual {
	position:relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
	line-height:0;
}
.mainvisual,
.mainvisual .slide,
.mainvisual .slide img {
  height: 60vh;
  max-height: 700px;
}
.mainvisual .slide img {
	width: 100%;
	object-fit: cover;
}
.mainvisual picture,
.mainvisual img {
    display: block;
}


/* Slick矢印共通 */
.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 67px;   /* 横幅 */
    height: 194px; /* 縦幅 */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}
/* 左矢印 < */
.slick-prev {
    left: 70px; /* 親の左端から10px */
}
.slick-prev::before,
.slick-prev::after {
    content: "";
    position: absolute;
    width: 7px;      /* 線の太さ */
    height: 137px;    /* 線の長さ */
    background-color: #fff;
    top: calc(50% - 3.5px);      /* 縦位置調整 */
    left: 0;
    transform-origin: 0 50%; /* 左端を回転中心 */
}
.slick-prev::before { 
    transform: rotate(30deg); 
    top: -20%;
}
.slick-prev::after  {
    transform: rotate(-30deg); 
    top: 40%;
}

/* 右矢印 > */
.slick-next {
    right: 10px; /* 親の右端から10px */
}
.slick-next::before,
.slick-next::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 137px;
    background-color: #fff;
    top: calc(50% - 3.5px);
    left: 0;
    transform-origin: 100% 50%; /* 右端を回転中心 */
}
.slick-next::before {
    transform: rotate(-30deg); 
    top: -20%;
}
.slick-next::after  { 
    transform: rotate(30deg); 
    top: 40%;
}

/* ホバー時 */
.slick-arrow:hover::before,
.slick-arrow:hover::after {
    opacity: 0.7;
}
/* ドットのデザイン */

.slick-dots li button::before {
    font-size: 20px;
    color: #fff;
    opacity: 0.7;
}
.slick-dots li.slick-active button::before {
    color: #3FA9F5;
    opacity: 1;
}
.mainvisual .slick-dots {
    position: absolute;
    bottom: 20px; /* 下からの距離を調整 */
    left: 50%;
    transform: translateX(-50%); /* Y方向は移動させない */
    width: auto;
    z-index: 10;
    margin: 0;
    padding: 0;
}

/*-------------------------------------------
banner
-------------------------------------------*/
.banner {
    display: flex;
    gap: 30px;
    margin-bottom: 53px;
}
.banner img {
    width: 510px;
}
/*-------------------------------------------
news
-------------------------------------------*/
.news {
    margin-bottom: 150px;
}
.news .list {
    margin-bottom: 65px;
    font-family: "Meiryo";
}
.news .text {
    display: flex;
    margin-bottom: 35px;
    gap: 35px;
    align-items: center;
}
.news .text .meta {
    display: flex;
    gap: 35px;
}
.news .text:last-of-type {
    margin-bottom: 0;
}
.news .text p {
    color: #fff;
    padding: 0.3rem 3.8rem;
    border-radius: 3px;
    font-weight: bold;
}
.news .text .category_a {
    background-color: #F4BB32;
}
.news .text .category_b {
    background-color: #32A7F4;
}
.news .text .category_c {
    background-color: #35D230;
}
/*-------------------------------------------
topics
-------------------------------------------*/
.topics {
    margin-bottom: 150px;
}
.topics .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    margin-bottom: 60px;
    font-family: "Meiryo";
}
.topics .list img {
    display: block;
    margin: 0 auto;
}
.topics .meta {
    margin-top: auto;
    display: flex;
    align-items: center;
}
.topics .list .meta .category {
    background-color: #000;
    color: #fff;
    border-radius: 3px;
    padding: 0.2rem 0.5rem;
    font-size: 1.4rem;
    margin-right: 1rem;
}
.topics .list li {
	height: 100%;
	 display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    border-bottom: 1px solid #808080;
}
.topics .list li a {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.topics .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* ← 2行まで */
    -webkit-box-orient: vertical;
    overflow: hidden;	 
	margin-bottom: 0.5rem;
}
.topics .text {
    display: flex;
    flex-direction: column; 
    margin-top: 1rem;
    flex: 1;
}
.topics .thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.topics .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: top;
}
/*-------------------------------------------
Fixed-btn
-------------------------------------------*/
#fixed-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
}
#fixed-btn a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 86px;
  height: 86px;
  background-color: #3FA9F5;
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ここで ^ の形を作る */
#fixed-btn a::before {
  content: "";
  position: relative;
  width: 30px;
  height: 30px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-bottom: -9%; /* "Page Top"との間隔 */
}
/*-------------------------------------------
footer
-------------------------------------------*/
footer {
    background-color: #F2F2F2;  
    font-family: "Meiryo";
	margin-top: 100px;
}
.footer {
    padding: 40px 16px 46px;
    font-size: 1.4rem;
}

.links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 54px;
}


.links .block .groups {
    display: flex;
    justify-content: space-between;
    gap: 35px;
}

.links .block p {
    border-bottom: 1px solid #808080;
    font-size: 1.6rem;
    padding-bottom: 10px;
}
.links .block .group {
    padding: 20px 0;
    gap: 13px;
    display: grid;
}

.footer-box {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.footer-box img {
    width: 46px;
    height: 45px;
}

.footer-info span {
    font-size: 2.4rem;
}

.footer-contact {
    margin-top: 8px;
}

.footer-contact span {
    font-size: 1.7rem;
}

.copyright {
    background-color: #3FA9F5;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 20px 0;
}

/*-------------------------------------------
タブレット（768px〜1024px）
-------------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

  /*Common*/
  .wrapper,
  .wrapper-1476 {
    padding: 0 40px;
  }

  /*header*/
  .logo {
    width: 420px;
    margin: 40px auto 60px;
  }

  header .navi .menu .menu-first {
    width: 20%;
    font-size: 1.5rem;
  }

	  /*banner*/
  .banner {
    gap: 20px;
  }

  .banner img {
    width: 100%;
  }

  /*news*/
  .news {
    margin-bottom: 120px;
  }

  .news .text {
    gap: 20px;
  }

  /*topics*/
  .topics {
    margin-bottom: 120px;
  }

  .topics .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .topics .text {
    height: auto; 
  }

  /*--------------
  footer
  ---------------*/ 	
	.footer {
		padding:40px;
	}
  .links {
    flex-wrap: wrap;
  }

  .links .block {
    width: 48%;
    margin-left: 0;
  }
	.links .block .groups {
		justify-content:flex-start;
	}

  .footer-box {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

}
/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
/*Common*/    
    h2 {
        font-size: 3.5rem;
    }
    .line {
        margin: 0 auto;
        padding-bottom: 8px;
    }
    .btn {
        font-size: 2.3rem;
    }
    .wrapper,
    .wrapper-1476 {
        padding: 16px;
    }
/*header*/  
    header {
        border-top: 6px solid #000;
        position: relative;
    }
    .logo {
        width: 240px;
        margin: 0;
    }
    .hamburger {
        position: absolute;
        display: block;
        top: 50%;             
        right: 4%;
        transform: translateY(-50%);
    }
    header .navi {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        transition: 0.4s;
        z-index: 200;
        border-top: none;
    }
    header .navi.active {
        left: 0;
    }
    header .navi .menu {
        display: block;
    }
    header .navi .menu .menu-first {
        width: 100%;
        border: none;
        padding: 0;
        margin: 33px 0;
        text-align: left;
    }
    header .navi .menu .menu-first:last-of-type {
        border: none;
    }
    header .navi .menu .menu-first span {
        display: block;
        margin-bottom: 8px;
        margin-left: 10px;
        padding-left: 15px;
        position: relative;
        font-size: 1.8rem;
    }
    header .navi .menu .menu-first span::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%); /* 縦中央揃え */
        width: 8px;
        height: 27px;
        background-color: #3FA9F5;
    }
    header .navi .menu .menu-second li {
        padding: 14px;
        font-size: 1.6rem;
        text-align: left;
    }
    .mask.active {
        display: block;
    }
    .navi .menu .menu-second {
        display: grid !important;/* block を grid に変更 */
        position: static !important;
        background: none;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        padding-left: 0;                 
        border-bottom: 1px solid #808080;
    }
    .navi .menu .menu-first span {
        cursor: default; /* タップで閉じないように */
    }
    .menu-second.single-column {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    .menu-second li.single-column-item {
        grid-column: 1 / -1; /* 両列をまたいで1列に広げる */
    }
    .navi .menu .menu-second li {
        border-top: 1px solid #808080;
    }
    .navi .menu .menu-second .border_right {
        border-right: 1px solid #808080;
    }

/* --- スマホ向け調整 (767px以下) --- */
@media screen and (max-width: 767px) {
    .mainvisual,
    .mainvisual .slide,
    .mainvisual .slide img {
        height: 120vw; 
        max-height: none;
    }
    
    /* ドットの位置を微調整 */
    .mainvisual .slick-dots {
        bottom: 10px;
    }
/*banner*/      
    .banner {
        flex-direction: column;
        gap: 22px;
        text-align: center;
    }
    .banner img {
        width: 326px;
    }
/*news*/       
    .news {
        margin-bottom: 72px;
    }
	.news .list {
		margin-bottom: 24px;
	}
	.news .title {
		font-size:1.5rem;
	}
    .news .text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
		margin-bottom: 12px;
    }
    .news .text .meta {
        gap: 10px;
        align-items: center;
    }
	.meta {
		font-size:1.2rem;
	}
/*topics*/     
    .topics {
        margin-bottom: 0;
    }
    .topics .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
		margin-bottom: 24px;
    }
	.title {
		font-size:1.4rem;
	}
    .topics .text {
        height: auto;
    }
    .topics .list .meta {
        flex-wrap: wrap;
    }
    .topics .list .meta .category {
        font-size: 1.2rem;
        padding: 0 1.2rem;
        margin-right: 0.5rem;
    }
/*Fixed-btn*/   
    #fixed-btn {
        position: fixed;
        bottom: 2%;
        right: 2%;
    }
    #fixed-btn a {
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    #fixed-btn a::before {
        width: 16px;
        height: 16px;
        margin-bottom: 0;
    }
/*footer*/     
    .links {
        flex-direction: column;
    }
    .links .block {
        width: 100%;
        margin: 0;
    }
    .links .block:first-of-type {
        width: 100%;
        margin: 0;
    }
    .links .block .groups {
        gap: 0;
		justify-content: flex-start;
    }
    .links .block .group {
        margin-left: 18px;
    }
    .links .block .group {
        gap: 25px;
    }
    .links .block p {
        border-bottom: none;
        border-top: 1px solid #808080;
        padding-top: 17px;
    }
    .address {
       margin-bottom: 54px;
    }
    .copyright {
        font-size: 1rem;
    }
    .line h2 {
      font-size: 3rem;
	margin-bottom: 28px;
    }
}