@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kosugi&family=Wix+Madefor+Display:wght@400..800&display=swap');

/*
Theme Name: KOBAYASHI 2026
Theme URI:
Description: The 2026 default theme for Kobayashi architect.
Author: Kobayashi architect.
Author URI: https://www.kobayashi-arc.com/
Version: 2026.5
*/


@view-transition {
navigation: auto;
}

*,*::after,*::before{box-sizing:border-box;-webkit-appearance: none;}:
h1,h2,h3,h4,h5{line-height:1; margin-bottom:1em;}

      
/**{
  font-weight: 300 !important;
}*/

html {
  /*scroll-behavior: smooth;*/
}

body{
  font-family: "Wix Madefor Display", "kosugi",sans-serif;
  /*min-height: 600px;*/
  background-color:#fbf6ef;
  /*font-size: 0.875em;*/
  font-size:62.5%;
  letter-spacing: 0.1em;
  text-wrap: balance;
  font-weight:400;
  text-wrap: pretty;
  font-feature-settings: "palt";
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  color: #66615B;
  min-height: 100vh;
  overflow-x: hidden;
  /*min-width: 800px;*/
}

h1{
  font-size: 2.8em;
}
h2{
  font-size:2.4em
}

h3{
  font-size: 2.0em;
}


h4{
  font-size: 1.6em;
}


.en{
  font-weight:300 !important;
  font-family: "Wix Madefor Display" !important;
  text-transform:capitalize;
}

@media screen and (max-width: 859px) {
}

.jp, .jp *{
  font-family: "kosugi" !important;
}

p{
  color: #66615B;
  line-height: 2;
}

.underline{
  text-decoration:underline !important;
}

.red{
  color: #d55858 !important;
}

a[href^="tel:"] {
    color: inherit; /* 文字色を周囲と同じに */
    text-decoration: none; /* 下線を消す */
}

.notel{
pointer-events: none !important;
}

main{
  padding: 120px 0 0;
  /*max-width: 1400px;*/
  margin: auto;
  overflow: hidden;
}

.home main{
  padding-top: 80px;
}

main h1 {
  font-size: 1.6em;
}

main h1:before {
  content: attr(data-en);
  display: block;
  margin-bottom: 8px;
  font-size: 2.8em;
}

@media(max-width: 880px){
  main{
    padding-top: 100px;
  }
  main h1:before {
  font-size: 2em;
}
  main section {
}
main section:last-child{
  margin-bottom: 60px !important;
}
}

/* =============================================================
header
============================================================= */

header{
	position: fixed;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	color: #2D2926;
	z-index: 300;
  padding: 0 5vw;
  height: 120px;
  view-transition-name: header;
  top: 0;
  left: 0;
  background: #fbf6ef;
}

header h1.logo{
  z-index: 500;
    position: relative;
    width: 240px;
}

header h1.logo img{
  width: 100%;
}

@media(max-width: 880px){

header h1.logo{
  width: max(30%, 220px);
}

}

header nav{
	display:flex;
	justify-content: flex-end;
}


header nav li.current a{
	border-bottom:2.5px solid #2D2926;
	padding-bottom: 0.5em;
}

li.header-nav__item:not(li.current) a:hover{
  opacity:.5;
  transition: all .4s ease;
}

header nav a:active{
	/*border-bottom: 1px solid #111;*/
}

nav.pc-nav ul{
display: flex;
}

main section{
  margin: 60px 5vw 120px;
}

main section:first-child{
  margin-bottom: 60px;
}


.home main section:first-child{
  margin-bottom: 120px;
}

@media(max-width: 880px){
  .home main section:first-child{
  margin-bottom: 60px;
}
}

section#top-works{
}

nav ul li{
	margin-left:1.5em;
	text-transform: uppercase;
	font-size: 1.6em;
}

@media(max-width: 880px){
  header{
  height: 80px;
  }
  main section{
    margin:0 5vw 80px;
  }
}

