@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Lato:400,700);

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Lato, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #333;
  line-height: 1.6;
  font-size: 14px;
}

a {
  color: #2a84dd;
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==================== Header ==================== */
.site-header {
  margin-bottom: 1.2em;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-header h1 {
  width: 100%;
  font-size: 10px;
  margin: 5px 0;
  color: #444;
}
.site-header .logo {
  max-width: 200px;
}
.site-header .tel-box {
  text-align: right;
}
.site-header .tel-box img {
  max-width: 350px;
}

/* ==================== Navigation ==================== */
.nav-wrap {
  background: linear-gradient(to bottom, #f7f7f7 0%, #ffffff 50%, #ffffff 100%);
}
.navbar {
  position: relative;
}
.nav-menu {
  display: flex;
  width: 100%;
  text-align: center;
}
.nav-menu li {
  width: 16.66666667%;
}
.nav-menu li a {
  display: block;
  padding: 15px 5px;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
}
.nav-menu li a:hover {
  opacity: 0.7;
  transition: all 0.5s ease;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #888;
  margin: 4px 0;
  transition: 0.3s;
}

/* ==================== Key Image ==================== */
.key-bg {
  background: url(../img/main_img_bg.jpg) 50% 20%;
  background-size: cover;
}
.key-bg .container {
  padding: 0;
}

/* ==================== 6 Promises ==================== */
.six-promises-header {
  margin-bottom: 0;
}

.six_bg {
  background: url(../img/six_pro_bg.jpg);
  background-size: cover;
  padding: 10px 0 0;
}
.six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.six-item {
  background-size: cover;
  padding: 15px;
}
.six-item:nth-child(1) { background-image: url(../img/six_pro_01.jpg); }
.six-item:nth-child(2) { background-image: url(../img/six_pro_02.jpg); }
.six-item:nth-child(3) { background-image: url(../img/six_pro_03.jpg); }
.six-item:nth-child(4) { background-image: url(../img/six_pro_04.jpg); }
.six-item:nth-child(5) { background-image: url(../img/six_pro_05.jpg); }
.six-item:nth-child(6) { background-image: url(../img/six_pro_06.jpg); }

.six-item h2 {
  font-size: 22px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", serif;
}
.six-item .number {
  font-size: 36px;
  text-align: center;
}
.six-item .number span {
  font-size: 92px;
  font-weight: bold;
  color: #065dc7;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", serif;
}

/* ==================== Button Link ==================== */
.link-btn {
  text-align: center;
  padding: 30px 0 0 0;
}
.link-btn img {
  max-width: 300px;
}

/* ==================== Trouble Section ==================== */
.q-section-header {
  margin-top: 15px;
}
.q_bg {
  background: url(../img/q_bg.jpg);
  background-repeat: repeat-x;
}

/* ==================== Service Section ==================== */
.srv_bg {
  background: url(../img/srv_bg.jpg);
  background-repeat: repeat;
  padding: 10px 0;
}
.srv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.srv-col.blue {
  background-color: rgba(2, 113, 254, 0.2);
  padding: 1px 15px;
}
.srv-col.red {
  background-color: rgba(255, 0, 60, 0.2);
  padding: 1px 15px;
}
.srv_bg h2 {
  font-size: 24px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", serif;
  margin: 25px 0;
}
.srv_bg h2 .accent-blue {
  font-size: 38px;
  color: #065dc7;
}
.srv_bg h2 .accent-red {
  font-size: 38px;
  color: #c70621;
}
.srv_bg h3 {
  font-size: 24px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", serif;
  text-decoration: underline;
}
.srv_bg p {
  margin-bottom: 20px;
}
.srv-box {
  border: solid 3px #a0a0a0;
  background-color: #fff;
  margin-bottom: 25px;
  padding: 15px;
}

/* ==================== President Section ==================== */
.president {
  padding: 30px 0 50px 0;
}
.president h2 {
  font-size: 36px;
  text-decoration: underline;
  margin-bottom: 20px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", serif;
}
.president-content {
  display: flex;
  gap: 30px;
}
.president-text {
  flex: 1;
}
.president-text p {
  font-size: 14px;
  line-height: 1.8;
}
.president-text .highlight {
  color: #f00;
  font-weight: bold;
}
.president-name {
  font-size: 20px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", serif;
  text-align: right;
  margin-top: 15px;
}
.president-photo {
  flex: 0 0 220px;
}

/* ==================== Contact Banner ==================== */
.contact-banner {
  background: url(../img/main_img_bg.jpg) 50% 20%;
  background-size: cover;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* ==================== Footer ==================== */
.footer {
  margin-bottom: 30px;
  padding-top: 15px;
}
.footer-inner {
  display: flex;
  gap: 30px;
}
.footer-left {
  flex: 1;
}
.footer-left .footer-logo {
  max-width: 60%;
}
.footer .footer-logo {
  max-width: 250px;
}
.footer-left .footer-address {
  padding-top: 15px;
  font-size: 14px;
  line-height: 1.8;
}
.footer-right {
  flex: 1;
}
.news {
  height: 220px;
  overflow: auto;
}
.news dl {
  margin-bottom: 10px;
}
.news dt {
  font-weight: bold;
  color: #555;
  font-size: 13px;
}
.news dd {
  margin-left: 0;
  margin-bottom: 10px;
}
.news dd a {
  color: #333;
  font-size: 14px;
}
.news dd a:hover {
  color: #2a84dd;
}

/* ==================== Copyright ==================== */
.copy {
  font-size: 12px;
  padding: 10px 0;
  text-align: center;
  background-color: #004AA3;
  color: #fff;
}

/* ==================== Subpage Layout ==================== */
.subpage-content {
  display: flex;
  gap: 30px;
  padding: 15px 0 30px;
}
.subpage-main {
  flex: 1;
  min-width: 0;
}
.subpage-sidebar {
  flex: 0 0 200px;
}
.subpage-sidebar img {
  margin-bottom: 15px;
}

/* Breadcrumb */
.breadcrumb {
  background-color: #fff;
  padding: 8px 0;
  margin-bottom: 20px;
  font-size: 13px;
}
.breadcrumb a {
  color: #2a84dd;
}
.breadcrumb .separator {
  margin: 0 8px;
  color: #999;
}
.breadcrumb .current {
  color: #666;
}

/* Subpage Headings */
.hl2 {
  position: relative;
  padding-bottom: .5em;
  border-bottom: 4px solid #ccc;
  margin-bottom: 15px;
  font-size: 20px;
}
.hl2::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #0f62c8;
}

.hl3 {
  position: relative;
  padding: .25em 0 .5em .75em;
  border-left: 6px solid #0f62c8;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 20px;
}
.hl3::before {
  position: absolute;
  left: -6px;
  bottom: 0;
  content: '';
  width: 6px;
  height: 50%;
  background-color: #003a82;
}

.hl4 {
  position: relative;
  padding: 0 .5em .5em 2em;
  border-bottom: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 10px;
}
.hl4::before,
.hl4::after {
  position: absolute;
  content: '';
  border-radius: 100%;
}
.hl4::before {
  top: .2em;
  left: .2em;
  z-index: 2;
  width: 18px;
  height: 18px;
  background: rgba(72, 158, 255, .5);
}
.hl4::after {
  top: .7em;
  left: .7em;
  width: 13px;
  height: 13px;
  background: rgba(226, 239, 255, .5);
}

.hl5 {
  position: relative;
  padding: 0 0 .5em 2em;
  font-size: 16px;
  font-weight: normal;
  counter-increment: number;
}
.hl5::before {
  position: absolute;
  top: 0;
  left: 0;
  content: counter(number);
  width: 28px;
  height: 28px;
  line-height: 28px;
  background-color: #88bfff;
  border-radius: 100%;
  color: #fff;
  font-size: .9em;
  text-align: center;
}

.hl6 {
  font-size: 17px;
  font-weight: bold;
  margin: 25px 0 10px;
  position: relative;
  padding: 0.5em 0.5em 0.2em 2.0em;
  margin-bottom: 5px;
}
.hl6::before {
  content: "\25A0";
  font-size: 120%;
  font-weight: bold;
  position: absolute;
  color: #4DC4FA;
  top: 0em;
  left: 0.3em;
}
.hl6::after {
  content: "\25A0";
  font-size: 120%;
  font-weight: bold;
  position: absolute;
  color: #2A84DD;
  top: 0.3em;
  left: 0;
}

/* Subpage text */
.subpage-main p,
.subpage-main div {
  line-height: 26px;
}
.subpage-main .mb30 {
  margin-bottom: 30px;
}
.subpage-main .mt30 {
  margin-top: 30px;
}

/* Flow boxes */
.flow-group {
  background: #ebf9ff;
  padding: 10px 15px 1px;
  margin-bottom: 25px;
  border-radius: 4px;
}
.flow-group dl {
  padding: 15px;
  border: solid 1px #ffffff;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 1px 1px 2px #E5E5E5;
  margin: 10px 0;
}
.flow-group dt {
  color: #0068BA;
  font-weight: bold;
  margin-bottom: 10px;
}
.flow-group dd {
  margin-left: 0;
  margin-bottom: 1em;
  font-size: 14px;
}
.flow-arrow {
  text-align: center;
  margin: 5px 0;
}

/* Company info */
.company-info {
  margin-bottom: 30px;
}
.company-info dt {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  padding-top: 10px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 5px;
}
.company-info dd {
  margin-left: 0;
  margin-bottom: 15px;
  padding-left: 10px;
}

/* Contact page */
.contact-iframe {
  width: 100%;
  height: 1065px;
  border: none;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 600px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
}
.form-group .required {
  display: inline-block;
  background-color: #c70621;
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: normal;
  vertical-align: middle;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background-color: #fafafa;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0f62c8;
  background-color: #fff;
}
.form-group textarea {
  resize: vertical;
}
.form-submit {
  text-align: center;
  margin-top: 25px;
}
.form-submit button {
  background-color: #004AA3;
  color: #fff;
  border: none;
  padding: 14px 50px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.form-submit button:hover {
  background-color: #003580;
}
.form-address .form-row {
  margin-bottom: 10px;
}
.form-address input,
.form-address select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background-color: #fafafa;
  transition: border-color 0.3s;
}
.form-address input:focus,
.form-address select:focus {
  outline: none;
  border-color: #0f62c8;
  background-color: #fff;
}
.form-address .input-short {
  max-width: 200px;
}

/* Thanks page */
.thanks-box {
  text-align: center;
  padding: 40px 20px;
  background: #f8fbff;
  border: 1px solid #d6e6f5;
  border-radius: 8px;
  margin-bottom: 30px;
}
.thanks-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: #0f62c8;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  border-radius: 50%;
}
.thanks-title {
  font-size: 22px;
  font-weight: bold;
  color: #004AA3;
  margin-bottom: 20px;
}
.thanks-message {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.thanks-note {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}
.thanks-tel {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 25px;
}
.thanks-tel a {
  color: #333;
  text-decoration: none;
}
.thanks-back {
  margin-top: 10px;
}
.btn-back {
  display: inline-block;
  background-color: #004AA3;
  color: #fff;
  padding: 12px 40px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}
.btn-back:hover {
  background-color: #003580;
  opacity: 1;
}

/* Slim page layout */
.slim-content {
  display: flex;
  gap: 20px;
}
.slim-content .text {
  flex: 1;
}
.slim-content .image {
  flex: 0 0 180px;
}

/* Counter reset for numbered items */
.numbered-list {
  counter-reset: number 0;
}

/* ==================== Responsive ==================== */
@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  .site-header .tel-box {
    display: none;
  }
  .six-grid {
    grid-template-columns: 1fr;
  }
  .srv-grid {
    grid-template-columns: 1fr;
  }
  .president-content {
    flex-direction: column;
  }
  .president-photo {
    display: none;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-left {
    text-align: center;
  }
  .footer-left .footer-logo {
    max-width: 200px;
  }
  .subpage-content {
    flex-direction: column;
  }
  .subpage-sidebar {
    display: none;
  }
  .slim-content {
    flex-direction: column;
  }
  .slim-content .image {
    text-align: center;
  }
}
