/*
Theme Name: DesignSeed
Theme URI: 
Author: DesignSeed
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: designseed
Tags: 
*/

html {
  scroll-behavior: smooth;
}

/* アンカー位置調整 */
:target {
  scroll-margin-top: 80px; /* ヘッダーの高さに合わせて調整（例：100px） */
}

.grecaptcha-badge { visibility: hidden; }

.link-cancel a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

.hover-img:hover {
  filter: brightness(1.1);
}

/*外部リンクアイコン*/
.newopen-icon {
  width: 1.2em;
  height: 1.2em;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}
.newopen-icon img:hover {
  opacity: 1;
  color: var(--wp--preset--color--seedcolor) ;
}

.work-link-client{
  vertical-align: middle;
}

.br450{
  display: none;
}

/*丸矢印
.circle-arrow {
    display: inline-block;
    width: 150px;
    height: 150px;
    color: var(--wp--preset--color--seedcolor);
    text-decoration: none;
  }
  
  .circle-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
  }*/

/* フェードイン初期状態：非表示＆下からズレた状態 */
/* フェードインの初期状態 */
.fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform; /* パフォーマンス最適化 */
}

/* 表示された状態 */
.fadein.show {
  opacity: 1;
  transform: translateY(0);
}


  /*動くグラデボタン*/
/* 親ボタン：背景は透明 */
.move-grada-btn {
  --c1: #1BB5CC;
  --c2: #1b818a;
  --c3: #0b5b66;
  display:inline-flex; align-items:center; gap:12px;
  padding:6px 12px 6px 6px; text-decoration:none; color:#111;
  border-radius:9999px; background:transparent; position:relative;
}

.move-grada-btn .icon-oval {
  position:relative;
  flex:0 0 auto;
  width:72px;
  height:46px;
  border-radius:9999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index: 0;
  isolation: isolate;
  overflow:hidden;
}

.move-grada-btn .icon-oval::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  z-index:0;
  background: linear-gradient(270deg,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c1)
  );
  background-size:300% 300%;
  animation: slide-grad 6s ease-in-out infinite;
}

@keyframes slide-grad {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* hoverで動きを止める */
.move-grada-btn:hover .icon-oval::before {
  animation-play-state: paused;
}

/* 矢印（白固定） */
.move-grada-btn .icon-oval svg {
  position:relative;
  z-index:1;
  width:20px;
  height:20px;
  stroke:#fff;
  stroke-width:2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* テキスト下線（伸びる） */
.move-grada-btn .label { position:relative; }
.move-grada-btn .label::after {
  content:"";
  position:absolute;
  left:0; right:0; bottom:-2px; height:1px;
  background: currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition: transform .3s ease;
}
.move-grada-btn:hover .label::after { transform:scaleX(1); }
/* 動きが苦手な環境へ配慮 */
@media (prefers-reduced-motion: reduce){
  .move-grada-btn .icon-oval::before,
  .move-grada-btn .icon-oval::after{ animation:none; }
}

  


  
/**/
.inner-block{
  max-width: 1280px;
  padding: 80px 60px;
  margin: auto;
}

.back-color{
  background-color: var(--wp--preset--color--pailgray) ;
}

.whitefont .has-text-color{
  color: #fff !important;
}

/* wave_canvas */
.wp-block[data-type="core/shortcode"] .wave-canvas-wrap,
.wave-canvas-wrap.alignfull {
  width: 100vw;   /* ビューポート幅いっぱい */
  margin-left: calc(50% - 50vw); /* コンテナの制約を解除して中央揃え */
  margin-right: calc(50% - 50vw);
}

:root{
    --grad-a: #1BB5CC;
    --grad-b: #1A6882;
  }
  
  /* 基本のグラデ文字 */
  .gradient-text{
    background-image: linear-gradient(90deg, var(--grad-a), var(--grad-b));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent; /* Safari対策 */
            color: transparent;
    display: inline-block; /* 要素幅いっぱいに広がるのを防ぐ */
  }
  
  /* クリップ未対応環境のフォールバック（単色） */
  @supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .gradient-text{ color: var(--grad-a); }
  }
  .wave-canvas-wrap h1,
  .wave_canvas_archive h1{
    font-size: clamp(30px, 6vw, 64px);
    line-height: 1.2;
    margin: 0 auto;
    font-weight: 500;
  }
  .wave-canvas-wrap h1 span,
  .wave_canvas_archive h1 span{
    font-size: clamp(20px, 5vw, 40px);
  }
  .wave-canvas-wrap p,
  .wave_canvas_archive p{
    font-size: 24px;
    color: var(--wp--preset--color--seedcolor)
  }

/* 固定の枠（ここは動かさない） */
.marquee__inner{
  --gap: clamp(12px, 1.4vw, 24px);  /* 画像の間隔 */
  --h: clamp(160px, 26vw, 320px);   /* 画像の高さ */
  --duration: 120s;                  /* 速度：小さいほど速い */

  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 120px;
}

/* 動く帯（ここを左右に流す） */
.marquee__track{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  width: max-content;                 /* 中身の幅にフィット */
  padding: 0;
  margin: 0;
  list-style: none;
  animation: marquee-scroll var(--duration) linear infinite;
  will-change: transform;
}

/* 画像の見た目 */
.marquee__track > li{ flex: 0 0 auto; }
.marquee__track img{
  height: var(--h);
  width: auto;                        /* 比率維持 */
  display: block;
  border-radius: 18px;
  object-fit: cover;
}


/*page見出し*/
.wave-content .lower-title .en-title {
  font-size: 76px;
}



/* 無限スクロール
   同じ並びを2回連続で置いているので -50% で継ぎ目なくループ */
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* バリエーション（任意） */
.marquee__inner.is-fast  .marquee__track{ animation-duration: 18s; }
.marquee__inner.is-slow  .marquee__track{ animation-duration: 54s; }
.marquee__inner.is-reverse .marquee__track{ animation-direction: reverse; }

/* 動きに弱い利用者配慮 */
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation: none; }
}