.home #splide1 .splide__pagination {
    left: 40px;
    bottom: 80px;
    right: auto;
}

.home #KV_copy{
  position: absolute;
  z-index: 200;
  top: 7.5%;
  left: 10%;
  width: min(35%, 540px);
}

.home #top-about{
    position: relative;
}

.home #top-about p{
  font-size:1.4em
}

.home #top-about::before{
  content: "";
  position: absolute;
  right: 0;
  top: 4rem;
  width: 25%;
  aspect-ratio: 3/2;
  height: auto;
  border-radius: 8px;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(https://kobayashi-arc.com/kobayashi2026/wp-content/uploads/2026/05/pan-10.jpg);
}

.home #top-about::after{
  background: url(https://kobayashi-arc.com/kobayashi2026/wp-content/uploads/2026/05/jitaku3.jpg) right center no-repeat;
  content: "";
  position: absolute;
    width: 35%;
    height: auto;
    aspect-ratio: 3/2;
    bottom: -5rem;
    left: 50%;
    border-radius: 8px;
    background-size: cover;
}

#top-about #greeting{
  width: 60%;
  padding: 120px;
  background: #F7EFE4;
  border-radius: 12px;
}

#top-about h2{
  font-size: 2.8em;
}

#top-about h2::before {
    content: "About Us";
    margin-top: -2em;
    position: absolute;
    font-size: 14px;
}

#top-about p{
  margin: 4rem 0 8rem;
  1.4em;
}

@media(max-width: 1200px){
  #top-about #greeting{
  padding: 80px;
}
}

@media(max-width: 880px){



  .home #KV_copy{
  top: 7.5%;
    left: 15%;
    width: 50%;
}

  .home main{
    padding-top: 40px;
  }

  #top-about h2{
  font-size: 2em;
}

  .home #top-about::before,
  .home #top-about::after{
    display: none;
  }
  #top-about #greeting{
    width: 100% !important;
    padding: 70px 40px 50px;
  }

  #top-about p {
    margin: 2rem 0 4rem;
}
}


#top-category h2{
  margin:0 0 60px;
}

.child-cat-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 880px) {
  .child-cat-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 5vw;
}
}

.cat-thumb{
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.cat-thumb::after {
content: attr(data-catname);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 2.2em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0 0 0 / 30%);
}


.cat-thumb img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 7 / 4;
}

#top-slider{
  position: relative;
}

#top-slider .splide{
  margin: 120px 5vw 0;
}

#top-slider .splide__track{
  aspect-ratio: 1280 / 720;
    border-radius: 12px;
    overflow: hidden;
    max-height: 800px;
    margin: auto;
    width: 100%;
  }

@media(max-width: 880px){
  #top-slider .splide__track{
  aspect-ratio: 3/4;
  width: 100%;
}
  #top-slider .splide{
    margin-top: 100px;
  }
}

.splide__slide img{
  object-fit: cover;
    width: 100%;
    height: 100%;
}

#top-works h2{
  margin: 0 0 60px;
  display: inline-block;
}

#splide2{
  margin-bottom: 120px;
  overflow: visible;
}

@media(max-width: 880px){
#splide2{
  overflow: hidden;
}
}

#top-works .splide__track{
  overflow: visible;
}

#top-works .splide__slide img{
    margin-bottom: 1.5rem;
    border-radius: 8px;
    aspect-ratio: 5 / 3;
}

#top-works .splide__arrows{
  position: absolute;
    right: 0;
    top: -2rem;
    width: 7rem;
}

#top-works .splide__arrow--prev{
  left: 0;
    width: 3rem;
    border-radius: 4px;
    background: #F7EFE4;
}

#top-works .splide__arrow--next{
    right: 0;
    width: 3rem;
    border-radius: 4px;
    background: #F7EFE4;
}

.splide__arrow svg{
  fill:#2D2926;
}

.home .text_link{
  font-size: 1.6em;
}

#top-news h2{
  padding: 0 0 60px;
}

