@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
*/

html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  font-family: "Poppins", "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

/* memo memo memo.....ここから実装後追記 */
/*  フッター上の余白削除*/
.l-content {
margin-bottom: 0 !important;
}

/* 投稿ページのカテゴリーラベル削除 */
.p-articleMetas.-bottom, .p-articleMetas__termList {
  display:none;
}

/* ナビゲーション */
.l-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.l-header__inner {
  box-sizing: border-box;
}

.l-header__gnav {
  padding-right: 25px;
}

/* resiponsiveでは0にする */
.l-header__logo, .l-fixHeader__logo {
  margin-left: 50px;
}

.mail, .telephone {
  white-space : nowrap;
}

.mail {
  display: flex;
  align-items: center;
  margin-left: 0;
}

.mail:hover {
  filter: brightness(1.3);
}

.mail-telephone-column {
  margin-right: 50px;
  box-sizing: border-box;
}

.p-breadcrumb {
  padding-left: 16px;
}

/* cta swell button ※レスポンシブも対応済 */
.cta-tel-btn, .cta-mail-btn {
  white-space: nowrap;
}

.cta-mail-btn a {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-tel-btn a {
  width: 100%;
}

/* トップページ内リンクのヘッダー分調整 */
#service, #price, #flow, #profile {
  scroll-margin-top: 100px; /* ヘッダーの高さ分 */
}

/* ここからSWELLメインビジュアル */
.p-mainVisual {
  position: relative;
}

.p-mainVisual__inner {
  height: 600px;
  position: relative;
}

.left-deco {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
  pointer-events: none;
}

.left-deco img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: auto;
  transform: scaleX(var(--left-scale-x));
  transform-origin: left top;
  will-change: transform;
}

.left-content {
  box-sizing: border-box;
  position: absolute;
  left: clamp(80px, 15vw, 360px); /* ← 文字を左寄せ */
  top: 50%;
  transform: translateY(-50%);
  max-width: 450px;
  color: #333;
  z-index: 20;
  padding-bottom: 16px;
}

.left-content h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  color: #0a1a3f; /* 濃い青（紺） */
  font-weight: 700;
}

.left-content p {
  box-sizing: border-box;
  background-color: #0d3b60;
  color: white;
  margin: 18px 0;
  padding: 5px 10px;
  font-size: clamp(12px, 2vw, 18px);
  line-height: 1.6;
}

