@charset "UTF-8";
/* Reset */

body, div, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ul, ol, li, 
blockquote, pre, table, caption, th, td, address, 
form, fieldset, legend, object {
	margin: 0;
	padding: 0;
}

p,h5, h6, pre, table, design, kbd, samp, acronym, input, textarea, select {
	font-size: 14px;
}
@media screen and (min-width: 960px) {
	p,h5, h6, pre, table, design, kbd, samp, acronym, input, textarea, select {
	font-size: 16px;
	}
}
address, em, cite, dfn, var {
	font-style: normal;
}

input, textarea {
	font-family: sans-serif;
	font-weight: normal;
}

img {
	max-width: 100%;
    border: 0;
    vertical-align: bottom;
}

a img {
  	border: none;
}


/* Setting */

html {  
	overflow-y: scroll;  
}

body {
	line-height: 1.5;
	background: #FFF;
	color: #333;
	font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS P Gothic", "Osaka", Verdana, Arial, Helvetica, sans-serif;
	-webkit-text-size-adjust: none;
	overflow-x : hidden;
}


h1 {
	margin: 0px;
	padding: 0px;
}

ul {
	list-style-position: outside;
}
ul li {
	list-style-type: none;
}

ol {
	list-style-position: outside;
}
  
table {
	border-collapse: collapse;
}

legend {
	color: #333;
}

.clearfix:after {
	content: "";
	clear: both;
	display: block;
}
.clear {
	clear: both;
}
.title {
	margin-bottom: 30px;
}
.subtitle {
	margin-bottom: 30px;
	text-align: center;
	margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .subtitle {
    margin-bottom: 20px;
	  margin-top: 10px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .subtitle {
    margin-bottom: 15px;
    padding: 0 5px;
  }
}

.subtitle strong {
	font-size: 52px;
	border-bottom: solid 5px #00529F;
  letter-spacing: 0.25em;
}

@media screen and (max-width: 768px) {
  .subtitle strong {
    font-size: 32px;
    letter-spacing: 0.15em;
  }

  .subtitle strong span {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .subtitle strong {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .subtitle strong span {
    font-size: 28px;
  }
}

.caution {
	color: #FF4629;
}

/*header*/
.header {
	position: relative;
	max-width: 960px;
	margin: auto;
}
.logo {
	position: relative;
	top: 10px;
	left: 10px;	
}
.logo img {
	width: 250px;
}
.header nav {
	position: fixed;
	top: 10px;
	right: calc((100vw - min(100%, 960px)) / 2 + 10px);
}
.header nav ul li {
	float: right;
}
.header nav ul li a {
	display: block;
	width: 120px;
	padding: 10px 0;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	box-sizing: border-box;
}
.header nav ul li:nth-of-type(1) a {
	margin-left: 10px;
	color: #00529F;
	background: #fff;
	border: solid 1px #00529F;
}
.header nav ul li:nth-of-type(1) a:hover {
	color: #fff;
	background: #00529F;
}
.header nav ul li:nth-of-type(2) a {
	color: #fff;
	background: #00529F;
}
.header nav ul li:nth-of-type(2) a:hover {
	color: #00529F;
	background: #fff;
	border: solid 1px #00529F;
}
@media screen and (max-width: 639px) {
	.logo img {
		width: 200px;
	}
	.header nav ul li a {
	}
}
@media screen and (max-width: 479px) {
	.logo img {
		width: 150px;
	}
	.header nav ul li a {
		width: auto;
		padding: 10px 5px;
		font-size: 14px;
	}
}

/*contents共通*/
.contents {
	max-width: 960px;
	margin: auto;
	padding: 30px 10px;
}

.contents p {
	text-align: center;
	margin-bottom: 20px;
}

section {
	padding-bottom: 30px;
}

#business_tools_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto 40px;
}

/* 全ボタンの共通スタイル */
#business_tools_nav a {
  flex: 0 1 calc(25% - 10px);
  box-sizing: border-box;
  text-align: center;
  border: 1px solid #00529F;
  color: #00529F;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  #business_tools_nav {
    max-width: 100%;
    padding: 0 10px;
    gap: 8px;
  }

  #business_tools_nav a {
    flex: 0 1 calc(50% - 8px); /* タブレットでは2列 */
    font-size: 13px;
    padding: 10px 5px;
  }
}

