/*
Theme Name: haraguchi
Text Domain: haraguchi

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Document Setup
	2. 	Element Base
	3. 	Helper Classes
	4. 	Site Header
	5. 	Menu Modal
	6. 	Search Modal
	7. 	Page Templates
		a. 	Template: Cover Template
		c. 	Template: Full Width
	8.  Post: Archive
	9.  Post: Single
	10. Blocks
	11. Entry Content
	12. Comments
	13. Site Pagination
	14. Error 404
	15. Widgets
	16. Site Footer
	17. Media Queries

----------------------------------------------------------------------------- */

:root {
  --content-max-width: 800px;
  --breakpoint-sp: 768px;
}

/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */


html,
body {
  border: none;
  margin: 0;
  padding: 0;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
  border: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-align: inherit;
  letter-spacing: 1px;
}

blockquote::before,
blockquote::after {
  content: "";
}


/* -------------------------------------------------------------------------- */

/*	1. Document Setup
/* -------------------------------------------------------------------------- */

/* Hide reCAPTCHA badge */
.grecaptcha-badge { visibility: hidden; }

body {
  color: #000;
  width: 100%;
  /*
  font-family: 'Noto Sans', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "メイリオ", sans-serif;
  background-color: #000;
  background-image: radial-gradient(rgb(255, 255, 255, 0.1), rgba(0, 0, 0));
  */
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* -------------------------------------------------------------------------- */

/*	2. 	Element Base
/* -------------------------------------------------------------------------- */

h1 {
  font-size: 18px;
}

p {
  font-size: 14px;
}

a {
  text-decoration: none;
  transition: .4s all;
  color: #000;
}

a:hover {
  transition: .4s all;
  color: #ddd;
}

li {
  list-style-type: none;
}


::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 2.5px;
  box-shadow: inset 0 0 0 1px #111;
}

::marker {
  display: none;
}

.icon {
  display: inline;
  width: 12px;
  margin: 0 5px;
  transition: .4s all;
}

a:hover img {
  opacity: 0.5;
  transition: .4s all;
}

/* -------------------------------------------------------------------------- */

/*	3. 	Helper Classes
/* -------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------- */

/*	4. Site Header
/* -------------------------------------------------------------------------- */

header {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto;
  height: fit-content;
  /* height: fit-content !important; */
  gap: 40px;
  width: 100%;
  padding: 0 20px;
  /* backdrop-filter: blur(10px); */
  /* mix-blend-mode: difference; */
  background: #fff;
  color: #000;
  height: 50px;
}


.admin-bar header {
  top: 32px;
}

header h1 {
  /*
  display: inline;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 3;
  */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* top: 20px; */
  /* left: 20px; */
  z-index: 3;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-weight: 700;
}



/* -------------------------------------------------------------------------- */

/*	5. 	Menu Modal
/* -------------------------------------------------------------------------- */