/*下層のtitle*/
.wave-content .lower-title{
  padding: 0 60px;
  text-align: left;
  line-height: 1;
  margin: 0;
}

.wave-canvas-wrap canvas,
.wave-canvas-wrap .wave-content {
  width: 100%;   /* 横いっぱい */
  height: 100%;  /* 親の高さにフィット */
  display: block;
}

.wave-content .lower-title.title-set .en-title {
  margin: 0;
}
.wave-content .lower-title h1{
  font-size:16px;
  font-weight: normal;
  color: var(--wp--preset--color--text) ;
}

.wave-content .lower-catchcopy p{
  color: var(--wp--preset--color--text) ;
  transform: translateY(50%);
  font-size: 30px;
}

.page-sss .wave-content .lower-catchcopy{
  transform: translateY(10%);
}
.page-sss .wave-content .lower-catchcopy p{
  transform: none;
  font-size: clamp(20px, 2.8vw, 30px);
}
.page-sss .wave-content .lower-catchcopy span {
  font-size:  clamp(34px, 6vw, 64px);
}

.page-sss .speech-bubble {
  max-width: 1000px;
  width: 90%;
}

.page-sss .wave-content .lower-catchcopy .servicename {
  font-family: var(--wp--preset--font-family--sss-name);
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff,
    0 0 40px #fff;
}

.wave-content .lower-catchcopy .servicename{
  color: var(--wp--preset--color--seedcolor) ;
  font-size: 24px;
  transform: none;
margin-top: 0;
margin-bottom: 0.5em;}

.wave-content .lower-catchcopy {
  font-size: 40px;
  line-height: 1.2;
}

.wave-content .lower-catchcopy span{
  font-size: 64px;
}

.area-point-bgimg{
  background-color: var(--wp--preset--color--seedcolor) !important;
  background-image:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    /* ドット層（粒） */
    repeating-radial-gradient(
      circle at 0 0,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 2px,
      transparent 2px,
      transparent 20px
    );

  /* 自然になじませる */
  background-blend-mode: soft-light;
  background-size: cover;
  animation: moveBg 40s linear infinite;
}

/* 背景をゆっくり動かす */
@keyframes moveBg {
  0%   { background-position: 0% 0%, 0% 0%; }
  50%  { background-position: 100% 50%, 50% 100%; }
  100% { background-position: 0% 0%, 0% 0%; }
}


header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}

header .header-nav{
    padding-left: 60px;
    padding-right: 60px;
}

header .wp-block-site-logo img {
    height: 100%;
    max-height: 35px;
    width: auto;
}

nav .wp-block-navigation-item__content.wp-block-navigation-item__content:hover{
    color: var(--wp--preset--color--seedcolor) ;
}