@media screen and (max-width: 480px) {
  #business_tools_nav {
    padding: 0 10px;
    gap: 10px;
  }

  #business_tools_nav a {
    flex: 0 1 calc(50% - 10px); /* 2列表示、gap考慮 */
    font-size: 13px;
    padding: 12px 0;
  }
}

#business_tools_nav a:hover {
  background: #00529F;
  color: #fff;
}

.business_tools_section {
  margin-bottom: 30px;
  border-top: 1px dashed #ccc;
  padding-top: 30px;
  text-align: center;
}

.business_tools_title {
  text-align: center;
  margin: 0 auto 30px;
}

.business_tools_title span {
  font-size: 34px;
  font-weight: bold;
  padding-bottom: 2px;
  letter-spacing: 0.2em;
  border-bottom: solid 4px #00B050;
}

@media screen and (max-width: 768px) {
  .business_tools_title span {
    font-size: 28px;
    letter-spacing: 0.12em;
  }
}

@media screen and (max-width: 480px) {
  .business_tools_title span {
    font-size: 24px;
    letter-spacing: 0.08em;
  }
}

.business_tools_products {
  display: flex;
  justify-content: center; 
  gap: 20px;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.product_card {
  width: 300px; /* 固定幅 or お好みで調整可能 */
  text-align: center;
}

.product_card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.product_card_img_link {
  display: inline-block;
  text-align: center;
  color: #00529F;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.3;
  font-size: 20px;
  transition: color 0.2s ease;
}

.product_card_img_link img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

.product_card_img_link:hover img {
  opacity: 0.6; /* 薄くする */
  cursor: pointer;
}

.product_card_img_link:hover {
  color: #00529F;
  text-decoration: underline;
}

.product_card_title {
	font-size: 20px;
	color:#333;
	font-weight: bold;
	line-height: 1.3;
}

.product_card_link {
  font-size: 20px;
	color:#00529F;
	font-weight: bold;
	line-height: 1.3;
  text-decoration: none;
  transition: text-decoration 0.2s ease, color 0.2s ease;
}

@media screen and (max-width: 768px) {
  .product_card_link {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .product_card_link {
    font-size: 16px;
    text-decoration: underline; /* スマホは常に下線出す案も */
  }
}

.product_card_link:hover {
  text-decoration: underline; /* ホバー時に下線 */
}

.contact_mail_text {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 6px;
  color: #333;
  background-color: transparent;
  padding: 0;
  display: block;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .contact_mail_text {
    font-size: 16px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .contact_mail_text {
    font-size: 15px;
    padding: 0 8px;
    line-height: 1.5;
  }
}

.contact_mail_button {
  display: inline-block;
  margin: 8px auto 0;
  padding: 10px 20px;
  background: #00B050;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  width: 160px;
  font-size: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.contact_mail_button:hover {
  background: #00c75a; 
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

@media screen and (max-width: 768px) {
  .business_tools_products {
    max-width: 100%;
    gap: 16px;
    padding: 0 10px;
  }

  .product_card {
    width: 45%; /* 2列 */
    margin-bottom: 20px;
  }

  .product_card img {
    width: 100%;
    height: auto;
  }

  .product_card_title {
    font-size: 18px;
  }

  .contact_mail_text {
    font-size: 18px;
  }

  .contact_mail_button {
    padding: 8px 16px;
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .product_card {
    width: 100%; /* スマホでは1列に */
  }

 .product_card_title {
    font-size: 16px;
  }

  .business_tools_title span {
    font-size: 24px;
  }

  .business_tools_title span::after {
    width: 24px;
    height: 3px;
  }

  .contact_mail_button {
    font-size: 18px;
    padding: 10px 20px;
  }
}

/*footer*/
.footer {
	border-top: 10px solid #18388d;
}
.footer_contents {
	max-width: 960px;
	margin: auto;
}
.footer_contents > ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: start;
    justify-content: center;
    margin: auto;
}
.footer_contents > ul > li:nth-of-type(1) {
    width: 70px;
    padding: 1%;
    box-sizing: border-box;
}
.footer_contents > ul > li:nth-of-type(2) {
    width: calc(100% - 70px);
    padding: 1%;
    box-sizing: border-box;
}
.footer small {
	display: block;
	padding-bottom: 20px;
	text-align: center;
}

.gotop {
    bottom: 20px;
    right: 20px;
    position: fixed;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    opacity: 0.5;
}
