/* ===== style.css ===== */
@charset "utf-8";


/* --------------------------------------------------------------------------------
 web fonts　ウェブフォントファミリー
-------------------------------------------------------------------------------- */
body, input, textarea, select, option, table {
	font-family: "Times New Roman",Times,"Yu Mincho","游明朝","游明朝体","Hiragino Mincho Pro",serif;
	font-weight: 400;
}
h1,h2,h3,h4,h5,h6,th,strong,b {
	font-weight: 700;
}


/* --------------------------------------------------------------------------------
 基本設定
-------------------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}
body {
	color: #333;
	font-size: 15px;
	line-height: 2.2;
	-webkit-text-size-adjust: 100%;
	word-wrap: break-word;
	overflow-x: hidden;
}
a {
	color: #111;
	transition: all 0.3s ease;
}
a:hover {
	color: #a67c52;
}
a img {
	transition: all 0.3s ease;
}
a img:hover {
	opacity: 0.85;
}
img {
	max-width: 100%;
	height: auto;
}
video {
	max-width: 100%;
	height: auto;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th {
	text-align: left;
}
.wp-caption {
	max-width: 100%;
}
p {
	margin: 0 0 1.5em 0;
}
.clear {
	clear: both;
}
.alignleft {
	float: left;
	margin: 0 20px 20px 0;
}
.alignright {
	float: right;
	margin: 0 0 20px 20px;
}
.aligncenter {
	display: block;
	margin: 0 auto 20px auto;
}
.hide {
	display: none;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.sp {display:none;}
.pc {display:block;}

/* --------------------------------------------------------------------------------
 wrapper
-------------------------------------------------------------------------------- */
#container {
	position: relative;
	width: 100%;
	overflow: hidden;
}


/* --------------------------------------------------------------------------------
 header
-------------------------------------------------------------------------------- */
#header {
	width: 100%;
	background: #fff;
	position: relative;
	z-index: 1000;
	transition: all 0.3s ease;
	border-bottom: 5px solid #000;
}
#header.fixed {
	position: fixed;
	top: 0;
	left: 0;
}
#header_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0px 30px;
}
#header_inner h1 {
	margin: 0;
}
#logo {
	flex: 0 0 auto;
}
#logo img {
	max-height: 60px;
	width: auto;
}
#global_menu {
	margin-left: auto;
	display: flex;
	gap: 30px;
}
#global_menu ul {
	display: flex;
	margin: 0;
	padding: 0;
}
#global_menu ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
}
#global_menu ul li a {
	font-family: Arial,"Hiragino Sans","Yu Gothic Medium","Meiryo",sans-serif;
	display: block;
	padding: 15px 25px;
	transition: background 0.3s, color 0.3s;
	text-decoration: none;
	font-size: 14px;
	color: #333;
}
#global_menu ul li a:hover {
	background: #223a59;
	color: #fff;
}
/*#global_menu a:hover {
	color: #a67c52;
}*/
/* ハンバーガーを右端に配置 */
#hamburger {
	display: none;
	font-size: 28px;
	cursor: pointer;
	color: #333;
	margin-left: 20px;
}
/* ===== スライダー ===== */
#main_visual .swiper-container {
	width: 100%;
	height: 75vh;
}
#main_visual img {
	width: 100%;
	height: height;
	max-height:400px;
	object-fit: contain; /* 全体を見せる */
	background: #000; /* 余白は黒で埋める */
}
.swiper-button-prev,  .swiper-button-next {
	color: #fff; /* 矢印を白で表示 */
}

/* ===== 3つのボックス ===== */
.three-box {
	position: relative;
	margin-top: -100px; /* スライダーに重ねる */
	z-index: 2;
}
.three-box .services {
	display: flex;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
	gap: 0; /* 隙間をなくす */
}
.three-box {
	padding-top: 90px;
}
.three-box .service-box {
	flex: 1;
	text-align: center;
	padding: 40px 20px;
	color: #fff;
	height: 300px;
	margin: 0;
	border-radius: 0;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	text-decoration:none;
}
section.three-box {
	margin-bottom:0;
}
.three-box .service-box h3,  .three-box .service-box .icon,  .three-box .service-box p {
	position: relative;
	z-index: 1; /* hover背景より上に表示 */
}
.three-box .service-box h3 {
	font-size: 20px;
	margin-bottom: 15px;
	font-weight: 700;
}
.three-box .service-box p {
	font-size: 14px;
	font-weight: normal;
	text-align: left;
}

