﻿@charset "utf-8";
/*
Theme Name: theme_datsuHP
Description: theme_datsuHP
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  font:
    16px/1.75 "游ゴシック体",
    "Yu Gothic",
    YuGothic,
    "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro",
    "メイリオ",
    "Meiryo",
    arial,
    Osaka,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    Sans-Serif;
  font-weight: 500;
  color: #252525;
  -webkit-text-size-adjust: 100%;
  overflow: hidden;
  background: #fff;
}

/* link
----------------------------------------------- */

a {
  color: #5f8fbf;
  text-decoration: underline;
  word-break: break-all;
  cursor: pointer;
}

a:hover {
  color: #95b3cd;
  text-decoration: none;
  cursor: pointer;
}

/* clearfix
----------------------------------------------- */

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.clear {
  clear: both;
}

/* form-style
----------------------------------------------- */
button,
input,
textarea {
  -webkit-appearance: auto;
  appearance: auto;
  border-width: 1px;
  background-color: #fff;
}
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
  vertical-align: initial;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
  height: 2.4em;
  width: 100%;
  padding: 0 16px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}
textarea {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px 16px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  resize: vertical;
}
textarea:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

select:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 12px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(135deg);
  pointer-events: none;
}

select {
  height: 2.4em;
  padding: 0 1em;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

select:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 8px 1em;
  border: none;
  border-radius: 4px;
  background-color: #777;
  color: #fff;
  font-weight: bold;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  border: 2px solid transparent;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  background-color: #888;
}

input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  outline: 0;
  background-color: #888;
  border: 2px solid rgb(33, 150, 243);
}

form table th span {
  font-size: 12px;
}
form table th span.required {
  font-size: 10px;
  color: #d00;
  margin-left: 5px;
}

form table label {
  cursor: pointer;
}

form table .block span {
  line-height: 1.7;
}

form .inline p {
  display: inline;
}

.post form table th p {
  margin-bottom: 0;
}

.post form table p {
  margin-bottom: 10px;
}

/* recaptcha */
.grecaptcha-badge {
  visibility: hidden;
}

/* typography
----------------------------------------------- */
h1 {
  clear: both;
  margin: 1.5em 0 1em;
  font-size: 1.5em;
  line-height: 1.5;
  font-weight: 700;
}
h1.title {
  margin: 0;
  padding-bottom: 0.5em;
  border-bottom: 3px solid #113d83;
}
h2 {
  clear: both;
  margin: 1.5em 0 1em;
  font-size: 1.3em;
  line-height: 1.5;
  font-weight: 700;
}

h3 {
  clear: both;
  margin: 1.5em 0 1em;
  padding: 0.5em 5px 0.5em 0.2em;
  font-size: 1.2em;
  line-height: 1.5;
  font-weight: 700;
  border-bottom: 2px solid #ccc;
}

h4 {
  clear: both;
  margin: 1.5em 0 1em;
  padding: 0.6em 5px 0.5em 0.75em;
  font-size: 1.2em;
  line-height: 1.5;
  font-weight: 700;
  border-left: 3px solid #ccc;
}

h2.imgtitle,
h3.imgtitle,
h4.imgtitle {
  padding: 0;
  background: none;
  border: none;
}

.post h5 {
  clear: both;
  margin: 1.5em 0 1em;
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 700;
}

.post p {
  margin-bottom: 1em;
}

.post ul,
.post ol,
.post dl,
.post table {
  margin-bottom: 1em;
}

.dateLabel {
  text-align: right;
  font-weight: bold;
  color: #858585;
}
.post blockquote {
  clear: both;
  position: relative;
  padding: 30px 15px 8px 15px;
  box-sizing: border-box;
  font-style: italic;
  background: #efefef;
  color: #555;
  margin-bottom: 1em;
}
.post blockquote:before {
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 3px;
  content: "“";
  font-family: sans-serif;
  color: #cfcfcf;
  font-size: 90px;
  line-height: 1;
}
.post blockquote p {
  padding: 0;
  margin: 10px 0;
  line-height: 1.5;
}
.post blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}

/* image-style
----------------------------------------------------------- */
.post img {
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  height: auto;
}
img.border {
  border: 1px solid #ddd;
  padding: 4px;
}
img.frame {
  outline: 7px solid rgb(255 255 255 / 40%);
  outline-offset: -7px;
}

