@charset "utf-8";

/* RESET */

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

body{
  background:#f1f1ee;
  color:#333;
  font-family:"Yu Mincho", serif;
  overflow-x:hidden;
}

img{
  width:100%;
  display:block;
}

ul{
  list-style:none;
}

a{
  text-decoration:none;
}

/* HEADER */

.header{
  position:fixed;
  top:0;
  left:0;

  width:100%;

  padding:15px 20px;

  background:#e7e5df;

  display:flex;
  justify-content:space-between;
  align-items:center;

  z-index:1000;
}

/* LOGO */

.logo{
  width:340px;
}

/* HAMBURGER */

.hamburger{
  width:44px;
  height:44px;

  border:none;
  background:none;

  cursor:pointer;

  position:relative;
  z-index:1200;
}

.hamburger span{
  display:block;

  width:24px;
  height:2px;

  background:#444;

  margin:5px auto;

  transition:0.3s;
}

.hamburger.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* GLOBAL NAV */

.global-nav{
  position:fixed;

  top:0;
  right:-100%;

  width:360px;
  height:100vh;

  background:#fff;

  padding-top:120px;

  overflow-y:auto;

  transition:0.4s ease;

  z-index:1100;
}

.global-nav.active{
  right:0;
}

/* MENU */

.global-nav ul{
  width:100%;
  padding:0 20px;
}

.global-nav li{
  margin-bottom:10px;
}

/* MENU BUTTON */

.global-nav a{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  min-height:60px;

  padding:12px 15px;

  border-radius:14px;

  background:#aeb964;

  color:#fff;

  font-size:15px;

  letter-spacing:0.1em;

  transition:0.3s ease;
}

.global-nav a:hover{
  background:#9faa56;
}

/* SUBMENU */

.submenu-toggle{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  min-height:60px;

  padding:12px 15px;

  border-radius:14px;

  background:#aeb964;

  color:#fff;

  font-size:15px;

  letter-spacing:0.1em;

  font-family:"Yu Mincho", serif;

  transition:0.3s ease;
}

.has-submenu{
  position:relative;
}

.has-submenu:hover .submenu{
  display:block;
}

.submenu{
  display:none;

  margin-top:14px;

  padding-left:24px;
}

.submenu a{
  background:#bcc67a;

  border-radius:14px;

  min-height:54px;

  font-size:14px;
}

/* MAIN */

.main-content{
  width:70%;

  margin:0 auto;

  padding-top:120px;
  padding-bottom:120px;
}

/* indexページだけ幅を狭くする */

.index-page .main-content{
  width:54%;
  max-width:1100px;
}

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

  .index-page .main-content{
    width:92%;
  }

}

/* SECTION */

.content-section{
  margin-bottom:140px;

  display:flex;
  flex-direction:column;
  align-items:center;
}

/* PHOTO */

.main-photo{
  width:100%;
}

/* SLIDESHOW */

.slideshow{
  position:relative;

  width:100%;

  overflow:hidden;
}

.slideshow::before{
  content:"";

  display:block;

  padding-top:66.66%;
}

.slide{
  position:absolute;

  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;

  opacity:0;

  transition:opacity 2s ease;
}

.slide.active{
  opacity:1;
}

/* PC */

.pc-layout{
  display:flex;
  flex-direction:column;

  align-items:center;

  margin-top:30px;
}

/* SP */

.sp-layout{
  display:none;
}

/* TITLE */

.section-title{
  opacity:0;

  transform:translateY(20px);

  transition:1.2s;
}

.section-title.show{
  opacity:1;
  transform:translateY(0);
}

.pc-title{
  width:80%;
}

.sp-title{
  display:none;
}

/* TEXT */

.horizontal-text{
  margin-top:20px;

  text-align:center;

  font-size:20px;

  line-height:2.2;
}

.vertical-text{
  writing-mode:vertical-rl;

  font-size:16px;

  letter-spacing:0.2em;
}

/* BUTTON */

.section-button{
  margin-top:40px;

  width:100%;

  display:flex;
  justify-content:center;

  gap:20px;

  flex-wrap:wrap;
}

.section-button a{
  display:flex;

  align-items:center;
  justify-content:center;

  width:340px;
  min-height:60px;

  padding:12px 15px;

  border-radius:14px;

  background:#aeb964;

  color:#fff;

  font-size:15px;

  letter-spacing:0.12em;

  transition:0.3s ease;
}

.section-button a:hover{
  background:#9faa56;
  transform:translateY(-2px);
}

/* SECTION01 */

.section01-button a{
  width:280px;
}

/* FADE */

.fade-up{
  opacity:0;

  transform:translateY(40px);

  transition:1.2s;
}

.fade-up.show{
  opacity:1;
  transform:translateY(0);
}

.mobile-footer-menu{
  display:none;
}

/* FOOTER */

.footer{
  width:100%;

  background:#b49b87;

  padding:14px 20px;
}

.footer-nav ul{
  display:flex;

  justify-content:center;
  align-items:center;

  gap:40px;

  flex-wrap:wrap;
}

.footer-nav a{
  color:#fff;

  font-size:13px;

  letter-spacing:0.08em;

  transition:0.3s ease;
}

.footer-nav a:hover{
  opacity:0.7;
}