.bottom-content {
  box-sizing: border-box;
  color: #333;
  z-index: 2;
  display: flex;
  gap: 1rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  line-height: clamp(18px, 3vw, 32px);
  width: clamp(120px, 14vw, 200px);
  /* height: clamp(30px, 5vw, 60px); */
  padding: 12px 22px;
  border-radius: 999px;
  background: #ff7a00; /* オレンジ */
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* ここまでSWELLメインビジュアル */
/* memo memo memo.....ここまで実装後追記 */

/* 共通デザイン */
/* memo memo memo.....実装後pにmarginを追記 */
p {
  line-height: 1.8rem;
  color: #1a1a1a;
  margin-top: 16px;
  margin-bottom: 16px;
}

.section {
  display: flex;
  justify-content: center;
  padding-bottom: 5rem;
  padding-top: 3rem;
}

.inner {
  width: 70%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
}

.title-jp {
  color: #0d3b60;
  font-size: 2.8rem;
  /* first-letter効かせるためinline化 */
  display: inline-block; 
}

.title-jp::first-letter {
  color: #3FA8FD;
}

.title-en {
  color: #0d3b60;
  font-size: 1.2rem;
  display: inline-block; 
  padding-left: .1rem;
  margin-bottom: 3rem;
}

.title-en::first-letter {
  color: #3FA8FD;
}

/* top visual */
.top-visual {
  position: relative;
}

.top-visual-filter {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: 0;
}

.top-visual-wrap {
  width: 100%;
  height: 100vh;
  position: relative;

}
.top-visual img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.top-catch-wrap {
  position: absolute;
  top: 250px;
  left: 10%;
  display: flex;
  flex-direction: column;
  z-index: 10;
  /* width: 50%; */
}

.top-h2-textbox {
  color: #0d3b60;
  font-size: 2.8rem;
}

.top-h2-textbox h2 {
  margin: 0;
}

.top-sub-textbox {
  background-color:#EE6603;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 20px;
}

.top-sub-textbox p {
  font-size: 1.2rem;
  width: 580px;
  margin: 10px;
  color: white;
}

/* greetings section */
.greetings-wrap {
  display: flex;
  width: 100%;
}


.greetings-img, .greetings-text {
  width: 50%;
}

.greetings-img img {
  width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.greetings-text {
  padding-left: 2rem;
  align-items: center;
}

.greetings-section h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0d3b60;
  font-family: "Klee One", "Zen Old Mincho", "Noto Sans JP", sans-serif;
  margin-top: 0;
}


/* service section */
h3 {
  font-size: 1rem;
}

.service-section {
  background-color: #F9F9F9;
}

.service-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 16px;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: white;
  width: 20%;
  min-width: 190px;
  height: 220px;
  padding-top: 3rem;
  position: relative;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.service-content::after {
  content: "";
  background-color: #0d3b60;
  height: 10px;
  width: 20%;
  min-width: 190px;
  position: absolute;
  bottom: 0;
}

.service-icon {
  height: 100px;
}

.service-icon img {
  height: 100px;
}

/* flow section */
.flowchart-wrap {
  width: 70%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  gap: 20px;
}

.flowchart-textbox {
  display: flex;
    position: relative;
}

.flowchart-description {
  width: 100%;
  background-color: #F9F9F9;
  margin: 0;
  padding-left: 1rem;
}

.flowchart-description span {
  font-weight: bold;
}

.flowchart-number {
  /* width: 10%; */
  min-width: 50px;
  background-color: #0d3b60;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flowchart-number p {
  color: white;
  font-size: 1.2rem;
}

.flowchart-number::after {
  content: "";
  position: absolute;
  bottom: -20px; /* 親要素の下に出したい位置に調整 */
  left: 0;     /* 横中央に配置 */
  /* transform: translateX(-25%); 中央寄せ補正 */
  width: 0;
  height: 0;
  border-left: 25px solid transparent;  /* 左辺透明 */
  border-right: 25px solid transparent; /* 右辺透明 */
  border-top: 20px solid #0d3b60;       /* 上辺を塗ると下向き三角になる */
  z-index: 0;
}

.flowchart-textbox:last-child .flowchart-number::after {
  content: none;
}

/* price section */
.price-section {
  background-color: #F9F9F9;
}

.pricelist-wrapper {
  width: 520px;
  margin: 0 auto;
}

.pricelist-textbox {
  width: 520px;
  display: flex;
  position: relative;
  z-index: 0;
}

.pricelist-textbox::after {
  content: "";
  height: 60px;
  width: 320px;
  background-color: #bbbec1;
  opacity: 0.2;
  position: absolute;
  top: 0px;
  left: -5px;
  bottom: 0;
  z-index: -10;
}

.pricelist-price {
  width: 200px;
  text-align: right;
  padding-right: 20px;
}

.pricelist-service {
  width: 300px;
  padding-left: 20px;  
  position: relative;
  color: #0d3b60;
  font-weight: 500;
}

.pricelist-service::before {
  content: "";
  background-color: #bbbec1;
  height: 1px;
  width: 540px;
  position: absolute;
  top: 44px;
  left: -5px;
}

.pricelist-textbox:first-child .pricelist-service::after {
  content: "";
  position: absolute;
  top: -1rem;
  left: -5px;
  width: 540px;
  height: 1px;
  background-color: #bbbec1;
}

.price-more {
  margin: 0 auto;
  width: 540px;
}

.price-more p {
  text-align: right;
}

/* profile section */
.profile-section {
  position: relative;
  overflow: hidden;
}

.profile-wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.profile-textbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-photo {
  width: 40%;
}

.profile-photo img {
  width: 100%;
  object-fit: contain;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.profile-description {
  display: flex;
  gap: 40px;
  position: relative;
  margin-bottom: 1rem;
}

.profile-category {
  display: flex;
  align-items: flex-start;
}

.profile-category p {
  color: #0d3b60;
  font-weight: bold;
  white-space: nowrap;
  margin-top: 0;
}

.profile-category p::after {
  content: "";
  background-color: #3FA8FD;
  height: 12px;
  width: 2px;
  position: absolute;
  top: 9px;
  left: 45px;
}

.profile-detail ul {
  margin: 0;
  padding: 0;
}

.profile-detail li {
  list-style: none;
}

.profile-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-right: 200px solid #0d3b60; /* 紺色の三角 */
  border-bottom: 200px solid transparent;
  z-index: 0;
}

.profile-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 200px solid #0d3b60; /* 紺色の三角 */
  border-top: 200px solid transparent;
  z-index: 0;
}

