/*
Theme Name:     wordpress-child
Description:    
Author:         wordpress
Template:       wordpress

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


/* ------------------------- 
 *	全体
 *---------------------------- */

html {
	overflow:auto;
	overflow-x: hidden;
}


/* ------------------------------------
 *   全ページのヘッダー下に境界＋白い影を表示
 *------------------------------------ */
header#header {
  border-bottom: 2px solid #e6e6e6; /* ↓ 区切り線（薄いグレー） */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); /* ↓ 柔らかい白影 */
  margin-bottom: 30px; /* ↓ 本文との間隔 */
  background: #fff; /* ← 念のためヘッダー背景を白固定に */
  position: relative;
  z-index: 10; /* ← メインスライダーなどより上に出す */
}

	.head_pc {
		margin-top:-28px;
	}



/* -------------------------------------------------------
 * ロゴを左端
 * ------------------------------------------------------- */
.header-inner {
  display: flex;                     /* 横並び配置 */
  align-items: center;               /* 垂直方向センター揃え */
  justify-content: flex-start;       /* 左寄せ（ロゴを左端） */
  position: relative;                /* メニュー中央寄せ用に基準を作る */
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 20px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.logo img {
  height: 52px;        /* 表示したい高さに変更（例） */
  width: auto !important;
  max-width: none !important; /* 小さい画像に縮められるのを防ぐ */
  image-rendering: -webkit-optimize-contrast; /* ぼけ防止 */
  image-rendering: crisp-edges;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 20px 15px;
  }

  .logo img {
    height: 40px; /* スマホ用に縮小 */
    max-width: 100%;
  }

  .logo {
    flex-shrink: 1; /* ← はみ出し防止に必須 */
    min-width: 0;   /* ← flex 要素の収まり改善 */
  }
}



/* -------------------------------------------------------
 * メニューを中央寄せ・高さを揃える
 * ------------------------------------------------------- */

/* メニューを中央に配置 */
#nav {
  position: relative;  /** ← absoluteをrelativeに変更 **/
  left: 60%;
  transform: translateX(-50%);
  background: transparent !important;
  border: none !important;
  padding: 0;
  z-index: 10;
}



/* ナビメニュー内の整列 */
header .nav-inner {
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.nav-menu li a {
    position: relative;               /* 擬似要素用 */
    color: #111;
    text-decoration: none;
    padding: 2px 0;      /* 上下の余白を減らす */
    display: block;
    line-height: 1.4;                 /* 高さを固定 */
    border-bottom: 2px solid transparent; /* 普段は透明な線で高さを確保 */
    transition: color 0.3s, border-color 0.3s;
}

.nav-menu li a:hover,
.nav-menu .current-menu-item a {
    color: #2a4b8d;
    border-bottom-color: #2a4b8d;     /* 高さは変えずに色だけ変える */
}

/* スマホ用: ヘッダー内限定 */
@media (max-width: 960px) {
    header .header-inner {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    header #nav {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
}


/* -------------------------
 * #nav（スクロール追従）用スタイル
 * ------------------------- */

/* 通常時（固定されていない） */
#nav {
  position: relative;
  width: 100%;
  z-index: 10;
  background-color: transparent;
  transition: all 0.3s ease;
}

/* スクロールして固定された状態 */
#nav.fixed {
  position: fixed;
  top: 0;
  left: 50%;                 /* 画面中央基準に配置 */
  transform: translateX(-50%); /* 完全に中央に寄せる */
  width: 1080px;             /* .header-inner と同じ幅に固定 */
  max-width: 100%;           /* スマホでは100%幅に戻す */
  z-index: 99999 !important; 
  background: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* スマホ時（全幅固定） */
@media (max-width: 960px) {
  #nav.fixed {
    left: 0;
    transform: none;
    width: 100%;
  }
}



/* ------------------------- 
*	メイン
---------------------------- */

body {
	margin:0;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	font-size: 1.2em;
	background: #fff;
	line-height: 190%;
	word-wrap:break-word;
	overflow-wrap:break-word;
	overflow-x: hidden;
}

body:not(.home) .wrapper {
	margin: auto; 
	max-width: 1000px;
	padding: 0 5px 60px 5px;
}



/*---------------------------------
  2カラムに
---------------------------------*/

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 10px 0;
}

.two-column .col {
  flex: 1 1 calc(50% - 40px);
  min-width: 280px;
}

/* スマホでは1列 */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
  }
  .two-column .col {
    flex: 1 1 100%;
	margin:top:-0px !important;
  }
}





/*---------------------------------
薬局経営の悩みセクション
---------------------------------*/

.problem-list {
  list-style: none;
  padding: 0;

  max-width: 1000px;
}

.problem-list li {
  background: #fff;
  border-left: 6px solid #033B86;
  padding: 15px 20px;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  line-height: 1.7;
  text-align:left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.problem-list strong {
  color: #033B86;
  margin-right: 6px;
}


/* -----------------------------
　　　会社概要タイトル
----------------------------- */

.company-header {
  text-align: center;
  margin: 60px 0;
}

/* キャッチコピー（大きな文字） */
.company-header .main-title {
  font-size: 2.2rem;        /* 大きめ */
  font-weight: 700;
  color: #033B86;
  margin-bottom: 10px;      /* 下の文字との間隔 */
  letter-spacing: 0.02em;
}

/* サブタイトル（小さく控えめ） */
.company-header .sub-title {
  font-size: 1.2rem;        /* メインより小さく */
  color: #666;
  margin: 0;
  letter-spacing: 0.05em;
}








/* パンくず
---------------------------- */

.pankuzu_arrow{
    display:inline-block;
    width: 0;
    height: 0;
    color: #0073e6;
    border-style: solid;
    border-width: 6px 0 6px 10.4px;
    border-color: transparent transparent transparent #69A4DB;
}

.breadcrumbs > span{
    margin-right:12px;
}

.breadcrumbs-inner {
	width: 1000px; /* テキストの最大幅 1カラム940px 2カラム1040px */
	margin: auto;
	padding:5px;
}



/* パンくずリスト内のリンクのスタイル */
.breadcrumbs a {
    text-decoration: none;
    color: #0073e6;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs a {
    text-decoration: none;
    color: #0073e6;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* トップページだけ非表示 */
.home .breadcrumbs-inner {
  display: none !important; /** パンくずエリアを完全に隠す **/
}



/* -------------------------
*	ページタイトル
---------------------------- */

.pagetitle {
	display:none;
}


/* Pタグ ul li ol li
---------------------------- */

p, ul li, ol li{
	margin:0;
	padding: 15px 0;
	font-size:1em;
	line-height: 2;
	color: #111;
}

/* Pリンク
---------------------------- */

p a{
	color:#111 !important;
	text-decoration: underline;
	transition: 0.5s;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
}

p a:visited {
	color:#111 !important;
	text-decoration: underline;
}

p a:hover{
	color:#111 !important;
	text-decoration: underline;
}

p a:active {
	color:#111 !important;
	text-decoration: underline;
} 

p a:active, a:focus {
	outline: 0;
	text-decoration: underline;
}



/* -------------------------
*	sticky(HOMEのみ)
---------------------------- */

.sticky {
	width: 100%;
	margin:0;
	padding:0;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.w_title{
	margin:0 auto;
	padding: 5px 10px 20px;
	max-width: 1180px;
	overflow: hidden;
}

.w_title_sp{
	margin:0 auto;
	padding: 0 10px;
	max-width: 1180px;
	overflow: hidden;
}

.sticky-one {
	background: #fff;
	margin-top:0;
}

.sticky-two {
	background: #ffeaca;
}

.sticky-three {
	background: #deecfe;
	margin-top:50px;
}

.sticky-four {
	background: #111;
}

.sticky-five {
	background: #fff;
}

.pc_w1600, .pc_w1180, .pc_w960{
	margin:30px auto;
	padding: 10px 10px 10px;
	max-width: 1600px;
	overflow: hidden;
}

.pc_w1180{
	max-width: 1180px;
}

.pc_w960{
	max-width: 960px;
}








/* 全幅背景 */
.sticky-title {
    margin: 0;
    padding: 40px 0 40px;
    width: 100%;
    display: flex;
    align-items: center;
    background-image: url("https://mihon1.gyosei-syoshi.com/images/offer02.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 中身を左右2カラムに */
.eyecatch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    color: #fff;
}

/* 左カラム */
.eyecatch-left {
    width: 50%;
}

.eyecatch-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.eyecatch-left p {
    line-height: 1.7;
    font-size: 1em;
}

/* 右カラム */
.eyecatch-right {
    width: 40%;
    text-align: center;
	background: #033B86;
    padding: 25px 20px;
    border-radius: 10px;
}

.cta-label {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 25px;
    font-size: 1.2em;
    font-weight: bold;
    background: #ff9800;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 2px 2px 7px rgba(0,0,0,0.4);
}

.cta-btn:hover {
    opacity: 0.9;
}

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

    #eyecatch-sp {
        position: relative;
        width: 100%;
        padding: 40px 20px 5px;    /* 上下に余裕を大きめに */
        box-sizing: border-box;
        color: #000;           /* 文字色は黒など見やすい色に変更 */

        display: flex;
        flex-direction: column;
        gap: 30px;             /* 子要素間の余白 */
        justify-content: flex-start; /* 上寄せで押しつぶされにくく */

        background: none;      /* 背景なし */
    }

    /* 子要素を前面に */
    #eyecatch-sp > * {
        position: relative;
        z-index: 1;
    }

    /* タイトルと本文中央揃え + 上下余白 */
    #eyecatch-sp .eyecatch-title {
        text-align: center;
        margin: 20px 0 20px 0;   /* 上下余白 */
        font-size: 1.8em;     /* スマホで見やすいサイズ */
    }

    #eyecatch-sp p {
        text-align: left;
        margin: 0 0 20px 0; /* 下に余白 */
    }

    /* ボタン */
    #eyecatch-sp .cta-btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }

    /* ラベル */
    #eyecatch-sp .cta-label {
		color:#fff;
        text-align: center;
        margin-bottom: 10px;
    }

    /* eyecatch-right も縦並び */
    #eyecatch-sp .eyecatch-right {
        width: 100%;
    }
}













/* スライダー　slider
---------------------------- */

.content {
  width: 320px;
  height: 300px;
}
.content:nth-child(1) {
  background: #fff;
}
.content:nth-child(2) {
  background: #fff;
}
.content:nth-child(3) {
  background: #fff;
}
.content:nth-child(4) {
  background: #fff;
}
/* スライドレールの枠 */
.wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 340px;
  margin-bottom: 10px;
}
/* content4つをまとめたスライドブロック */
.slideshow {
  display: flex;
  -webkit-animation: loop-slide 60s infinite linear 1s both;
  animation: loop-slide 60s infinite linear 1s both;
}
@-webkit-keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


/* 画像横並び
---------------------------- */

[class^="img-flex-"] {
	margin-bottom: 20px;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}






/* -----------------------------
	h 見出し タイトル
----------------------------- */

h1.standard01{
	clear:both;
    position: relative;
    margin: 60px 0 20px;
    padding: 0.5em 0.5em 0.5em 2.0em;
	color:#111;
	font-size:1.25em;
    font-weight: bold;
    border-bottom: 2px solid #111;
}

