@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

body {
	font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}



.hihyouji {
	display: none;
}

/* common======================= */

@media screen and (min-width: 960px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 80%;
  min-width: 950px;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 70%;
		min-width: 1000px;
}
}

@media screen and (max-width: 960px) {
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
  min-width: none;
}
}

.no-kaigyou {
	white-space: nowrap;
}

/* マージン======================= */

.m-left {
	margin-left: auto;
}

.m-right {
	margin-right: auto;
}

.m-center {
	margin: 0 auto;
}

.mt2 {
	margin-top: 20px;
}

.mt3 {
	margin-top: 30px;
}

.mt4 {
	margin-top: 40px;
}

.mt5 {
	margin-top: 50px;
}

.mb2 {
	margin-bottom: 20px;
}

.mb3 {
	margin-bottom: 30px;
}

.mb4 {
	margin-bottom: 40px;
}

.mb5 {
	margin-bottom: 50px;
}


/* テキスト========================== */

.text-center {
	text-align: center;
}

/* テーブル========================= */

.c_table td{
	line-height: 1.8;
	padding: 25px 0;
}

/* theadがない場合：tbody最初の行 */
.is-style-simple tbody tr:first-child th,
.is-style-simple tbody tr:first-child td{
  border-top: none !important;
  box-shadow: none !important;
}


/* カラーボックス===================== */

.color-box {
	width: 100%;
	height: 100%;
	min-height: 100px;
	border: 1px solid #c8fac8;
	padding: 1.5rem;
}

@media screen and (max-width: 480px) {
	.color-box {
	width: 100%;
	height: 100%;
	min-height: 80px;
	border: 1px solid #c8fac8;
	padding: 1rem;
}
	.text-center {
	text-align: left;
}
}


/* 見出し========================== */

h2, h3 {
	font-weight: 400;
}

.lead {
	font-size: 2rem;
	font-family: "Hurricane", cursive;
  font-weight: 400;
  font-style: normal;
}

.sec-title {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 5rem auto 1rem;
  gap: 1rem;
}

.sec-title h2 {
  font-size: 1.5rem;
  white-space: nowrap;
}
.sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgb(152, 196, 125), rgb(53, 53, 53));
}


/* ボタン========================= */

.button_line a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 25px;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-weight: 600;
}
.button_line a:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 100%;
    height: 2px;
    background: rgba(45,45,45);
    transform: translateX(-50%);
}
.button_line a:after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #98c47d;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.button_line a:hover {
    color:  #98c47d;
}
.button_line a:hover:after {
    transform: scale(1, 1);
}


/* ヘッダー=========================== */

.c-gnav>.menu-item>a .ttl {
font-size: clamp(11px, 1vw, 15px);
letter-spacing: .1rem;   /*文字の間隔*/
  font-weight: 400;
}

/*ヘッダー電話番号*/
@media (min-width: 960px) {
.w-header__inner p {
line-height: 1.5;
}
}

.header_contact_phone {
font-family: Inter, "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
font-size: 1.4vw;
font-weight: 700;
color: #fff;
	white-space: nowrap;
letter-spacing: 1px;
}
.header_contact_phone span.icon-phone {
font-size: 1.2vw;
vertical-align: baseline;
margin-right: 2px;
}
.header_business_hours {
font-size: 0.7vw;
	color: #fff;
letter-spacing: 2px;
	white-space: nowrap;
text-align: center;
}

.header_phone_bg{
	background: #232323;
	padding: 0.5vw 1.2vw;
}


/* お知らせ========================== */

.news-item {
}

.newsList {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  border-top: 1px dotted #999;
  align-items: flex-start; 
}

ul.newsList {
  padding: 2rem 0;
	width: 100%;
	margin: 0 auto;
}

ul.newsList li {
  margin: 0 10px;
}

.news_date {
  min-width: 100px;
  font-weight: bold;
	color: #c8fac8;
}

.news_text {
  flex: 1; 
}

.scroll {
  overflow: auto;
  height: 100%;
  max-height: 200px;
  width: 100%;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #353535 #4c4c4c;
}

/* WebKit */
.scroll::-webkit-scrollbar {
  width: 10px;
}
.scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media screen and (max-width: 768px) {
	.scroll {
		background-color: #3f3f3f;
		max-height: 320px;
}
  .newsList {
    flex-direction: column;
  }
	.news_text p{
    margin-top: 0.8em;
  }
}


/* メインビジュアル===================== */

.p-mainVisual__inner {
	padding: 96px 0 0;
}