.hamburger {
  /*
  display: block;
  position: fixed;
  z-index: 3;
  right: 20px;
  top: 20px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
  */
    display: none;
    align-self: center;
    justify-self: center;
    position: relative;
    z-index: 3;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 6px;
  background: #666;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

/* 
.hamburger:hover span {
  transition: .4s all;
  background: #fff;
}
 */

.hamburger span:nth-child(1) {
  top: 10px;
}

.hamburger span:nth-child(2) {
  top: 20px;
}

.hamburger span:nth-child(3) {
  top: 30px;
}

.hamburger.active span:nth-child(1) {
  top: 16px;
  left: 6px;
  /* background: #fff; */
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  /* background: #fff; */
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}


nav.globalnav {
  /*
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  width: 100%;
  height: 100vh;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
  overflow-y: scroll;
  */
  position: relative;
  grid-column: 2 / 3;
  width: auto;
  /* height: fit-content !important; */
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
}

nav.globalnav ul {
  /*
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 20px;
}

nav.globalnav ul li {
  list-style-type: none;
  padding: 0;
  transition: .4s all;
  font-weight: 400;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
  letter-spacing: 0.7px;
}


body.news nav.globalnav ul li.news,
body.event nav.globalnav ul li.event,
body.art nav.globalnav ul li.art,
body.biography nav.globalnav ul li.biography,
body.information nav.globalnav ul li.information,
body.about-us nav.globalnav ul li.about-us
{
  opacity: 0.5;
} 

/* 
body.news nav.globalnav ul li.news :after,
body.event nav.globalnav ul li.event :after,
body.art nav.globalnav ul li.art :after,
body.biography nav.globalnav ul li.biography :after,
body.information nav.globalnav ul li.information :after,
body.about-us nav.globalnav ul li.about-us :after
{
  content:"";
  width: 100%;
  height: 2px;
  background: #000;
  position: absolute;
  bottom: 10px;
  left: 0; 
} 

nav.globalnav ul li:hover :after{
  transition: .4s all;
  background: #ddd !important;
}

*/

nav.globalnav ul.main {
  grid-column: 1/2;
  grid-row: 1/2;
}
nav.globalnav ul.main li:first-child{
  display: none;
}

nav.globalnav .sub-menu{
  display: none;
}

nav.globalnav .switcher {
  grid-column: 2/3;
  grid-row: 1/2;
  padding: 0 0 0 30px;
}

nav.globalnav .switcher li a{
  opacity:1;
  pointer-events: all;

}
nav.globalnav .switcher li a.current{
  opacity:0.5;
  pointer-events: none;
}

nav.globalnav ul li:last-child {
  padding-bottom: 0;
}

nav.globalnav ul li:nth-of-type(9),
nav.globalnav ul li:nth-of-type(10) {
  display: none;
}

nav.globalnav ul li:hover {
  /* background: #222; */
}

nav.globalnav ul li a {
  display: block;
  padding: 1em 0;
}
/* 
nav.globalnav.active {
  opacity: 100;
  transition: opacity .6s ease, visibility .6s ease;
  z-index: 2;
}
 */

/* -------------------------------------------------------------------------- */

/*	6. 	Search Modal
/* -------------------------------------------------------------------------- */

/*	7.a 	Page Templates
/* -------------------------------------------------------------------------- */

.c-keyvisual {
  width: 100%;
  /* max-width: 1920px; */
  margin: auto;
  margin-top: 50px;
}
.c-keyvisual img,.c-keyvisual video {
  width: 100%;
  height: auto;
}
.c-keyvisual + #content__wrap {
  padding-top: 30px;
}

.c-mv{
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.c-mv video{
  object-fit: cover;
  /* position: absolute; */
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

#container {
  width: 100%;
}

/* 
#container h2 {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  display: inline;
  z-index: 1;
} */

#content__wrap {
    padding: 160px 20px 120px;
    margin: 0 auto;
    line-height: 2;
    max-width: var(--content-max-width);
}

#content__wrap h2 {
  font-size: calc(42/16 * 1rem);
  font-weight: 300;
  text-align: left;
  display: block;
  margin-bottom:60px;
  line-height: calc(42 / 36);
}

#content__wrap h3 {
  margin-top: 64px;
  margin-bottom: 16px;
}

#content__wrap h3 + p {
  margin-top: 0;
}


#content__wrap p {
  /*margin-top:calc(14 / 16 * 1rem);*/
	line-height:1.8;
}

#content__wrap p:has(img) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));;
  gap: 10px;
  margin: auto;
  justify-content: center;
  margin: 20px 0;
  /* flex-wrap: wrap; */
}
#content__wrap p:has(img) img{
  justify-self: center;
}

#content__wrap a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#content__wrap li {
  font-size:calc(14 / 16 * 1rem);
  position: relative;
  list-style: none;
  /* margin-top: 0.3rem; */
  margin-left: 14px;
  text-indent: -14px;
  line-height: 1.75;
}