img.round {
  border-radius: 50%;
}

img.aligncenter,
img.center {
  display: block;
  margin: auto;
}
img.alignright {
  float: right;
  margin: 0 0 1em 20px;
  max-width: 50%;
}
img.alignleft {
  float: left;
  margin: 0 20px 1em 0;
  max-width: 50%;
}

/* img_switch
----------------------------------------------- */
.switch {
  visibility: hidden;
}

/* table-style
----------------------------------------------- */
.scroll {
  margin-bottom: 20px;
  overflow: auto;
  /*tableをスクロールさせる*/
  white-space: nowrap;
  /*tableのセル内にある文字の折り返しを禁止*/
}

.scroll::-webkit-scrollbar {
  /*tableにスクロールバーを追加*/
  height: 5px;
}

.scroll::-webkit-scrollbar-track {
  /*tableにスクロールバーを追加*/
  background: #f1f1f1;
}

.scroll::-webkit-scrollbar-thumb {
  /*tableにスクロールバーを追加*/
  background: #bcbcbc;
}

/* text-style
----------------------------------------------- */
.txt-right {
  text-align: right !important;
}

.txt-left {
  text-align: left !important;
}

.center {
  text-align: center !important;
}

.color-red {
  color: #dd0000;
}

.font12 {
  font-size: 12px;
}

.font10 {
  font-size: 10px;
}

/* btn-style
----------------------------------------------- */
.post .submit {
  text-align: center !important;
  margin: 30px 0;
}

/* btn-base */
.txt-btn {
  display: inline-block;
  max-width: 90%;
  min-width: 280px;
  text-align: center;
  text-decoration: none;
  outline: none;
  padding: 1em 2em;
  margin: 0 0 1em;
  border-radius: 0.1em;
}

.txt-btn::before,
.txt-btn::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
}

.txt-btn,
.txt-btn::before,
.txt-btn::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

/* btn-style */
.txt-btn {
  background-color: #113d83;
  border: 1px solid #113d83;
  color: #fff;
  box-shadow: 0 2px 5px #dadada;
}

.txt-btn:hover {
  background-color: #fff;
  border-color: #113d83;
  color: #113d83;
}

.txt-btn.access {
  font-weight: bold;
  background: none;
  border: 1px solid #999;
  color: #666;
  min-width: 100px;
  padding: 0.5em 2em;
  box-shadow: none;
}

.txt-btn.access:hover {
  background-color: #aaa;
  border-color: #aaa;
  color: #fff;
}
/* other-style
----------------------------------------------- */
.MT0 {
  margin-top: 0px !important;
}
.MT10 {
  margin-top: 10px !important;
}
.MT20 {
  margin-top: 20px !important;
}
.MT30 {
  margin-top: 30px !important;
}
.MB0 {
  margin-bottom: 0px !important;
}
.MB5 {
  margin-bottom: 5px !important;
}
.MB10 {
  margin-bottom: 10px !important;
}
.MB20 {
  margin-bottom: 20px !important;
}
.MB30 {
  margin-bottom: 30px !important;
}

.MR0 {
  margin-right: 0 !important;
}
.MR10 {
  margin-right: 10px !important;
}
.MR20 {
  margin-right: 20px !important;
}
.MR30 {
  margin-right: 30px !important;
}

.ML0 {
  margin-left: 0 !important;
}
.ML10 {
  margin-left: 10px !important;
}
.ML20 {
  margin-left: 20px !important;
}
.ML30 {
  margin-left: 30px !important;
}
.ML100 {
  margin-left: 100px !important;
}

.MRL-20 {
  margin-left: -20px !important;
  margin-right: -20px !important;
}

.PT0 {
  padding-top: 0px !important;
}
.PT10 {
  padding-top: 10px !important;
}
.PT20 {
  padding-top: 20px !important;
}
.PT30 {
  padding-top: 30px !important;
}
.PB0 {
  padding-bottom: 0px !important;
}
.PB10 {
  padding-bottom: 10px !important;
}
.PB20 {
  padding-bottom: 20px !important;
}
.PB30 {
  padding-bottom: 30px !important;
}

hr {
  clear: both;
  border-top: 1px solid #ccc;
  margin: 40px 0;
}

iframe {
  max-width: 100%;
}

.sp_none {
  display: none;
}
.inlineb {
  display: inline-block;
}

