/*! destyle.css v3.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.min.css */
*, ::before, ::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
}

main {
  display: block;
}

p, table, blockquote, address, pre, iframe, form, figure, dl {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dt {
  font-weight: 700;
}

dd {
  margin-left: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

pre {
  font-family: monospace, monospace;
  font-size: inherit;
}

address {
  font-style: inherit;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

abbr[title] {
  text-decoration: underline dotted;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: inherit;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

svg, img, embed, object, iframe {
  vertical-align: bottom;
}

button, input, optgroup, select, textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
}

[type=checkbox] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  appearance: radio;
}

button, [type=button], [type=reset], [type=submit] {
  cursor: pointer;
}

button:disabled, [type=button]:disabled, [type=reset]:disabled, [type=submit]:disabled {
  cursor: default;
}

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

option {
  padding: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

label[for] {
  cursor: pointer;
}

details {
  display: block;
}

summary {
  display: list-item;
}

[contenteditable]:focus {
  outline: auto;
}

table {
  border-color: inherit;
}

caption {
  text-align: left;
}

td, th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: 700;
}

:root {
  --background: #fff;
  --primary: #4BBCC6;
  --secondary: #fff;
  --text: #333;
  --text-secondary: #666;
}

/* base
----------------------------------------------------*/
html {
  font-size: 62.5%;
}

body {
  background: var(--background);
  font-size: 16px;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #333;
  font-weight: 500;
}
@media screen and (max-width: 1024px) {
  body {
    font-size: 14px;
    font-size: 1.4rem;
  }
}

a {
  color: var(--primary);
}

img, video {
  max-width: 100%;
  vertical-align: top;
}

/* header
----------------------------------------------------*/
.header {
  height: 400px;
}
@media screen and (max-width: 1024px) {
  .header {
    height: 150px;
  }
}
.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* category
----------------------------------------------------*/
.categories {
  max-width: 1024px;
  margin: 60px auto;
}
@media screen and (max-width: 1024px) {
  .categories {
    position: relative;
    margin: 30px 20px;
  }
}
.categories > a {
  display: none;
}
@media screen and (max-width: 1024px) {
  .categories > a {
    position: relative;
    display: block;
    max-width: 160px;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid var(--primary);
    border-radius: 100px;
    text-align: center;
    line-height: 1;
    transition: 0.4s ease 0.2s;
  }
  .categories > a i {
    position: absolute;
    display: block;
    right: 10px;
    top: calc(50% - 8px);
    font-size: 16px;
  }
}
.categories ul {
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 1024px) {
  .categories ul {
    position: absolute;
    display: block;
    left: 0;
    top: 38px;
    width: 100%;
    border: 1px solid var(--primary);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: center top;
    transition: 0.4s ease;
  }
}
.categories ul li {
  margin: 0 5px;
}
@media screen and (max-width: 1024px) {
  .categories ul li {
    margin: 0;
    border-top: 1px solid var(--primary);
  }
}
.categories ul li a {
  display: block;
  min-width: 160px;
  padding: 12px;
  border: 1px solid var(--primary);
  border-radius: 100px;
  text-align: center;
  line-height: 1;
  transition: 0.4s ease;
}
@media screen and (max-width: 1024px) {
  .categories ul li a {
    border: none;
    border-radius: 0;
    background: var(--secondary);
  }
}
.categories ul li a:hover {
  opacity: 0.7;
}
.categories ul li a.selected {
  background: var(--primary);
  color: var(--secondary);
}
@media screen and (max-width: 1024px) {
  .categories.cat_open > a {
    max-width: 100%;
    border-radius: 10px 10px 0 0;
    transition: 0.4s ease;
  }
  .categories.cat_open ul {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
    transition: 0.4s ease 0.2s;
  }
}

/* main
----------------------------------------------------*/
.item {
  width: 320px;
  margin: 0 0 40px 0;
}
.item_list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1024px;
  margin: 0 auto;
}
@media screen and (max-width: 1024px) {
  .item_list {
    margin: 0 20px;
  }
}
.item_list:after {
  content: "";
  display: block;
  width: 320px;
}
@media screen and (max-width: 1024px) {
  .item_list:after {
    width: 48%;
  }
}
@media screen and (max-width: 1024px) {
  .item {
    width: 48%;
    margin: 0 0 20px 0;
  }
}
.item_img {
  display: block;
  width: 100%;
  height: 213px;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .item_img {
    height: 30vw;
  }
}
.item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}
.item_img:hover img {
  transform: scale(1.1);
}
.item_header {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 15px;
  font-size: 14px;
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1;
}
@media screen and (max-width: 1024px) {
  .item_header {
    margin: 15px 0 10px;
    font-size: 10px;
    font-size: 1rem;
  }
}
.item_cat a {
  color: var(--text-secondary);
  text-decoration: underline;
}
.item_cat a:hover {
  text-decoration: none;
}
.item_title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .item_title {
    -webkit-line-clamp: 3;
  }
}
.item_title a {
  color: var(--text);
  text-decoration: none;
}