#top-news ul{
  margin-bottom: 60px;
}

#top-news ul li{
  padding: 1rem 0;
  border-bottom: 1px solid #E0D6C8;
}

#top-news ul li span{
  padding: 0 4rem 0 1rem;
}

#top-news .sticky-item p{
  font-size: 1.4em;
}

.arrow-right {
  position: relative;
  padding-right: 2em;
  font-size: 1em;
  display: inline-block;
}

.arrow-right::before { /* くの字の表示設定 */
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2px;
  width: 8px;    /* くの字を山なりに見た時、左側の長さ */
  height: 8px;   /* くの字を山なりに見た時、右側の長さ */
  border-top: 2px solid #2D2926;     /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 2px solid #2D2926;   /* くの字を山なりに見た時、右側の太さと色 */
  transform: rotate(45deg);    /* くの字の向き */
}



/* footer */

picture img{
  width: 100%;
    height: 480px;
    object-fit: cover;
}

footer{
	bottom: 0;
	width: 100%;
	padding: 120px 5vw;
  color: #F7EFE4 !important;
  background-color: #2D2926;
}

footer h2{
  margin-bottom: 40px;
}

footer p{
  color: #F7EFE4 !important;
}

footer>div{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

footer>div section:nth-of-type(1) ul li:first-child{
  padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #E0D6C8;
}

footer>div section:nth-of-type(1) ul li a{
  position: relative;
}

footer>div section:nth-of-type(1) ul li a::before{
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2px;
  width: 16px;
  height: 16px;
  border-top: 2px solid #E0D6C8;
  border-right: 2px solid #E0D6C8;
  transform: rotate(45deg);
}

footer>div section{
  width: 50%;
}

footer>div section:nth-of-type(1){
  margin-right: 5vw;
}

footer>div section:nth-of-type(1) p{
  font-size: 1.2em;
}

footer>div section:nth-of-type(2){
  padding-left: 5vw;
    border-left: 1px solid #E0D6C8;

}

footer>div section:nth-of-type(2) p{
  text-align: center;
  font-size: 1.3em;
}

footer a.contactbtn{
  width: 100%;
    border: 1px solid #E0D6C8;
    display: block;
    /* padding: 20px; */
    border-radius: 100px;
    font-size: 1.6em;
    /* text-align: center; */
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

footer small{
  font-size: 11px;
}

@media(max-width: 880px){
  footer>div section:nth-of-type(1){
    display: none;
  }

  footer>div section:nth-of-type(2) {
    border-left: 1px solid #E0D6C8;
    width: 100%;
    border: none;
    padding: 0;
  }

  footer>div section:nth-of-type(2) p{
    text-align: left;
    font-size: 1.2em;
  }

  footer{
    padding: 60px 5vw;
  }

}

/* =============================================================
category-project
============================================================= */

#works-list ul{
  width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#works-list li{
  margin-bottom: 4rem;
}

#works-list li img{
  margin-bottom: 1em;
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 3.5;
}

#cat-list{
  display: none;
}

@media screen and  (max-width: 880px) {

  #works-list ul{
    grid-template-columns: repeat(2, 1fr);
  }


#works-list li{
  margin-bottom: 1rem;
}
}

@media screen and  (max-width: 480px) {

  #works-list ul{
    grid-template-columns: repeat(1, 1fr);
    gap:0;
  }
  #works-list li{
  margin-bottom: 1rem;
}
}

.archive select{
  width: min(100%,480px);
  float: left;
  margin-bottom: 60px;
  background:none !important;
  box-shadow: none !important;
  border:none;
  border-bottom: 1px solid #2D2926;
  font-size: 1.4em;
}

.archive select:hover,.archive select:active{
  background:none;
  border-bottom: 1px solid #2D2926;
  box-shadow: none !important;
}


.single-project main h1{
  font-size: 2.8em;
}

@media(max-width: 800px){
  .single-project main h1{
  font-size: 2em;
}
}

