@charset "UTF-8";

/* Google font Icon */
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);

body {
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
}

a {
  text-decoration: none;
  color: #000;
  display: block;
}

a:hover {
  opacity: 0.75;
}

img {
  width: 100%;
}

main {
  padding: 30px 0;
}

.menu-btn {
  display: none;
}

.com_logo {
  width: 420px;
  margin: 0 auto;
}
.local_menu {
  max-width: 1280px;
  margin: 45px auto 15px;
  padding: 0 15px;
}
.local_menu ul {
  display: flex;
  justify-content: center;
}
.local_menu li {
  width: calc(100% / 6);
  text-align: center;
}
.local_menu a {
  font-size: .9rem;
  padding: 0.25em 0;
  border-right: 2px solid;
}
.local_menu li:last-child a {
  border-right: none;
}

section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}
.flex_box {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}
.main_box {
  width: 76%;
  margin: 0 2% 0 0;
}

/*** タブ ***/
.container {

}

.swiper {
  margin: 0 auto 30px;
}

.tab-menu .swiper-slide {
  text-align: center;
  margin: 0 !important;
}

.tab-menu {
  color: #ffffff;
}

.tab-menu .tab-new {
  background: rgba(153, 221, 51, 1);
}

.tab-menu .tab-tv {
  background: rgba(0, 204, 204, 1);
}

.tab-menu .tab-rd {
  background: rgba(0, 153, 255, 1);
}

.tab-menu .tab-ev {
  background: rgba(102, 102, 255, 1);
}

.tab-menu .tab-cp {
  background: rgba(204, 0, 255, 1);
}

.tab-menu .tab-ot {
  background: rgba(255, 51, 153, 1);
}

.tab-menu .swiper-slide-thumb-active {
  font-weight: 600;
}

/*
.tab-menu .swiper-slide-thumb-active::after {
  opacity: 1;
  transform: translateX(0);
}

.tab-menu .swiper-slide-thumb-active.tab-new::after {
  background: rgba(153, 221, 51, 1);
}

.tab-menu .swiper-slide-thumb-active.tab-tv::after {
  background: rgba(0, 204, 204, 1);
}

.tab-menu .swiper-slide-thumb-active.tab-rd::after {
  background: rgba(0, 153, 255, 1);
}

.tab-menu .swiper-slide-thumb-active.tab-ev::after {
  background: rgba(102, 102, 255, 1);
}

.tab-menu .swiper-slide-thumb-active.tab-cp::after {
  background: rgba(204, 0, 255, 1);
}

.tab-menu .swiper-slide-thumb-active.tab-ot::after {
  background: rgba(255, 51, 153, 1);
}
*/

/*
.tab-contents {
  margin: 30px 0 0;
}
*/


.tab-wrap {
	background: #fff;
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
}
.tab-label {
	cursor: pointer;
	flex: 1;
	order: -1;
	padding: 0.75em 1.5em;
	position: relative;
	text-align: center;
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s;
	user-select: none;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
  font-size: 1.2rem;
}

.swiper-content dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.swiper-content dl::before {
  content: "";
  display: block;
  width: 30%;
  order: 1;
}
.swiper-content dl::after {
  content: "";
  display: block;
  width: 30%;
}
.swiper-content dl a {
  display: block;
  width: 30%;
  /* border: 1px solid #aaa; */
  position: relative;
  box-shadow: 2px 2px 8px rgba(0,0,0,.25);
  margin: 0 0 3%;
  border-radius: 0 0 0.5em 0.5em;
  padding: 0 0 2em;
}
.swiper-content dl div {

}
.swiper-content dt {
  margin: 0 0 0.5em;
}
.swiper-content dt img {
  object-fit: cover;
  object-position: 50% 0;
  aspect-ratio: 16/9;
}
.swiper-content dt span {
  display: block;
  margin: 0.5em 0.5em 0;
  line-height: 1.25em;
  word-break: break-all;
}
.swiper-content dd {
  margin: 0 0.5em;
}
.swiper-content dd span {
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
  margin: 0.25em 0.5em 0 0;
  padding: 0.5em;
  color: #fff;
  border-radius: 0.5em;
}
.swiper-content dd span.cat_tv {
  background: rgba(0, 204, 204, 1);
}
.swiper-content dd span.cat_rd {
  background: rgba(0, 153, 255, 1);
}
.swiper-content dd span.cat_ev {
  background: rgba(102, 102, 255, 1);
}
.swiper-content dd span.cat_pr {
  background: rgba(255, 170, 51, 1);
}
.swiper-content dd span.cat_cp {
  background: rgba(204, 0, 255, 1);
}
.swiper-content dd span.cat_ot {
  background: rgba(255, 51, 153, 1);
}
.swiper-content dd:nth-of-type(2) {
  position: absolute;
  right: 0.5em;
  bottom: 1em;
  font-size: .75rem;
}