/* =========================
   FOOTER COPYRIGHT
========================= */

.footer-copy{
  margin-top:24px;

  text-align:center;

  color:#fff;

  font-size:11px;

  letter-spacing:0.05em;

  line-height:1.8;
}

/* コピーライト内リンク */

.footer-copy a{
  color:#fff;

  text-decoration:none;
}

.footer-copy a:hover{
  opacity:0.7;
}

/* RESPONSIVE */

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

  .logo{
    width:260px;
  }

  .global-nav{
    width:100%;
  }

  .main-content{
    width:92%;
  }

  /* MOBILE MENU */

  .global-nav a,
  .submenu-toggle{
    min-height:50px;

    font-size:13px;
  }

  .mobile-footer-menu{
    display:flex;

    flex-direction:column;

     padding:30px 20px 20px;
  }

  .mobile-footer-menu a{
    display:flex;

    align-items:center;
    justify-content:center;

    min-height:50px;

    padding:12px 15px;

    margin-bottom:10px;

    border-radius:12px;

    background:#aeb964;

    color:#fff;

    font-size:13px;

    letter-spacing:0.08em;
  }

  /* PC OFF */

  .pc-layout{
    display:none;
  }

  /* SP ON */

  .sp-layout{
    display:flex;
    flex-direction:column;

    align-items:center;

    margin-top:25px;
  }

  .pc-title{
    display:none;
  }

  .sp-title{
    display:block;

    width:300px;

    margin-bottom:25px;
  }

  /* BUTTON */

  .section-button{
    flex-direction:column;

    align-items:center;
  }

  .section-button a{
    width:85%;
    max-width:320px;
  }

  .section01-button a{
    width:85%;
    max-width:300px;
  }

  /* FOOTER */

  .footer{
    display:none;
  }

}


/* =========================
   LOWER PAGE LAYOUT
   index.html以外の共通レイアウト
========================= */

/* MAIN */

.lower-main{
  width:70%;

  margin:0 auto;

  padding-top:140px;
  padding-bottom:140px;
}

/* SECTION */

.lower-section{
  margin-bottom:120px;
}

/* =========================
   H2
========================= */