.three-box .service-box .icon {
	margin-bottom: 15px;
}
.three-box .service-box p {
	font-size: 15px;
	line-height: 1.8;
}
/* hover時の背景画像 */
.service-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.6s ease;
	z-index: 0;
}
.service-box:nth-child(1)::before {
	background-image: url('img/box1.jpg');
}
.service-box:nth-child(2)::before {
	background-image: url('img/box2.jpg');
}
.service-box:nth-child(3)::before {
	background-image: url('img/box3.jpg');
}
.service-box:hover::before {
	opacity: 1;
}
/* 各boxの背景色 */
.service-box.bg-darkgray {
	background-color: #444;
}
.service-box.bg-navy {
	background-color: #1f3a5f;
}
.service-box.bg-green {
	background-color: #3d4631;
}
 @media screen and (max-width: 768px) {
#global_menu {
	display: none;
	position: absolute;
	top: 60px;
	right: 0;
	width: 200px;
	background: #fff;
	border: 1px solid #ddd;
	flex-direction: column;
	text-align: right;
	padding: 10px;
	z-index: 999;
}
#global_menu ul {
	flex-direction: column;
}
#hamburger {
	display: block;
}
.three-box {
	margin-top: 0;
}
.three-box .services {
	flex-direction: column;
}
.three-box .service-box {
	height: auto; /* スマホは可変に */
}
.three-box .service-box:not(:last-child) {
	border-right: none;
	border-bottom: 1px solid #fff;
}
}

/* --------------------------------------------------------------------------------
 main visual
-------------------------------------------------------------------------------- */
#main_visual {
	position: relative;
	width: 100%;
	overflow: hidden;
}
#main_visual .swiper-container {
	width: 100%;
	height: 300px;
}
#main_visual .swiper-slide img {
	width: 100%;
	/*height: 100%;
	object-fit: cover;*/
	height:auto;
	max-height:400px;
	object-fit:contain;
}
#main_visual .swiper-button-prev,
#main_visual .swiper-button-next {
	color: #fff;
}
#main_visual .swiper-pagination-bullet {
	background: #fff;
	opacity: 0.8;
}
#main_visual .swiper-pagination-bullet-active {
	background: #a67c52;
}

/* --------------------------------------------------------------------------------
 section
-------------------------------------------------------------------------------- */
section {
	padding: 40px 20px;
	/*max-width: 1100px;*/
	margin: auto 0 80px;
}
section h2 {
	text-align: center;
	font-size: 38px;
	margin-bottom: 40px;
	font-weight: 400;
	line-height: 200%;
}
section p {
	text-align: center;
	font-size: 16px;
	line-height: 1.8;
}

/* --------------------------------------------------------------------------------
 service
-------------------------------------------------------------------------------- */
.services {
	display: flex;
	gap: 30px;
	justify-content: space-between;
}
.service-box {
	background: #fafafa;
	padding: 30px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 500;
	transition: transform 0.3s, box-shadow 0.3s;
}
.service-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* --------------------------------------------------------------------------------
 税理士紹介
-------------------------------------------------------------------------------- */

:root{
  --profile-accent:#0b67a3;
  --profile-text:#222;
  --profile-muted:#666;
  --profile-radius:12px;
  --profile-font-sans: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", Roboto, sans-serif;
}

.profile-section{
  background: #fff;
  padding: 32px 16px;
}

.profile-container{
  max-width: 1000px;
  margin: 0 auto;
}

.profile-name{
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  line-height: 1.3;
}
.profile-title{
  font-size: 1rem;
  color: var(--profile-accent);
  margin-left: 8px;
  font-weight: 600;
}