h2 {
	clear:both;
    margin: 30px 0 0;
	padding: 0;
	color:#111;
	font-size:1.25em;
	font-weight:bold;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
}


.stylish-title {
    font-size: 2em;
    font-weight: 700;
    color: #033B86;                /* 濃い青で信頼感 */
    text-align: center;
    line-height: 1.4;
    position: relative;
    margin: 40px 0;

    /* 下線（装飾） */
}
.stylish-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff9800;           /* アクセントカラー */
    margin: 12px auto 0;
    border-radius: 2px;
}


h2.fade{
	font-size:120%;
    font-weight: normal !important;
	letter-spacing:.1em;
	line-height:1.5em;
}

h2.standard01 {
  position: relative;
  margin: 50px 0 30px;
  padding: 20px 20px 20px 50px;
  font-size: 1.3em;
  font-weight: 700;
  color: #333;
  background: rgba(255, 255, 255, 0.95); /* 軽やかな白 */
  border-left: 6px solid #7fa58c; /* 左ラインで強調 */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

h2.standard01::before {
  content: "\f105";                  /* Font Awesome の Unicode */
  font-family: "Font Awesome 5 Free";/* フォント指定が必須 */
  font-weight: 900;                  /* Solid アイコンの場合 */
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4em;
  color: #7fa58c;
}


h3 {
	clear:both;
 	margin: 30px 0;
	padding: 0;
	color:#111;
	font-size:1.25em;
	font-weight:bold;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
}

h3 a:link, a:visited, a:hover, a:active {
        text-decoration:none;
}

h3.standard01 {
	margin:40px 0 20px;
	padding: 0.25em 0.5em;
	background: transparent;
	border-left: solid 7px #033B86;
}






h3.standard02 {
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro",
                 "Yu Mincho", "YuMincho", 
                 "MS PMincho", serif;
    margin: 60px 0 60px;
    padding: 16px 0;
    font-size: 24px;
    font-weight: 600;
    color: #033B86 !important;
    letter-spacing: 0.12em;
    text-align: center;
    position: relative;
}

/* ▼ 下地：両端が細いライン  */
h3.standard02::before,
h3.standard02::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 70%;               /* 長いライン（細い部分） */
    height: 1px;              /* 細いライン */
    background: #033B86; 
    transform: translateX(-50%);
    opacity: 0.4;
}

/* 上位置 */
h3.standard02::before { top: 0; }
/* 下位置 */
h3.standard02::after  { bottom: 0; }

/* ▼ 中央（太いライン） */
h3.standard02::before,
h3.standard02::after {
    z-index: 1;
}

/* 太い中央ライン（before に重ねる） */
h3.standard02::before {
    box-shadow: 0 0 0 0; /* 初期化 */
}
h3.standard02::after {
    box-shadow: 0 0 0 0;
}

/* ▼ スマホ（?599px）ではライン幅を80%に */
@media screen and (max-width: 599px) {
  h3.standard02::before,
  h3.standard02::after {
      width: 100%;
  }
}








h3.standard03 {
	margin:40px 0 20px;
	padding: 0.25em 0.5em;
	background: transparent;
	border-left: double 20px #fff;
}

h3.standard04 {
    margin: 40px 0 20px;
    padding: 0.6em 1em;
    background: #7cb3fc;
    border-left: 6px solid #033B86;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
	color:#fff;
}

h3.standard05{
	position: relative;
	margin:30px 0;
	padding: 0.5em 0.5em;
	background: #fff;
	border-left: solid 2em #3A7442;
}

h3.standard05:before {
	font-family: "Font Awesome 5 Free";
	content: "\f303";
	position: absolute;
	padding: 0 0 40px;
	color: white;
	font-weight: 900;
	font-size:1.25em;
	left: -1.35em;
	top: 50%;
	-webkit-transform: translateY(-30%);
	transform: translateY(-20%);
}



h4 {
 	margin: 30px 0 0;
	padding: 0;
	border: 0;
	outline: 0;
	color:#f36;
	font-size:1.3em;
	font-weight:500;
	vertical-align: baseline;
	background: transparent;
}

h5 {
	margin: 30px 0 0;
	font-size:19px;
	line-height: 1.4em;
}


h6 {
	margin: 30px 0 0;
	font-size:18px;
	line-height: 1.4em;
}




/* -----------------------------
　　　table　テーブル
----------------------------- */

.content table, table {
	max-width: 100%;
	border:1px solid #ccc;
	margin: 5px 0 10px;
	text-align: left;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 2px;
	font-size: 80%;
	line-height: 141.7%;
	table-layout:fixed;
	empty-cells: show;
}

.content table th, table th {
	width: 30%;
	border:1px solid #ccc;
	vertical-align: middle;
	text-align:center;
}

.content table td, table td {
	padding: 20px 0px;
	border:1px solid #ccc;
	vertical-align: middle;
}

@media only screen and (max-width: 767px) {
	.content table th, table th {
		width:38%;
	}
}


/* -----------------------------
　table　枠線あり
----------------------------- */

table.entry-content{
	margin:30px 0 20px 0;
}

table.entry-content th, table.entry-content td {
	padding:0 10px;
	line-height:300%;
	border: 1px solid #a7d05f;
	vertical-align: middle;
	background:#fff;
}

table.entry-content th {
	background:#eee;
}

table.table.entry-content td {
	text-align:left;
}


/* -----------------------------
　table　スマホスクロール
----------------------------- */

.tbl-r07, .tbl-r08 {
	width:100%;
	margin: 0 0 50px;
	padding:10px 20px;
	font-size:1.2em;
	border-bottom: solid 1px #ccc;
}

.tbl-r07 th, .tbl-r08 th {
	padding:10px 20px;
	text-align:center !important;
	font-size:1em;
	border-bottom: solid 1px #ccc;
	background-color:#e0e0e0;
}

.tbl-r07 td, .tbl-r08 td {
	padding:10px 20px;
	text-align:right !important;
	font-size:0.9em;
	border-bottom: solid 1px #ccc;
}

@media only screen and (max-width: 768px) {
	.scroll {
		overflow-x: auto;
	}

	.tbl-r07, .tbl-r08 {
		min-width: 640px;
		margin: 0 10px 50px;
		padding:10px 20px;
		font-size:90%;
		border-bottom: solid 1px #ccc;
	}

	.tbl-r07 th, .tbl-r08 th {
		padding:10px 20px;
		text-align:center !important;
		font-size:90%;
		border-bottom: solid 1px #ccc;
	}

	.tbl-r07 td, .tbl-r08 td {
		padding:10px 20px;
		text-align:right !important;
		font-size:90%;
		border-bottom: solid 1px #ccc;
	}
}

/* -----------------------------
	チェック幅
----------------------------- */

.wpcf7-list-item-label{
	margin:0 20px 0 0;
	line-height:2em;
}

span.wpcf7-list-item {
	display: block!important;
}


/* -----------------------------
　　　フォーム
----------------------------- */

input[type="text"], 
input[type="password"],
input[type="email"],
input[type="url"],
input[type="phone"],
input[type="tel"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="color"],
input[type="time"],
input[type="search"],
input[type="datetime-local"] {
	font-size: 0.95em;
    border:1px solid #ccc;
	box-shadow: none;
	padding: 0.3em 0.35em;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}

input[type="number"]{
	text-align:center;
	font-size: 0.95em;
    border:1px solid #ccc;
	box-shadow: none;
	padding: 0.3em 0.35em;
	width:50px;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}


.wpcf7-checkbox input[type=checkbox] {
	margin-right:10px;
	width:			18px;
	height:			18px;
	-moz-transform:		scale(1.4);
	-webkit-transform:	scale(1.4);
	transform:		scale(1.4);
}

.wpcf7-textarea{
    border:1px solid #ccc !important;
	width:100%;
	font-size: 0.95em;
	box-shadow: none;
	padding: 0.3em 0.35em;
	line-height: 1.65em;
	border-radius: 0;
	outline: none;
	background: #ffc;
}

.wpcf7-select{
	padding:3px;
	border: 1px solid #ddd;
	font-size:0.9em !important;
	background: #ffc;
}


/* -----------------------------
　　　ラジオボタン radio
----------------------------- */

input[type="radio"] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  border-radius: 50%;
  vertical-align: -2px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #000;
  content: '';
}


/* -----------------------------
　　　textbox
----------------------------- */

/*送信ボタン*/
#main .wpcf7-form input[type=submit]{ 
   background-color: #033B86;   /* 背景色（オレンジ） */
    color: #fff;              /* 文字色（白） */
    border: none;             /* 枠線なし */
    border-radius: 5px;       /* 角を丸める */
    padding: 15px 30px;       /* 内側余白（上下15px・左右30px） */
    font-size: 1.1em;         /* 文字サイズを少し大きめに */
    cursor: pointer;          /* カーソルをポインタ（手の形）にする */
    transition: background-color 0.3s ease; /* ホバー時の色変化をなめらかに */
    margin-top: 1em;          /* 上に余白をとる */
}

.form-width{ 
    max-width: 90%;
}


/* -------------------------
*  複数フォーム対応・途中入力保存
---------------------------- */

/* 送信ボタン */
.wpcf7 input[type="submit"] {
    background-color: #f90;   /* 背景色（オレンジ） */
    color: #fff;              /* 文字色（白） */
    border: none;             /* 枠線なし */
    border-radius: 5px;       /* 角を丸める */
    padding: 15px 30px;       /* 内側余白（上下15px・左右30px） */
    font-size: 1.1em;         /* 文字サイズを少し大きめに */
    cursor: pointer;          /* カーソルをポインタ（手の形）にする */
    transition: background-color 0.3s ease; /* ホバー時の色変化をなめらかに */
    margin-top: 1em;          /* 上に余白をとる */
}
.wpcf7 input[type="submit"]:hover {
    background-color: #e07b00;  /* ホバー時に少し濃いオレンジに変化 */
}

/* スマホ対応（画面幅600px以下） */
@media screen and (max-width: 600px) {
    .wpcf7 input[type="submit"] {
		margin-right:-5px !important;
    }
    .wpcf7 input[type="submit"] {
        width: 100%;      /* 送信ボタンも幅100% */
    }
}



/* 一時保存ボタン */
.wpcf7 .cf7-save-draft-btn {
    background-color: #28a745;   /* 背景色（グリーン） */
    color: #fff;                 /* 文字色（白） */
    border: none;                /* 枠線なし */
    border-radius: 5px;          /* 角を丸める */
    padding: 15px 30px;          /* 内側余白（上下15px・左右30px） */
    font-size: 1.1em;            /* 文字サイズを送信ボタンと同じに */
    cursor: pointer;             /* カーソルをポインタにする */
    transition: background-color 0.3s ease; /* ホバー時の色変化をなめらかに */
    margin-top: 1em;             /* 上に余白をとる */
    margin-right: 10px;			 /* 送信ボタンとの間に横スペースを入れる */
    display: inline-block;       /* 横並びで配置できるようにする */
}
.wpcf7 .cf7-save-draft-btn:hover {
    background-color: #218838;   /* ホバー時に少し濃いグリーンに変化 */
}
    