.content-ft-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 0;
}

.content-ft-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #0052a4 !important;
  font-size: 16px;
  border-radius: 1em;
  width: 40%;
  border: 2px solid #0052a4;
  position: relative;
  transition: 0.3s;
  background-color: #ffffff00;
  padding: 1em 1.5em 1em 0;
  margin: 0 auto;
  font-weight: 500;
  box-sizing: border-box;
}

.content-ft-link a::before,
.content-ft-link a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5em;
  transform-origin: 100% 50%;
  height: 1.5px;
  width: 1em;
  background-color: #0052a4;
  border-radius: 3px;
  will-change: transform;
  transition: .3s;
}

.content-ft-link a::before {
  transform: translateY(-50%) rotate(30deg);
}

.content-ft-link a::after {
  transform: translateY(-50%) rotate(-30deg);
}

.content-ft-link a:hover::before {
  transform: translate(0.5em, -50%) rotate(30deg);
}

.content-ft-link a:hover::after {
  transform: translate(0.5em, -50%) rotate(-30deg);
}

.side_box {
  width: 24%;
}
.box_inner {
  font-size: .75rem;
  padding: 1em;
  background: #f2f2f2;
}
.box_inner h2 {
  font-size: 1rem;
  margin: 0 0 1em;
}
.box_inner li {
  margin: 0 0 1em;
}
.box_inner li:last-child {
  margin: 0;
}
.news_pubDate {
  margin: 0 0 0.5em;
  position: relative;
  padding: 0 0 0 0.75rem;
}
.news_pubDate::before {
  position: absolute;
	font-family: "Material Icons";
	content: "\e5df";
  font-size: 1.5rem;
  color: #0052a4;
  left: -0.25em;
  bottom: -0.25em;
}
.news_item a {
  display: flex;
}
.news_title {
  width: 62%;
  margin: 0 3% 0 0;
  line-height: 1.25em;
  font-size: .75rem;
}
.news_thumbnail {
  width: 35%;
}
.weather_box {
  margin: 30px 0 0;
}

/*
footer {
  text-align: center;
  font-size: .75rem;
  color: #fff;
  background: #0052a4;
  padding: 30px;
}
*/

#ft-release {
  display: none;
}

@media (min-width: 900px) {

  .com_img img[src="./assets/img/bg_sp.jpg"] {
    display: none;
  }

  .navtext-container {
    text-align: center;
  }

  .navtext-container img {
    max-width: 420px;
  }

  .menu {
    display: flex;
    justify-content: center;
    max-width: 1280px;
    margin: 45px auto 15px;
    padding: 0 15px;
  }

  .menu li {
    width: calc(100% / 7);
    text-align: center;
  }

  .menu li a {
    font-size: .9rem;
    padding: 0.25em 0;
    border-right: 2px solid;
  }

  .menu li:last-child a {
    border-right: none;
  }

  .tab-menu .swiper-wrapper {
    transform: translate3d(0px, 0px, 0px) !important;
    align-items: end;
  }

  .tab-menu .swiper-slide {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    cursor: pointer
  }

  .tab-menu .swiper-slide-thumb-active {
    font-weight: 600;
    font-size: 16px !important;
    height: 36px;
    line-height: 36px;
    border-radius: 12px 12px 0 0;
  }

  .tab-menu .swiper-slide:nth-of-type(1) {
    width: 15%;
  }

  .tab-menu .swiper-slide:nth-of-type(2),
  .tab-menu .swiper-slide:nth-of-type(3) {
    width: 12%;
  }

  .tab-menu .swiper-slide:nth-of-type(4) {
    width: 28%;
  }

  .tab-menu .swiper-slide:nth-of-type(5) {
    width: 16%;
  }

  .tab-menu .swiper-slide:nth-of-type(6) {
    width: 17%;
  }

  .tab-menu .swiper-slide:hover {
    color: #ffffff;
  }

  /* =========================
  *  グローバルフッター（PC）
  ========================= */
  footer {
    padding: 90px 0 30px;
    color: #0052a4;
    font-size: .75rem;
  }

  footer .footer_contents {
    width: 1280px;
    margin: 0 auto;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
  }

  footer .footer_contents .footer_img {
    width: 30%;
    margin: 0 5% 0 0;
    text-align: center;
  }

  footer .footer_contents .footer_img img {
    width: 180px;
    margin: 0 0 15%;
  }

  footer .footer_contents .footer_img p {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
  }

  footer .footer_contents .footer_link {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    align-items: stretch;
    width: 55%;
    line-height: 1.5em;
  }

  footer .footer_contents .footer_link .row {
    width: 30%;
    margin: 0 5% 0 0;
  }

  footer .footer_contents .footer_link .row:nth-of-type(3n) {
    margin: 0;
  }

  footer dl:nth-child(n+2) {
    margin: 2em 0 0;
  }

  footer dt {
    font-weight: bold;
    padding: 0 0 0.5em;
  }

  footer dd {
    padding: 0 0 0.5em 0.5em;
  }

  footer a {
    color: #0052a4;
  }

  footer #copyright {
    margin: 75px 0 0;
    text-align: center;
  }
}