#content__wrap li::before {
  content: "";
  display: inline-block;
  vertical-align: 2px;
  position: relative;
  margin-right: 0.5rem;
  width: 6px;
  height: 6px;
  background-color: #555;
  border-radius: 10px;
}

#content__wrap .wp-caption.aligncenter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

#content__wrap .wp-caption.alignright {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto 0 auto auto;
}

#content__wrap .wp-caption.alignleft {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto auto auto 0;
}

.content__btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 0;
}

.bg__bio {
  background-image: url('/wp-content/themes/haraguchi/img/bio_bg.png');
  background-repeat: no-repeat;
  background-size: 40% auto;
  background-position: right 0 bottom 0;
  height: 100%;
  margin: 0;
  opacity: 0.5;
  z-index: -1;
}
/* -------------------------------------------------------------------------- */
/*	yukari追加
/* -------------------------------------------------------------------------- */
#content__wrap h6 {
	font-size:12px;
	font-weight:400;
}

/* -------------------------------------------------------------------------- */
/*	7.b 	Page Words
/* -------------------------------------------------------------------------- */
#content__words {
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0));
}

.content__title {
  text-align: center;
}

.content__words__movie video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.content__words__movie .movie__bg {
  display: block;
  z-index: -1;
}

.content__words__movie .movie__pc {
  display: none;
  width: 60%;
  height: auto;
  min-width: 300px;
  min-height: inherit;
  z-index: 1;
}

.content__words__movie.active .movie__bg {
  display: none;
}

.content__words__movie.active .movie__pc {
  display: block;
}

.content__words__text_pc {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -60%);
  -moz-transform: translate(-50%, -60%);
  transform: translate(-50%, -50%);
  opacity: 1;
}

.content__words__text_pc.active {
  display: none;
}

.content__words__text_sp {
  opacity: 0;
}

.content__words__movie__player {
  position: absolute;
  top: 60%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -60%);
  transition: .4s all;
  cursor: pointer;
  display: flex;
}

.content__words__movie__player.active {
  top: 80%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -80%);
}

.content__words__movie__player:hover {
  opacity: 0.5;
  transition: .4s all;
}


.player__play {
  position: absolute;
  top: 0;
}

.player__circle {
  position: absolute;
  top: 0;
  animation: 8s linear infinite rotation;
}

.player__text {
  width: 90px;
  color: #fff;
  display: block;
  line-height: 30px;
  margin-left: 10px;
}


@keyframes rotation {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* -------------------------------------------------------------------------- */

/*	8.a  Post: Archive (Wroks, Exhibitions->Works)
/* -------------------------------------------------------------------------- */

#content__archive {
/* 
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  line-height: 2;
  text-align: left;
  width: 80%;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  */
  width: 100%;
  padding: 20px;
  max-width: var(--content-max-width);
  margin: auto;
}

.content__archive__list{

  /* display: flex;
  flex-wrap: wrap;
  justify-content: space-between; */

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  padding: 120px 0;
  gap: 40px 20px;
}

.content__archive__list::before {
  content: "";
  display: block;
  width: 250px;
  margin: 0 1%;
  order: 1;
}

.content__archive__list::after {
  content: "";
  display: block;
  width: 250px;
  margin: 0 1%;
}

.content__archive__list__item {
  /* width: 100%;
  height: 100%;
  max-height: 370px;
  max-width: 250px; */
  /* margin: 0 1% 60px; */
  /* display: table; */
  /* text-align: center; */
  /* 2025.01.22 */

  text-align: center;
  font-size: 0.85rem;
  align-self: flex-end;
  justify-self: center;
}

.content__archive__list__item figure {
  width: 100%;
  height: auto;
  margin: 0 0 20px;
  /* display: block !important; */
  position: relative;
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;}