/* スマホ対応（画面幅600px以下） */
@media screen and (max-width: 600px) {
    .cf7-save-draft-btn {
        display: block;   /* 横並び解除 */
        width: 100%;      /* 幅100% */
        margin-right: 0;  /* 右マージン解除 */
        margin-bottom: 10px; /* 下に余白 */
		margin-left:5px !important;
    }
    .wpcf7 input[type="submit"] {
        width: 100%;      /* 送信ボタンも幅100% */
    }
}
    


/* pagenavi
---------------------------- */

div.wp-pagenavi{
	margin:50px auto;
}


/* ブログタイトル
---------------------------- */

.blog-title {
	margin:30px 0 20px;
	padding: 0.5em;
	color: #fff;
	font-size:1.2em;
	text-align:left !important;
	background: #033b86;
}

.single-contents h2{
	position: relative;
	padding: 0.25em 0.5em;
	background: #f1f8ff;
	font-size:1.2em !important;
	font-weight: normal;
	border-left: solid 2em #a7d05f;
}
 
.single-contents h2:before{
	font-family: "Font Awesome 5 Free";
	content: "\f303";
	position: absolute;
	padding: 0;
	color: white;
	font-weight: 900;
	left: -1.6em;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.single-contents h3{
	margin:30px 0;
	padding: 0.25em 0.5em;
	font-size:1.2em;
	background: transparent;
	border-left: solid 5px #a7d05f;
}

.single-contents h4 {
	display: inline-block;
	margin:20px 0 50px !important;
	padding: 0.25em 0;
	font-size:1.15em !important;
	border-bottom: solid 2em #a7d05f;
}

.single-contents h5 {
	display: inline-block;
	margin:20px 0 50px !important;
	padding: 0.25em 0;
	font-size:1.10em !important;
}

.single-contents h6 {
	display: inline-block;
	margin:20px 0 50px !important;
	padding: 0.25em 0;
	font-size:1.05em !important;
}


/* HOME新着ブログ　h2
---------------------------- */

.pt-cv-title{
	font-size:18px;
}

.pt-cv-content{
	color:#111;
}


/* ブログ記事
---------------------------- */

.single-contents {
	margin: 0 0 70px;
}

.single-contents p {
	font-size: 1.2em; 
	color: #111;
	line-height: 190%;
	padding: 15px 0;
}

.single-contents p a {
	color:#111;
	text-decoration:none;
	transition: 0.5s;
	text-decoration: underline;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	-ms-transition: 0.5s;
}

.single-contents img{
	padding:30px 0;
}

.single-contents .gazou_haichi{
	text-align:center;
	font-size:70%;
}


/* ブログ最新記事
---------------------------- */

h2.su-post-title a {
	color:#111 !important;
}

h2.su-post-title a:visited {
	color:#111 !important;
}

h2.su-post-title a:hover {
	color:#00f !important;
}

h2.su-post-title a:active {
	color:#111 !important;
}

.su-post-comments-link{		/*コメントなしの文字を削除*/
	display:none;
}


/* 続きを読むボタン
---------------------------- */

.more-link {
	border: 1px #028cd4 solid;
	padding: 12px 24px;
	line-height: 26px;
	box-sizing: border-box;
	clear: both;
	color: #444;
	font-size: 14px;
}

.more-link:hover {
	background: #028cd4;
	color: #fff !important;
	text-decoration: none;
}

@media screen and (max-width: 991px) {
	.more-link {
		display: block;
    	margin: 0 auto 24px;
    	width: 50%;
    	text-align: center;
  }
}

body.color01 .more-link {
	border: 1px #444 solid;
	color: #028cd4;
}

body.color01 .more-link:hover {
	background: #444;
	color: #fff;
}

body.color02 .more-link {
	border: 1px #444 solid;
	color: #028cd4;
}

body.color02 .more-link:hover {
	background: #444;
	color: #fff;
}

body.color03 .more-link {
	border: 1px #444 solid;
	color: #028cd4;
}

body.color03 .more-link:hover {
	background: #444;
	color: #fff;
}

body.color04 .more-link {
	border: 1px #444 solid;
	color: #028cd4;
}

body.color04 .more-link:hover {
	background: #444;
	color: #fff;
}



/* -----------------------------
　サイド side
----------------------------- */

.option{
	text-decoration: none;
}

.grid_second{
	margin:0 auto !important;
}


/* -----------------------------
　カテゴリー、アーカイブページ
----------------------------- */

h2.archive-title a{
	display:block;
	margin:30px 0 20px;
	padding: 0.5em;
	color: #fff;
	font-size:1.05em;
	text-align:left !important;
	background: #a7d05f;
	text-decoration: none;
}

.archive-date {
	margin:10px 0 0;;
	padding:0;
	font-size: 0.9em;
	color: #ccc;
}

.archive-cat {
	padding: 0;
	margin: 0 0 10px;
	max-height: 65px;
	font-size: 0.9em;
	line-height:1em;
	overflow:hidden;
}

.archive-text {
	margin:10px 0 5px;
	font-size: 0.95em;
	line-height: 170%;
	overflow:hidden;
}


/* -------------------------
*	ウィジット
---------------------------- */

/* ウィジェットメニュー全体の文字サイズ */
.widget_nav_menu {
    font-size: 1em !important;
}

/* タイトルのスタイル */
.widget-title,
.sidebox .widget-title {
    position: relative;
    margin: 20px 0 1.5em;
    padding: 0.5em 0.5em 0.5em 0;  /* 左パディングを0にしてアイコンと文字を左揃え */
    font-size: 1.25em !important;
    font-weight: bold;
    border-top: none;
    border-bottom: 1px solid #033B86;
}

/* タイトル前の四角アイコン */
.widget-title:before,
.sidebox .widget-title:before {
    content: "";
    display: inline-block;
    width: 20px;                     /* アイコンの幅 */
    height: 20px;                    /* アイコンの高さ */
    margin-right: 8px;               /* アイコンと文字の間隔 */
    background-color: #033B86;       /* アイコンの色 */
    border-radius: 0;                /* 四角 */
    position: relative;
    top: 2px;                        /* 文字との縦位置を微調整 */
    transform: none;                  /* 回転なし */
}


.post-date {
	font-size: 89%;
	padding: 0 0 0 10px;
}


.sidebox ul li a{
	margin:0;
	font-size: 1em !important;
}

.sidebox li{
	margin:0;
	padding: 7px 0;
	list-style: none;
	border-bottom:1px dotted #ddd;
}


/* ブログ数
---------------------------- */

.widget ul li, 
.sidebar ul li, 
.widget ul li, 
.wp_rp_content ul li{
	font-size: 90%;
}

.widget_archive{
	font-size: 1em !important;
}


/* -------------------------
*	フッター footer
---------------------------- */	

#footer {
	clear: both;
	margin: 0 auto;
	width: 100%;
	font-size: 95% !important;
	color: #111;
	background: #fff;
}

.foot-wrap {
	margin: 0 auto;
	max-width: 1000px; /* widthをmax-widthに変更 */
	background: #fff !important;
	overflow: hidden; /* クリアフィックスを追加 */
}

/*フッターメニューの左、中、右*/
.menu-left,
.menu-center,
.menu-right {
	float: left; /* display: inline-blockからfloatに変更 */
	box-sizing: border-box; /* ボーダーボックスモデルを使用 */
	padding-right: 30px;
	width: 100%;
}

.menu-left {
	padding-top: 30px !important; /* 正の値に変更 */
}

.menu-center,
.menu-right {
	padding-top: 30px !important;
}

/* モバイル用のスタイル */
@media (max-width: 768px) {
	.menu-left,
	.menu-center,
	.menu-right {
		width: 95%; 
    	float: none; 
    	padding: 0 10px;
    	box-sizing: border-box; 
	}
}


#copyright {
	position: relative;
	margin: 0;
	padding: 10px;
	font-size: 15px;
	line-height: 110%;
	color: #fff;
	text-align: center;
	background: #033B86 !important;
}

#footer #copyright a {
	color:#fff;
}

#footer #copyright a:visited {
	color:#fff;
}

.footer-blog {
	clear:both;
	font-size:75%;
	text-align: left;
	margin: 0 0 50px;
	font-weight:normal;
	border-bottom:0px dotted #ccc;
}



/* フッターcall to action
---------------------------- */

.footer_fixed{
	position:fixed;
	display:flex;
	width:100%;
	bottom:0;
	left:0;
	z-index:999;
}

.footer_fixed a{
	color: #fff;
	text-decoration: none;
}

.footer_tel{
	width:50%;
	background:#033B86;
	text-align:center;
	padding:10px 0;
}

.footer_contact{
	width:50%;
	background:#7cb3fc;
	text-align:center;
	padding:10px 0;
}

@media(min-width:700px){
	.footer_fixed{
		display: none;
	}

	.menu-footer-container.ul li{
		list-style:square;
	}
}


/* フッターメニュー footer menu
---------------------------- */

#footer ul li.menu-item{
	margin-left:20px !important;
	list-style:square !important;
	font-size:99% !important;
    line-height: 0.5em !important;
}







/* -----------------------------
 * トップへ戻るボタン（フェード時間とスクロール速度を一箇所で調整可能）
 * ----------------------------- */

/* ボタン本体 */
#scrollTopBtn {
    position: fixed;           /* スクロールしても画面の同じ位置に固定表示 */
    right: 20px;               /* 画面右端から20px内側に配置 */
    bottom: 20px;              /* 画面下端から20px上に配置 */
    background: #033B86;          /* ボタンの背景色を濃いグレーに設定 */
    color: #fff;               /* 文字色を白に設定 */
    border: none;              /* ボタンの枠線を消す */
    padding: 12px 16px;        /* 上下12px、左右16pxの内側余白を設定 */
    border-radius: 50%;        /* 完全な円形にする */
    font-size: 18px;           /* 文字サイズを18pxに設定 */
    cursor: pointer;           /* ホバー時に手のカーソル表示 */
    z-index: 9999;             /* 前面に表示 */
    opacity: 0;                /* 初期状態は透明 */
    transition: opacity 0.3s;  /* フェードイン/アウトのアニメーション設定 */
}

/* ホバー時の見た目 */
#scrollTopBtn:hover {
    opacity: 0.8;              /* ホバー時に少し透けて押せる感を演出 */
}
    
    










/* -----------------------------
	main ul li
----------------------------- */

div#main ul.check {
	margin: 30px 0 20px;
	list-style: none;
	padding: 0;
}

div#main ul.check li {
	display: flex;
	align-items: center; /* ← アイコンと文字を縦中央揃え */
	padding-left: 40px; /* ← アイコン分の余白 */
	line-height: 2.4em;
	font-size: 1.2em;
	background: url(../../../images/check01.png) no-repeat left center; /* ← 中央揃え */
	background-size: 28px auto;
}

@media only screen and (max-width: 768px) {
	div#main ul.check li {
		padding-bottom:20px;
		padding-left: 26px;
		line-height: 1.8em;
		font-size: 1em;
		background: url(../../../images/check01.png) left 0px top 9px no-repeat;
		background-size: 23px auto;
	}
}