#main-slider .splide__track {
  height: 600px;
  overflow: visible;
}
/* スライダーを上下中央 */
#main-slider .slide-media {
  height: 600px;
}
/* スライドのサイズ調整 */
#main-slider .splide__slide img {
    align-self: center; /* 上下の中央揃え */
  width: auto;
  border-radius: 12px;
}

#thumbnail-slider{
  margin: 20px 5vw 120px;
}

#thumbnail-slider .splide__slide img{
  object-fit: cover;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 4px;
}

.splide__track--nav>.splide__list>.splide__slide.is-active{
  scale: .9;
  border: none !important;
}


#main-slider,
#thumbnail-slider,
#splide2{
  cursor: grab;
  overflow: visible;
}

#main-slider:active,
#thumbnail-slider:active,
#splide2:active {
  cursor: grabbing;
}

.splide__pagination {
    margin-bottom: -40px !important;
}

section#next h3{
  margin-bottom: 40px;
}

section#next ul{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

section#next ul li{
  width: 100%;
}

section#next ul li img{
margin-bottom: 1.5rem;
    border-radius: 8px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

section#next ul li h4{
}

section#project-data {
    /* margin-top: 60px !important; */
    margin-bottom: 120px !important;
    margin-top: -40px !important;
    /* display: block; */
}
section#project-data {
  font-size: 1.6em;
}

.single-project section#next .text_link a{
  margin-top: 60px;
  font-size: 1.6em;
}

/* =============================================================
page-contact
============================================================= */



.news-list,.gallery{
	margin-top:40px;
  min-height: 40svh;
}

.news-list article{
	display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 2em;
    border-bottom: 1px solid #E0D6C8;
}

.news-list article .date{
  min-width: 200px;
  position: relative;
  font-size: 1.6em;
}

.news-list article .date::after{
	content: "";
    width: 4em;
    border-top: 1px solid #66615B;
    position: absolute;
    top: 0.5rem;
    right: 1.5em;
    display: none;
}

.news-header{
  width: calc(100% - 10em);
}

.postcontent p{
  font-size: 1.4em;
  margin-bottom: 1em 0;
}

.news-title{
  font-size: 1.6em !important;
}

.news-header img{
	margin: 0.5em;
}
.news .data h2,
.gallery h2{
	font-size: 2.8em;
	font-weight:200 !important;
}

.gallery h2{
  margin-bottom: 40px;
}

.news .data h3{
	font-size:1.2em;
}

.news .data-left{
	min-width: 322px;
    margin-right: 1em;
}

.news .data-right{
	line-height:2;
	width: 100%;
  margin-top: -.3em;
}

.news .data-right #profile p{
	margin-top: -1em;
    font-size: .9em;
}

.news .data-right h4{
	margin-top:2em;
}

.news .data dt {
    width: 8em;
    display: inline-block;
    float: left;
    font-weight:200;
}

.news .data dd {
    display: inline-block;
    min-width: auto;
    width: 80%;
    width: calc(100% - 8em);
    line-height: 1.4;
}

dd#insta a::before{
  content: url(./images/instagram_icon.png);
    max-width: 3em;
    max-height: 3em;
    display: inline-block;
    scale: .6;
    vertical-align: middle;
    margin-left: -.5em;
}

ol.address, #sns{
	margin-top: 2em;
    margin-bottom: 2em;
}

ol.address dt,
ol.address dd{
	display:block;
	width: 100%;
}

.addkuma{
  margin-bottom: .5rem;
}

dd.tel{
  margin-bottom: 1em;
  line-height: 1;
}

#profileimg{
	max-width:220px;
}

a.insta{
	text-decoration: underline !important;
}

.data.award dd{
	margin-bottom: 1em;
}


.gallery h2{
  margin-top: 120px;
}

.gallery #images{
  display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 160px;
}

.gallery .imagewrap{
    width: 30%;
  aspect-ratio: 4 / 3;
  margin-bottom: 60px;
}