.wp-block-navigation .wp-block-navigation-item.obi a{
  background-color: var(--wp--preset--color--seeddark);
  color: var(--wp--preset--color--white) ;
  padding: 0 1em;
  display: inline-block;
  border-radius: 8px;
}

.wp-block-navigation .wp-block-navigation-item.obi a:hover{
  background-color: var(--wp--preset--color--seedcolor) ;
  color: var(--wp--preset--color--white) ;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1), 0 12px 24px -12px rgba(0, 0, 0, .2);
}

.title-set {
    gap: 0;
}

.cta-box .has-white-color{ 
    color: var(--wp--preset--color--white) !important;
}
.title-set .en-title{
    font-family: var(--wp--preset--font-family--en-text);
    font-size: clamp(24px, 3.8vw, 76px);
    font-weight: 100;
    line-height: 1;    
}

.title-set .ja-title{
    font-size: 16px;
    font-weight: normal;
    padding-left: 0.2em;
    color: var(--wp--preset--color--seedDark) ;
  }

.gradient-text {
  background: linear-gradient(90deg, #1BB5CC, #1A6882); /* グラデーション */
  -webkit-background-clip: text;  /* テキストでクリップ */
  -webkit-text-fill-color: transparent; /* 背景を塗りつぶしに */
}

.title-set .catchcopy{
  font-size: 32px;
  color: var(--wp--preset--color--text) ;
  margin-top: 50px;
  font-weight: normal;
}

.title-set .move-grada-btn{
  margin-top: 50px;
}

.left-title-block{
  min-width: 400px;
}

.price-text {
  font-weight: 700;   /* 基本文字は太め */
  color: var(--wp--preset--color--seedcolor) ;
  font-size:  clamp(24px, 2.8vw, 36px);;
  margin: 0;
  letter-spacing: normal;
  text-align: center;
}

.price-text .small {
  font-size: 0.7em;   /* 小さめ */
  font-weight: 700;   /* 太字を維持 */
}

.price-text .big {
  font-size: 1.8em;   /* 大きめ */
  font-weight: 700;   /* 強調 */
}


/*ジャーナル*/

.top-journal-list ul li{
  margin-bottom: 65px;
}
.top-journal-list ul li:last-child{
  margin-bottom: 0px;
}

/*下線ブロック*/
.underline-block{
  border-bottom: 1px solid var(--wp--preset--color--seedcolor) ;
  padding-bottom: 50px;
  margin-top: 50px;
}

#area-faq .wp-block-column > .underline-block:last-of-type {
  border-bottom: none;
  padding-bottom: 00px;
}

.underline-block:first-child{
  margin-top: 0px;
}
.underline-block:last-child{
  border-bottom: none;
  padding-bottom: 0px;
}

/*アイキャッチの上にcategory*/
.on-tag{
  position: relative;
}
/* カテゴリーを上に重ねる */
.on-tag .category-list {
  position: absolute;
  top: 0px;       /* 上からの距離 */
  left: 0px;      /* 左からの距離 */
  z-index: 2;
  font-size: 0.8rem;
  border-radius: 0px;
  line-height: 1;
}
.on-tag img {
  z-index: 1;
}

.on-tag .category-list a {
  pointer-events: none;
  cursor: default;
  font-size: 0.8em;
  background-color: var(--wp--preset--color--seedcolor);
  border-radius: 0px;
  color: #fff;
}

/*下層*/
/*.entry-content .inner-block:first-child{  
  padding-top: 0;
}
.entry-content .inner-block:last-child{  
  padding-bottom: 0;
}*/