.lower-h2{
  display:flex;
  align-items:center;

  width:100%;

  min-height:64px;

  padding:14px 22px;

  margin-bottom:50px;

  border:3px solid #aeb964;

  border-radius:14px;

  background:#f7f7f2;

  color:#333;

  font-size:28px;

  letter-spacing:0.08em;

  line-height:1.6;

  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.lower-h2.show{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   PHOTO
========================= */

.page-photo{
  width:100%;

  margin-bottom:50px;

  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.page-photo.show{
  opacity:1;
  transform:translateY(0);
}

.page-photo img{
  width:100%;

  border-radius:6px;

  display:block;
}

/* 写真中央 */

.photo-center{
  width:100%;

  display:flex;
  justify-content:center;
}

.photo-center img{
  width:100%;
  max-width:900px;
}

/* =========================
   H3
========================= */

.lower-h3{
  margin-bottom:30px;

  text-align:center;

  color:#333;

  font-size:24px;

  letter-spacing:0.08em;

  line-height:1.8;

  font-weight:700;
}

.lower-h3::before{
  content:"●";

  color:#f39800;

  margin-right:10px;

  font-size:22px;
}

/* =========================
   TEXT
========================= */

.lower-text{
  font-size:16px;

  line-height:2.4;

  letter-spacing:0.05em;

  color:#333;
}

.lower-text p{
  margin-bottom:20px;
}

/* =========================
   IMAGE + TEXT
========================= */

.image-text{
  display:flex;

  align-items:flex-start;

  gap:40px;

  margin-top:60px;
  margin-bottom:60px;

  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.image-text.show{
  opacity:1;
  transform:translateY(0);
}

/* 左画像 */

.image-left{
  flex-direction:row;
}

/* 右画像 */

.image-right{
  flex-direction:row-reverse;
}

.image-text-photo{
  width:42%;
  flex-shrink:0;
}

.image-text-photo img{
  width:100%;

  border-radius:6px;

  display:block;
}

.image-text-content{
  flex:1;
}

.image-text-content p{
  font-size:16px;

  line-height:2.3;

  letter-spacing:0.05em;
}

.image-text2-photo{
  width:15%;
  flex-shrink:0;
}


/* =========================
   COLUMN 3
========================= */

.column-3{
  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:30px;

  margin-top:80px;

  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.column-3.show{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   COLUMN 3 CENTER
========================= */

.column-3-center{
  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:40px;

  margin-top:80px;
}

/* CARD */

.column-3-center .column-card{
  display:flex;

  flex-direction:column;

  align-items:center;

  text-align:center;
}

/* IMAGE */

.column-3-center .column-card img{
  width:100%;

  margin-bottom:20px;

  border-radius:6px;
}

/* H3 */

.column-3-center .column-card h3{
  margin-bottom:18px;

  font-size:20px;

  line-height:1.8;
}

/* TEXT */

.column-3-center .column-card p{
  margin-bottom:24px;

  line-height:2;

  flex-grow:1;
}

/* BUTTON */

.column-3-center .column-card a{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  max-width:240px;

  min-height:52px;

  padding:10px 16px;

  border-radius:12px;

  background:#aeb964;

  color:#fff;

  font-size:14px;

  letter-spacing:0.08em;

  transition:0.3s ease;
}

.column-3-center .column-card a:hover{
  background:#9faa56;

  transform:translateY(-2px);
}

/* =========================
   COLUMN 3 LEFT TEXT
========================= */

.column-3-left{
  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:40px;

  margin-top:80px;
}

/* CARD */

.column-3-left .column-card{
  display:flex;

  flex-direction:column;
}

/* IMAGE */

.column-3-left .column-card img{
  width:100%;

  margin-bottom:20px;

  border-radius:6px;
}

/* H3 */

.column-3-left .column-card h3{
  margin-bottom:16px;

  text-align:center;

  font-size:18px;

  line-height:1.7;

  letter-spacing:0.06em;
}

/* TEXT */

.column-3-left .column-card p{
  margin-bottom:24px;

  text-align:left;

  line-height:2;

  flex-grow:1;
}

/* BUTTON */

.column-3-left .column-card a{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  max-width:220px;

  min-height:50px;

  padding:10px 16px;

  border-radius:12px;

  background:#aeb964;

  color:#fff;

  font-size:14px;

  letter-spacing:0.08em;

  transition:0.3s ease;

  margin-left:auto;
}

.column-3-left .column-card a:hover{
  background:#9faa56;

  transform:translateY(-2px);
}

/* =========================
   COLUMN 3 GREEN STYLE
   写真なしタイプ
========================= */

.column-3-green{
  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:40px;

  margin-top:80px;

  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.column-3-green.show{
  opacity:1;
  transform:translateY(0);
}

/* CARD */

.column-3-green .column-card{
  display:flex;

  flex-direction:column;

  background:#f7f7f2;

  border-radius:18px;

  padding:30px 24px;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.06);

  opacity:0;

  transform:translateY(30px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease,
    box-shadow 0.3s ease;
}

/* 表示 */

.column-3-green.show .column-card{
  opacity:1;

  transform:translateY(0);
}

/* HOVER */

/* H3 */

.column-3-green .column-card h3{
  margin-bottom:24px;

  text-align:center;

  color:#7d9442;

  font-size:22px;

  line-height:1.8;

  letter-spacing:0.08em;

  border-bottom:2px solid #aeb964;

  padding-bottom:12px;
}

/* TEXT */

.column-3-green .column-card p{
  font-size:15px;

  line-height:2.2;

  letter-spacing:0.05em;

  color:#333;
}

/* 強調テキスト */

.column-3-green .column-card .point{
  color:#e58a00;

  font-size:1.1em;

  font-weight:700;
}


/* BUTTON */

.column-3-green .column-card a{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  max-width:220px;

  min-height:52px;

  padding:10px 16px;

  margin-top:auto;

  margin-left:auto;
  margin-right:auto;

  border-radius:12px;

  background:#aeb964;

  color:#fff;

  font-size:14px;

  letter-spacing:0.08em;

  transition:0.3s ease;
}

/* HOVER */

.column-3-green .column-card a:hover{
  background:#9faa56;

  transform:translateY(-2px);
}

/* BUTTON AREA */

.column-3-green .column-buttons{
  display:flex;

  flex-direction:column;

  gap:14px;

  margin-top:32px;
}

/* =========================
   SP
========================= */

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

  .column-3-green{
    grid-template-columns:1fr;

    gap:24px;
  }

  .column-3-green .column-card{
    padding:24px 18px;
  }

  .column-3-green .column-card h3{
    font-size:20px;
  }

  .column-3-green .column-card p{
    font-size:14px;

    line-height:2.1;
  }

}

/* =========================
   COLUMN 2
========================= */

.column-2{
  display:grid;

  grid-template-columns:
    repeat(2,1fr);

  gap:40px;

  margin-top:80px;

  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.column-2.show{
  opacity:1;
  transform:translateY(0);
}


/* COLUMN 2 H4 */
.column-2 .column-card h4{
  margin-bottom:3px;

  text-align:center;

  font-size:18px;

  line-height:3.5;

  letter-spacing:0.06em;

  color:#555;
}


/* =========================
   COLUMN 2 BUTTON
========================= */

.column-2 .column-card{
  display:flex;

  flex-direction:column;

  height:100%;
}

.column-2 .column-card p{
  flex-grow:1;

  margin-bottom:24px;
}

.column2-button{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  max-width:220px;

  min-height:50px;

  padding:10px 16px;

  margin-top:auto;

  margin-left:auto;
  margin-right:auto;

  border-radius:12px;

  background:#aeb964;

  color:#fff;

  font-size:14px;

  letter-spacing:0.08em;

  transition:0.3s ease;
}

.column2-button:hover{
  background:#9faa56;

  transform:translateY(-2px);
}
/* =========================
   COLUMN 5
========================= */

.column-5{
  display:grid;

  grid-template-columns:
    repeat(5,1fr);

  gap:40px;

  margin-top:80px;

  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.column-5.show{
  opacity:1;
  transform:translateY(0);
}


/* =========================
   CARD
========================= */

/* COLUMN 5 ONLY */

.column-5 .column-card{
  background:transparent;

  padding:0;
}

.column-card{
  background:#e9e8cd;

  border-radius:14px;

  padding:16px;
}

.column-card img{
  width:100%;

  margin-bottom:18px;

  border-radius:6px;
}

/* COLUMN 5 IMAGE */

.column-5 .column-card img{
  width:50%;

  aspect-ratio:1 / 1;
  object-fit:contain;

  margin:0 auto 18px;
}

/* =========================
   COLUMN 5 BUTTON
========================= */

.column-5 .column-card{
  display:flex;

  flex-direction:column;

  align-items:center;

  height:100%;
}

/* TEXT */

.column-5 .column-card p{
  margin-bottom:24px;

  text-align:center;

  flex-grow:1;
}

/* BUTTON */

/* BUTTON */

.column5-button{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  max-width:220px;

  min-height:50px;

  padding:10px 16px;

  margin-top:auto;

  border-radius:12px;

  background:#aeb964;

  color:#fff;

  font-size:14px;

  letter-spacing:0.08em;

  transition:0.3s ease;
}
.column5-button:hover{
  background:#9faa56;

  transform:translateY(-2px);
}

.column-card h3{
  margin-bottom:16px;

  text-align:center;

  font-size:22px;

  letter-spacing:0.06em;

  color:#333;
}

.column-card p{
  font-size:14px;

  line-height:2;

  letter-spacing:0.05em;

  color:#333;
}

/* =========================
   COLUMN 6 IMAGE MENU
========================= */

.column-6{
  display:grid;

  grid-template-columns:repeat(6,1fr);

  gap:12px;

  margin-top:80px;
}

.column6-link{
  display:block;

  transition:.3s ease;
}

.column6-link:hover{
  transform:translateY(-4px);

  opacity:.85;
}

.column6-link img{
  width:100%;

  display:block;

  border-radius:10px;
}

/* =========================
   FADE
========================= */

.fade-item{
  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.fade-item.show{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

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

  .lower-main{
    width:92%;

    padding-top:110px;
    padding-bottom:100px;
  }

  /* H2 */

  .lower-h2{
    min-height:auto;

    padding:12px 16px;

    margin-bottom:40px;

    font-size:20px;

    line-height:1.8;
  }

  /* PHOTO */

  .page-photo{
    margin-bottom:40px;
  }

  /* H3 */

  .lower-h3{
    font-size:20px;

    line-height:1.8;
  }

  .lower-h3::before{
    font-size:18px;
  }

  /* TEXT */

  .lower-text{
    font-size:15px;

    line-height:2.2;
  }

  /* IMAGE + TEXT */

  .image-text,
  .image-left,
  .image-right{
    flex-direction:column;
  }

  .image-text{
    gap:25px;
  }

  .image-text-photo{
    width:100%;
  }

  .image-text-content{
    width:100%;
  }

  .image-text-content p{
    font-size:15px;

    line-height:2.2;
  }

  /* COLUMN */
	
.column-5,
.column-3,
.column-3-center,
.column-3-left,
.column-2{
  grid-template-columns:1fr;

    gap:24px;
  }
	
.column-6{
  grid-template-columns:repeat(2,1fr);

  gap:12px;
}
	
/* 追加 */
/* COLUMN 2 軽量化 */

.column-2{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}

.column-2 .column-card{
  height:auto;
}	
	
	
/* 追加 */

.column-5{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}

  /* CARD */

  .column-card{
    padding:14px;
  }

  .column-card h3{
    font-size:20px;
  }

}



/* =========================
   SEO H1
========================= */

.page-seo-title{
  position:absolute;

  width:1px;
  height:1px;

  overflow:hidden;

  clip:rect(0,0,0,0);

  white-space:nowrap;
}


/* =========================
   PAGE TOP BUTTON
========================= */

.page-top{
  position:fixed;

  right:20px;
  bottom:20px;

  width:56px;
  height:56px;

  display:flex;

  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:#aeb964;

  color:#fff;

  font-size:14px;

  letter-spacing:0.05em;

  text-decoration:none;

  z-index:2000;

  opacity:0;

  visibility:hidden;

  transition:0.3s ease;
}

/* SHOW */

.page-top.show{
  opacity:1;

  visibility:visible;
}

/* HOVER */

.page-top:hover{
  background:#9faa56;

  transform:translateY(-3px);
}

/* SP */

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

  .page-top{
    right:14px;
    bottom:14px;

    width:50px;
    height:50px;

    font-size:12px;
  }

}


/* =========================
   PHOTO + TEXT LAYOUT
========================= */

.photo-text-layout{
  display:flex;

  align-items:flex-start;

  gap:50px;

  margin-top:100px;
  margin-bottom:100px;
}

/* =========================
   PHOTO
========================= */

.photo-block{
  width:50%;

  overflow:hidden;

  border-radius:14px;
}

.photo-block img{
  width:100%;

  display:block;

  border-radius:14px;

  opacity:0;

  transform:scale(1.08);

  animation:
    photoFade 2s ease forwards;
}

/* ふんわり表示 */

@keyframes photoFade{

  to{
    opacity:1;

    transform:scale(1);
  }

}

/* =========================
   TEXT AREA
========================= */

.text-blocks{
  width:50%;

  display:flex;

  flex-direction:column;

  gap:40px;
}

/* =========================
   CARD
========================= */

.text-card{
  padding:34px;

  background:#f7f7f2;

  border-radius:18px;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.06);
}

/* TITLE */

.text-card h3{
  margin-bottom:20px;

  font-size:22px;

  line-height:1.8;

  letter-spacing:0.08em;

  color:#333;
}

/* TEXT */

.text-card p{
  font-size:15px;

  line-height:2.3;

  letter-spacing:0.05em;

  color:#555;
}

/* =========================
   SP
========================= */

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

  .photo-text-layout{
    flex-direction:column;

    gap:30px;

    margin-top:60px;
    margin-bottom:60px;
  }

  .photo-block,
  .text-blocks{
    width:100%;
  }

  .text-blocks{
    gap:24px;
  }

  .text-card{
    padding:24px;
  }

  .text-card h3{
    font-size:20px;
  }

  .text-card p{
    font-size:14px;

    line-height:2.1;
  }

}

/* =========================
   TEXT LINK DESIGN
========================= */

.text-card p a,
.lower-text p a{
  color:#7d9442;

  text-decoration:none;

  font-weight:700;

  position:relative;

  transition:0.3s ease;
}

/* HOVER */

.text-card p a:hover,
.lower-text p a:hover{
  opacity:0.7;
}

/* LINK ICON */

.text-card p a::after,
.lower-text p a::after{
  content:"▶";

  display:inline-flex;

  align-items:center;
  justify-content:center;

  width:18px;
  height:18px;

  margin-left:8px;

  border-radius:50%;

  background:#aeb964;

  color:#fff;

  font-size:7px;

  line-height:1;

  vertical-align:middle;

  padding-left:1px;
}

/* =========================
   IMAGE RIGHT LINK DESIGN
========================= */

.image-text-content p a{
  color:#7d9442;

  text-decoration:none;

  font-weight:700;

  transition:0.3s ease;
}

.image-text-content p a:hover{
  opacity:0.7;
}

.image-text-content p a::after{
  content:"▶";

  display:inline-flex;

  align-items:center;
  justify-content:center;

  width:18px;
  height:18px;

  margin-left:8px;

  border-radius:50%;

  background:#aeb964;

  color:#fff;

  font-size:7px;

  line-height:1;

  vertical-align:middle;

  padding-left:1px;
}

/* =========================
   COMPANY LAYOUT
========================= */

.company-layout{
  display:flex;

  align-items:stretch;

  gap:40px;

  margin-top:100px;
  margin-bottom:100px;
}

/* =========================
   TABLE
========================= */

.company-table{
  flex:1;
}

.company-table table{
  width:100%;

  border-collapse:collapse;

  background:#f7f7f2;

  border-radius:10px;

  overflow:hidden;
}

.company-table th,
.company-table td{
  padding:20px;

  border:1px solid #d8d8d0;

  font-size:15px;

  line-height:1.8;

  vertical-align:middle;
}

/* LEFT */

.company-table th{
  width:180px;

  background:#e9e8cd;

  color:#333;

  font-weight:700;

  text-align:center;
}

/* RIGHT */

.company-table td{
  background:#fff;
}

/* LINK */

.company-table a{
  color:#7d9442;

  font-weight:700;

  text-decoration:none;

  word-break:break-all;
}

.company-table a:hover{
  opacity:0.7;
}

/* =========================
   PHOTO
========================= */

.company-photo{
  width:32%;

  flex-shrink:0;
}

.company-photo img{
  width:100%;


  object-fit:cover;

  border-radius:10px;

  display:block;
}

/* =========================
   SP
========================= */

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

  .company-layout{
    flex-direction:column;

    gap:24px;

    margin-top:60px;
    margin-bottom:60px;
  }

  .company-photo{
    width:100%;
  }

  .company-table th,
  .company-table td{
    padding:14px;

    font-size:14px;
  }

  .company-table th{
    width:110px;
  }

}


/* =========================
   CUSTOM LOWER LAYOUT
========================= */

/* TOP */

.top-layout{
  display:flex;

  align-items:flex-start;

  gap:50px;

  margin-bottom:80px;
}

/* =========================
   TEXT
========================= */

.top-text{
  flex:1;
}

.top-text p{
  font-size:16px;

  line-height:2.4;

  letter-spacing:0.05em;
}

/* =========================
   GREEN TABLE
========================= */

.green-table{
  width:42%;

  flex-shrink:0;
}

.green-table table{
  width:100%;

  border-collapse:collapse;

  overflow:hidden;

  border-radius:14px;
}

.green-table th,
.green-table td{
  padding:18px;

  border:1px solid #d8e1c5;

  font-size:15px;

  line-height:1.8;
}

/* LEFT */

.green-table th{
  width:140px;

  background:#cfd9b8;

  color:#333;

  text-align:center;

  font-weight:700;
}

/* RIGHT */

.green-table td{
  background:#f5f8ef;
}

/* =========================
   SP
========================= */

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

  .top-layout{
    flex-direction:column;

    gap:24px;

    margin-bottom:50px;
  }

  .green-table{
    width:100%;
  }

  .top-text p{
    font-size:15px;

    line-height:2.2;
  }

  .green-table th,
  .green-table td{
    padding:14px;

    font-size:14px;
  }

  .green-table th{
    width:100px;
  }

}


/* =========================
   H3 TOP SPACE
========================= */

.h3-space-top{
  margin-top:100px;
}

/* =========================
   KAISOU LETTER
========================= */

.kaisou-letter{
  margin-top:50px;
  margin-bottom:100px;

  display:flex;
  justify-content:center;
}

.letter-inner{
  position:relative;

  width:100%;
  max-width:1500px;

  padding:80px 100px;

  border-radius:16px;

  overflow:hidden;

  background-image:url("../images/letter_bg.png");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.05);
}

/* 白フィルター */

.letter-inner::before{
  content:"";

  position:absolute;

  inset:0;

  background:
    rgba(255,255,255,0.32);

  z-index:0;
}

/* 本文 */

.letter-inner p{
  position:relative;

  z-index:1;

  writing-mode:vertical-rl;

  margin:0 auto;

  height:600px;

  font-size:18px;

  line-height:2.8;

  letter-spacing:0.18em;

  color:#333;

  font-family:"Yu Mincho", serif;
}

/* タイトル */

.letter-title{
  font-size:26px;

  font-weight:700;

  line-height:2.4;

  letter-spacing:0.22em;

  color:#222;
}

/* =========================
   SP
========================= */

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

  .kaisou-letter{
    margin-bottom:60px;
  }

  .letter-inner{
    padding:32px 24px;
  }

  .letter-inner p{
    writing-mode:horizontal-tb;

    width:100%;

    height:auto;

    font-size:15px;

    line-height:2.3;

    letter-spacing:0.05em;
  }

  .letter-title{
    font-size:20px;

    line-height:1.9;

    letter-spacing:0.08em;
  }

}

/* =========================
   KAISOU LETTER NOTE PC
========================= */

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

  .letter-inner{
    padding:60px 50px;
  }

  .letter-inner p{
    height:850px;

    font-size:16px;

    line-height:2.5;

    letter-spacing:0.12em;
  }

  .letter-title{
    font-size:22px;
  }

}


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

  .letter-inner p{
    height:1000px;
  }

}