.main-copy {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
	font-weight: bold;
  color: rgba(255,255,255,0.6);
text-shadow: -1px -1px 1px rgba(255,255,255,0.5), 1px 1px rgba(100,100,100,0.3);
  letter-spacing: 0.5rem;

  /* アニメーション初期状態 */
  filter: blur(5px);
  opacity: 0;
  transform: translateY(20px); /* 下から上に浮かせる */

  /* アニメーション */
  animation: fadeUpFocus 1.2s ease-out forwards;
  animation-delay: 1s;
}

/* アニメーション定義 */
@keyframes fadeUpFocus {
  0% {
    filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}



@media screen and (max-width:786px){
	.p-mainVisual__inner {
	padding: 70px 0 50px
}
}
@media screen and (max-width:480px){
	.p-mainVisual__inner {
	padding: 60px 0 30px
}
	.main-copy {
		position: relative;
		top: 0;
		left: 15%;
		font-weight: 600;
}
}

/* ページ共通================= */

/* アーカイブページの幅を1400pxに制限 */
.archive .l-mainContent,
.archive .l-mainContent__inner,
.archive .l-article {
  max-width: 1400px !important;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 600px) {
	.archive.post-type-archive-lineup .l-content{
		 padding-top: 0;
	}
}

.content-head {
  width: 100vw; 
  height: 300px;
  margin-bottom: 80px;
  overflow: hidden;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
	background-image: url('https://www.hanaq.co.jp/wp-content/uploads/2025/07/content-header.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.page-title-wrapper {
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1400px;
  padding: 0 5%;
  margin: 0 auto;
  color: #333;
  text-align: left;
  box-sizing: border-box;
}

.page-title {
	font-size: 1.5rem;
	font-weight: bold;
}


/* トップページ======================== */

.is-style-balloon>.c-tabList .c-tabList__button:hover, .is-style-balloon>.c-tabList .c-tabList__button[aria-selected=true]{
	color: #484d27;
}

.top-lineup-title{
	font-size: clamp(0.9rem, 1vw, 1rem);
}


/* 会社案内ページ=================== */

.company-sec1-text {
	font-size: clamp(1rem, 2vw, 1.5rem);
}


/* 商品ページ================ */

/* ▼ 親カテゴリタブ（供花・祝い花） */
.lineup-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 1.5rem 0;
  gap: 0; /* gapは使わずmarginで調整 */
}

.lineup-tabs a {
  width: calc(50% - 0.5rem); 
  text-align: center;
  padding: 0.5rem;
  background: #eee;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  box-sizing: border-box;
}

/* ホバーとアクティブ時 */
.lineup-tabs a:hover,
.lineup-tabs a.active {
  background: #98c47d;
  color: #fff;
}


/* ホバーと選択状態（親） */
.lineup-tabs a:hover,
.lineup-tabs a.active {
  background: #98c47d;
  color: #fff;
}

/* ▼ 子カテゴリタブ（お供え花束 など） */
.lineup-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.lineup-subtabs a {
  padding: 0.5em 1em;
  background: #eee;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

/* ホバーと選択状態（子） */
.lineup-subtabs a:hover,
.lineup-subtabs a.active {
  background: #98c47d;
  color: #fff;
}

.category_title {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 5rem auto 2rem;
  gap: 1rem;
}

.category_title h3 {
  font-size: 1.5rem;
  white-space: nowrap;
}

.category_title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgb(152, 196, 125), rgb(53, 53, 53));
}

.lineup-items {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr); 
}

.lineup-image img {
  max-width: 100%;
  height: auto;
}

.lineup-meta h4 {
	margin: 5px 0;
	font-size: 1rem;
	border-left: 0px;
	padding-left: 0;
}

.lineup-number,
.lineup-comment {
	font-size: 0.8rem;
	color: #98c47d;
}

.lineup-number {
	font-size: 0.8rem;
	color: #98c47d;
}

@media screen and (max-width: 480px){
	.lineup-items {
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr); 
}
}


/* お問い合わせ================== */
.CF7_contact{
	width:100%;
}

/*入力欄*/
.CF7_contact input, .CF7_contact textarea{
	width:100%;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #d8d8d8;
	margin-top:10px;
	margin-bottom:25px
}

.CF7_honbun{
	width:100%;
}

/*入力欄*/
.CF7_honbun input, .CF7_honbun textarea {
	width:100%;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #d8d8d8;
	margin-top:10px;
	margin-bottom:25px
}

/* ラジオボタンのリストアイテム全体を縦並びに */
.radio-style .wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px; 
}

