:root {
  --headerHeight: 60px;
  --main-color: #00550D;
}
body {
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-weight: normal;
  font-size: 18px;
  color: var(--main-color);
}

div {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

hr {
  border: none;
  height: 1px;
  /* border-bottom: solid 1px rgba(0, 0, 0, 0.2); */
  background: var(--main-color);
  margin: 60px auto 60px;
}

#backtotop a{
  width: 50px;
  height: 50px;
  display: block;
  position: fixed;
  bottom:30px;
  right: 30px;
  border-radius: 50%;;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  /* background: #06c; */
  background: url(icons/ic_arrow3.svg) no-repeat center center #333;
  background-size: 24px 24px;
  z-index: 10;
}

#hero {
  width: 100%;
  height: 450px;
  margin: 0 auto 0;
  padding: 0;
  background: #ccc;
  position: relative;
}
.slide {
  position: relative;
  width: 100%;
  height: 450px;
  background: #fff;
  overflow: hidden;
  margin: 0 auto 0;
  white-space: nowrap;
}
.slide img {
  height: 450px;
  object-fit: cover;
  margin: 0 5px;
}


h2 {
  font-size: 2rem;
  margin: 0;
  padding: 40px 0 20px 0;
  line-height: normal;
}

#info {
  display: block;
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0px auto 0;
  padding: 20px;
}

.line-block {
  display: block;
  width: calc(100% - 100px);
  margin: 0 auto 0;
  height: 4px;
  background: #eee;
}


a.link {
  color: var(--main-color);
  border: none;
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 10px;
  background: url(./icons/ic_ex.svg) no-repeat center left;
  background-size: 20px 20px;
  padding: 0 0 0 25px;
}

a.link:hover {
  border: none;
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 10px;
  background: url(./icons/ic_ex.svg) no-repeat center left;
  background-size: 20px 20px;
  padding: 0 0 0 25px;
}


#news {
  display: block;
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 20px;
}

#news ul {
  display: block;
  list-style-type: none;
  margin: 20px 0 0 0;
  padding: 0;
  font-size: 1.1rem;
}

#news li {
  background: #fcfcfc;
  /* border-radius: 6px; */
}

#news li:nth-of-type(odd) {
  background: #f5f5f5;
}

#news dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  margin: 0;
  padding: 12px;
  font-size: 1.1rem;
}

#news dt {
  display: block;
  background: #5E8163;
  border-radius: 15px;
  text-align: center;
  font-size: 0.8rem;
  padding: 3px 0;
  color: #fff;
}

.section-wrapper {
  display: block;
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 0;
}

#index {
  width: 100%;
  background: #fff;
  margin: 30px auto 0;
}

#index-frame {
  width: 85%;
  max-width: 1000px;
  background: #eee;
  margin: 30px auto 0;
  padding: 0 20px;
}

#index h2 {
  padding: 30px 0 0 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#index h2:before, #index h2:after {
  border-top: 1px solid;
  content: "";
  width: 4em;
}
#index h2:before {
  margin-right: 1em;
}
#index h2:after {
  margin-left: 1em;
}

#index ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style-type: none;
  margin: 30px 0 0 0;
  padding: 0 0 50px 0;
}

#index li a {
  display: grid;
  align-items: center;
  position: relative;
  width: 150px;
  height: 45px;
  color: #000;
  font-size: 0.9rem;
  background: #fff;
  background-image: linear-gradient(-45deg, #aaa 14px, transparent 0);
  text-align: center;
  text-decoration: none;
  border: solid 1px #ddd;
  transition: 0.5s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
#index li a:hover {
  color: #fff;
  background: #000;
  background-image: linear-gradient(-45deg, #888 14px, transparent 0);
}

.text a{
  display: inline-block;
  font-size: 0.85rem;
  text-decoration: none;
  margin: 1rem 0 0 0;
  padding: 6px 20px;
  transition: 0.5s;
  background: #fff;
  color: var(--main-color);
  border: solid 1px var(--main-color);
}

.text a:hover{
  background: var(--main-color);
  border: solid 1px var(--main-color);
  color: #fff;
}

a.pdf {
  border: none;
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 10px;
  background: url(./icons/ic_pdf.svg) no-repeat center left;
  background-size: 20px 20px;
  padding: 0 0 0 25px;
}

a.pdf:hover {
  border: none;
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 10px;
  background: url(./icons/ic_pdf.svg) no-repeat center left;
  background-size: 20px 20px;
  padding: 0 0 0 25px;
  color: var(--main-color);
}

.arrow {
  display: inline-block;
  width: 30px;
  height: 8px;
  border-bottom: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
  transform: skew(45deg);
  margin: 0 0 0 0;
}

.text a:hover .arrow{
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
}

#office {
  width: 100%;
  background: #EDEDED;
  margin: 40px auto 0;
  padding: 0 0 60px 0;
}