/* =========================
   HOME H2
========================= */

.home-page .lower-h2{
  border:none;
  background:transparent;

  padding-left:0;
  padding-right:0;

  justify-content:center;

  text-align:center;
}

/* PCでは改行しない */

.sp-break{
  display:none;
}

/* スマホだけ改行 */

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

  .sp-break{
    display:inline;
  }

}


/* =========================
   IMAGE POPUP
========================= */

.popup-image{
  cursor:pointer;
  transition:.3s;
}

.popup-image:hover{
  opacity:.85;
}

.image-modal{

  position:fixed;

  inset:0;

  background:rgba(0,0,0,.85);

  display:flex;

  justify-content:center;
  align-items:center;

  opacity:0;
  visibility:hidden;

  transition:.3s;

  z-index:9999;
}

.image-modal.active{

  opacity:1;
  visibility:visible;

}

.image-modal img{

  width:95vw;
  max-width:1200px;

  max-height:90vh;

  object-fit:contain;

  border-radius:8px;

}

.modal-close{

  position:absolute;

  top:20px;
  right:30px;

  color:#fff;

  font-size:48px;

  cursor:pointer;

  line-height:1;

}

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

.image-modal img{

  width:98vw;

  max-height:85vh;

}

.modal-close{

  top:12px;
  right:18px;

  font-size:40px;

}

}