.flex-row {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.col2 input {
	background-color: #fff;
}

/*タイトル左ライン*/
.title_contact{
   position:relative;
}

span.wpcf7-list-item {
  margin-top: 5px;
  margin-bottom: 5px
}

.title_contact::before{
   content:"";
   display:inline-block;
   width:3px;
   height:30px;
   background-color:#98c47d;
   position:absolute;
}

/*「必須」文字*/
.CF7_req{
	font-size:1.2rem;
	padding: 5px;
	color: red;
	border-radius: 3px;
}

/*個人情報*/
.title01 {
	font-size:18px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 10px;
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#98c47d;
	border:0;
	color:#fff;
	font-weight:bold;
	padding-right:50px;
	padding-left:50px;
	letter-spacing: 5px;
}

.CF7_btn{
	text-align:center;
	margin-top:30px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

@media screen and (max-width: 480px){
	.radio-style .wpcf7-form-control.wpcf7-radio {
    flex-direction: column;
    gap: 5px; /* スマホでは縦に間隔調整 */
  }
	.flex-row {
    flex-direction: column;
    gap: 15px;
  }
	.radio-style .wpcf7-form-control.wpcf7-radio .wpcf7-list-item:first-child {
  margin-top: 20px; /* 任意の値 */
}
}


/*個人情報スクロール*/
.scroll2 {
  overflow: auto;
  height: 100%;
  max-height: 300px;
  width: 100%;
	
	border: 1px solid #d8d8d8;
	padding: 1.2rem;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
}

/* WebKit */
.scroll2::-webkit-scrollbar {
  width: 10px;
}
.scroll2::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scroll2::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
.scroll2::-webkit-scrollbar-thumb:hover {
  background: #555;
}


/* お問い合わせボックス================ */

.contact-box {
	position: relative;
}

.contact-box-outer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
}

.contact-box-img {
	height: 40vh;
	background-image: url('https://www.hanaq.co.jp/wp-content/uploads/2025/07/contact-box-bg.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.info-section {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  position: relative;
}

.info-section::before {
  content: "";
  position: absolute;
  top: 10%;
  height: 80%;
  width: 1px;
  left: 50%;
  background-color: #484d27;
  opacity: 0.5;
  transform: translateX(-50%);
  z-index: 1;
}

a.info-box {
  flex: 1 1 50%;
  padding: 40px 5%;
  background-color: #c8fac8;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: #484d27;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  z-index: 0;
}

a.info-box:hover {
  background-color: #dcf9dc;
}


.info-en {
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  margin: 0;
}

.info-ja {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: bold;
}

.info-ja i {
  margin-right: 0.5em;
  color: #484d27; 
  font-size: 1em;
}

.tel-link {
  pointer-events: auto;
}

/* PC時にリンク無効化 */
@media screen and (min-width: 769px) {
  .tel-link {
    pointer-events: none;
    cursor: default;
  }
}

@media screen and (max-width: 768px) {
	
.contact-box-outer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -80%);
	width: 80%;
}
	.contact-box-img {
	height: 60vh;
}
	.contact-box-black {
		height: 150px;
	}
	.info-section::before {
    display: none;
  }

  /* 1つ目のボックスに相対位置をつける */
  a.info-box:first-of-type {
    border-bottom: 1px solid #fff;
  }

  a.info-box {
    flex: 1 1 100%;
    height: 200px;
  }

  .info-en {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
	.contact-box-outer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -70%);
	width: 80%;
}
	a.info-box {
		height: 100%;
  }
}


/* フッター========================= */

#footer {
	border-bottom: 6px solid #98c47d;
}

footer .l-container {
	width: 2200px;
	max-width: 80%;
  padding-left: 0; 
  padding-right: 0;
  margin: 0 auto;
}

.c-listMenu .children a:before, .c-listMenu .sub-menu a:before{
	left: 1.5em;
}

.c-listMenu .children a, .c-listMenu .sub-menu a{
	padding-left: 3em;
	color: #ccc;
}

.c-listMenu .children a:hover, .c-listMenu .sub-menu a:hover {
	padding-left: 3.5em;
}

@media screen and (max-width: 768px) { 
  .widget_nav_menu {
   display: none;
  }
	.c-listMenu .children a, .c-listMenu .sub-menu a{
	padding-left: 3em;
	color: #2d2d2d;
}
}

/*ぱんクズリスト非表示*/
#breadcrumb {
 display: none;
}

/*reCAPTCHA全面表示*/
.grecaptcha-badge {
	z-index: 1; 
}

/* 「トップへ戻るボタン」の位置調整 */ 
.p-fixBtnWrap { 
	bottom: 85px;
	right: 10px
}