/*service*/
.service-copy{
  width: 10vw;}

  .service-fukidashi{
    color: var(--wp--preset--color--white) !important;
    margin-top: -12%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

 .service-mv-area .service-mv-copy .service-copy{
    margin-left: auto;
    margin-right: auto;
  }


.service-nayamilist{
  list-style: none; /* デフォルトの黒丸を消す */
  padding-left: 1.5em; /* アイコン分の余白 */
  padding-top: 1em;
  margin: 0 auto;
  width: 96%;
  max-width: 1280px;
}

.service-nayamilist li::before {
  content: "";
  position: absolute;
  left: -1.5em; /* テキストより外側に配置 */
  top: 0.4em;   /* テキスト高さに揃える調整 */
  width: 0.7em; /* アイコンサイズ */
  height: 0.7em;
  background: url("assets/images/icon-tane.svg") no-repeat center center / contain;
  vertical-align: middle;
  left: -1.5em; /* テキストより外側に配置 */
  top: 0.4em;   /* テキスト高さに揃える調整 */
}

.service-nayamilist li{
  position: relative;
  margin-top: 1em;
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.2;
}
.service-nayamilist li:first-child{
  margin-top: 0;
}

.service-point{
  margin-top: 50px;
}
/*
.kaiketu-block{
  position: relative;
  overflow-x: visible;
}*/

  /* 中央に斜めの帯を被せる */
  .banner-split{
    position: relative;
    align-items: stretch; /* 2カラムの高さを揃える */
    overflow: visible;    /* 斜め線のはみ出し許容 */
  }

  .banner-split::after{
    content: "";
    position: absolute;
    right: -12%;
    top: 0;            /* 少しはみ出させて綺麗に */
    width: 1px;          /* 大きめの板を用意して… */
    height: 100%;         /* 斜めでも上下まで届くように */
    transform: rotate(8deg); /* ← 角度はお好みで */
    background: var(--wp--preset--color--seedcolor); /* 区切りの色 */
    z-index: 1;
    pointer-events: none; /* クリックを邪魔しない */
  }

  /* 中身が帯の下に潜らないように前面へ */
  .banner-split > .wp-block-column{
    position: relative;
    z-index: 2;
  }


.kaiketu-block .inner-block{
  background-image: url(assets/images/kaiketu-img.png);
  background-size: auto 80%;
  background-repeat: no-repeat;
  background-position: right bottom;
  width: 100%;
  transform: translateY(20px);
}

.kaiketu-message{
font-size: clamp(35px, 5vw, 64px);
white-space: nowrap
}
.kaiketu-message .small{
  font-size: clamp(20px, 2.5vw, 48px);
  }

  /*.kaiketu-img{
    max-width: 335px;
    width: 50vw;
    vertical-align: bottom;
    margin-bottom: -20px; 
}

  .kaiketu-img img{
    display: block;
    transform: translateY(20px);
  }*/

    

  #area-flow h3 {
    font-size: clamp(18px, 3vw, 24px);
    font-style: normal;
    font-weight: 500;
}



  
  .inner-block.big-price{
    padding-top: 80px;
  }

  .tokutyou.pc-only{
    display: grid !important;}


.point-list{
  width:17em !important;
  text-align: left;
}

.point-title{
  font-size: clamp(20px, 2.5vw, 30px);
  text-align: center;
  font-weight: bold;
}
.point-title .bigsuuzi{
  font-size: 1.5em;
}
.point-title .smallzei{
  font-size: 0.5em;
}

.point-h2{
  font-size: clamp(30px, 6vw, 64px);
  color: #fff;}

  .servicepage-title{
    font-size: clamp(30px, 6vw, 50px);
}

#area-flow .servicepage-title{
  line-height: 1.2;
  margin-bottom: 1.5em;
}
.servicepage-title .small{
  font-size: clamp(18px, 4vw, 30px);
  line-height: 1.2;
}

/*ABOUT*/
.half-box{
  display: block;
  width: 60%;
  min-width: 710px;;
  text-align: left;
 margin-left: 0 !important;
margin-right: 0 !important;
}

.about-message{
  align-items: flex-start !important;
}

.about-profile-img{
  position: sticky;
  top: 100px;            /* 固定開始位置。ヘッダー高さなどに合わせて調整 */
  align-self: flex-start;
}


.aboutpage-title{
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1.2;
}
.area-skills h3{
  padding-bottom: 0.2em;
}

/*WORK*/
.category-list{
  gap: 1em;
}
.category-list a{
  padding: 0.2em 0.8em;
  font-size: 14px;
  background-color: var(--wp--preset--color--seeddark);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}
.category-list a:hover{
background-color: var(--wp--preset--color--seedcolor);
}

.category-list-all{
  max-width: 1280px;
  margin: auto;
}

.category-list-all ul{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  padding: 0;
}

.category-list-all a{
  padding: 0.2em 0.8em;
  font-size: 14px;
  background-color: var(--wp--preset--color--pailblue);
  border-radius: 8px;
  text-decoration: none;
  border: solid 1px var(--wp--preset--color--text);
}


.category-list-all a:hover{
  background-color: var(--wp--preset--color--seedcolor);
  border: solid 1px var(--wp--preset--color--seedcolor);
  color: #fff;
}