div#main ol.check {
	margin: 60px 0 30px;
	list-style: none;
	padding: 0;
}

div#main ol.check1 li {
	padding-left: 56px;
	line-height: 1.4em;
	font-size: 1.4em;
	font-weight:bold;
	background: url(../../../images/1.png) left 0px top 9px no-repeat;
	background-size: 40px auto;
}

div#main ol.check2 li {
	margin-top:40px;
	padding-left: 56px;
	line-height: 1.4em;
	font-size: 1.4em;
	font-weight:bold;
	background: url(../../../images/2.png) left 0px top 9px no-repeat;
	background-size: 40px auto;
}

@media only screen and (max-width: 769px) {
	div#main ol.check1 li, div#main ol.check2 li {
		font-size: 1.1em;
	}
}



/* -------------------------------------------------- */
/*  ボックス（チェック）                           */
/* -------------------------------------------------- */

.consult-box {
  margin:0;
  padding: 20px 25px;
  border-radius: 8px;
  box-sizing: border-box;
  color: #333;
}

/* リスト全体 */
.consult-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各項目 */
.consult-box ul li {
  position: relative;
  padding: 12px 16px 12px 36px; /* 左にアイコンスペース */
  margin-bottom: 12px;
  border: 1px solid #033B86;       /* 枠線 */
  border-radius: 6px;           /* 角丸 */
  line-height: 1.5;
  font-weight: 500;
  background: #fafafa;           /* わずかに背景を付けて落ち着き */
}

/* チェックアイコン */
.consult-box ul li::before {
  content: "\2714";             /* チェックマーク */
  color: #033B86;               /* アイコンの色 */
  font-weight: bold;
  position: absolute;
  left: 12px;                   /* 枠内の左端に配置 */
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1em;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .consult-box {
    padding: 16px 12px;
  }
  .consult-box ul li {
    font-size: 0.95em;
    padding: 10px 12px 10px 36px;
  }
}





/* -----------------------------
	main dl dt dd
----------------------------- */

div #main dd {
	margin-left: 1em;
}



/* ------------------------------------------------
 * 丸いプロフィール画像＋影＋枠
 * ---------------------------------------------- */

.profile-wrapper {
    text-align: center;         /* 画像全体を中央寄せにする */
    margin: 40px 0 0;             /* 上下の余白を確保してデザインの間隔を取る */
}
.profile-wrapper img {
    width: 300px;               /* 画像の横幅を200pxに指定 */
    height: 300px;              /* 高さも200pxにして正方形→円形にするため */
    object-fit: cover;          /* 画像を切り抜いて、枠いっぱいにきれいに収める */
    border-radius: 50%;         /* 完全な円にするための設定 */
    box-shadow: 0 6px 16px rgba(0,0,0,0.16); /* ふわっと浮く柔らかい影を付ける */
}



/* ------------------------- 
 * 会社概要スタイル
---------------------------- */

.company-profile {
  max-width: 100%;
  margin: 40px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  background: #fff;
}

.company-profile dl {
  margin: 0;
}

.profile-item {
  display: flex;
  flex-wrap: wrap;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  transition: background 0.3s ease;
}

.profile-item:hover {
  background: #f9f7f6;
}

.profile-item dt {
  width: 30%;
  font-weight: 700;
  color: #033B86;
  border-left: 4px solid #033B86;
  padding-left: 10px;
}

.profile-item dt i.fa-phone {
  color: #033B86; /* ここで色を自由に指定 */
  margin-right: 8px;
}

.profile-item dd {
  width: 90%;
  margin: 0;
  padding-left: 20px;
  color: #555;
}

.profile-item dt, .profile-item dd {
  font-size: 1em;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .profile-item dt, .profile-item dd {
    width: 100%;
    padding-left: 10px;
  }
}






/* ビジョンセクション、ストーリーセクション、サポートセクション */
.vision-section, .story-section, .support-section {
  background: #fdf5f4;
  padding: 30px;
  border-radius: 20px;           /* 角丸 */
}

/* ストーリーセクション */
.story-section {
  margin:30px 0;
  background: rgba(127,165,140,0.08); /* 背景を淡く色付け */
}

/* サポートセクション */
.support-section {
  background: rgba(233,148,19,0.08);
}



.vision-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

.vision-list li {
  padding: 12px 20px;
  margin-bottom: 10px;
  background: #fff;
  border-left: 5px solid #e99413; /* アクセントライン */
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.vision-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}




/* -------------------------
 * プライバシーポリシー
---------------------------- */

.privacy-section {
  background: #f5f5f5;
  padding: 60px 30px;
  font-family: "Noto Sans JP", sans-serif;
}

.section-title {
  font-size: 1.6em;
  font-weight: 700;
  border-left: 8px solid #033B86;
  padding-left: 15px;
  margin-bottom: 30px;
  color: #033B86;
}

.privacy-box h3 {
  font-weight: 700;
  color: #7fa58c;
  border-left: 5px solid #7fa58c;
  padding-left: 12px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.privacy-box p {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #555;
}

.privacy-box ul.privacy-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.privacy-box ul.privacy-list li {
  font-size: 1em;
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.privacy-box ul.privacy-list li::before {
  content: "\25CF"; /* 黒丸 */
  position: absolute;
  left: 0;
  color: #666; /* オレンジ */
  font-weight: bold;
  font-size: 1em;
}
.privacy-box li i {
  margin-right: 6px;
  color: #7fa58c; /* 電話・メールアイコン色 */
}




/* -------------------------
 * 無料相談ページセクション
---------------------------- */

.consult-section {
  background: #deecfe;
  padding: 50px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin: 50px auto;
}

.consult-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #111;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}


.consult-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.consult-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.7;
}

.consult-list li::before {
  content: "\2714"; /* チェックマークで安心感を演出 */
  position: absolute;
  left: 0;
  color: #d65a8e;
  font-weight: bold;
}

.consult-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #e99413;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.consult-btn:hover {
  background: #d88510;
  transform: translateY(-2px);
}




/* -------------------------
 * スマホ・タブレット用（幅767px以下）
---------------------------- */

@media only screen and (max-width: 767px) { /** 画面幅が767px以下（スマホ・タブレット）でのみ適用 **/

    /* 各行はflexのまま、折り返しで縦並びになる */
    div.company-profile dl div {
        flex-wrap: wrap; /* 1行に収まらないとき、dtとddを次の行に折り返す */
    }

    /* dtとdd共通の調整 */
    div.company-profile dl dt,
    div.company-profile dl dd {
        flex: 1 1 100%;   /* 幅を100%にし、縦に並ぶようにする（スマホで見やすく） */
        box-sizing: border-box; /* paddingやborderを幅の中に含めることで、レイアウト崩れを防ぐ */
    }

    /* dtは少し目立たせる */
    div.company-profile dl dt {
        font-weight: bold; /* 項目名(dt)を太字にして強調 */
    }

    /* ddの余白調整 */
    div.company-profile dl dd {
        padding-top: 5px;   /* 項目名(dt)との間に小さな余白を入れる */
        padding-bottom: 12px; /* 各データの下に余白を入れて読みやすくする */
    }
}


/* -----------------------------
	google-maps
----------------------------- */

.google-maps {
	position: relative;
	margin:40px 0;
	padding-bottom: 75%; 
	height: 0;
	overflow: hidden;
}
.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}


/* YouTube embed
---------------------------- */

.youtube {
	clear:both;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-top: 60px;
	margin-bottom: 20px;
}
.youtube iframe,
.youtube object,
.youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* -------------------------
*	wp-responsive-menu
---------------------------- */	

div.menu_title {
	color:#fff;
}

div.menu_title a{
	color:#fff;
	text-decoration: none ;
}


/* -----------------------------
	改行
----------------------------- */

.hidden {
	display: none;
}

.hidden.pcBlock {
	display: inline;
}

@media screen and (max-width: 800px) {
	.hidden.pcBlock {
		display: none;
	}

	.hidden.spBlock {
		display: inline;
	}
}


/* -------------------------
*   画像改行
---------------------------- */

@media screen and (max-width: 800px) {
	.spbr {
		float:none;
		margin:0 auto;
		max-width: 100%;
	}
}

@media screen and (max-width: 640px) {
	.spbr {
		float:none;
		text-align:center;
	}
}

/*スマホcenter⇒left*/
@media screen and (max-width: 800px) {
	.mobile-left {
		text-align:left;
	}
}



/* -----------------------------
	waku 枠　box ボックス
----------------------------- */

.waku1_ccc{
	margin: 20px 0 30px;
	padding: 15px 15px 20px 25px;
	border: solid 1px #ccc;
	overflow: hidden;
}

.waku2{
	background: #f9f9f9;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	padding: 40px 20px 0;
	margin: 20px 0;
	font-family: "Noto Sans JP", sans-serif;
	color: #333;
}

.waku3 {
    border: 2px solid #fff;
	margin:10px 0 30px;
    padding: 20px 20px;
    border-radius: 8px;
    background: #fff;
    line-height: 1.7;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.waku3 i {
    color: #0b6fa4; /* 好きな色に変更可能 */
    margin-right: 8px; /* アイコンとテキストの間に余白 */
}

.waku8{
	margin: 50px 0 30px;
	padding: 20px 0 0 20px;
	border: solid 1px #ccc;
	overflow: hidden;
}






.waku10{						/*otoiawase*/
	margin:0 10px;
	padding:0 5px;
	background-color:#f00;
	font-size:80%;
	color:#fff;
}


/* -------------------------
*   汎用
---------------------------- */

img {
	margin:0;
	padding:0;
	border-style:none;
	-webkit-backface-visibility: hidden;
}

@media only screen and (max-width: 768px) {
	img.size {
		margin:0 auto;
		padding:0;
		border-style:none;
		-webkit-backface-visibility: hidden;
		width:90%;

		
	}
}

.img-rounded {
	margin:30px 0;
/*    border-radius: 10px; */       /* 角丸 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* 影 */
}


.clear {
    clear:both;
}

.floatL{
	float:left;
	margin-right: 15px;
}

.floatL img {
	margin:0;
	padding:0;
}

.floatR{
	float:right;
	margin-left: 15px
}

.floatR img {
	margin:0;
	padding:0;
}

.center{
	text-align:center;
}

.right{
	text-align:right;
}

.left{
	text-align:left;
}

.underline {
    text-decoration:underline;
}

strong {
	font-weight:bold;
}

em {
	font-weight:bold;
}

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

.font-normal {
	font-weight:normal;
}

.double_line {
	display: inline-block;
	padding-bottom:1px;
	border-bottom: 5px double #f90;
}

.indent1{
	text-indent: 1em;
}

hr.fef {
	margin:0 auto 20px;
	border: 1px solid #033B86;
	width:96%;
}

/* -------------------------
*   offer画像
---------------------------- */

.cta01 a img {
    transition: transform 0.25s ease-out;
    display: inline-block;
}

.cta01 a:hover img {
    transform: translateY(-8px) scale(1.05);
}


/* -------------------------
*   強調
---------------------------- */

.point-box strong {
    color: #f00;
    font-weight: 700;
}


/* -----------------------------
	文字装飾
----------------------------- */

.yellow_underline{
	background: linear-gradient(transparent 50%, yellow 50%);
}

.skyblue_underline{
	background: linear-gradient(transparent 50%, skyblue 50%);
}

.orange_underline{
	background: linear-gradient(transparent 50%, orange 50%);
}







/* -----------------------------
	経歴１
----------------------------- */

.advice-box-modern {
  background: linear-gradient(90deg, #f9f9f9 0%, #fff 100%);
  border-radius: 12px;
  margin:30px 0;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: "Yu Gothic","Hiragino Kaku Gothic Pro","メイリオ",sans-serif;
  color: #222;
}

/* 見出し */
.advice-box-modern h3 {
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 8px;
}

/* リスト */
.advice-box-modern ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 共通の li ベース */
.advice-box-modern ul li {
  padding: 14px 20px;
  margin-bottom: 12px;
  background: #fbf5f4;       /* デフォルト（1つ目用） */
  border-left: 4px solid #7cb3fc; /* デフォルトのアクセントカラー */
  border-radius: 6px;
  font-weight: 500;
  line-height: 1.6;
  transition: all 0.28s ease;
}

/* 1つ目：既存の色（そのまま） */
.advice-box-modern:nth-of-type(1) ul li {
  background: #deecfe;
  border-left-color: #7cb3fc;
  box-shadow: 0 2px 8px rgba(124, 179, 252, 0.1);
}

/* 2つ目：#7fa58c（茶色系） */
.advice-box-modern:nth-of-type(2) ul li {
  background: rgba(131, 53, 49, 0.08);  /* とても薄い #833531 */
  border-left-color: #833531;
  box-shadow: 0 2px 8px rgba(127,165,140,0.08);
}

/* 3つ目：#80ac95（緑系） */
.advice-box-modern:nth-of-type(3) ul li {
  background: rgba(127, 165, 140, 0.08);
  border-left-color: #80AC95;
  box-shadow: 0 2px 8px rgba(233,148,19,0.08);
}

/* マウスホバー時の共通アニメーション（任意） */
.advice-box-modern ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}


/* ホバーで少し浮き感 */
.advice-box-modern ul li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}