.profile-section h2 {
  position: relative;
  z-index: 1; /* テキストを三角より上に表示 */
  color: #0d3b60;
}

/* news section */
.news-wrapper {
  width: 750px;
  margin: 0 auto;
}

.news-headline:hover {
  color: #3FA8FD;
}

/* cta section */
.cta-section {
  /* background-color: rgba(63, 168, 253, 0.2); */
  background-image: url(images/polygonbackground_blue.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.cta-inner {
  width: 70%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-wrap {
  width: 100%;
}

.cta-h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 22px;
}

.cta-title-jp {
  color: #0d3b60;
  font-size: 2.8rem;
}

.cta-title-en {
  color: #0d3b60;
  font-size: 1.2rem;
  padding-left: .1rem;
  margin-bottom: 3rem;
  position: relative;
}

.cta-title-en::after {
  content: "";
  background-color: white;
  height: 1.5px;
  width: 50px;
  position: absolute;
  top: 12px;
  right: -70px;
}

.cta-title-en::before {
  content: "";
  background-color: white;
  height: 1.5px;
  width: 50px;
  position: absolute;
  top: 12px;
  left: -70px;
}

.cta-textbox {
  width: 100%;
  display: flex;
  height: 200px;
  gap: 5px;
}

.cta-mail {
  background-color: white;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-mail-inner, .cta-tel-inner {
  width: 75%;
}

.cta-tel {
  background-color: white;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-tel p {
  margin: 0;
  font-size: 0.8rem;
}


/* responsive */
/* タブレット向け */
@media screen and (max-width: 1024px) {

  /* memo memo memo.....ここから実装後追記 */
  /* top visual */
  .p-mainVisual__inner {
  height: 700px;
}
  .left-content {
  top: auto; /* ← 上方向の位置指定を解除 */
  bottom: 5%;  /* ← 下に固定 */
  transform: none; 
  left: clamp(70px, 5vw, 150px); /* ← 文字を左寄せ */
}

.left-content h1 { 
  text-shadow: 
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    1px -1px 0 #fff,
    -1px -1px 0 #fff;
}      

.left-deco { 
  display: none; 
}

.l-header__logo, .l-fixHeader__logo {
  margin-left: 0px;
}

/* お知らせ固定ページの余白調整 */
.news-page {
  margin: 0px 50px;
}

   /* memo memo memo.....ここまで実装後追記 */

  .section {
  display: flex;
  justify-content: center;
  padding-bottom: 3rem;
  padding-top: 2rem;
  width: 100%;
  max-width: 1024px;
}

/* flow section */
.flowchart-number::after {
  bottom: -19px; /* 親要素の下に出したい位置に調整 */
}

.flowchart-description {
  padding-right: 16px;
}

/* news section */
.news-wrapper {
  width: 100%;
}

.news-textbox {
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}

.news-date {
  width: 150px;
  position: relative;
  opacity: 0.7;
  color: #0d3b60;
}

.news-date::before, .news-textbox:first-child .news-date::after {
  display: none;
}

.news-inner {
  position: relative;
}
.news-wrapper:last-child .news-textbox::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #bbbec1;
}

.news-textbox:first-child::before {
  content: "";
  position: absolute;
  top: 170px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #bbbec1;
}

.news-headline {
  width: 100%;
}

/* SWELL button */
.cta-mail-btn a {
  height: 60px;
}

}

/* スマホ向け */
@media screen and (max-width: 767px) {
  /* memo memo memo.....ここから実装後追記 */

.left-deco { 
  display: none; }

.left-content {
  left: clamp(0px, 0vw, 0px); 
  top: auto; /* ← 上方向の位置指定を解除 */
  bottom: 0;  /* ← 下に固定 */
  transform: none; 
  max-width: 100%;
}

.left-content h1 { 
  margin: 16px 0;
  width: 100vw;
  margin: 10px;
  text-shadow: 
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    1px -1px 0 #fff,
    -1px -1px 0 #fff;
}

.left-content p { 
  margin: 5px;
}

.bottom-content {
  gap: 0.5rem;
  padding: 0 5px;
}

.l-header__logo, .l-fixHeader__logo {
  margin-left: 0px;
}

/* greetings */
.greetings-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.news-page {
  margin: 0px 50px;
}
  /* memo memo memo.....ここまで実装後追記 */
  /* 共通デザイン */
  
.section {
  display: flex;
  justify-content: center;
  padding-bottom: 3rem;
  padding-top: 2rem;
  width: 100%;
  max-width: 767px;
}

.inner {
  width: 70%;
  display: flex;
  flex-direction: column;
}

h2 {
  font-size: 1rem;
}

.title-jp {
  font-size: 2.2rem;
}

/* greetings section  */

.greetings-wrap {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.greetings-img, .greetings-text {
  width: 100%;
}

.greetings-text {
  display: flex;
  align-items: center;
  padding: 0;
}


/* service section */
.service-text h3 {
  font-size: 1rem;
  text-align: center;
  margin-top: 0;
}

.service-text {
  width: 100%;
  padding: 0 5px 15px 5px;
}

.service-content::after {
  min-width: 100%;
}

.service-icon {
  width: 100px;
  margin-top: 16px;
}

.service-icon img {
  width: 100px;
  object-fit: contain;
} 

.service-wrapper {
  justify-content: space-between;
  position: relative;
  counter-reset: service; /* カウンターを初期化 */
}

.service-content {
  height: auto;
  min-width: 45%;
  position: relative;
  padding-top: 10px;
  counter-increment: service; /* 各要素ごとに+1 */
}

/* service-content左上にナンバーを表示 */
.service-content::before {
  content: counter(service, decimal-leading-zero); /* 01, 02... と表示 */
  position: absolute;
  top: 5px;
  left: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #0d3b60; /* ナンバーの色 */
  opacity: 0.8;
  z-index: 10;
}


/* flow section */
.flowchart-wrap {
  width: 100%;
  gap: 20px;
}

.flowchart-description {
  padding-right: 1rem;
}

.flowchart-number::after {
  bottom: -19px; /* 親要素の下に出したい位置に調整 */
}

.flowchart-textbox:last-child .flowchart-number::after {
  content: none;
}

/* price section */
.pricelist-wrapper {
  width: 100%;
}

.pricelist-textbox {
  box-sizing: border-box;
  width: 100%;
}

.pricelist-textbox::after {
  content: "";
  width: 60%; /* grey background */
}

.pricelist-service {
  width: 60%;
  box-sizing: border-box;
  padding-left: 5px;
}

.pricelist-service::before, .pricelist-textbox:first-child .pricelist-service::after {
  display: none;
}

/* ここからprice textbox underline */
.pricelist-price {
  width: 40%;
  box-sizing: border-box;
}
.pricelist-price::before {
  content: "";
  background-color: #bbbec1;
  height: 1px;
  width: 100%;
  position: absolute;
  top: 60px;
  left: -5px;
}

.pricelist-textbox:first-child .pricelist-price::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;;
  width: 100%;
  height: 1px;
  background-color: #bbbec1;
}

/* ここまでprice textbox  */

.price-more {
  width: 100%;
}

/* profile section */
.profile-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-photo {
  width: 100%;
}

.profile-description {
  gap: 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile-description p {
  margin-bottom: 0;
}

.profile-section::before {
  border-right: 150px solid #0d3b60; /* 紺色の三角 */
  border-bottom: 100px solid transparent;
}

.profile-section::after {
  border-left: 150px solid #0d3b60; /* 紺色の三角 */
  border-top: 100px solid transparent;
}

/* news section */
.news-wrapper {
  width: 100%;
}


/* cta section */
.cta-h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 22px;
}

.cta-title-jp {
  color: #0d3b60;
  font-size: 2.3rem;
}

.cta-textbox {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 200px;
  gap: 10px;
}

.cta-mail {
  background-color: white;
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-tel {
  background-color: white;
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-tel p {
  margin: 0;
  font-size: 0.8rem;
}

/* SWELL button */
.cta-mail-btn a {
  height: 50px;
}

.cta-tel-btn a {
  height: 40px;
}
}





/* お問い合わせフォーム */
/*ContactForm7カスタマイズ*/
  .wpcf7-text, .wpcf7-textarea {
    width: 100%;
  }
table.CF7_table{
	width:80%;
	margin :0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9rem;
	padding: 5px;
	background: #0d3b60;
	color: #fff;
	border-radius: 3px;
	margin-left:1rem;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){


	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#0d3b60;
	border:0;
	color:#fff;
	font-size:1.2em;
	margin:0 auto;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
  margin-bottom: 60px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

/* contactformここまで */