/*ARCHIVE*/
.archive .inner-block:first-child{
  padding-top: 0;
}

.loop-set a:hover{
  color: var(--wp--preset--color--seedcolor);
}

/*カードを揃える*/
/* 投稿テンプレート（カードの外枠）をグリッドにしてギャップを整える（任意） */
.journal-card .wp-block-post-template {
  /* ここはエディタ側で列数指定しているのでCSSは最小限でOK */
  gap: var(--wp--style--block-gap, 1.5rem);
}

/* 各カードを等高にし、中身を縦並び＆伸縮 */
.journal-card .wp-block-post {           /* 各アイテム(li)に付くブロック */
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 画像や上部要素はそのまま。本文（抜粋）部分が伸び縮みできるように */
.journal-card .wp-block-post .wp-block-group { /* カード内の中身グループ（必要に応じて調整） */
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* 「続きを読む」やメタ行を下端に寄せたいとき */
.journal-card .wp-block-post-excerpt,
.journal-card .wp-block-read-more,
.journal-card .wp-block-post-terms {
  margin-top: 0.5em;
}

/* 投稿テンプレートの各アイテムを等高にする土台 */
.journal-card .wp-block-post-template { align-items: stretch; } /* 念のため */
.journal-card wp-block-post { height: 100%; }



/* 画像のはみ出しや比率が気になる場合の例（任意） */
.journal-card.is-card img{ display:block; height:auto; max-width:100%; }



/*work個別*/
/* タイトル＋右側ライン（コンテンツ幅内で完結） */
.work-single-title {
  display: flex;              /* 右側に伸ばす土台 */
  align-items: center;        /* 文字の中央にライン */
  gap: 12px;                  /* 文字とラインの間隔 */
  width: 100%;                /* 親（.inner-block）幅いっぱい */
  position: relative;         /* 既存の相対指定があってもOK */
  margin: 0;                  /* h2 のデフォルト余白は必要に応じて調整 */
}

.work-single-title::after {
  content: "";
  flex: 1 1 auto;             /* 余った幅を全部取る＝右端まで伸びる */
  height: 1px;                /* ラインの太さ */
  background-color: var(--wp--preset--color--seedcolor);
  display: block;
  transform: translateY(0);   /* 念のためリセット */
}



/*投稿single*/
.single-side{
  position: sticky;
  top: 100px;            /* 固定開始位置。ヘッダー高さなどに合わせて調整 */
  align-self: flex-start;
}


/*フォーム*/
.smf-item__label__text {
  position: relative;
}
.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
position: absolute;
top: 50%;
right: -50px;
transform: translateY(-50%);
display: grid;
place-items: center;
width: 40px;
height: 23px;
border-radius: 4px;
content: "必須";
font-size: 12px;
color: #fff;
background: #AE8CBB;
}

.smf-progress-tracker__item[aria-current=true] .smf-progress-tracker__item__number {
  background-color: var(--wp--preset--color--seedcolor);
  font-weight: 700;
}

.smf-control-description {
  color: var(--wp--preset--color--text);
  }

.smf-text-control__control::placeholder {
    color: #ADADAD;
}

.smf-item__label__text{
  font-weight: bold;
}

.smf-action .smf-button-control__control {
  font-size: 1.2em;
  background-color: var(--wp--preset--color--seeddark);
  background-image: none;
  color: #fff;
  border: none;
  transition: box-shadow 0.25s;
  border-radius: 80px;
  display: inline-block;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 0;
  min-width: 35%;
  padding: 1em 1.5em;
  position: relative;
  text-decoration: none;
  width: auto;
}

.smf-action .smf-button-control__control:hover {
  border-color: inherit!important;
  background-color: var(--wp--preset--color--seedcolor);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1), 0 12px 24px -12px rgba(0, 0, 0, .2);
}



/*ＣＴＡ*/

.cta-box .cta-copy{
  font-size: clamp(25px, 2.8vw, 36px) !important;
  color: var(--wp--preset--color--white) !important;
  font-feature-settings: "palt";
}
.cta-box .btn-siro a{
  background-color: var(--wp--preset--color--white);
  border: #fff 1px solid;
  color: var(--wp--preset--color--text);
  transition: background-color 0.3s ease;
}
.cta-box .btn-siro a:hover {
  background-color: var(--wp--preset--color--seedcolor);
  border: #fff 1px solid;
  color: var(--wp--preset--color--white);
  box-shadow: 0 4px 12px rgba(255, 255, 255, .2), 0 12px 24px -12px rgba(255, 255, 255, .3);
}