/* ～768px メディアクエリ開始 */
@media screen and (max-width: 767px) {
  .sp_none {
    display: none;
  }
}
/* 768px～ メディアクエリ開始 */
@media screen and (min-width: 768px) {
  body {
    font-size: 1em;
  }
  .pc_none {
    display: none;
  }

  /* typography
----------------------------------------------- */
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.2em;
  }
  h4 {
    font-size: 1.2em;
  }
}

/* 992px～ メディアクエリ開始 */
@media screen and (min-width: 992px) {
  /* typography
----------------------------------------------- */
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.2em;
  }
  h4 {
    font-size: 1.2em;
  }
  /* image-style
----------------------------------------------------------- */
  img.alignright {
    margin: 0 0 1em 30px;
  }
  img.alignleft {
    margin: 0 30px 1em 0;
  }
} /* 1024px～ メディアクエリ終了 */

/* 東亜株式会社 固定ページ用パーツ */
.toa-lead {
  font-size: 1.08em;
  line-height: 1.9;
}

.toa-note {
  padding: 1em;
  background: #f7f7f7;
  border-left: 4px solid #999;
}

.toa-grid {
  display: grid;
  gap: 20px;
  margin: 1.5em 0;
}

.toa-grid-2,
.toa-grid-3 {
  grid-template-columns: 1fr;
}

.toa-card {
  padding: 1.2em;
  background: #fff;
  border: 1px solid #ddd;
}

.toa-card h3 {
  margin-top: 0;
}

.toa-media {
  display: block;
  margin: 1.5em 0;
}

.toa-media__image {
  margin-bottom: 1em;
}

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

.toa-media__body h2,
.toa-media__body h3 {
  margin-top: 0;
}

.toa-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.toa-table th,
.toa-table td {
  padding: 14px 12px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.toa-table th {
  width: 32%;
  background: #f7f7f7;
  font-weight: 700;
}

.toa-timeline {
  list-style: none;
  padding-left: 0;
}

.toa-timeline li {
  padding: 0.8em 0;
  border-bottom: 1px solid #ddd;
}

.toa-time {
  display: inline-block;
  min-width: 5.5em;
  font-weight: 700;
}

.toa-catch {
  margin: 1.5em 0;
  font-size: 1.15em;
  font-weight: 700;
}

.post img.alignright {
  max-width: 38%;
}

.post .box {
  padding: 1.2em;
  margin: 1.5em 0;
  border: 1px solid #ddd;
  background: #fff;
}

/* 本文内の通常リスト */
.post ul {
  list-style: disc;
  padding-left: 1.5em;
}

.post ol {
  list-style: decimal;
  padding-left: 1.5em;
}

.post li {
  margin-bottom: 0.5em;
}

/* チェックリスト */
.post ul.toa-list-check {
  padding-left: 0;
  list-style: none;
}

.post ul.toa-list-check li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.7em;
}

.post ul.toa-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #434343;
}

/* アイコンリスト */
.post ul.icon-circle,
.post ul.icon-square {
  list-style: none;
  padding-left: 0;
}

.post ul.icon-circle li,
.post ul.icon-square li {
  padding-left: 18px;
  margin-bottom: 0.6em;
  background-repeat: no-repeat;
  background-position: left 0.55em;
}

.post ul.icon-circle li {
  background-image: url("images/common/icon_circle01.png");
}

.post ul.icon-square li {
  background-image: url("images/common/icon_square01.png");
}

@media screen and (min-width: 768px) {
  .toa-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .toa-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .toa-media {
    display: flex;
    gap: 32px;
    align-items: flex-start;
  }

  .toa-media__image {
    flex: 0 0 36%;
    margin-bottom: 0;
  }

  .toa-media__body {
    flex: 1;
  }
}

@media screen and (max-width: 767px) {
  .post img.alignright {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 auto 1em;
  }
}

/* トップページの見出し */
#wrapper.toppage h2 {
  position: relative;
  margin: 2.5em 0 1.2em;
  padding: 0 0 0.7em;
  color: #113d83;
  font-size: 1.5em;
  line-height: 1.5;
  text-align: left;
  border: none;
}

#wrapper.toppage h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background: #a9e6e8;
}

@media screen and (min-width: 768px) {
  #wrapper.toppage h2 {
    font-size: 1.8em;
  }
}