.gallery .imagewrap::after{
  content: attr(data-title);
  position:absolute;
  padding-top: .5em;
}

#images .frame{
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

#images .imagewrap img{
  height: 110%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h3.philosophy{
  font-size: 2.4em;
  font-weight: 400;
  line-height: 1.4;
  margin-top:-0.1em;
}

p.pphilosophy{
  font-size:1.4em;
  margin-top: 0.5em;
  line-height: 1.6;
}


@media screen and (max-width: 880px) {

  .page.about .data, .page.archives .data {
    display: block;
  }

  .data-left {
    margin-bottom: 1.5rem;
}
  
  .gallery .imagewrap{
    width: 47%;
  }


}



/* =============================================================
page-contact
============================================================= */



.page #content,
.category-news #content{
  
}


.page .sec-contact {
  padding: 80px 0;
  margin: auto;
  max-width: 880px;
  font-size: 1.4em;
}


nav ul li *{
  font-weight: 300 !important;
}


@media screen and (max-width: 880px) {

  .news-list article .date {
    width: 8em !important;
    min-width:auto;
  }
  .news-list article .date::after {
    content: "";
    width: 1em;
    left: 5.5em;
  }


  .news-header img{
    max-width:100%;
    padding:0.5em;
  }

  .page #content,
.category-news #content,
.category-project #content{
}
}

/* =============================================================
page-about
============================================================= */

/*#about-slider{
  display: none;
}*/

#splide .splide{
  visibility: visible;
}

#splideA .splide__track{
  overflow: visible;
}

#splideA .splide__slide img{
  height: 280px;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}


.about .data>dl{
  display: flex;
  justify-content: space-between;
  width: 100%;

}

.about .data>dl>dt{
  width: 280px;
}

.about .data dd p {
    margin-bottom: 2em;
}

.about .data>dl>dd>h3{
  font-size: 20px;
  margin-bottom: 3rem;
}


.about .data>dl>dd{
 width: calc(100% - 280px);
 font-size: 1.4em;
}

.about .data dd .en{
  padding: 0 4px;
}

dl.info{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

dl.info dt, dl.info dd{
  padding: 1em;
  border-bottom: 1px solid #E0D6C8;
  display: flex;
  align-items: center;
  line-height: 2;
}

dl.info dt{
  width: 8em;
}

dl.info dd{
  width: calc(100% - 8em);
}

dl.member ul:nth-of-type(1){
  margin-bottom: 4rem;
}


dl.member ul li{
  padding: .5em 0;
}

dl.member dd{
  background: url(https://kobayashi-arc.com/kobayashi2026/wp-content/themes/theme_kobayashi/images/about_prof.jpg) 340px top no-repeat;
}

#past{
  display: block !important;
}

.about #past.data>dl{
  display: block;
}

.about #past.data h2{
  margin-bottom: 80px;
}

.about #past.data>dl dd{
  width: 100%;
}

.about .list {
  display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: min(20px,2%);
    row-gap: 20px;
}

.about .list li{
  width: 22%;
    min-height: 120px;
    padding: 1rem;
    background: #F7EFE4;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

@media(max-width: 880px){
  .about .list li{
    width: 48%;
  }
  dl.member dd {
    background-position: 0 0;
    padding-top: 220px;
}
}

.about .list li dl dt{
  margin-bottom: 1em;
}

.about .list li span{
  font-size: 2em;
}

details {
    padding: 0 0 1em;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1em;
}

summary::marker {
  content: "";
}

summary::-webkit-details-marker {
  display: none;
}

summary {
  display: grid; /* 初期値の display: list-item 以外を指定したので、デフォルトの三角形アイコンは非表示になる */
  grid-template-columns: 1fr 24px;
  align-items: center;
  padding: 1em 0;
  cursor: pointer;
}


.icon {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0;
}
.icon:before, .icon:after {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #333;
}
.icon:before {
  width: 1px;
  height: 20px;
}
.icon:after {
  width: 20px;
  height: 1px;
}

.icon:before {
  /* 省略 */
  transition: transform 0.4s;
}

/* アコーディオンが開いた時のスタイル */
details[open] .icon:before {
  transform: rotate(90deg);
}

details li{
  margin-bottom: 1em;
}

.list .arrow-right{
  font-size: 1em;
}

section#fee,section#reform,section#qa{
  padding-top: 120px;
  margin-top:-120px;
}