.content__archive__list__item figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 250px;
  max-height: 250px;
  /* margin: auto; */
  /* position: absolute; */
  opacity: 1.0;
  transition: .4s all;
  bottom: 0;
  left: 0;
  right: 0;
}

.content__archive__list__item figure img:hover {
  opacity: 0.8;
  transition: .4s all;
}




/* -------------------------------------------------------------------------- */

/*	8.c  Post: Archive-Information
/* -------------------------------------------------------------------------- */

#content__info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  line-height: 1.7;
  text-align: center;
  width: 80%;
  max-height: 70vh;
  overflow-y: scroll;
}

.content__info__list {
  text-align: center;
}

.content__info__list__item {
  margin: 20px auto;
}

/* -------------------------------------------------------------------------- */

/*	8.c  Post: Archive-News
/* -------------------------------------------------------------------------- */

#content__news {
  padding: 160px 20px 120px;
  margin: 0 auto;
  line-height: 2;
  max-width: var(--content-max-width);
}

#content__news h2 {
  font-size: calc(42/16 * 1rem);
  line-height: calc(36/42);
  font-weight: 100;
  text-align: left;
  display: block;
  margin-bottom: 10px;
}

.content__news__current{
  margin-bottom: 60px;
}

.content__news__list {
  width: 100%;
  /* padding: 20px 0; */
}

.content__news__list__item {
  margin: 20px auto;
  font-size: calc(14/16 * 1rem);
}

.content__news__list__item__inner {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.content__news__list__item a .title {
  grid-column: 3/4;
  grid-row: 1/3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content__news__list__item a .category {
  grid-column: 2/3;
  grid-row: 1/3;
  border: 1px solid #888;
  border-radius: 3px;
  font-size: calc(11 / 16* 1rem);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  margin: 0.3em auto;
  line-height: 1;
  min-width: 60px;
  height: fit-content;
  transition: .4s border-color;
}
html[lang="en-US"] .content__news__list__item a .category{
  min-width: 80px;
}

.content__news__list__item a .date {
  grid-column: 1/2;
  grid-row: 1/3;
}

.content__news__list__item a:hover .category{
  border-color: #ddd;
}


/* -------------------------------------------------------------------------- */

/*	9.  Post: Single
/* -------------------------------------------------------------------------- */


#content__single {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  width: 100%;
  max-width: 80%;
  max-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;

  /* 2025.01.22 */
  align-items: center;
  flex-direction: column;
  gap: 10px;
  width: fit-content;
}

#content__single figure {
  max-width: 500px;
  margin: 0 20px 0 0;
  display: block !important;
  /* 2025.01.22 */
  margin: 0;
}

#content__single figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 50vh;
  margin: 0 auto;
  position: relative;
  top: 50%;
}

.content__single__text {
  display: block;
  max-width: 500px;
  width: 100%;
}


content__single__text a {
  color: #fff;
}

content__single__link a:hover,
content__single__link a:hover .icon {
  text-decoration: underline;
}

#container .p-works__content {
  position: relative;
}

#container .p-works__content > .wp-block-image:first-child figure,
#container .p-works__content > p:has(img):first-child{
  max-width: 100%;
  width: 100%;
}

#container .p-works__content > .wp-block-image:first-child img,
#container .p-works__content > p:has(img):first-child img{
  box-sizing: border-box;
  height: auto;
/* 
  width: 100%;
  max-width: 100%;
  object-fit: cover;
 */
  vertical-align: bottom;
  align-self: center;
  justify-self: center;
}

/* -------------------------------------------------------------------------- */

/*	10. Blocks
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */

/*	11. Entry Content
/* -------------------------------------------------------------------------- */


.content__contact {
  margin: 0 auto;
}

.content__contact th {
  text-align: left;
  font-size: 14px;
  color: #000;
  margin-right: 5px;
  width: 40%;
  font-weight: normal;
  background: none;
  border: none;
}