/* #office h2 {
  padding: 40px 0 20px 0;
} */

.photo-box {
  width: 100%;
  margin: 0 auto 0;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
  align-items: top;
}

.photo-box2 {
  width: auto;
  margin: 0 auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.photo-box2 img {
  width: 100%;
  margin: 0 auto 0;
}



figure {
  width: 250px;
  display: block;
  margin: 0 auto 0;
  padding: 10px;
}

figure img {
  width: 100%;
  margin: 0;
  padding: 0;
}

figcaption {
  text-align: center;
  margin: 10px 0 0 0;
  padding: 0;
}

#ceremony {
  width: calc(100% - 60px);
  max-width: 1200PX;
  margin: 0 auto 0;
  padding: 0 0 60px 0;
}

#ceremony h2 {
  padding: 40px 0 20px 0;
}

#ceremony h4 {
  padding: 40px 0 20px 0;
}

#ceremony h4 {
  padding: 10px 0 0px 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ceremony h4:before, #ceremony h4:after {
  border-top: 1px solid;
  content: "";
  width: 4em;
}
#ceremony h4:before {
  margin-right: 1em;
}
#ceremony h4:after {
  margin-left: 1em;
}

#ceremony table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin: 30px auto 30px;
}
#ceremony span {
  font-size: 0.85rem;
}

#ceremony th {
  padding: 10px;
  width: 20%;
  background: #f5f5f5;
  border: solid 1px #ddd;
}
#ceremony td {
  padding: 10px;
  width: 80%;
  border: solid 1px #ddd;
}

#ceremony .box {
  border: solid 1px #ddd;
  padding: 20px;
}


#ceremony .box p {
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

#ceremony .box a {
  display: inline-block;
  border: solid 1px var(--main-color);
  color: var(--main-color);
  font-size: 0.9rem;
  text-decoration: none;
  margin: 20px 0 10px 0;
  padding: 5px 20px 5px 30px;
  background: url(icons/ic_form2.svg) no-repeat center left #fff;
  background-size: 26px 16px;
  transition: 0.5s;
}

#ceremony .box a:hover {
  background: var(--main-color);
  border: solid 1px var(--main-color);
  color: #fff;
  background: url(icons/ic_form.svg) no-repeat center left var(--main-color);
  background-size: 26px 16px;
}

#ceremony .box span {
  font-size: 0.9rem;
  color: red
}

.order-wrapper {
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
}
.order-wrapper div{
  border-top: solid 1px#ddd;
  border-right: solid 1px#ddd;
  font-size: 0.9rem;
}
.order-wrapper div:first-child{
  border-left: solid 1px#ddd;
}
.order-wrapper ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.order-wrapper li{
  padding: 6px;
  border-bottom: solid 1px #ddd;
}


#photo-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;
  margin: 30px auto 30px;
}

#photo-list img {
  width: 100%;
}

.singlePhoto{
  width: 100%;
  margin: 0 auto 0;
  text-align: center;
}
.singlePhoto img{
  width: 50%;
}

@media all and (max-width: 900px) {
  .singlePhoto img{
    width: 100%;
  }
}

#project {
  width: 100%;
  background: #EDEDED;
  margin: 40px auto 0;
  padding: 0 0 60px 0;
}

/* #project h2 {
  padding: 40px 0 0 0;
} */