@media(max-width: 880px){

  .about .data>dl{
    display: block;
  }

  .about .data>dl>dd{
    width: 100%;
  }

  .about main h2{
    margin:1.5em 0 1em;
  }

}


/* =============================================================
input
============================================================= */
input{
transition: all .4s ease;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
    border: 1px solid #ccc;
    background: #fafafa;
    line-height: normal;
    box-sizing: border-box;
    border-radius: 2px;
	width: 100%;
	padding: .75em 1em;
	z-index: 1;
  border-radius: 4px;
	/*font-family: "Lato","YuGothic", "Yu Gothic","游ゴシック","メイリオ", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Verdana, Arial, Meiryo, "MS P Gothic", "MS Pゴシック", sans-serif;*/
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus,
input[type="text"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover{
/*	border-color: #375e77;*/
	background-color: #fafafa;
	outline: none;
  border-color: #2D2926;
    transition: all .4s ease;
}
input.imeoff {ime-mode: disabled;}
textarea {width: 100%;}
.iw100 {width: 100px !important;}
.iw200 {width: 200px !important;}
.iw300 {width: 300px !important;}

input[type="radio"],input[type="checkbox"] {
	vertical-align: middle;
	margin: 0 2px 2px 10px;
}
input[type="submit"],
button[type="submit"],
.submit_area input[type="button"] {
	background-color: #2D2926;
  border-radius: 4px;
	border-width: 0;
	color: #fff;
	cursor: pointer;
    font-size: 1.2em;
    line-height: 1;
    text-align: center;
    margin: 0 10px;
    padding: 18px 60px;
	position: relative;
	transition: all .4s ease;
}
input[type="submit"]:hover {
	background-color: #2D2926;
    -webkit-box-shadow: 0 0 15px 0 rgba(45,50,52,.3);
    box-shadow: 0 0 15px 0 rgba(45,50,52,.3);
}
input[type="submit"]:focus,
.submit_area input[type="button"]:focus {}
input[type="submit"][disabled="disabled"] {
	background-color: #eee;
	border-color: #bbb;
	color: #888;
}
button[type="submit"]{
	background-color: #b5b5b5;
	padding: 10px 30px;
}
label {display: inline-block;cursor: pointer;/* color:#043e5b; */}
.vertical-item {display: block;}
.rei {
	margin: 0 0 10px;
}
.mw_wp_form_preview .rei {display: none;}

/* form-table */
.form-table th {
	position: relative;
	font-weight: 400;
	min-width:8em;
}
.form-table td span.title-en{
	display: block;
    margin-bottom: 2px;
}
.form-table th::after {
	font-size: 1.4em;
    line-height: 1;
    margin-top: 2px;
    padding: 0 10px;
}
.form-table th.req::after {
	content: "*";
	color: #d55858;
}
.submit-area {
	text-align: center;
}
.mw_wp_form .error {

    position: relative !important;
    width: 100%;
    margin-top: 6px;
    line-height: 1;
    padding: .4em 0;
}
.mw_wp_form .error::after{
	content: "Value is required." !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    display: block !important;
    background: #ffffff;
    font-weight: bold;
    display:none !important;
}
.agree {
	text-align: center;
	margin: 30px 0;
}
.mw_wp_form_confirm .agree {display: none;}
/* form-flow */
.form-flow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto 30px;
	width: 100%;
	max-width: 600px;
	position: relative;
	z-index: 1;
}
.form-flow::before {
	background: #b5b5b5;
	content: "";
	z-index: -1;
	margin: auto;
	height: 1px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
}
.form-flow li {
	background-color: #b5b5b5;
	color: #fff;
	text-align: center;
	height: 40px;
	width: 25%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-transform: uppercase;
}
.form-flow li::before{
	content: "";
	top: 58%;
	left: 100%;
	margin-top: -22px;
	position: absolute;
	border: 19px solid transparent;
	border-left: 19px solid #b5b5b5;
}
.form-flow li.active {
	background-color: #2D2926;
}
.form-flow li.active::before {
	border-left: 19px solid #2D2926;
}
.form-flow li:last-child::before {
	border: none;
}

.form-table {
    margin: 60px auto;
    width: 100%;
    max-width: 880px;
}
.form-table th,
.form-table td {
	padding: 15px;
	vertical-align: middle;
	line-height: 2;
	text-align: left;
}


@media screen and (max-width: 880px) {

.form-table th, .form-table td{
  display:block;
  padding: 0;
}

.form-table td{
  padding-bottom:10px;
}

}


/* =============================================================
other
============================================================= */

.viewer-button {
    width: 50px !important;
    height: 50px !important;
    top: 20px !important;
    right: 20px !important;
}


.horiz-gallery-strip::after{
	content:attr(data-annotation);
	position: absolute;
	bottom: -1.8em;
    left: 40px;
    /*font-family: "Josefin Sans";*/
    font-size:1.3em;
}

/* =============================================================
sp
============================================================= */

  #nav-wrapper{
  display:none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 300;
}