/* -----------------------------
	経歴２
----------------------------- */

/* 外枠 */
.profile-block {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 0; /* ← これだけで右端が閉じる */
    border: 1px solid #ccc;
    background: #fff;
}

/* 左：写真 */
.profile-block-img {
	margin-right:-40px;
    padding-right: 0 !important;
    width: 50%;
    max-width: 600px;
    flex-shrink: 0; /* ← 画像が勝手に縮まなくなる */
}

.profile-block-img img {
    display: block;
    width: 100%;
}

/* 右：文章 */
.profile-block-text {
	padding:0 20px 0 20px;
    width: 50%;
	font-size:0.95em;
    color: #333;
}

.profile-block-text p {
	margin-top:-35px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .profile-block {
        flex-direction: column;
        padding: 20px 20px 0;
        gap: 20px;
    }

    .profile-block-img,
    .profile-block-text {
        width: 100%;
    }
}







/* ------------------------------------
 * 2カラムCTAセクション
 * ------------------------------------ */

/** CTAセクション全体 **/
.cta-section { /** セクション全体の設定 **/
  /** 背景を上下グラデーションに設定 **/
  background: linear-gradient(180deg, #ffe5c3 0%, #fff1e0 100%);
  /** セクション内の余白を確保 **/
  padding: 50px 20px;
  /** テキストを中央寄せに **/
  text-align: center;
}

/** コンテナ：PCで横並び **/
.cta-container { /** CTAボックスを横並びに配置 **/
  display: flex; /** 横方向レイアウト **/
  justify-content: center; /** 中央寄せ配置 **/
  align-items: stretch; /** 高さを揃える **/
  flex-wrap: wrap; /** 幅が狭いときは折り返す **/
  gap: 40px; /** ボックス間の間隔を設定 **/
  max-width: 960px; /** 最大幅を指定 **/
  margin: 0 auto; /** 中央寄せ配置 **/
}

/** 各ボックス **/
.cta-box { /** 各CTAカード全体 **/
  background: #fff; /** 白背景 **/
  border-radius: 12px; /** 角を丸くする **/
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /** 柔らかい影を付与 **/
  padding: 30px 20px; /** 内側の余白を設定 **/
  width: 420px; /** 各カードの幅 **/
  box-sizing: border-box; /** 幅計算にpaddingを含める **/
  transition: transform 0.3s ease, box-shadow 0.3s ease; /** ホバー時のアニメーションを設定 **/
}

/** ホバー時の浮き上がり効果 **/
.cta-box:hover {
  transform: translateY(-4px); /** 少し上に浮かせる **/
  box-shadow: 0 8px 16px rgba(0,0,0,0.15); /** 影を強調 **/
}

/** 画像 **/
.cta-box img {
  max-width: 80%; /** 画像の最大幅を制限 **/
  height: auto; /** アスペクト比を維持 **/
  margin-bottom: 15px; /** 下に余白を設定 **/
  border-radius: 8px; /** 角丸を追加（ボックスと調和） **/
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /** （任意）軽い影で立体感 **/
}

/** テキスト **/
.cta-text {
  font-size: 1.1rem; /** 少し大きめの文字サイズ **/
  font-weight: 600; /** 太字 **/
  color: #444; /** ダークグレー文字 **/
  margin-bottom: 20px; /** 下余白 **/
}

/** ボタン共通 **/
.cta-btn {
  display: inline-block; /** インラインブロックで配置 **/
  padding: 12px 28px; /** 内側余白 **/
  border-radius: 40px; /** 丸みを帯びたボタン **/
  font-weight: 700; /** 太字 **/
  font-size: 1rem; /** 標準的なサイズ **/
  text-decoration: none; /** 下線を消す **/
  transition: background 0.3s ease, transform 0.2s ease; /** ホバー時の動きを滑らかに **/
}

/** オレンジボタン **/
.cta-orange {
  background: #ff8c42; /** 濃いオレンジ背景 **/
  color: #fff; /** 白文字 **/
}
.cta-orange:hover {
  background: #ff9f66; /** 少し明るいオレンジに変化 **/
  transform: scale(1.05); /** 拡大してクリック感を演出 **/
}

/** 青ボタン **/
.cta-blue {
  background: #2a7de1; /** 鮮やかなブルー背景 **/
  color: #fff; /** 白文字 **/
}
.cta-blue:hover {
  background: #4999f0; /** 明るいブルーに変化 **/
  color: #003366; /** 文字色を濃い青に変更してコントラストUP 
  transform: scale(1.05); /** 拡大して動きを出す **/
}

/** スマホ対応 **/
@media screen and (max-width: 768px) {
  .cta-container {
    flex-direction: column; /** 縦方向に並べる **/
    align-items: center; /** 中央寄せ **/
  }
  .cta-box {
    width: 100%; /** 幅を全体に広げる **/
    max-width: 420px; /** 最大幅を維持 **/
  }
}
    













/* -----------------------------------------------------
 * ステップカード
 * ----------------------------------------------------- */

/* セクション全体 */
.services { /* 背景と余白設定 */
  background: #f7fafc; /* 薄いグレーの背景 */
  padding: 60px 20px; /* 上下60px、左右20pxの余白 */
  text-align: center; /* 見出しを中央揃え */
}

/* カードのグリッド配置 */
.service-grid { /* レスポンシブな自動調整グリッド */
  display: grid; /* グリッドレイアウト */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* カードを横並びに自動調整 */
  gap: 20px; /* カード間の余白 */
  max-width: 900px; /* 最大幅を900pxに制限 */
  margin: 0 auto; /* 中央寄せ */
}

/* 各カード */
.service-card { /* ステップカードの基本スタイル */
  background: #fff; /* 白背景 */
  border-radius: 10px; /* カードの角を丸く */
  padding: 20px; /* 内側余白 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* 柔らかな影 */
  text-align: left; /* テキストを左揃え */
  font-size: 1rem; /* 読みやすい文字サイズ */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* ホバー時のアニメーション */
}

/* ホバー時の効果 */
.service-card:hover { /* カードに浮き上がり効果 */
  transform: translateY(-4px); /* 少し上に浮かせる */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 影を強調 */
}

/* ステップ番号 */
.service-card span { /* ステップ番号部分 */
  color: #2a4b8d; /* 青系の強調色 */
  font-weight: bold; /* 太字 */
  margin-right: 6px; /* 番号と文字の間に余白 */
  font-size: 1.2rem; /* やや大きく強調 */
}
  









/* -------------------------------------------
カードレイアウト　ミッションカード群
------------------------------------------- */

/* ベースデザイン（共通） */
.card-wrap {
  display: grid;
  gap: 10px;
  margin-bottom: 1px;
}

/* 上段 3列 */
.top-row {
  grid-template-columns: repeat(3, 1fr);
}

/* 中段 3列 */
.middle-row {
  grid-template-columns: repeat(3, 1fr);
}

/* 下段 2列 */
.bottom-row {
  grid-template-columns: repeat(2, 1fr);
}

/* カードデザイン（今のまま使用） */
.card {
  background: #fff;
  border: 2px solid #033B86;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  padding: 5px 20px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


/* -------------------------------
レスポンシブ
------------------------------- */

/* スマホ：確実に1列 */
@media (max-width: 1000px) {
  .top-row,
  .middle-row,
  .bottom-row {
    grid-template-columns: 1fr !important; /* ← 確実に1列にする */
  }
}

/* -------------------------------------------
テキストとアイコン
------------------------------------------- */

.card h4 {
  font-size: 1.25rem;
  color: #033B86;
  margin-bottom: 12px;
  font-weight: 600;
  align-items: center;
  gap: 8px;
}

.card p {
  color: #555;
  line-height: 1.7;
}










/* -----------------------------------------
 * カードをふわっと表示するアニメーションを追加
 * -------------------------------------- */

/* カード全体を包むコンテナ */
.card_item {
  max-width: 1200x; /* ← 横幅制限 LPだと1080px～1200px　自由に変えてください */
  margin:0 auto;
  padding: 20px; /** 内側余白 **/
  display: flex; /** 横並び配置 **/
  flex-wrap: wrap; /** 折り返しを許可 **/
  justify-content: center; /** 中央寄せ **/
  align-items: flex-start; /** 上揃え **/
  gap: 30px; /** ★ 横間隔を30pxに調整 **/
  background: #fff; /** 背景色を白に **/
  box-sizing: border-box; /** ボックス計算をborder込みに **/
}

/* カード（figure） */
.card_item figure.card_item_block {
  margin: 0; /** 外側余白リセット **/
  padding: 0; /** 内側余白リセット **/
  float: none !important; /** float解除 **/
  display: flex; /** フレックス表示 **/
  justify-content: center; /** 中央寄せ **/
  box-sizing: border-box; /** 幅計算をborder込みに **/
  width: calc((100% - 60px) / 3); /** gap(30×2)を除いた3等分幅 **/
  min-width: 260px; /** 最小幅指定で崩れ防止 **/
}

/* スマホ（～960px）：1列表示 */
@media screen and (max-width: 960px) {
  .card_item {
    justify-content: center; /** 中央寄せ **/
    gap: 25px; /** スマホ時の隙間調整 **/
  }
  .card_item figure.card_item_block {
    width: 90%; /** 幅を広げて1列表示 **/
  }
}

/* 中のカード */
.service-card {
	width: 100%; /** カード幅100％ **/
	background: #fff; /** 背景白 **/
	border-radius: 10px; /** 角丸 **/
	box-shadow: 0 4px 10px rgba(0,0,0,0.1); /** 軽い影 **/
	padding: 15px; /** 内側余白 **/
	box-sizing: border-box; /** 枠込み計算 **/
	transition: transform 0.3s ease; /** ホバー時アニメーション **/
}
.service-card:hover {
	transform: translateY(-5px); /** ホバーで少し浮く **/
}

/* オーバーレイ（半透明レイヤー） */
.service-card::after {
  position: relative; /* この要素を基準にして、子要素（position:absolute）や ::after の位置を決めるための基準点を作る */
  content: ""; /** 擬似要素生成 **/
  position: absolute; /** カード全体に重ねる **/
  inset: 0; /** 全方向0指定 **/
  background: rgba(173, 216, 230, 0); /** 初期は透明 **/
  transition: background 0.3s ease; /** 色変化を滑らかに **/
  border-radius: 12px; /** 角丸を維持 **/
  z-index: 2; /** 画像の上・テキストの下に配置 **/
  pointer-events: none; /** クリック無効化 **/
}

/* ホバー時に水色オーバーレイを表示 */
.service-card {
  transition: background 0.3s ease; /** 背景変更アニメーション **/
}
.service-card:hover {
  background: #eeffff; /** 水色に変化 **/
}

/* 画像をレスポンシブ対応 */
.service-card img {
	width: 100%; /** 横幅いっぱい **/
	height: auto; /** 縦横比を維持 **/
	border-radius: 5px; /** 画像角を丸める **/
}

/* テキスト類を画像より上に表示 */
.service-card h3,
.service-card ul,
.service-card a {
  position: relative; /** テキスト層を独立化 **/
  z-index: 3; /** 画像上に配置 **/
}

/* リスト（黒丸非表示） */
.service-card ul {
  list-style: none; /** 黒丸削除 **/
  padding: 0; /** 内側余白削除 **/
  margin: 0; /** 外側余白削除 **/
}
.service-card ul li {
  font-size: 0.9rem; /** 小さめ文字 **/
  color: #333; /** 文字色 **/
  line-height: 1.6; /** 行間広め **/
  margin-bottom: 5px; /** 下余白 **/
}

/* 下からふわっと */
.card_item figure.card_item_block {
  opacity: 0; /** 初期は透明 **/
  transform: translateY(40px); /** 下にずらす **/
  transition: opacity 0.8s ease, transform 0.8s ease; /** 表示アニメーション **/
}

.card_item figure.card_item_block.is-visible {
  opacity: 1 !important; /** 表示時に完全表示 **/
  transform: translateY(0); /** 元位置に戻す **/
}

/* 遅延アニメーション設定（figureに指定） */ /** 表示タイミングをずらす **/
.card_item figure.card_item_block:nth-child(1) {
  transition-delay: 0s; /** 最初すぐ表示 **/
}
.card_item figure.card_item_block:nth-child(2) {
  transition-delay: 0.2s; /** 2番目遅延0.2秒 **/
}
.card_item figure.card_item_block:nth-child(3) {
  transition-delay: 0.4s; /** 3番目遅延0.4秒 **/
}

/* 続きを読むボタン */
.card_item .more-link {
	display: block; /** ブロック表示 **/
	border: 1px #028cd4 solid; /** 青枠 **/
	padding: 12px 24px; /** 内側余白 **/
	line-height: 26px; /** 行の高さ **/
	margin: 30px 0 64px; /** 上下の余白調整 **/
	box-sizing: border-box; /** 枠込み計算 **/
	clear: both; /** 回り込み解除 **/
	color: #444; /** テキスト色 **/
	font-size: 14px; /** フォントサイズ **/
	border-radius: 10px; /** 角丸ボタン **/
	text-align: center; /** 中央寄せ **/
	width:100%; /** 幅いっぱい **/
}

.card_item .more-link:hover {
	background: #028cd4; /** 背景青 **/
	color: #fff !important; /** テキスト白 **/
	text-decoration: none; /** 下線除去 **/
}


































/*-----------------------------------
 資料請求フォーム
-----------------------------------*/

/* Contact Form 7 全体を中央寄せ＆幅制限 */
.lp-form-wrapper { /* フォーム全体の外枠 */
	max-width: 1200x; /* ← 横幅制限 LPだと1080px～1200px　自由に変えてください 
	margin: 0 auto; /* ← 中央寄せ */
	display: flex; /* 横並びレイアウト */
	flex-wrap: wrap; /* 画面幅が狭い時に折り返し */
	background: #fffbea; /* 明るいクリーム色背景 */
	padding: 30px; /* 内側余白 */
	border-radius: 10px; /* 角丸 */
	justify-content: space-between; /* 左右を均等配置 */
	gap: 30px; /* カラム間の間隔 */
	box-sizing: border-box; /* ← はみ出し防止 */
	width: 100%; /* ← 画面幅にフィット */
} 

/* 左右カラム共通 */
.lp-form-left,
.lp-form-right {
	box-sizing: border-box; /* ← 重要：padding計算含める */
}

/* 左側 */
.lp-form-left {
	flex: 1; /* 親要素内で余白を均等に分配し、右カラムと同じ比率で横幅を伸縮させる */
	min-width: 260px; /* 最小幅を260pxに固定して、狭い画面でも崩れないようにする */
}

/* 左側：特徴リスト */
.lp-features { /* 特徴リスト全体 */
	display: block; /* 縦方向に並べる */
	margin-bottom: 10px; /* 下の余白 */
	padding: 0; /* 内側余白なし */
	list-style: none; /* 「・」マークを削除 */
} /**/

.lp-features li { /* 各特徴の行 */
	margin-bottom: 8px; /* 行間を広げる */
} 

.lp-features li span { /* 各特徴の装飾ボックス */
	display: inline-block; /* インラインボックスとして表示 */
	background: #fff; /* 白背景 */
	border: 2px solid #ff6f00; /* オレンジの枠線 */
	color: #ff6f00; /* 文字色をオレンジ */
	font-weight: bold; /* 太字 */
	border-radius: 6px; /* 角丸 */
	padding: 6px 12px; /* 内側余白（上下・左右） */
	font-size: 0.9rem; /* 少し小さめの文字 */
} 

/* 右側エリア（フォーム本体） */
.lp-form-right { /* フォーム部分の枠 */
	flex: 1; /* 幅を均等に分配 */
	min-width: 300px; /* 最小幅を確保 */
	background: #fff; /* 背景を白に */
	border-radius: 10px; /* 角丸 */
	padding: 25px; /* 内側余白 */
	box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* うっすら影を付ける */
} 

.lp-form-right h3 { /* 見出しタイトル */
	font-size: 1.2rem; /* 文字サイズ */
	font-weight: 700; /* 太字 */
	margin-bottom: 20px; /* 下余白 */
} 

.lp-form-right label { /* 各ラベル */
	display: block; /* ブロック表示 */
	margin-bottom: 15px; /* 下余白 */
	font-weight: 600; /* 少し太字 */
	color: #333; /* 濃いグレー文字 */
} 

.lp-form-right input,
.lp-form-right select { /* 入力欄とセレクトボックス */
	width: 100%; /* 幅を100%に */
	padding: 10px; /* 内側余白 */
	border: 1px solid #ddd; /* 薄い枠線 */
	border-radius: 6px; /* 角丸 */
	font-size: 1rem; /* 標準文字サイズ */
}

/* 必須マーク */
.required { /* 「必須」ラベル */
	color: #f00; /* 赤文字 */
	font-size: 0.9rem; /* 小さめ文字 */
	margin-left: 4px; /* 左に少し余白 */
} 

/* 送信ボタン */
.submit-area { /* ボタンの外枠 */
	text-align: center; /* 中央寄せ */
	margin-top: 20px; /* 上余白 */
}

.lp-form-right input[type="submit"] { /* 送信ボタン */
	background: #ff6f00; /* オレンジ背景 */
	color: #fff; /* 白文字 */
	border: none; /* 枠線なし */
	border-radius: 6px; /* 角丸 */
	padding: 12px 25px; /* 内側余白（上下・左右） */
	font-size: 1.1rem; /* 少し大きめの文字 */
	font-weight: bold; /* 太字 */
	cursor: pointer; /* カーソルをポインタに */
	transition: background 0.3s ease; /* 背景色のフェード効果 */
} 

.lp-form-right input[type="submit"]:hover { /* ホバー時 */
	background: #e65a00; /* 少し濃いオレンジに */
} 

/* スマホ対応 */
@media (max-width: 768px) { /* 768px以下の画面 */
	.lp-form-wrapper { /* 全体を縦並びに */
		flex-direction: column; /* カラムを縦方向に変更 */
		padding: 20px; /* 内側余白を調整 */
	}

	.lp-form-left,
	.lp-form-right {
		width: 100%; /* ← 100%幅で確実に収まる */
		min-width: auto; /* ← 不要な最小幅を解除 */
		max-width: 100%; /* ← 右カラムの上限も解除 */
	}

	.lp-form-right {
		padding: 20px;
		box-shadow: none; /* スマホでは影を軽くする */
	}
}















/* -----------------------------------------
 * カードをふわっと表示するアニメーションを追加
 * -------------------------------------- */

/* カード全体を包むコンテナ */
.card_item {
  max-width: 1200x; /* ← 横幅制限 LPだと1080px～1200px　自由に変えてください */
  margin:0 auto;
  padding: 20px; /** 内側余白 **/
  display: flex; /** 横並び配置 **/
  flex-wrap: wrap; /** 折り返しを許可 **/
  justify-content: center; /** 中央寄せ **/
  align-items: flex-start; /** 上揃え **/
  gap: 30px; /** ★ 横間隔を30pxに調整 **/
  background: #fff; /** 背景色を白に **/
  box-sizing: border-box; /** ボックス計算をborder込みに **/
}

/* カード（figure） */
.card_item figure.card_item_block {
  margin: 0; /** 外側余白リセット **/
  padding: 0; /** 内側余白リセット **/
  float: none !important; /** float解除 **/
  display: flex; /** フレックス表示 **/
  justify-content: center; /** 中央寄せ **/
  box-sizing: border-box; /** 幅計算をborder込みに **/
  width: calc((100% - 60px) / 3); /** gap(30×2)を除いた3等分幅 **/
  min-width: 260px; /** 最小幅指定で崩れ防止 **/
}

/* スマホ（～960px）：1列表示 */
@media screen and (max-width: 960px) {
  .card_item {
    justify-content: center; /** 中央寄せ **/
    gap: 25px; /** スマホ時の隙間調整 **/
  }
  .card_item figure.card_item_block {
    width: 90%; /** 幅を広げて1列表示 **/
  }
}

/* 中のカード */
.service-card {
	width: 100%; /** カード幅100％ **/
	background: #fff; /** 背景白 **/
	border-radius: 10px; /** 角丸 **/
	box-shadow: 0 4px 10px rgba(0,0,0,0.1); /** 軽い影 **/
	padding: 15px; /** 内側余白 **/
	box-sizing: border-box; /** 枠込み計算 **/
	transition: transform 0.3s ease; /** ホバー時アニメーション **/
}
.service-card:hover {
	transform: translateY(-5px); /** ホバーで少し浮く **/
}

/* オーバーレイ（半透明レイヤー） */
.service-card::after {
  position: relative; /* この要素を基準にして、子要素（position:absolute）や ::after の位置を決めるための基準点を作る */
  content: ""; /** 擬似要素生成 **/
  position: absolute; /** カード全体に重ねる **/
  inset: 0; /** 全方向0指定 **/
  background: rgba(173, 216, 230, 0); /** 初期は透明 **/
  transition: background 0.3s ease; /** 色変化を滑らかに **/
  border-radius: 12px; /** 角丸を維持 **/
  z-index: 2; /** 画像の上・テキストの下に配置 **/
  pointer-events: none; /** クリック無効化 **/
}

/* ホバー時に水色オーバーレイを表示 */
.service-card {
  transition: background 0.3s ease; /** 背景変更アニメーション **/
}
.service-card:hover {
  background: #eeffff; /** 水色に変化 **/
}

/* 画像をレスポンシブ対応 */
.service-card img {
	width: 100%; /** 横幅いっぱい **/
	height: auto; /** 縦横比を維持 **/
	border-radius: 5px; /** 画像角を丸める **/
}

/* テキスト類を画像より上に表示 */
.service-card h3,
.service-card ul,
.service-card a {
  position: relative; /** テキスト層を独立化 **/
  z-index: 3; /** 画像上に配置 **/
}

/* リスト（黒丸非表示） */
.service-card ul {
  list-style: none; /** 黒丸削除 **/
  padding: 0; /** 内側余白削除 **/
  margin: 0; /** 外側余白削除 **/
}
.service-card ul li {
  font-size: 0.9rem; /** 小さめ文字 **/
  color: #333; /** 文字色 **/
  line-height: 1.6; /** 行間広め **/
  margin-bottom: 5px; /** 下余白 **/
}

/* 下からふわっと */
.card_item figure.card_item_block {
  opacity: 0; /** 初期は透明 **/
  transform: translateY(40px); /** 下にずらす **/
  transition: opacity 0.8s ease, transform 0.8s ease; /** 表示アニメーション **/
}

.card_item figure.card_item_block.is-visible {
  opacity: 1 !important; /** 表示時に完全表示 **/
  transform: translateY(0); /** 元位置に戻す **/
}

/* 遅延アニメーション設定（figureに指定） */ /** 表示タイミングをずらす **/
.card_item figure.card_item_block:nth-child(1) {
  transition-delay: 0s; /** 最初すぐ表示 **/
}
.card_item figure.card_item_block:nth-child(2) {
  transition-delay: 0.2s; /** 2番目遅延0.2秒 **/
}
.card_item figure.card_item_block:nth-child(3) {
  transition-delay: 0.4s; /** 3番目遅延0.4秒 **/
}

/* 続きを読むボタン */
.card_item .more-link {
	display: block; /** ブロック表示 **/
	border: 1px #028cd4 solid; /** 青枠 **/
	padding: 12px 24px; /** 内側余白 **/
	line-height: 26px; /** 行の高さ **/
	margin: 30px 0 64px; /** 上下の余白調整 **/
	box-sizing: border-box; /** 枠込み計算 **/
	clear: both; /** 回り込み解除 **/
	color: #444; /** テキスト色 **/
	font-size: 14px; /** フォントサイズ **/
	border-radius: 10px; /** 角丸ボタン **/
	text-align: center; /** 中央寄せ **/
	width:100%; /** 幅いっぱい **/
}

.card_item .more-link:hover {
	background: #028cd4; /** 背景青 **/
	color: #fff !important; /** テキスト白 **/
	text-decoration: none; /** 下線除去 **/
}


/* -----------------------------
	文字のスタイリッシュ
----------------------------- */

.headline.icon-badge {
  position: relative;
  padding-left: 55px;
  font-size: 1.5em;
  font-weight: 700;
}

.headline.icon-badge::before {
  content: "\f4ff"; /* Font Awesome question-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #033B86;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* スマホ（768px） */
@media (max-width: 768px) {

  .headline.icon-badge {
    font-size: 1.2em;        /* 1.5em → 少し小さく */
    padding-left: 45px;      /* アイコンとの余白も調整 */
    line-height: 1.3; /* または 1.2 / 1.1 など */
  }

  .headline.icon-badge::before {
    width: 32px;             /* アイコン円を小さく */
    height: 32px;
    font-size: 0.9em;        /* アイコンの中身も縮小 */
  }

  /* m_off2（スマホ用）が更に大きく見える場合のリセット */
  .m_off2 {
    margin-bottom: 16px !important;
  }
}



/* -----------------------------
	アイコン
----------------------------- */

p i.fa-phone {
  color: #033B86;       /* アイコンの色 */
  margin-right: 8px;    /* 番号との間隔 */
  font-size: 1em;       /* アイコンサイズ */
}

p i.fa-envelope {
  color: #033B86;       /* アイコンの色 */
  margin-right: 8px;    /* テキストとの間隔 */
  font-size: 1em;       /* アイコンサイズ */
}

p i.fa-file-lines {
  color: #033B86;       /* アイコンの色 */
  margin-right: 8px;    /* テキストとの間隔 */
  font-size: 1em;       /* アイコンサイズ */
}



/* -----------------------------
	thanksページ
----------------------------- */


.thanks-box {
  margin: 0 auto;
  background: #fff;
  padding: 40px 50px;
  border-radius: 14px;
  border: 1px solid #d9e3df;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  position: relative;
}

/* タイトル */
.thanks-title {
  font-size: 1.6em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  color: #365046;
}

/* スマホ（?480px） */
@media (max-width: 480px) {
  .thanks-title {
    font-size: 1.35em; /* 少しだけ小さく */
    margin-bottom: 24px;
    line-height: 1.4;
  }
}

/* 本文 */
.thanks-box p {
  line-height: 1.8;
  margin-bottom: 22px;
  font-size: 1.05em;
  color: #333;
}

/* ワンポイントアイコン */
.thanks-icon {
  position: absolute;
  top: -20px;
  right: 20px;
  background: #7fa58c;
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}









/* -------------------------
*   mobile　スマホ モバイル
---------------------------- */


/*	スマホ横揺れ防止
---------------------------- */

*{box-sizing:border-box}


/* 電話番号クリック
---------------------------- */

@media(min-width: 768px){
	a[href^="tel:"]{
  	  pointer-events: none;
	}
}

/* headに記述も忘れずに
<!--電話リンクsafariやEdgg無効-->
<meta name="format-detection" content="telephone=no">
*/


/* 1281px～
---------------------------- */

@media only screen and (min-width: 1281px) {

	.m_off2 {
		display: none;
	}

	.sidebar {
		width: 300px;
	}

	.head_mobile {
		display: none;
	}
}

/* 1100px～1280px　WP Responsive Menuの「Display Menu From Width」と合わせる
---------------------------- */

@media only screen and (min-width: 1100px) and (max-width: 1280px) {

	.pc_w1600, .pc_w1180, .pc_w960{
		max-width: 95%;
	}

	.m_off2 {
		display: none;
	}

	.sidebar {
		width: 300px;
	}

	.head_mobile {
		display: none;
	}
}


/* 960px～1099px
---------------------------- */

@media only screen and (min-width: 960px) and (max-width: 1099px) {

	.pc_w1600, .pc_w1180, .pc_w960{
		max-width: 95%;
	}

	.m_off2 {
		display: none;
	}

	.sidebar {
		width: 300px;
	}

	.logo {
		float: none;
		margin:0 auto;
		text-align:center;
	}

	#nav {
		display: none;
	}

	.head_mobile {
		display: none;
	}
}

/* 769px～959px
---------------------------- */

@media only screen and (min-width: 769px) and (max-width: 959px) {

	.pc_w1600, .pc_w1180, .pc_w960{
		margin:0 auto;
		max-width: 95%;
	}

	.m_off2 {
		display: none;
	}


	#nav {
		display: none;
	}

	.head_mobile {
		display: none;
	}
}


/* 600px～768px
---------------------------- */

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

	.pc_w1600, .pc_w1180, .pc_w960{
		margin:0 auto;
		max-width: 95%;
		overflow-x: hidden;
	}

	.m_off {
		display: none;
	}




	.logo {
		float: none;
		margin:0 auto;
		width: 300px;
		text-align:center;
	}


	.head_pc {
		display: none;
	}

	#nav {
		display: none;
	}

	.head_mobile {
		max-width: 100%;
	}

	p{
		font-size:99%;
	}

	.column {
		flex: 100%;
	}

	dl.standard01 dd {
		font-size:95%;
	}

	#main ul li, #main ol li{
		font-size:98%;
	}


	h2, h2.standard01, h2.standard02, h2.standard03, h2.standard04, h2.standard05, h2.standard06, h2.standard07, h2.standard08, h2.standard09, h2.standard10, h2.standard11, h2.standard12, h2.standard13, h2.standard14, h2.standard15, h2.standard16, h2.standard17, h2.standard18, h2.standard19, h2.standard20,
    h3, h3.standard01, h3.standard02, h3.standard03, h3.standard04, h3.standard04_green, h3.standard05, h3.standard06, h3.standard07, h3.standard08, h3.standard09, h3.standard10, h3.standard10_1, h3.standard10_2, h3.standard10_3, h3.standard10_4, h3.standard10_5, h3.standard10_6, h3.standard11, h3.standard12, h3.standard12_bluesky, h3.standard13, h3.standard14, h3.standard15 ,h3.yubi, 
	h4, h4.standard01, h4.standard02, h4.standard03, h4.standard04, h4.standard05, h4.standard06, h4.standard07, h4.standard08, h4.standard09, h4.standard10, h4.yubi, .card h4, .cp_qa h4,
	h5, 
	h6,
	div.standard01, 
	div.standard02, div.standard02_1, div.standard02_2, div.standard02_3, div.standard02_4, div.standard02_5, div.standard02_6, div.standard02_7, div.standard02_8, div.standard02_9, div.standard02_10, 
	div.standard03_1, div.standard03_2, div.standard03_3, div.standard03_4, 
	p.yubi, 
	dl.standard01 dt {
		font-size:99%;
	}

	h3,standard01, h3.standard03, h3.standard07, h4.standard01 {
		font-size:99%;
	}

	.waku3 .box-title, .waku4 .box-title, .waku4-2 .box-title, .waku5 .box-title, .waku9 .box-title, .box-title11 {
		font-size:90%;
	}

}