.content-box {
  width: 100%;
  margin: 20px 0;
  background: #fff;
  padding: 20px;
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: flex-start;
  gap: 20px;
  /* border-bottom: solid 1px #eee; */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.content-box2 {
  width: 100%;
  margin: 20px 0;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.content-box2 a {
  display: inline-block;
  border: solid 1px var(--main-color);
  color: var(--main-color);
  font-size: 0.9rem;
  text-decoration: none;
  margin: 20px 0 10px 0;
  padding: 5px 20px 5px 30px;
  background: url(icons/ic_form2.svg) no-repeat center left #fff;
  background-size: 26px 16px;
  transition: 0.5s;
}

.content-box2 a:hover {
  background: var(--main-color);
  border: solid 1px var(--main-color);
  color: #fff;
  background: url(icons/ic_form.svg) no-repeat center left var(--main-color);
  background-size: 26px 16px;
}

.content-box2 span {
  font-size: 0.9rem;
  color: red
}


.content-box img{
  width: 250px;
}

.content-box h4, .content-box2 h4{
  margin: 5px 0 20px 0;
  padding: 0;
  font-size: 1.4rem;
}

.content-box-pboto {
  width: 100%;
  margin: 20px 0 50px 0;
  background: #fff;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.content-box-pboto figure{
  width: 100%;
  text-align: center;
  margin: 20px 0 20px 0;
  padding: 0;
}

.content-box-pboto img{
  width: 100%;
}

.content-box-white {
  width: 100%;
  margin: 20px 0 50px 0;
  background: #fff;
  padding: 0px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-start;
  justify-content: space-around;
  gap: 60px;
  box-sizing: border-box;
}

.content-box-white figure{
  width: 400px;
  text-align: center;
  margin: 20px 0 0 0;
  padding: 0;
}

.content-box-white img{
  width: 400px;
}

#project h3 {
  padding: 50px 0 10px 0;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#project h3:before, #project h3:after {
  border-top: 1px solid;
  content: "";
  width: 4em;
}
#project h3:before {
  margin-right: 1em;
}
#project h3:after {
  margin-left: 1em;
}


#publication {
  width: calc(100% - 60px);
  max-width: 1200PX;
  margin: 40px auto 0;
}

#publication .box a {
  display: inline-block;
  border: solid 1px var(--main-color);
  color: var(--main-color);
  font-size: 0.9rem;
  text-decoration: none;
  margin: 20px 0 10px 0;
  padding: 5px 20px 5px 30px;
  background: url(icons/ic_form2.svg) no-repeat center left #fff;
  background-size: 26px 16px;
  transition: 0.5s;
}

#publication .box a:hover {
  background: var(--main-color);
  border: solid 1px var(--main-color);
  color: #fff;
  background: url(icons/ic_form.svg) no-repeat center left var(--main-color);
  background-size: 26px 16px;
}


#publication .box a.dl {
  display: inline-block;
  border: none;
  color: var(--main-color);
  font-size: 0.9rem;
  text-decoration: none;
  margin: 20px 0 10px 0;
  padding: 5px 20px 5px 30px;
  background: url(icons/ic_pdf.svg) no-repeat center left #fff;
  background-size: 30px 20px;
  transition: 0s;
  font-size: 20px;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 1px;
}

#publication .box a.dl:hover {
  background: none;
  border: none;
  color: var(--main-color);
  background: url(icons/ic_pdf.svg) no-repeat center left #fff;
  background-size: 30px 20px;
}

#publication .box span {
  font-size: 0.9rem;
  color: red
}


/* #publication h2 {
  padding: 40px 0 20px 0;
} */

#contact {
  width: 100%;
  background: #EDEDED;
  margin: 40px auto 0;
  padding: 0 0 60px 0;
}

#contact p {
  font-size: 1.25rem;
}
#contact span {
  background: url(../img/at.svg) no-repeat 50% center;
  background-size: 17px 17px;
}

#insta {
  width: calc(100% - 60px);
  max-width: 1200PX;
  margin: 20px auto 0;
}

/* #insta h2 {
  padding: 40px 0 20px 0;
} */

#instafeed {
	width: 100%;
	max-width: 1200px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	justify-content: space-around;
	gap: 40px;
	margin: 0 auto 60px;
	padding: 30px;
  
}

#instafeed a{
	text-decoration: none;
	color: #666
}

.photo-frame {
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 10px;
	background: #fafafa;
	border-radius: 20px;
	box-shadow: rgb(0 0 0 / 30%) 0px 20px 40px, rgb(0 0 0 / 5%) 0px 1px 3px;
	transition: all 0.8s cubic-bezier(0.075, 0.82, 0.165, 1) 0s;
	cursor: pointer;
	z-index: 1;
	width: 100%;
	
}

.photo-frame:hover {
	transform:scale(1.05);
}
.photo {
	width: 100%;
	display: block;
	border-radius: 20px 20px 0 0;
	background: #eee;
}
.caption {
	width: 100%;
	height: 150px;
	/* display: block; */
	padding: 5px 20px;

}
.caption span{
	width: 100%;
	font-size: 12px;
	
}
.caption p{
  box-sizing: border-box;
	width: 100%;
	font-size: 14px;
	margin: 5px 0 0 0;
	padding: 0;
	text-decoration: none;
  overflow: hidden; 
  display: -webkit-box; 
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; 
}
.photo-frame img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 20px 20px 0 0;
	object-fit: cover;
}