/* =========================
   CONSULT BUTTON
========================= */

.consult-button{
  display:flex;
  justify-content:center;

  margin-top:40px;
}

.consult-button .column2-button{
  max-width:320px;
  min-width:260px;

  font-size:18px;

  letter-spacing:0.08em;
}

/* =====================================
   スマホのみ
   下層ページはふんわり表示をOFF
   （indexページはそのまま）
===================================== */

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

  body:not(.index-page) .lower-h2,
  body:not(.index-page) .page-photo,
  body:not(.index-page) .image-text,
  body:not(.index-page) .fade-item,
  body:not(.index-page) .fade-up,
  body:not(.index-page) .column-2,
  body:not(.index-page) .column-3,
  body:not(.index-page) .column-5,
  body:not(.index-page) .photo-block img{

    opacity:1 !important;
    transform:none !important;
    transition:none !important;
    animation:none !important;

  }

}

/* =========================
   式場案内ページ 共通
========================= */

/* エリアマップ */

.hall-main-photo{
  width:80%;
  margin:0 auto 50px;
}

.hall-main-photo img{
  width:100%;
  display:block;
  border-radius:10px;
}

/* 写真＋説明＋表 */

.hall-layout{
  display:grid;
  grid-template-columns:42% 1fr;
  gap:50px;
  align-items:start;
  margin:50px 0 90px;
}