/* 480px～599px
---------------------------- */

@media only screen and (min-width: 480px) and (max-width: 599px) {

	.pc_w1600, .pc_w1180, .pc_w960{
		margin:0 auto;
		max-width: 95%;
		overflow-x: hidden;
	}

	.m_off {
		display: none;
	}


	.logo {
		float: none;
		margin:0 auto;
		width: 300px;
		text-align:center;
	}

	.contact {
		display: none;
	}
	
	.head_pc {
		display: none;
	}

	#nav {
		display: none;
	}

	.head_mobile {
		max-width: 100%;
	}

	h2.top01 {
		margin:-40px 0 0;
	}

	p{
		font-size:99%;
	}

	.column {
		flex: 100%;
	}

	dl.standard01 dd {
		font-size:95%;
	}

	#main ul li, #main ol li{
		font-size:98%;
	}

	h2, h2.standard01, h2.standard02, h2.standard03, h2.standard04, h2.standard05, h2.standard06, h2.standard07, h2.standard08, h2.standard09, h2.standard10, h2.standard11, h2.standard12, h2.standard13, h2.standard14, h2.standard15, h2.standard16, h2.standard17, h2.standard18, h2.standard19, h2.standard20,
    h3, h3.standard01, h3.standard02, h3.standard03, h3.standard04, h3.standard04_green, h3.standard05, h3.standard06, h3.standard07, h3.standard08, h3.standard09, h3.standard10, h3.standard10_1, h3.standard10_2, h3.standard10_3, h3.standard10_4, h3.standard10_5, h3.standard10_6, h3.standard11, h3.standard12, h3.standard12_bluesky, h3.standard13, h3.standard14, h3.standard15 ,h3.yubi,
	h4, h4.standard01, h4.standard02, h4.standard03, h4.standard04, h4.standard05, h4.standard06, h4.standard07, h4.standard08, h4.standard09, h4.standard10, h4.yubi, .card h4, .cp_qa h4,
	h5, 
	h6,
	div.standard01, 
	div.standard02, div.standard02_1, div.standard02_2, div.standard02_3, div.standard02_4, div.standard02_5, div.standard02_6, div.standard02_7, div.standard02_8, div.standard02_9, div.standard02_10, 
	div.standard03_1, div.standard03_2, div.standard03_3, div.standard03_4, 
	p.yubi, 
	dl.standard01 dt {
		font-size:99%;
	}

	h3,standard01, h3.standard03, h3.standard07, h4.standard01 {
		font-size:1.2em;
	}

	.waku3 .box-title, .waku4 .box-title, .waku4-2 .box-title, .waku5 .box-title, .waku9 .box-title, .box-title11 {
		font-size:90%;
	}
}


