@charset "UTF-8";

:root {
  --main-color: #333;
  --black-color:#333;
  --white-color: #fff;
}

:root {
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
}

:root {
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}


body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  color: var(--black-color);
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/*kv*/
.sectionkv{
  height: 60vh;
}


.sectionkv-logo{
  width: 50%;
  max-width: 800px;
  margin: 9rem auto;
}



/*lead*/

.sectionlead{
  position: relative;  
}

.sectionlead-bg{
  content: "";
  background: url("../img/background.jpg") no-repeat top center;
  position: absolute;
  top: 5%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: 100%;
}

.sectionlead-txt {
  position: relative;
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 0 auto;
  font-weight: 500;
  line-height: 2.5;
  padding: 8rem 0;
}

.sectionlead-txt p{
  font-size: 14px;
}


/* single page */
.flipbook-container {
    margin: 30px auto;
    max-width: 900px;
}

.flipbook-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  overflow: hidden;
  margin: 100px auto;
  position: relative;
}

.flipbook {
  width: 990px;
  height: auto;
}

.flipbook .page {
  width: 400px;
  height: 600px;
}

.flipbook .page img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* PC時はcoverで見栄えを重視 */
  display: block;
}

.flip-control {
  color: #333;
  border: none;
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s;
  background: rgba(255,255,255,0.8);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.flip-control:hover {
  background: rgba(200,200,200,0.8);
}

.flip-control.prev { right: -60px; }
.flip-control.next { left: -60px; }

.flipbook.rtl-hack {
  transform: scaleX(-1);
  transform-origin: center;
}

.flipbook.rtl-hack .page,
.flipbook.rtl-hack .page img {
  transform: scaleX(-1);
}

/* スマホ対応 */
@media (max-width: 800px) {
  .flipbook {
    width: 100vw;
    height: 600px; /* JSと合わせる */
  }

  .flipbook .page {
    width: 100%;
    height: 100%;
  }

  .flipbook .page img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像切れない */
  }

  .flip-control.prev { right: 5px; }
  .flip-control.next { left: 5px; }
}


/* contact page */

.page_contact{
    max-width: 1220px;
    width: 90%;
    margin: 80px auto;
}

.page_contact .title{
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
}
.contact_text{
    padding: 64px;
}

.contact_form{
    max-width: 1220px;
    width: 90%;
    margin: 0 auto;
}

.contact_form .form_list{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #eeeeee;
}
.contact_form .form_list.textarea{
    align-items: flex-start;
}
.contact_form .form_list .dt{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 25%;
}
.contact_form .form_list .dt .Item_name{
    color: var(--black-color);
    font-size: 16px;
    font-weight: bold;
}
.contact_form .form_list .dt .required{
    align-items: center;
    width: 70px;
    height: 35px;
    color: #951a3f;
    font-weight: bold;
    font-size: 14px;
    margin-left: 16px;
}
.contact_form .form_list label{
    width: 70%;
}
.contact_form .form_list label input,
.contact_form .form_list label textarea{
    padding: 10px;
    width: 100%;
    font-size: 16px;
    border: 1px solid #cdcdcd;
}
.contact_form .form_list label input{
    height: 60px;
}
.contact_form .form_list label.acceptance span{
    display: block;
    margin: 0;
    cursor: pointer;
}
.contact_form .form_list label.acceptance label{
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 16px;
}
.contact_form .form_list label.acceptance label input {
    margin-right: 10px;
    padding: 0;
    width: auto;
    border: none;
    box-shadow: none;
    cursor: pointer;
}
.contact_form .form_list .wpcf7-not-valid-tip{
    margin-top: 10px;
    font-size: 16px;
}

.contact_form .submit{
    margin: 80px auto 160px auto;
    width: fit-content;
}

.contact_form .submit input{
    padding: 16px;
    width: 260px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background-color: #aaaaaa;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.contact_form .submit input:hover{
    background-color: var(--black-color);
}
.contact_form .submit span{
    display: none;
}

@media screen and (max-width: 1000px) {
.contact_text{
    padding: 64px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.contact_form{
    padding: 0px;
}
.contact_form .form_list{
    display: block;
}
.contact_form .form_list .dt{
    justify-content: flex-start;
    margin-bottom: 20px;
    width: 100%;
}
.contact_form .form_list .dt .required{
    margin-left: 30px;
}
}

@media screen and (max-width: 500px) {
.page_profile h2{
  font-family: "Josefin Sans", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  padding-bottom: 16px;
  margin: 16px;
}

.contact_text{
    padding: 16px;
    font-size: 14px;
}
.contact_form .form_list .dt {
    margin-bottom: 8px;
}
.contact_form .form_list .dt .Item_name{
    font-size: 14px;
}
.contact_form .form_list {
    padding: 18px 0;
}
.contact_form .form_list label input{
    height: 40px;
}
.contact_form .submit{
    width: auto;
}

}

/* PRIVACY page */

.page_policy{
  max-width: 800px;
  margin: 80px auto;
}

.page_policy .title{
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
}

.policy_wrapper{
  font-size: 0.8rem;
  margin: 80px 0;
}

.policy_detail{
  margin-bottom: 32px;
}

.policy_item{
  margin-bottom: 32px;  
  position: relative;
}

.policy_title {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  width: 100%;
  font-weight: 500;
}

.policy_title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; 
  width: 100%;
  height: 1px;
  background-color: #000;
  transform: scaleY(0.75);
  transform-origin: bottom;
}

.policy_text{
  margin-top: 8px;
}

.policy_text .link {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  color: cadetblue;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.policy_text .link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: cadetblue;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.policy_text .link:hover {
  color: rgba(95, 158, 160, 0.6);
}

.policy_text .link:hover::after {
  transform: scaleX(1);
}

/* 404 page */
.page_404{
  max-width: 800px;
  margin: 80px auto;
}

.page404_wrapper{
  font-size: 1.0rem;
  font-weight: 500;
  margin: 80px 0;
  text-align: center;
}

.page404_book{
  width: 100%;
  max-width: 350px;
}

.page404_detail{
  margin-bottom: 32px;
}


.grecaptcha-badge { 
    visibility: hidden; 
}