/* 左側：写真＋説明文 */

.hall-left{
  display:flex;
  flex-direction:column;
}

.hall-photo{
  width:100%;
  margin-bottom:30px;
}

.hall-photo img{
  width:100%;
  display:block;
  border-radius:10px;
}

/* 右側：施設情報＋料金表 */

.hall-right{
  display:flex;
  flex-direction:column;
}

/* 説明文 */

.hall-lead{
  margin:0;
}

.hall-lead p{
  font-size:16px;
  line-height:2.3;
  letter-spacing:0.05em;
}

/* 小見出し */

.hall-right h4,
.hall-content h4{
  margin:0 0 18px;
  text-align:center;
  color:#7d9442;
  font-size:20px;
  line-height:1.8;
  letter-spacing:0.08em;
}

.hall-right h4:not(:first-of-type),
.hall-content h4:not(:first-of-type){
  margin-top:35px;
}

/* 表 */

.hall-table{
  width:100%;
}

.hall-table table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:10px;
  background:#fff;
}

.hall-table th,
.hall-table td{
  padding:16px;
  border:1px solid #d8d8d0;
  text-align:center;
  vertical-align:middle;
  font-size:14px;
  line-height:1.8;
}

.hall-table th{
  background:#e9e8cd;
  font-weight:700;
}