.content__contact td {
  font-size: 12px;
  background: none;
}

input[type=text],
input[type=email],
select[name=dpmenu] {
  background: none;
  color: #000;
  border: none;
  border-bottom: 1px solid #555;
  padding: 10px;
  margin-bottom: 20px;
}

.content__contact td select {
  width: 100%;
  cursor: pointer;
}

textarea[name=your-message] {
  background: none;
  color: #000;
  border: none;
  border: 1px solid #555;
  padding: 10px;
}

.must_element {
  font-size: 7px;
  color: #f00;
  margin-left: 10px;
  position: relative;
  bottom: 1px;
}

input[type=submit] {
  display: block;
  width: 200px;
  color: #000;
  background-color: inherit;
  border: 1px solid #555;
  border-radius: 0;
  font-size: 12px;
  font-weight: normal;
  padding: 10px;
  margin: 40px auto 0;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #555;
  color: #aaa;
  transition: 0.3s ease-in-out;
}




/* -------------------------------------------------------------------------- */

/*	12. Comments
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */

/*	13. Site Pagination
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */

/*	14. Error 404
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */

/*	15. Widgets
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */

/*	16. Site Footer
/* -------------------------------------------------------------------------- */

footer {
  display: block;
  position: fixed;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  text-align: center;
}

.footernav {
  width: 100%;
  text-align: right;
}

.footernav ul {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
}

.footernav ul li:first-of-type {
  margin-right: 20px;
}

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


  nav.home__footer{
    position: absolute;
    bottom: 0;
    font-size: 12px;
    font-weight: 900;
    width: calc(100% - 30px);
    padding: 10px 15px;
  }

  nav.home__footer .main{
    display: flex;
    justify-content: space-between;
  }
  nav.home__footer .main .menu-item-home {
    display: none;
  }

  nav.home__header{
    display: none;
    position: absolute;
    top: 0;
    width: calc(100% - 30px);
    padding: 10px 15px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 900;
  }

  nav.home__header .switcher ul{
    display: flex;
    gap: 10px;
  }
  nav.home__header .switcher a.current{
    opacity: 0.5;
    pointer-events: none;
  }

/* -------------------------------------------------------------------------- */

/*	17. Media Queries
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
  nav.home__header{
    display: flex;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  header {
    gap: 0;
    height: 60px;
    padding: 0;
    mix-blend-mode: initial;
    background: rgb(255 255 255 / 0);
    transition: all 0.3s ease;
  }
  header.active {
    height: 100dvh;
    background: rgb(255 255 255 / 0.8);
    overflow-y: auto;
  }
  header h1 {
    align-items: flex-start;
    padding: 15px 20px;
    height: fit-content;
  }


  .home header{
    display: none;
  }

  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 15px;
    top: 10px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .home .hamburger {
    display: none;
  }


  nav.globalnav {
    position: relative;
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    padding: 60px 0 0;
    width: auto;
    /* height: fit-content !important; */
    align-items: center;
    display: none;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    gap: 30px 0;
    height: calc(100dvh - 70px);
  }
  nav.globalnav.active {
    display: grid;
  }

  nav.globalnav ul {
    flex-direction: column;
    gap: 10px;
  }
  nav.globalnav ul li a {
    color: #000;
  }
  nav.globalnav ul.main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    padding-top: 10px;
  }

  nav.globalnav .switcher {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    gap: 20px;
    flex-direction: row;
    justify-content: center;
    padding: 0 0 10px 0;
    margin: auto;
    height: 100%;
  }

  nav.globalnav .switcher ul{
    flex-direction: row;
    margin: auto;
    height: auto;
    justify-content: center;
  }
  nav.globalnav .menu-item{
    font-weight: 700;
  }
  
  .c-keyvisual {
    margin-top: 60px;
  }
  .c-mv{
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
  }
  .c-mv video{
    object-fit: initial;
    /* position: absolute; */
    height: auto;
    width: 100%;
    /* top: 0;
    left: 0; */
  }