footer{
    max-width: 100%;
   color: var(--wp--preset--color--seedcolor) ;
}

footer .zenhaba-padding{
    padding-left: 60px;
    padding-right: 60px;
}

footer .wp-block-site-logo img {
    height: auto;
    width: 100%;
    max-width: 280px;
}

.half-block div{
    flex-basis: 50%;
}

footer .after-line{
font-family: var(--wp--preset--color--en-text); 
max-width: 6em;
background-color: #fff;}

.after-line:after{
    content: "";
    display: inline-block;
    width: 2em;
    height: 1px;
    background-color: var(--wp--preset--color--seedcolor) ;
    margin-right: 1em;
}

footer .title-set .en-title{
  font-weight: 200;
}

footer a {
  position: relative;
  text-decoration: none;
  color: inherit; /* 必要に応じて色を調整 */
}

footer .footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* 文字の少し下に */
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

footer .footer-nav a:hover::after {
  transform: scaleX(1);
}


.go-to-top{
  position: fixed;
  bottom: 50px;
  right: 10px;
  width: clamp(80px, 10vw, 140px);
  height: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);           /* ほんの少し下げておく */
  transition: opacity .3s ease, transform .3s ease;
}

/* 表示状態のみ：クリック可能・ふわゆれ開始 */
.go-to-top.is-show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: floatUpDown 2.5s ease-in-out infinite;
}

/* 画像は傾きをスムーズに */
.go-to-top img{
  width: 100%;
  height: auto;
  transition: transform .4s ease;
}

/* hover: 揺れ停止＋左に傾ける */
.go-to-top.is-show:hover{ animation-play-state: paused; }
.go-to-top.is-show:hover img{ transform: rotate(-38deg); }

/* 上下のゆれ */
@keyframes floatUpDown{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

/* 動きが苦手な環境の配慮 */
@media (prefers-reduced-motion: reduce){
  .go-to-top.is-show{ animation: none; }
}



/*SP,PC表示切り替え*/
.sp-only{
  display: none !important;
}
.pc-only{
  display: block !important;
}

/*メディアクエリ*/
/*1100px以下 → カラムを縦に*/ 
@media (max-width: 1100px) {
  .top-journal-link.wp-block-columns { flex-direction: column !important; }
} /* ← これを必ず追加 */

.kaiketu-img img{
  max-width: 30vw;
  width: 100%;
}

@media (max-width: 981px) {
  header .home-link--injected{
  display: none !important;
}

}

/* 980px以下 → ハンバーガーに切り替え（WPナビブロック用） */
@media (max-width: 980px) {

  /* 通常ナビを隠す */
  .wp-block-navigation__container {
    display: none !important;
  }

  /* ハンバーガー（開く）ボタンを表示 */
  .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    align-items: center;
  }

  /* 開いた状態ではメニューを表示（縦並び） */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column;
    gap: var(--wp--style--block-gap, 16px);
  }

  .wp-block-navigation .wp-block-navigation-item.obi a{
    padding: 0 2em !important;
  }

  header .home-link--injected{
    display: block !important;


}

/* 940px以下 → ハンバーガー切り替え */
@media (max-width: 940px) {
  .sp-only{
    display: block !important;
  }
  .half-box{
    width: 100%;
    min-width: 100%;
  }


  .about-profile-img {
    position: relative;
    top: 0;
}

  .tokutyou.pc-only,
  .pc-only{
    display: none !important;
  }
  .inner-block {
    max-width: 100%;
    padding: 40px 20px;
    overflow-x: hidden;
}


:where(.wp-block-group.has-background) {
  padding: 10px;
}

.wave-content .lower-title {
  padding: 0 20px;
}

header .header-nav {
  padding-left: 12px;
  padding-right: 12px;
}

.wp-block-columns {
  flex-direction: column !important;
}

.left-title-block + div{
  margin-top: 50px;
}

.move-grada-btn.sp-only{
  margin-top: 50px;
}

.about-lists{
  flex-wrap: nowrap !important;
}

  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: auto !important;}
  .menu-toggle { display: block; }
  .site-navigation { display: none; }

#area-faq .underline-block.wp-block-columns {
  flex-direction: row !important;}