@media screen and (max-width: 880px) {

header .pc-nav{
  display:none;
}

#nav-wrapper{
  display:block;
}

/* 
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
  position: absolute;
  right: 5vw;
  top: 22px;
  width: 40px;
  height: 32px;
  cursor: pointer;
  z-index: 300;
}

.hamburger__line {
  position: absolute;
  width: 40px;
  height: 1px;
  right: 0;
  background-color: #000;
  transition: all 0.5s;
}

.hamburger__line--1 {
  top: 4px;
}

.hamburger__line--2 {
  top: 16px;
}

.hamburger__line--3 {
  top: 28px;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 15px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 15px;
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  /*height: 100dvh;*/
  background-color: #f6f2e9;
  transition: all 0.5s ease-in-out;
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  height: 0;
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
  top: 0;
  opacity: 1;
  height: 100dvh;
}

.sp-nav ul{
  opacity:0;
  transition: all 0.5s ease;
  transition-delay: .5s;

}

.open .sp-nav ul{
  opacity:1;
}

.sp-nav>ul{
  width: 100%;
  height: 100%;
  padding-top:100px;
  margin-right: 40px;
}

.sp-nav ul li{
  height:6dvh;
  height: 60px;
  min-height:1.5rem;
  margin-left: 35px;
  position:relative;
  font-size:2.0em;
  /*font-family: "Josefin Sans";*/
}

.sp-nav .category-nav__item{
  padding-left:1em;
  font-size:1.6em;
}

.sp-nav ul li a{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

#toggle {
  position: absolute;
  width: 6dvh;
  height: 6dvh;
  right: -30px;
  z-index: 500;
  cursor: pointer;
  padding: 10px;
}

.toggle__line-1{
  height: 1px;
    position: absolute;
    width: 30px;
    background: #111;
    top: 50%;
    left:15px;
}

.toggle__line-2{
  height: 1px;
    position: absolute;
    width: 30px;
    background: #111;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: all 0.5s ease;
    left: 15px;
}

.t-open .toggle__line-2{
  transform: rotate(180deg);
}

#sp-cat-list{
  transition: all 0.5s ease;
  transition-delay: 0.2s;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

#sp-cat-list.c-open{
  height: auto;
  opacity: 1;
}

header nav.sp-nav li.current a{
  border: none;
}

/* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 5;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100;
  display:none;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  /*opacity: 0.3;
  visibility: visible;*/
}

}




