@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP&display=swap');
html {
  scroll-behavior: smooth;
}
body{

}
img{
	width: 100%;
	display: block;
}
.flex,.flex-al{
    display: flex;
    flex-wrap: wrap;
}
.flex-sb,.flex-sb-al{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.flex-c,.flex-c-al{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.width-ss,.width-s,.width-sm,.width-m,.width-ml,.width-l,.width-ll{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.width-ss{max-width: 800px;}
.width-s{max-width: 900px;}
.width-sm{max-width: 1000px;}
.width-m{max-width: 1200px;}
.width-ml{max-width: 1300px;}
.width-l{max-width: 1400px;}
.width-ll{max-width: 1500px;}

@media screen and (max-width:768px){
    .flex,.flex-sb,.flex-c{
        display: block;
    }
}

/*******************************************/
/*　　ヘッダー
/*******************************************/
.header-top{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #fdfcf4;
}
.header-nav{
    width: 90%;
    margin: auto;
    align-items: center;
    height: 80px;	
}
.header-nav>a{
	display: block;
	width: 200px;
}
.header-nav>ul{
    flex-grow: 1;
    justify-content: end;
    gap: 40px;
    letter-spacing: 1px;
    font-size: 14px;
}
.header-nav>ul>li{
	position: relative;
}
.header-nav ul a{
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
}
.header-nav ul a::after{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	height: 1px;
	width: 0;
	background: #333;
	transition: width 0.3s ease;
}
.header-nav ul a:hover::after{
	width: 100%;
}
.p-sidesns01__list--sns a{
    margin-bottom: 10px;
    display: block;
}
.header-nav>ul ul {
  display: none;
  position: absolute;
  top: calc(100% + 10px); /* 間に空白を作る */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px 0;
  z-index: 1000;
  min-width: 220px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header-nav li .hover-bridge {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px; /* 空間の幅に合わせる */
  background: transparent;
}
/* 親 li に hover したら表示 */
.header-nav li:hover > ul,.header-nav li:hover .hover-bridge {
  display: block;
}
.header-nav ul ul li {
  white-space: nowrap;
  padding: 5px 20px;
}
.header-nav ul ul li a {
  display: block;
  text-decoration: none;
  color: #333;
}
.header-nav ul ul {
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (max-width: 768px) {
.sp-logo{
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sp-logo>a{
	width: 150px;
}


  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    position: absolute;
    top: 21px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
  }
  .hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
  }
  /* メニュー本体 */
.hamburger-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #fff;
  overflow-y: auto;
  z-index: 1000;
  padding: 80px 20px 20px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.hamburger-nav.open {
  transform: translateX(0);
}

  .hamburger-nav ul {
    list-style: none;
    padding-left: 0;
  }
  .hamburger-nav li {
    margin-bottom: 12px;
  }
  .hamburger-nav li ul {
    margin-top: 10px;
    padding-left: 15px;
  }
  .hamburger-nav a {
    font-size: 13px;
  }  
  .hamburger-nav ul li ul a{
  	font-size: 11px;
  }
  
  
}


/*******************************************/
/*　　フッター
/*******************************************/
.footer{
    background: #f8f5e2;
    padding: 60px 0;
}
.footer-in{
	padding: 0 100px;
}
.footer-info{
	flex-basis: 300px;
}
.footer-info h2{
	font-size: 18px;
	margin-bottom: 10px;
	font-weight: 500;
}
.footer-info h2 span{
	display: block;
	font-size: 12px;
}
.footer-info p{
    display: flex;
    align-items: center;
	margin-bottom: 10px;
	font-size: 14px;
}
.footer-info p img{
	width: 15px;
	margin-right: 10px;
}
.footer-info-in>a{
    margin-bottom: 15px;
    display: flex;
	align-items: center;
}
.footer-info-in>a>img{
	width: 16px;
	margin-right: 10px;
}
.footer-sns{
	margin-bottom: 50px;
	align-items: center;
	gap: 15px;
}
.footer-sns a{
	display: block;
	width: 22px;
}
.footer-in nav{
	flex-basis: calc(100% - 380px);
	gap: 20px;
	flex-wrap: nowrap;
	font-size: 14px;
}
.footer-l{
}
.footer-r{
}
.footer-in nav ul ul{
	margin-top: 20px;
}
.footer-copy{
    font-size: 13px;
    text-align: center;
}
.footer li{
	margin-bottom: 20px;
}

@media screen and (max-width:768px){
.footer {
    padding: 40px 0;
}
.footer-info h2 span {
    font-size: 11px;
}
.footer-info h2 {
    font-size: 14px;
}
.footer-info p {
    font-size: 12px;
}
.footer-info-in>a {
    font-size: 13px;
}
.footer-in {
    padding: 0 20px;
}
.footer-r {
    font-size: 12px;
}
.p-sidesns01__list--link {
    display: none!important;
}
.p-sidesns01__list--link {
    margin: 0px 0 12px;
}
.p-sideblock .p-pagetop img {
    display: none!important;
}
}

/* ===============================
   レイアウト
=============================== */
.wrap {
  max-width: 1400px;
  width: 100%;
  margin: 80px auto 0;
}
@media (max-width: 768px) {

.wrap {

  margin: 0 auto;
}
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.grid-3 .item {
  padding: 0 5px;
}

/* ===============================
   card1 / card2
=============================== */
.card1,
.card2 {
  position: relative;
  margin: 10px 0;
  overflow: hidden;
}

/* 縦カード：1333×2000 → 2:3 */
.card1 {
  aspect-ratio: 2 / 3;
}

/* 横カード：2000×1333 → 3:2 */
.card2 {
  aspect-ratio: 3 / 2;
}

/* ===============================
   画像
=============================== */
.card_image {
  position: relative;
  width: 100%;
  height: 100%;
}

.card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 比率維持 */
  object-position: center;
  display: block;
  transition: filter 0.35s ease;
}

/* ===============================
   カテゴリ（右上・常時表示）
=============================== */
.top_cate {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  color: #fff;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.05em;
}

/* ===============================
   オーバーレイ（hover）
=============================== */
.card_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.35s ease;
  z-index: 2;
}

/* hover */
.card1:hover .card_overlay,
.card2:hover .card_overlay {
  opacity: 1;
}

.card1:hover img,
.card2:hover img {
  filter: brightness(70%);
}

/* ===============================
   中央テキスト
=============================== */
.card_overlay_inner {
  text-align: center;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* hoverで浮き上がる */
.card1:hover .card_overlay_inner,
.card2:hover .card_overlay_inner {
  transform: translateY(0);
  opacity: 1;
}

/* ===============================
   日付 / タイトル
=============================== */
.card_date {
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.card_title {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.4;
}

/* ===============================
   スマホ対応
=============================== */
@media (max-width: 768px) {

  /* 高さは比率に完全に任せる */
  .card1 {
    aspect-ratio: 2 / 3;
  }

  .card2 {
    aspect-ratio: 3 / 2;
  }

  /* スマホは常時表示 */
  .card_overlay {
    opacity: 1;
  }

  .card_overlay_inner {
    transform: translateY(0);
    opacity: 1;
  }

  .card_date {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .card_title {
    font-size: 13px;
    line-height: 1.35;
  }
}
/* ===============================
   スマホ：文字を出さず画像のみ表示
=============================== */
@media (max-width: 768px) {

  /* オーバーレイを完全に消す */
  .card_overlay {
    display: none;
  }

  /* 念のため文字も非表示 */
  .card_overlay_inner,
  .card_date,
  .card_title {
    display: none;
  }

  /* 画像の暗転も無効化 */
  .card1 img,
  .card2 img {
    filter: none !important;
  }

}

/* ======================================
   2記事目以降 横並び強制固定
====================================== */

.p-works01-item__txt {
  display: flex;
  flex-direction: column;
}

.p-works01__morewrap {
  margin-top: 20px;
}

.p-works01__more {
  align-self: flex-end;
  display: inline-block;
}

/* ===============================
   Contact Form Design
=============================== */


/* 各項目 */
.cf7-item {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  align-items: flex-start;
}

/* 左ラベル */
.cf7-q {
  width: 30%;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* 右入力欄 */
.cf7-a {
  width: 70%;
}

/* 入力フィールド共通 */
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
  transition: 0.3s ease;
}

/* フォーカス時 */
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-textarea:focus {
  border-color: #000;
  background: #fff;
  outline: none;
}

/* チェックボックス */
.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
}

.wpcf7-list-item {
  margin: 0;
  font-size: 14px;
}

/* テキストエリア */
.wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
}

/* 送信ボタン */
.cf7-submit {
  text-align: center;
  margin-top: 50px;
}

.wpcf7-submit {
  background: #111;
  color: #fff;
  padding: 16px 50px;
  font-size: 15px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
}

.wpcf7-submit:hover {
  background: #333;
}

/* ===============================
   レスポンシブ
=============================== */
@media (max-width: 768px) {

  .cf7-item {
    flex-direction: column;
    gap: 10px;
  }

  .cf7-q,
  .cf7-a {
    width: 100%;
  }

}


 /*pc・タブレットcss*/
  /*pc_defaultset*/
  .pc {
	display: block !important;
}
  /*pcのみ表示ブロック*/
  .pc2 { display: inline-block !important; }
  /*pcのみ表示ブロック*/
  .sp, .sp2 { display: none !important; }

@media screen and (max-width: 768px) {
.pc, .pc2 { display: none !important; }
  /*pcのみ表示ブロック*/
  .sp { display: block !important; }
}