/*
  nav.globalnav ul {
    margin-top: 100px;
    padding-bottom: 100px;
  }

  nav.globalnav ul li:nth-of-type(9),
  nav.globalnav ul li:nth-of-type(10) {
    display: list-item;
  }
*/

  #content__wrap {
    padding: 0;
    padding: 120px 20px;
  }
/* 
  .content__words__text_sp {
    display: block;
    position: absolute;
    top: 45%;
    left: 50%;
    -webkit-transform: translate(-50%, -45%);
    -moz-transform: translate(-50%, -45%);
    transform: translate(-50%, -45%);
    opacity: 1;
  }

  .content__words__text_sp.active {
    display: none;
  }

  .content__words__text_pc {
    opacity: 0;
  }

  .content__words__movie__player {
    position: absolute;
    top: 65%;
    left: 50%;
    -webkit-transform: translate(-50%, -65%);
    -moz-transform: translate(-50%, -65%);
    transform: translate(-50%, -65%);
    transition: .4s all;
    cursor: pointer;
    display: flex;
  }

  .content__words__movie__player.active {
    top: 65%;
    -webkit-transform: translate(-50%, -65%);
    -moz-transform: translate(-50%, -65%);
    transform: translate(-50%, -65%);
  }
  */
  #content__wrap h2 {
    font-size: calc(36/16 * 1rem);
    line-height: calc(36 / 28);
  }
  #content__archive {
    width: 100%;
    padding: 0;
  }

  .content__archive__list {
    grid-template-columns: 1fr;
  }

  .content__archive__list__item {
    margin: 0 auto 70px;
    max-height: inherit;
    max-width: inherit;
  }

  .content__archive__list__item figure {
    width: 100%;
    height: auto;
    max-width: 90%;
    margin: 0 auto 20px;
  }

  .content__archive__list__item figure img {
    max-width: 100%;
    max-height: 350px;
    margin: 0 auto;
    position: relative;
    bottom: inherit;
    left: inherit;
    right: inherit;
  }

  .content__news__list__item__inner{
    gap:  0 20px;
  }

  .content__news__list__item a .title {
    grid-column: 1/4;
    grid-row: 2/3;
  }
  .content__news__list__item a .category {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .content__news__list__item a .date {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  #content__single {
    position: absolute;
    top: 50%;
    left: inherit;
    transform: translate(0, 0);
    transform: translateY(-50%);
    margin: 0 20px;
    max-width: fill-available;
    max-width: -webkit-fill-available;
    max-width: -moz-available;
    max-height: inherit;
    display: block;
  }

  #content__single figure {
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto 20px;
    display: block !important;
  }

  #content__single figure img {
    width: auto;
    height: auto;
  }

  .content__single__text {
    width: 100%;
    max-width: 100%;
  }

  .footernav {
    display: none;
  }

  .content__contact th {
    margin-right: 0;
  }

  .content__contact th,
  .content__contact td {
    display: block;
    width: 100%;
  }

  .content__contact td input[type=text],
  .content__contact td input[type=email],
  .content__contact td select.subject {
    width: 100%;
    padding: 5px 0;
    margin-bottom: 30px;
  }

  .content__contact td select {
    max-width: 305px;
  }

  .must_element {
    font-size: 7px;
    color: #f00;
    margin-left: 10px;
    position: relative;
    bottom: 1px;
  }

  #btn_submit {
    width: 93%;
    font-size: 12px;
    color: #aaa;
    background-color: #555;
    border: 1px solid #555;
    padding: 20px;
    margin-top: 30px;
  }
}



/* -------------------------------------------------------------------------- */

/*	18. safari hack
/* -------------------------------------------------------------------------- */

@supports (-webkit-touch-callout: none) {
  body {
    height: -webkit-fill-available;
  }
}