#area-journal .left-title-block + div {
  margin-top: 0px;
}

.kaiketu-block .inner-block{
  overflow: visible;}


.page-sss .speech-bubble {
    width: 90%;
    max-width: 900px;
}

.page-sss .service-mv-area {
  position: relative;
}
.page-sss .service-mv-area .service-mv-copy{
  position: absolute;
  top: 0;
  right: 0;
}


.price-text .small {
  font-size: 1em;   /* 小さめ */
  font-weight: 700;   /* 太字を維持 */
}

.price-text .big {
  font-size: 2.8em;   /* 大きめ */
  font-weight: 700;   /* 強調 */
}


.service-mv-area .service-mv-copy .service-copy{
  margin-left: auto;
  margin-right: 20px;
  margin-top: 20px;
}

.banner-split::after{
display: none;
}

}



@media (max-width: 781px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
      flex-basis: auto !important;
  }
  .sp-left-text{
    text-align: left !important;
    padding: 0 1em;
  }

  .kaiketu-block .inner-block{
    padding-bottom: 30%;
    background-size: auto 70%;
  }

}

@media (max-width: 740px) {
  .kaiketu-block .inner-block{
    padding-bottom: 48%;
    padding-top: 15px;
    background-size: auto 65%;
  }

  .inner-block.big-price {
    padding-top: 30px;;
  }
  .page-home .wave-canvas-wrap {
    height: 400px !important;
  }
  .page-home .marquee__inner {
    margin-top: 60px !important;
  }
   .page-sss .wave-canvas-wrap {
    height: 280px !important;
  }
 
}


/* 500px以下 → モバイル専用の微調整 */
@media (max-width:500px) {
  .inner-block {
    max-width: 100%;
    padding: 35px 12px;
}

.go-to-top{
  display: none !important;
}

.br500{
  display: block;
}

body .layauto-block.is-layout-flex {
  display: block !important;
}

/*page見出し*/
.wave-content .lower-title .en-title {
  font-size: clamp(40px, 4.5vw, 60px);
}

.page-sss .wave-content .lower-catchcopy{
  transform: translateY(40%);
}

.wave-content .lower-title {
  padding: 0 15px;
}



  /*.wp-site-blocks {
    padding-left: 12px;
    padding-right: 12px;
  }*/
  [style*="margin-top"] {
    margin-top: calc(var(--wp--style--block-gap, 24px) / 2) !important;
  }
  [style*="margin-bottom"] {
    margin-bottom: calc(var(--wp--style--block-gap, 24px) / 2) !important;
  }

  #area-faq .wp-block-columns.underline-block > .wp-block-column:first-child {
    flex: 0 0 auto; /* 固定幅で中身にフィット */
    width: auto !important;
    flex-basis: auto !important;
    text-align: left !important;
    margin-right: 0.5em;
    margin-left: 0.5em;
    margin-top: 4px;
  }

  #area-faq .wp-block-columns.underline-block > .wp-block-column:first-child p{
    margin-top: 0px !important;
  }
  #area-faq .wp-block-columns.are-vertically-aligned-center {
    align-items: flex-start !important; /* 全体の高さ合わせをやめる */
  }
  
  #area-faq .wp-block-column.is-vertically-aligned-center {
    align-self: flex-start !important; /* 各カラムの自己位置合わせをリセット */
  }
  
  /* Q とテキストが横並びのまま収まるように調整 */
  #area-faq .underline-block.wp-block-columns {
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
  }
  
  #area-faq .underline-block.wp-block-columns > .wp-block-column {
    min-width: 0; /* 右カラムが押し出されないように */
  }

  .kaiketu-message {
    font-size: clamp(30px, 4vw, 40px);
    white-space: wrap;
}

.price-text .small {
  font-size: 0.7em;   /* 小さめ */
  font-weight: 700;   /* 太字を維持 */
}

.price-text .big {
  font-size: 2em;   /* 大きめ */
  font-weight: 700;   /* 強調 */
}

.service-point {
  margin-top: -25px !important;
}

}

@media (max-width:450px) {
.br450{
  display: block;
}
.page-sss .wave-canvas-wrap {
  height: 300px;
}
.page-sss .wave-content .lower-catchcopy {
  transform: translateY(20%);
}
}

@media (max-width:380px) {
  .kaiketu-block .inner-block{
    background-size: auto 60%;
  }
  }