.hall-table td{
  background:#f7f7f2;
}

/* 料金表 */

.hall-price-table th:first-child,
.hall-price-table td:first-child{
  width:28%;
}

/* アクセス */

.hall-access{
  margin-top:60px;
}

/* 関連ボタン */

.hall-button-area{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
  margin-top:70px;
}

.hall-button-area a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:280px;
  min-height:56px;
  padding:12px 18px;
  border-radius:14px;
  background:#aeb964;
  color:#fff;
  font-size:15px;
  letter-spacing:0.08em;
  transition:0.3s ease;
}

.hall-button-area a:hover{
  background:#9faa56;
  transform:translateY(-2px);
}

/* =========================
   スマホ
========================= */

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

  .hall-main-photo{
    width:100%;
    margin:0 auto 40px;
  }

  .hall-layout{
    display:flex;
    flex-direction:column;
    gap:30px;
    margin:40px 0 70px;
  }

  .hall-left,
  .hall-right{
    width:100%;
  }

  .hall-photo{
    width:100%;
    margin-bottom:0;
  }

  .hall-photo img{
    width:100%;
  }

  .hall-lead{
    margin-bottom:30px;
  }

  .hall-lead p{
    font-size:15px;
    line-height:2.2;
  }

  .hall-right h4,
  .hall-content h4{
    font-size:18px;
    margin-bottom:14px;
  }

  .hall-right h4:not(:first-of-type),
  .hall-content h4:not(:first-of-type){
    margin-top:30px;
  }

  .hall-table{
    width:100%;
    overflow-x:visible;
  }

  .hall-table table{
    width:100%;
    min-width:0;
    table-layout:fixed;
  }

  .hall-table th,
  .hall-table td{
    padding:8px 4px;
    font-size:12px;
    line-height:1.6;
    word-break:break-word;
  }

  .hall-price-table th:first-child,
  .hall-price-table td:first-child{
    width:30%;
  }

  .hall-price-table th,
  .hall-price-table td{
    padding:10px 5px;
    font-size:12px;
    line-height:1.6;
  }

  .hall-access{
    margin-top:40px;
  }

  .hall-access .image-text-photo,
  .hall-access .image-text-content{
    width:100%;
  }

  .hall-button-area{
    flex-direction:column;
    align-items:center;
    gap:14px;
    margin-top:50px;
  }

  .hall-button-area a{
    width:100%;
    max-width:340px;
  }

}

/* =========================
   お客様アンケート画像
========================= */

/* PCのみ */
@media screen and (min-width:769px){

  .wide-photo img[src*="jirei_voice_01"]{
    width:80%;
    margin:0 auto;
    display:block;
  }

}

/* スマホは今までどおり100% */
@media screen and (max-width:768px){

  .wide-photo img[src*="jirei_voice_01"]{
    width:100%;
  }

}


/* =========================
   代表メッセージ
========================= */

/* PC */

.message-layout{
    align-items:flex-start;
}

.message-layout .image-text-content{
    order:1;
    flex:1;
}

.message-layout .image-text-photo{
    order:2;
    width:18%;
    flex-shrink:0;
}

.message-layout .image-text-photo img{
    width:100%;
    border-radius:10px;
}

/* =========================
   SP
========================= */

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

    .message-layout{
        display:flex;
        flex-direction:column;
    }

    .message-layout .image-text-content{
        order:1;
        width:100%;
    }

    .message-layout .image-text-photo{
        order:2;
        width:60%;
        margin:30px auto 0;
    }

    .message-layout .image-text-photo img{
        width:100%;
    }

}

/* =========================
   代表署名
========================= */

.message-sign{
    display:block;
    margin-top:40px;
    text-align:right;
    line-height:2;
}
/* =====================================
   下層ページ フォントサイズ調整
   indexページは変更しない
===================================== */

/* PC：本文を中心に約1〜2pxアップ */
body:not(.index-page) .lower-text,
body:not(.index-page) .image-text-content p,
body:not(.index-page) .top-text p,
body:not(.index-page) .hall-lead p{
  font-size:18px;
}

body:not(.index-page) .column-card p,
body:not(.index-page) .column-3-green .column-card p,
body:not(.index-page) .text-card p{
  font-size:16px;
}