/* back
----------------------------------------------------*/
.back {
  max-width: 1024px;
  margin: 60px auto 160px;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .back {
    margin: 40px auto 60px;
  }
}
.back a {
  position: relative;
  display: inline-block;
  width: 400px;
  padding: 24px;
  border-radius: 100px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 20px;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  transition: 0.4s ease;
}
@media screen and (max-width: 1024px) {
  .back a {
    display: block;
    width: auto;
    margin: 0 20px;
    padding: 18px;
    font-size: 18px;
    font-size: 1.8rem;
  }
}
.back a i {
  position: absolute;
  display: block;
  left: 40px;
  top: calc(50% - 10px);
  font-size: 20px;
}
@media screen and (max-width: 1024px) {
  .back a i {
    left: 30px;
    top: calc(50% - 8px);
    font-size: 16px;
  }
}
.back a:hover {
  opacity: 0.7;
}

/* single
----------------------------------------------------*/
.single {
  max-width: 1024px;
  margin: 100px auto;
}
@media screen and (max-width: 1024px) {
  .single {
    margin: 50px 20px 20px;
  }
}
.single_header {
  margin: 0 0 15px;
  font-size: 14px;
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1;
}
@media screen and (max-width: 1024px) {
  .single_header {
    font-size: 10px;
    font-size: 1rem;
  }
}
.single_date {
  display: inline-block;
  margin-right: 30px;
}
@media screen and (max-width: 1024px) {
  .single_date {
    margin-right: 20px;
  }
}
.single_cat {
  display: inline-block;
}
.single_cat a {
  color: var(--text-secondary);
  text-decoration: underline;
}
.single_cat a:hover {
  text-decoration: none;
}
.single_title {
  font-size: 24px;
  font-size: 2.4rem;
  color: var(--text);
}
@media screen and (max-width: 1024px) {
  .single_title {
    font-size: 16px;
    font-size: 1.6rem;
  }
}
.single_body {
  margin: 50px 0;
  color: var(--text);
}
@media screen and (max-width: 1024px) {
  .single_body {
    margin: 20px 0;
  }
}
.single_body p {
  margin: 50px 0;
}
@media screen and (max-width: 1024px) {
  .single_body p {
    margin: 20px 0;
  }
}
.single_body .image {
  margin: 0 0 30px 0;
}
@media screen and (max-width: 1024px) {
  .single_body .image {
    margin: 0 0 15px 0;
  }
}
.single_body .alignleft {
  float: left;
  max-width: 45%;
  margin-right: 5%;
}
.single_body .alignright {
  float: right;
  max-width: 45%;
  margin-left: 5%;
}
.single_body .movie {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.single_body .movie iframe,
.single_body .movie object,
.single_body .movie embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.single_footer {
  margin: 100px 0 -40px;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .single_footer {
    margin: 60px 0 -20px;
  }
}
.single_footer a {
  position: relative;
  display: inline-block;
  width: 320px;
  padding: 18px;
  border-radius: 100px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1;
  text-align: center;
  transition: 0.4s ease;
}
@media screen and (max-width: 1024px) {
  .single_footer a {
    width: 240px;
    padding: 14px;
    font-size: 16px;
    font-size: 1.6rem;
  }
}
.single_footer a i {
  position: absolute;
  display: block;
  left: 40px;
  top: calc(50% - 10px);
  font-size: 20px;
}
@media screen and (max-width: 1024px) {
  .single_footer a i {
    left: 30px;
    top: calc(50% - 8px);
    font-size: 16px;
  }
}
.single_footer a:hover {
  opacity: 0.7;
}

/* footer
----------------------------------------------------*/
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* height: 75px; */
  height: 150px;
  background: var(--primary);
}
@media screen and (max-width: 1024px) {
  .footer {
    /* height: 50px; */
    height: 125px;
  }
}
.footer p {
  color: var(--secondary);
  text-align: center;
  font-size: 14px;
  font-size: 1.4rem;
}
@media screen and (max-width: 1024px) {
  .footer p {
    font-size: 10px;
    font-size: 1rem;
  }
}
.footer div.footer_logo{
    width:120px;
    height:41px;
    text-align:center;
    margin:0 auto 15px;
}
@media screen and (max-width: 1024px) {
    .footer div.footer_logo{
        width:80px;
        height:28px;
    }
}