@media (max-width: 899px) {
  .pc {
    display: none !important;
  }

  main {
    padding: 15px 0;
  }

  .com_img {
    display: none;
  }

  /* Navbar & Navmenu color */
  :root {
    --background-navbar: rgba(0, 82, 164, 0.9);
  }

  /* Nav items */
  .menu {
    list-style: none;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    margin-top: 60px;
    padding: 0 0 15px;
    clear: both;
    background: var(--background-navbar);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
  }

  /* Hamburger menu button */
  .menu-btn:checked ~ .menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    z-index: 2;
  }

  /* Hamburger menbu text */
  .menu a {
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: .9rem;
    text-transform: capitalize;
    color: #fff;
    opacity: 0;
    transition: 0.5s;
  }

  .menu li {
    border-bottom: 1px solid #fff;
    padding: 15px 0;
    margin: 0 54px;
    opacity: 0;
    transition: 0.5s;
  }

  .menu-btn:checked ~ .menu a,
  .menu-btn:checked ~ .menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }

  .menu-icon {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 24px 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    z-index: 3;
  }

  .navicon {
    background: #999;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .navicon:before,
  .navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #999;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .navicon:before {
    top: 9px;
  }

  .navicon:after {
    bottom: 9px;
  }

  /* Hamburger Menu Animation Start */
  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }

  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }

  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
    top: 0;
  }

  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    bottom: 0;
  }

  .menu-btn:checked ~ .menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  /* Hamburger Menu Animation End */

  /* Navbar Container */
  .navtext-container {
    width: 100%;
    height: 52px;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 15px;
  }

  .navtext-container img {
    /* width: 50%; */
    max-height: 46px;
  }

  /* Navbar Text */
  .navtext {
    position: absolute;
    text-transform: uppercase;
    color: #ddd;
    letter-spacing: 4px;
    font-size: 20px;
  }

  .com_logo {
    width: 50%;
    margin: 0 auto 15px;
  }

  /*
  .com_img {
    background-size: contain;
    min-height: 20vh;
  }
  */

  .flex_box {
    display: block;
    margin: 0;
  }
  .main_box {
    width: auto;
    margin: 15px 0 0;
  }

  .swiper {
    margin: 0;
  }

  #sp-wrap {
    flex-wrap: wrap;
    transform: translate3d(0px,0,0) !important;
    align-items: end;
  }

  .tab-menu .swiper-slide {
    font-size: 12px;
    width: 50% !important;
    height: 24px;
    line-height: 24px;
  }

  .tab-menu .swiper-slide-thumb-active {
    font-weight: 600;
    font-size: 14px !important;
    height: 30px;
    line-height: 30px;
  }

  .tab-menu .swiper-slide-thumb-active.tab-new,
  .tab-menu .swiper-slide-thumb-active.tab-tv {
    border-radius: 15px 15px 0 0;
  }

  .tab-menu .swiper-slide-thumb-active.tab-rd {
    border-radius: 15px 0 0 15px;
  }

  .tab-menu .swiper-slide-thumb-active.tab-ev {
    border-radius: 0 15px 15px 0;
  }

  .tab-menu .swiper-slide-thumb-active.tab-ot,
  .tab-menu .swiper-slide-thumb-active.tab-cp {
    border-radius: 0 0 15px 15px;
  }

  .swiper-content {
    margin: 15px 0 0;
  }

  .tab-label {
    flex: none;
    width: 50%;
    font-size: .75rem;
    padding: 0.5em 0;
  }
  .tab-label::after {
    height: 2px;
  }
  .swiper-content dl {
    display: block;
  }
  .swiper-content dl::before {
    content: "";
    display: block;
    width: 45%;
    order: 1;
  }
  .swiper-content dl::after {
    content: "";
    display: block;
    width: 45%;
  }
  .swiper-content dl a {
    width: 98%;
    box-shadow: 0 0 5px rgba(0,0,0,.25);
    margin: 0 auto 4%;
    padding: 1.5em 0.75em 0.5em;
    border-radius: 0.5em;
    box-sizing: border-box;
  }
  /*
  .swiper-content dl div a {
    padding: 2em 0.5em 0.5em;
  }
  */
  .swiper-content dt {
    display: flex;
    align-items: center;
    font-size: .8rem;
    word-break: break-all;
    margin: 0.25em 0;
  }
  .swiper-content dt img {
    width: 36%;
  }
  .swiper-content dt span {
    margin: 0 0 0 4%;
    width: 60%;
  }
  .swiper-content dd {
    margin: 0;
  }
  .swiper-content dd:nth-of-type(1) {
    margin: 0 0 0 40%;
  }
  .swiper-content dd span {
    font-size: .6rem;
  }
  .swiper-content dd:nth-of-type(2) {
    position: absolute;
    font-size: .6rem;
    left: 1.2em;
    top: 1em;
    bottom: 0;
    right: 0;
  }

  .content-ft-link a {
    font-size: 12px;
    width: 75%;
  }

  .content-ft-link.db a {
    width: 45%;
  }

  .side_box {
    width: auto;
    margin: 30px 0 0;
  }
  .weather_box ul {
    display: flex;
  }
  .weather_box li {
    margin: 0 1em 0 0;
  }
  footer {
    font-size: .5rem;
    padding: 15px 0;
  }

  /* ====================
  *  フッター（SP）
  ==================== */
  footer {
    width: 100%;
    padding: 30px 0 60px;
    color: #0052a4;
    text-align: center;
  }

  footer .footer_img {
    text-align: center;
    margin: 0 0 30px;
  }

  footer .footer_img img {
    width: 150px;
    margin: 0 0 15px;
  }

  footer .footer_img p a {
    font-size: 16px;
    font-weight: bold;
    color: #005ca2 !important;
    letter-spacing: 0.05em;
  }

  footer #copyright {
    font-size: 10px;
    text-align: center;
  }

  #ft-release {
    display: block;
    position: fixed;
    bottom: 2.5%;
    background: hsla(225,4%,17%,0.9);
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1em;
    font-size: 12px;
    z-index: 1;
  }
  #ft-release #ticker {

  }
  #ft-release a {
    color: #fff !important;
  }
  #ft-release li {

  }
  #ft-release li div {
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }
  #ft-release li div p:nth-of-type(1) {
    position: absolute;
    top: 0;
    left: 0;
    background: #0052a4;
    padding: 0.75em 0;
    border-radius: 1em 0 0 0;
    width: 9em;
    text-align: center;
  }
  #ft-release li div p:nth-of-type(2) {
    margin: 0.5em 0 0.5em 10em;
  }
  #ft-release li .cat span {
    margin: 0 0.5em 0 0;
    padding: 0.5em;
    border-radius: 0.5em;
    display: inline-block;
    font-size: 10px;
  }
  #ft-release li .cat span.cat_tv {
    background: rgba(0, 204, 204, 1);
  }
  #ft-release li .cat span.cat_rd {
    background: rgba(0, 153, 255, 1);
  }
  #ft-release li .cat span.cat_ev {
    background: rgba(102, 102, 255, 1);
  }
  #ft-release li .cat span.cat_pr {
    background: rgba(255, 170, 51, 1);
  }
  #ft-release li .cat span.cat_cp {
    background: rgba(204, 0, 255, 1);
  }
  #ft-release li .cat span.cat_ot {
    background: rgba(255, 51, 153, 1);
  }


  #ft-release li div p:nth-of-type(3) {
    width: 100%;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.5em 1em 1em;
  }
}