/* 375px～479px
---------------------------- */

@media only screen and (min-width: 375px) and (max-width: 479px) {

	.pc_w1600, .pc_w1180, .pc_w960{
		margin:0 auto;
		max-width: 95%;
		overflow-x: hidden;
	}

	.m_off {
		display: none;
	}


	.logo {
		float: none;
		margin:0 auto;
		width: 300px;
		text-align:center;
	}

	.contact {
		display: none;
	}
	
	.head_pc {
		display: none;
	}

	#nav {
		display: none;
	}

	.head_mobile {
		max-width: 100%;
	}

	h2.top01 {
		margin-right:40px;
		margin:-40px 0 0;
	}

	p{
		font-size:98%;
	}

	.column {
		flex: 100%;
	}

	dl.standard01 dd {
		font-size:95%;
	}

	#main ul li, #main ol li{
		font-size:98%;
	}

	h2, h2.standard01, h2.standard02, h2.standard03, h2.standard04, h2.standard05, h2.standard06, h2.standard07, h2.standard08, h2.standard09, h2.standard10, h2.standard11, h2.standard12, h2.standard13, h2.standard14, h2.standard15, h2.standard16, h2.standard17, h2.standard18, h2.standard19, h2.standard20,
    h3, h3.standard01, h3.standard02, h3.standard03, h3.standard04, h3.standard04_green, h3.standard05, h3.standard06, h3.standard07, h3.standard08, h3.standard09, h3.standard10, h3.standard10_1, h3.standard10_2, h3.standard10_3, h3.standard10_4, h3.standard10_5, h3.standard10_6, h3.standard11, h3.standard12, h3.standard12_bluesky, h3.standard13, h3.standard14, h3.standard15 ,h3.yubi,
	h4, h4.standard01, h4.standard02, h4.standard03, h4.standard04, h4.standard05, h4.standard06, h4.standard07, h4.standard08, h4.standard09, h4.standard10, h4.yubi, .card h4, .cp_qa h4,
	h5, 
	h6,
	div.standard01, 
	div.standard02, div.standard02_1, div.standard02_2, div.standard02_3, div.standard02_4, div.standard02_5, div.standard02_6, div.standard02_7, div.standard02_8, div.standard02_9, div.standard02_10, 
	div.standard03_1, div.standard03_2, div.standard03_3, div.standard03_4, 
	p.yubi, 
	dl.standard01 dt {
		font-size:99%;
	}

	h3,standard01, h3.standard03, h3.standard07, h4.standard01 {
		font-size:1.15em;
	}

	.waku3 .box-title, .waku4 .box-title, .waku4-2 .box-title, .waku5 .box-title, .waku9 .box-title, .box-title11 {
		font-size:90%;
	}
}