body:not(.index-page) .company-table th,
body:not(.index-page) .company-table td,
body:not(.index-page) .green-table th,
body:not(.index-page) .green-table td,
body:not(.index-page) .hall-table th,
body:not(.index-page) .hall-table td{
  font-size:16px;
}

/* スマホ：読みやすさ優先で本文16pxを基準に */
@media screen and (max-width:768px){
  body:not(.index-page) .lower-text,
  body:not(.index-page) .image-text-content p,
  body:not(.index-page) .top-text p,
  body:not(.index-page) .hall-lead p,
  body:not(.index-page) .column-card p,
  body:not(.index-page) .column-3-green .column-card p,
  body:not(.index-page) .text-card p{
    font-size:16px;
  }

  body:not(.index-page) .company-table th,
  body:not(.index-page) .company-table td,
  body:not(.index-page) .green-table th,
  body:not(.index-page) .green-table td{
    font-size:15px;
  }

  /* 式場料金表は横幅を守るため少し控えめ */
  body:not(.index-page) .hall-table th,
  body:not(.index-page) .hall-table td,
  body:not(.index-page) .hall-price-table th,
  body:not(.index-page) .hall-price-table td{
    font-size:13px;
  }
}

/* =====================================
   下層ページ ボタン文字サイズ調整
   indexページは変更しない
   ボタン幅・高さは変えず、レイアウトを維持
===================================== */

/* PC */
body:not(.index-page) .global-nav a,
body:not(.index-page) .submenu-toggle{
  font-size:16px;
}

body:not(.index-page) .submenu a{
  font-size:15px;
}

body:not(.index-page) .column-3-center .column-card a,
body:not(.index-page) .column-3-left .column-card a,
body:not(.index-page) .column-3-green .column-card a,
body:not(.index-page) .column2-button,
body:not(.index-page) .column5-button,
body:not(.index-page) .hall-button-area a{
  font-size:16px;
  line-height:1.5;
}

/* スマホ */
@media screen and (max-width:768px){
  body:not(.index-page) .global-nav a,
  body:not(.index-page) .submenu-toggle,
  body:not(.index-page) .mobile-footer-menu a{
    font-size:14px;
  }

  body:not(.index-page) .submenu a{
    font-size:14px;
  }

  body:not(.index-page) .column-3-center .column-card a,
  body:not(.index-page) .column-3-left .column-card a,
  body:not(.index-page) .column-3-green .column-card a,
  body:not(.index-page) .column2-button,
  body:not(.index-page) .column5-button,
  body:not(.index-page) .hall-button-area a{
    font-size:16px;
    line-height:1.5;
  }
}

/* =====================================
   ハンバーガーメニュー文字サイズ調整
   レイアウトを崩さない範囲で読みやすく
===================================== */
@media screen and (max-width:768px){
  body:not(.index-page) .global-nav a,
  body:not(.index-page) .submenu-toggle{
    font-size:15px;
    line-height:1.5;
  }

  body:not(.index-page) .submenu a{
    font-size:14px;
    line-height:1.5;
  }

  body:not(.index-page) .mobile-footer-menu a{
    font-size:15px;
    line-height:1.5;
  }
}

/* =====================================
   スマホ ハンバーガーメニュー文字サイズ 最終調整
===================================== */
@media screen and (max-width:768px){
  body:not(.index-page) .global-nav a,
  body:not(.index-page) .submenu-toggle,
  body:not(.index-page) .mobile-footer-menu a{
    font-size:16px;
    line-height:1.55;
  }

  body:not(.index-page) .submenu a{
    font-size:15px;
    line-height:1.55;
  }

  /* 指定した位置だけスマホで改行 */
  .menu-sp-break{
    display:block;
  }
}

/* PCでは改行させない */
@media screen and (min-width:769px){
  .menu-sp-break{
    display:inline;
  }
}


/* =====================================
   スマホ ハンバーガーメニュー
   指定位置で改行＋中央揃え
===================================== */

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

  .mobile-footer-menu a{
    text-align:center;
    justify-content:center;
    line-height:1.7;
  }

  .mobile-footer-menu .menu-sp-break{
    display:block;
    width:100%;
  }

  /* 長いメニューを2行できれいに中央配置 */
  .mobile-footer-menu a:has(.menu-sp-break){
    flex-wrap:wrap;
    align-content:center;
  }

}


/* =====================================
   スマホ ハンバーガーメニュー
   index・下層ページ共通
===================================== */

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

  /* メインメニュー */
  .global-nav a,
  .submenu-toggle,
  .mobile-footer-menu a{
    font-size:16px;
    line-height:1.55;
  }

  /* サブメニュー */
  .submenu a{
    font-size:15px;
    line-height:1.55;
  }

  /* 下部メニュー */
  .mobile-footer-menu a{
    text-align:center;
    justify-content:center;
    line-height:1.7;
  }

  /* 「ナチュラル×フューネラルが」の後で改行 */
  .mobile-footer-menu .menu-sp-break{
    display:block;
    width:100%;
  }

  /* 2行とも中央揃え */
  .mobile-footer-menu a:has(.menu-sp-break){
    flex-wrap:wrap;
    align-content:center;
  }

}

/* PCでは改行しない */
@media screen and (min-width:769px){

  .menu-sp-break{
    display:inline;
  }

}