.profile-intro{
  margin: 0 0 16px 0;
}
.profile-details h2, .profile-details p{
	text-align:left;
}
.profile-details h3{
  margin: 16px 0 8px 0;
  font-size: 1.1rem;
}
.profile-career{
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.profile-career li{
  margin: 6px 0;
  /*color: var(--profile-muted);*/
  font-size: 0.95rem;
}
.profile-career time{
  color: var(--profile-accent);
  font-weight:600;
  margin-right:8px;
}

.profile-expertise{
  margin: 0 0 18px 0;
}

.profile-contact{
  display:flex;
  justify-content: center;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.profile-btn{
  text-decoration:none;
  display:inline-block;
  padding:10px 14px;
  border-radius:10px;
  background: var(--profile-accent);
  color: #fff;
  font-weight:600;
  box-shadow: 0 6px 12px rgba(11,103,163,0.12);
}
.profile-btn:hover{ transform: translateY(-2px); transition: .18s; }
.profile-btn-outline{
  background: transparent;
  color: var(--profile-accent);
  border: 2px solid var(--profile-accent);
  box-shadow: none;
}


/* --------------------------------------------------------------------------------
 recruit
-------------------------------------------------------------------------------- */
 /* 横並びボックス */
    .top-box {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
	  padding:0 20px;
    }
    .job-header-box, .highlight {
      flex: 1;
      min-width: 250px;
      border: 1px solid #c0c5cc;
      border-radius: 6px;
      padding: 15px;
    }
    .job-header-box {
      background: #f8fafd;
    }
    .job-header-title {
      background: #003b71;
      color: #fff;
      padding: 10px;
      font-size: 1.1rem;
      font-weight: bold;
      text-align: center;
      border-radius: 6px 6px 0 0;
      margin: -15px -15px 15px -15px;
    }
    .highlight {
      background: #e3f2fb;
      border: 1px solid #a0cbe7;
    }
    .highlight strong {
      display: block;
      font-size: 1.1rem;
      margin-bottom: 10px;
      color: #003b71;
	  text-align:center;
    }

    /* 募集要項 */
    .requirements {
      margin: 20px;
      border: 1px solid #003b71;
      border-radius: 6px;
      overflow: hidden;
    }
    .requirements-header {
      background: #003b71;
      color: #fff;
      padding: 12px;
      font-size: 1.1rem;
      font-weight: bold;
      text-align: center;
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    table th, table td {
      border: 1px solid #d0d5dc;
      padding: 10px;
      text-align: left;
    }
    table th {
      background: #f0f7fe;
      width: 30%;
    }
    @media (max-width: 768px) {
      .top-box {
        flex-direction: column;
      }
      table th, table td {
        display: block;
        width: 100%;
      }
    }

/* --------------------------------------------------------------------------------
 contact
-------------------------------------------------------------------------------- */
#contact {
	background: #f9f9f9;
	padding: 80px 20px;
}
#contact h2 {
	text-align: center;
	margin-bottom: 40px;
}
.wpcf7 {
	max-width: 700px;
	margin: auto;
}
.wpcf7 input,
.wpcf7 textarea {
	width: 100%;
	padding: 12px;
	margin-bottom: 20px;
	font-size: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.wpcf7-submit {
	background: #333;
	color: #fff;
	padding: 12px;
	font-size: 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s;
}
.wpcf7-submit:hover {
	background: #666;
}

/* --------------------------------------------------------------------------------
 footer
-------------------------------------------------------------------------------- */
#footer {
	background: #333;
	color: #fff;
	text-align: center;
	padding: 40px 20px 20px;
	font-size: 14px;
}

/* --------------------------------------------------------------------------------
 access
-------------------------------------------------------------------------------- */
.map-container {
  position: relative; /* iframeの絶対配置の基準にするため */
  height: 0; /* 高さを0に設定 */
  padding-top: 56.25%; /* アスペクト比16:9の場合 9 / 16 * 100 = 56.25% */
  overflow: hidden; /* はみ出した部分を隠す */
}

.map-container iframe {
  position: absolute; /* コンテナのサイズに合わせて表示 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(1);
}

.access h2 {
	text-align: center;
	margin-bottom: 30px;
}
.access-map {
	width: 100%;
	height: 400px;
	border: 0;
	margin-bottom: 20px;
}
.access-info {
	text-align: center;
	font-size: 15px;
	color: #555;
}
/* --------------------------------------------------------------------------------
 responsive
-------------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  #header_inner {
    flex-direction: column;
    padding: 10px;
  }
  #global_menu {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  #main_visual .swiper-container {
    height: auto;
  }
  section {
    padding: 60px 15px;
  }
  .services {
    flex-direction: column;
  }
  .service-box {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }
  #header_inner {
    padding: 8px;
  }
  #logo img {
    max-height: 40px;
  }
  #main_visual .swiper-container {
    /*height: 250px;*/
	height:auto;
  }
  .three-box {
	padding:0;
  }
   .swiper-button-prev, .swiper-button-next {
	width:24px;
	height:24px;
	background-size: 16px 16px;
}
 .swiper-button-prev::after, .swiper-button-next::after {
	font-size: 16px !important;
}
  section h2 {
    font-size: 22px;
    margin-bottom: 25px;
  }
  section p {
	  text-align:left;
  }
  .service-box {
    font-size: 16px;
    padding: 20px;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
  .access-map {
    height: 250px;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 13px;
  }
  #main_visual .swiper-container {
    height: 200px;
  }
    #main_visual .swiper-container {
	height:auto;
  }
  .three-box {
	padding:0;
  }
  section {
    padding: 40px 10px;
  }
  section h2 {
    font-size: 20px;
  }
  section p {
	  text-align:left;
  }
  .wpcf7 input,
  .wpcf7 textarea {
    font-size: 14px;
    padding: 10px;
  }
  .wpcf7-submit {
    font-size: 14px;
    padding: 10px;
  }
  .swiper-button-prev, .swiper-button-next {
	width:24px;
	height:24px;
	background-size: 16px 16px;
}
 .swiper-button-prev::after, .swiper-button-next::after {
	font-size: 16px !important; 
}
  
}