/* ～374px
---------------------------- */

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

	.pc_w1600, .pc_w1180, .pc_w960{
		margin:0 auto;
		max-width: 95%;
		overflow-x: hidden;
	}

	.m_off {
		display: none;
	}


	.logo {
		float: none;
		margin:0 auto;
		width:90% !important;
		text-align:center;
	}

	.contact {
		display: none;
	}
	
	.head_pc {
		display: none;
	}

	.head_mobile {
		max-width: 100%;
	}

	#nav {
		display: none;
	}

	#header h1, #header .logo {
		float: none;
		margin-bottom: 0px;
	}

	table.entry-content{
		font-size:60%;
	}

	table.similar-text img {
		width: 100px;
	}

	table.similar-text th {
		width: 100px;
	}

	.pagedate {
		margin: 40px 0 0;
	}

	.pager {
		margin: 80px 0;
	}

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

	.single-contents br {
		display: none;
	}

	.page-contents {
		margin: 0 0 50px;
	}

	p{
		font-size:98%;
	}

	.column {
		flex: 100%;
	}

	dl.standard01 dd {
		font-size:95%;
	}

	#main ul li, #main ol li{
		font-size:95%;
	}


	h2, h2.standard01, h2.standard02, h2.standard03, h2.standard04, h2.standard05, h2.standard06, h2.standard07, h2.standard08, h2.standard09, h2.standard10, h2.standard11, h2.standard12, h2.standard13, h2.standard14, h2.standard15, h2.standard16, h2.standard17, h2.standard18, h2.standard19, h2.standard20,
    h3, h3.standard01, h3.standard02, h3.standard03, h3.standard04, h3.standard04_green, h3.standard05, h3.standard06, h3.standard07, h3.standard08, h3.standard09, h3.standard10, h3.standard10_1, h3.standard10_2, h3.standard10_3, h3.standard10_4, h3.standard10_5, h3.standard10_6, h3.standard11, h3.standard12, h3.standard12_bluesky, h3.standard13, h3.standard14, h3.standard15 ,h3.yubi,
	h4, h4.standard01, h4.standard02, h4.standard03, h4.standard04, h4.standard05, h4.standard06, h4.standard07, h4.standard08, h4.standard09, h4.standard10, h4.yubi, .card h4, .cp_qa h4,
	h5, 
	h6,
	div.standard01, 
	div.standard02, div.standard02_1, div.standard02_2, div.standard02_3, div.standard02_4, div.standard02_5, div.standard02_6, div.standard02_7, div.standard02_8, div.standard02_9, div.standard02_10, 
	div.standard03_1, div.standard03_2, div.standard03_3, div.standard03_4, 
	p.yubi, 
	dl.standard01 dt {
		font-size:99%;
	}

	h3,standard01, h3.standard03, h3.standard07, h4.standard01 {
		font-size:1.1em;
	}

	.waku3 .box-title, .waku4 .box-title, .waku4-2 .box-title, .waku5 .box-title, .waku9 .box-title, .box-title11 {
		font-size:90%;
	}
}


/* -----------------------------
	文字装飾
----------------------------- */

.yellow_underline{
	background: linear-gradient(transparent 50%, yellow 50%);
}

.skyblue_underline{
	background: linear-gradient(transparent 50%, skyblue 50%);
}

.orange_underline{
	background: linear-gradient(transparent 50%, orange 50%);
}


/* -----------------------------
	文字サイズ
----------------------------- */

.font-150 {
	font-size:150%;
	letter-spacing:.1em;
}

.font-140 {
	font-size:140%;
	letter-spacing:.1em;
}

.font-130 {
	font-size:130%;
	letter-spacing:.1em;
}

.font-120 {
	font-size:120%;
}

.font-110 {
	font-size:110%;
}

.font-100 {
	font-size:100%;
}

.font-98 {
	font-size:98%;
}

.font-97 {
	font-size:97%;
}

.font-95 {
	font-size:95%;
}

.font-90 {
	font-size:90%;
}

.font-85 {
	font-size:85%;
}

.font-80 {
	font-size:80%;
}

.font-75 {
	font-size:75%;
}

.font-70 {
	font-size:70%;
}

.font-60 {
	font-size:60%;
}


/* -----------------------------
	文字色
----------------------------- */

.color-000 {
	color:#000;
}

.color-333 {
	color:333;
}

.color-666 {
	color:#666;
}

.color-999 {
	color:#999;
}

.color-fff {
	color:#fff;
}

.color-f00 {
	color:#f00;
}

.color-00f {
	color:#00f;
}

.color-ff0 {
	color:#ff0;
}

.color-f5ab18 {
	color:#033B86;
}


























/* ------------------------- 
 * フローティングバナー
 * 1920px以上の大画面では右端に固定表示
 * それ未満では非表示にする
---------------------------- */

/* 1920px以上（大画面PCなど） */
@media only screen and (min-width: 1920px) {

  .fixed_btn1 { 
    position: fixed; /* 画面に固定配置 */
    top: -5px; /* 上端から -5px（少し上にずらす） */
    right: 0; /* 画面右端に固定 **/
    padding: 6px 0; /* 上下の余白 **/
    z-index: 99999; /* 最前面に表示（他要素より優先） */
  }

	.fixed_btn1 img {
	  width: 150px; /* ここを絶対指定 */
	  height: auto;
	}


  .fixed_btn_tel { 
    position: fixed; /* 画面右下付近に固定配置 */
    bottom: 350px; /* 下から350pxの位置 */
    right: 0; /* 右端に固定 */
    padding: 6px 0; /* 上下余白 */
    z-index: 99999; /* バナーが他要素に隠れないようにする */
  }
}

/* 特定ページ（例：page-id-4053, page-id-4055）では非表示にする */
.page-id-4053 .fixed_btn1,
.page-id-4055 .fixed_btn1 {
  display: none; /* 該当ページで非表示 */
}

/* 1919px以下（ノートPC・タブレット・スマホ）では非表示 */
@media only screen and (max-width: 1919px) {
  .fixed_btn1,
  .fixed_btn_tel { 
    display: none; /* 小さい画面では非表示にする */
  }
}