footer {
  width: 100%;
  height: 200px;
  background: var(--main-color);
}


footer span {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  margin: 0 auto 0;
  padding-top: 100px;
  
}

#movie {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top:0;
  left: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
}

#movie.active {
  display: grid;
  animation: animation 0.5s;
}

#slideshow-btn {
  text-align: center;
  display: block;
  width: 190px;
  font-size: 13px;
  margin: 20px auto 20px;
  padding: 5px 10px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  background: #666;
  text-decoration: none;
}

#slideshow-btn::before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  background: url(icons/ic_camera.svg) no-repeat center center;
  background-size: cover;
  margin: 0 8px 2px 0;
}


#slideshow {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top:0;
  left: 0;
  z-index: 120;
  display: grid;
  align-items: center;
  justify-content: center;
  visibility: visible;
  /* pointer-events: none; */
}

#slideshow.active {
  visibility: visible;
  animation: animation 0.5s;
}

.slide2 {
  display: block;
  width: 84%;
  height: auto;
  overflow: hidden;
  margin: 0 auto 0;
  white-space: nowrap;
  background: none;
  background: transparent
}

.slide2 img {
  width: 100%;
  /* object-fit: contain; */
  margin: 0 auto 0;
  padding: 0px;
  display: inline-block;
  vertical-align: top;
}

#slideshow-close {
  width: 44px;
  height: 44px;
  display: block;
  background: url(icons/ic_close2.svg) no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 60px;
  right: 60px;
  cursor: pointer;
}


video {
  width: 90%;
  margin: 0 auto 0;
}

#mov-btn {
  cursor: pointer;
}

@keyframes animation {
  0% {

    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


.slick-prev {
  width: 40px;
  height: 40px;
  background:url(icons/ic_arrow1.svg) no-repeat center center rgba(255, 255, 255, 0.5);
  background-size: 15px 15px;
  border: none;
  position: absolute;
  top: 50%;
  left: 50px;
  z-index: 100;
  cursor: pointer;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.slick-next {
  width: 40px;
  height: 40px;
  background:url(icons/ic_arrow1.svg) no-repeat center center rgba(255, 255, 255, 0.5);
  background-size: 15px 15px;
  transform: rotate(180deg);
  border: none;
  position: absolute;
  top: 50%;
  right: 50px;
  z-index: 100;
  cursor: pointer;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}



@media all and (max-width: 900px) {
  .photo-box {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: bottom;
  }
  #office img {
    margin-top: 60px;
  }
  .content-box {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 20px;
  }
  
  .content-box img{
    width: 100%;
  }
  .content-box-photo {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .content-box-photo img{
    width: 100%;
  }
  .content-box-white {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 20px;
  }
  .content-box-white img{
    width: 100%;
  }
}

@media all and (max-width: 864px) {

  #news {
    width: calc(100% - 40px);
  }
  .section-wrapper {
    width: calc(100% - 40px);
  }
  

  .photo-box {
    grid-template-columns: 1fr;
    margin: 0 auto 0;
    padding: 0;
    gap: 0px;
  }

  h2 {
    text-align: center;
    font-size: 1.7rem;
    padding: 30px 0 0 0;
  }

  .order-wrapper {
    grid-template-columns: 1fr;
  }
  .order-wrapper div{
    border-top: solid 1px#ddd;
    border-right: solid 1px#ddd;
    border-left: solid 1px#ddd;
  }

  .order-wrapper ul:first-child > li:last-child {
    border-bottom: none;
  }

  .order-wrapper li.empty {
    display: none;
  }


}

@media all and (max-width:520px) { 

  #hero {
    height: 350px;
  }
  .slide {
    height: 350px;
  }
  .slide img {
    height: 350px;
    margin: 0 4px;
  }


  #ceremony h3 {
    font-size: 1.2rem;
  }

  #ceremony h4 {
    font-size: 1.1rem;
  }


  #project h3 {
    font-size: 1.2rem;
  }

  #project h4 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem
  }

  #news dl {
    grid-template-columns: 1fr;
  }
  
  #news dt {
    width: 33%;
    font-size: 0.75rem;
  }
  #news dd {
    margin: 10px 0 0 0;
    font-size: 0.9rem;
  }

  .content-box-pboto {
    margin: 0 0 0 0;
  }

  .content-box-pboto figure {
    margin: 0 0 0 0;
  }
  .slick-prev {
    display: none;
  }

  .slick-next {
    display: none;
  }

  .photo-box2 {
    grid-template-columns: 1fr;
  }
  
}


