@charset "utf-8";

/* CSS変数定義 */
:root {
  --color-black: #163039;
  --color-red: #e7211a;
  --color-lightgray: #e8ecee;

  /* 端末・データまるごと安心 */
  --color-green: #8fc31f;
  --color-blue: #49aad2;
  --color-darkgray: #666464;
  --color-yellow: #fcee21;

  --font-family: "M PLUS Rounded 1c", sans-serif !important;
}

/* 全体設定 */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
}
#marugoto img {
  max-width: 100%;
}
#marugoto a {
  text-decoration: none;
  color: #333;
}

#marugoto .notes-list li,
#marugoto .terms-list li {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
  list-style: inside !important;
}

#marugoto p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

#marugoto img {
  overflow-clip-margin: content-box;
  overflow: clip;
  margin: auto;
}

#marugoto h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

#marugoto .small {
  font-size: 0.85em;
}
#marugoto .container-wrap {
  width: 100%;
  padding: 50px 0;
}
#marugoto .container {
  max-width: 960px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

#marugoto .bg-blue {
  background-color: #dbeef6;
}
#marugoto .bg-gray {
  background-color: #e8ecee;
}

#marugoto .underline {
  background: linear-gradient(transparent 60%, #fff100 60%);
}

/* メイン */
#marugoto .catchcopy {
  margin: 2em auto 1em;
  padding: 10px 20px;
  width: fit-content;
  text-align: center;
  position: relative;
  font-size: 1.4em;
  font-family: var(--font-family);
  font-weight: bold;
}
#marugoto .catchcopy::before,
#marugoto .catchcopy::after {
  content: "";
  display: block;
  width: 5px;
  height: 100%;
  position: absolute;
  background: var(--color-blue);
  border-radius: 5px;
}
#marugoto .catchcopy::before {
  transform: skew(10deg);
  left: 0;
  top: 0;
}
#marugoto .catchcopy::after {
  transform: skew(-10deg);
  right: 0;
  top: 0;
}

#marugoto .bn_wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
#marugoto .bn_img {
  width: calc(50% - 10px);
}
#marugoto .bn_img img {
  width: 100%;
}
#marugoto .container-ttl {
  text-align: center;
  margin-bottom: 50px;
}
#marugoto .container-ttl h2 {
  font-family: var(--font-family);
}
#marugoto .ttl-en {
  color: var(--color-green);
}
#marugoto .important {
  color: var(--color-red);
  font-weight: bold;
}

/* アバウト */
#marugoto .terminal-wrap {
  background-color: #fff;
  padding: 10px;
  border: dashed #333;
  border-radius: 10px;
}
#marugoto .terminal-ttl {
  text-align: center;
  font-size: 1.1em;
  margin: 10px 0;
}
#marugoto .terminal-list {
  padding: 0;
}
#marugoto .terminal-list li {
  display: inline;
}
#marugoto .terminal-list li:not(:last-child):after {
  content: " /";
}

/* サービス */
#marugoto .service-wrap {
  background-color: #fff;
  border-radius: 10px;
  margin-top: 20px;
}
#marugoto .service-inner-wrap {
  padding: 20px;
}
#marugoto .service-ttl {
  color: #fff;
  font-family: var(--font-family);
  background-color: var(--color-green);
  border-radius: 10px 10px 0 0;
  font-size: 1.3em;
  margin: 0;
  padding: 15px 20px;
}
#marugoto .service-ttl::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(https://www.chukai.co.jp/service/wp-content/themes/chukai_service/sections/marugoto/check_icon.png);
  background-size: contain;
  margin-right: 0.5em;
}
#marugoto .service-ttl-blue {
  background-color: var(--color-blue);
}
#marugoto .service-img {
  flex: 0 0 30%;
}
#marugoto .service-img img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#marugoto .service-point {
  list-style-type: none;
  padding-left: 0;
  font-weight: bold;
  font-family: var(--font-family);
}
#marugoto .service-point li::before {
  content: "●";
  display: inline;
  margin-right: 5px;
}

#marugoto .service-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  border: 1px solid #333;
  overflow: hidden;
  width: 100%;
}
#marugoto .service-table th,
#marugoto .service-table td {
  border-bottom: 1px solid #333;
  padding: 12px;
}
#marugoto .service-table th {
  border-right: 1px solid #333;
  background-color: var(--color-lightgray);
}

#marugoto .service-table tr:last-child th,
#marugoto .service-table tr:last-child td {
  border-bottom: none;
}
#marugoto .service-table span {
  white-space: nowrap;
}

/* エントリー */
#marugoto .speech-bubble {
  border: 1px solid var(--color-lightgray);
  padding: 20px;
  border-radius: 10px;
  height: fit-content;
  font-family: var(--font-family);
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
}
#marugoto .speech-bubble::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 60%;
  border-style: solid;
  border-width: 40px 0 0 40px;
  border-color: var(--color-lightgray) transparent transparent;
  transform: translate(-50%, 100%);
}
#marugoto .speech-bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 60%;
  border-style: solid;
  border-width: 38px 0 0 38px;
  border-color: #fff transparent transparent;
  transform: translate(calc(-50% + 0.4px), 100%);
}
#marugoto .speech-bubble p {
  margin: 0;
  font-feature-settings: "palt";
  font-size: 0.95em;
}
#marugoto .speech-bubble img {
  display: block;
  width: 100%;
  max-width: 350px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}
#marugoto .entry-step-wrap {
  display: flex;
  flex-flow: column;
  gap: 3em;
  margin-bottom: 50px;
}
#marugoto .entry-step-inner-wrap {
  border: 1px solid var(--color-lightgray);
  border-radius: 10px;
  position: relative;
  padding: 20px;
}
#marugoto .entry-step-inner-wrap ul {
  padding-left: 30px;
}
#marugoto .entry-step {
  background-color: var(--color-blue);
  border-radius: 50%;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 4em;
  height: 4em;
  display: flex;
  flex-flow: column;
  justify-content: center;
  text-align: center;
  line-height: 1;
  transform: translate(-20px, -50%);
}
#marugoto .entry-step-num {
  font-size: 1.5em;
  display: block;
}

#marugoto .service-step-ttl {
  text-align: center;
  font-size: 1.3em;
  color: var(--color-blue);
  font-weight: bold;
}

#marugoto .speech-bubble-img img {
  display: block;
  width: 50%;
  margin-left: auto;
}
#marugoto .entry-step-img {
  text-align: center;
}

#marugoto .entry-step-wrap .inner-link {
  list-style-type: none;
  padding-left: 0;
}
#marugoto .inner-link li {
  margin: 1em 0;
}
#marugoto .inner-link li a {
  display: block;
  border: 1px solid #333;
  text-align: center;
  padding: 5px;
  border-radius: 10px;
}

/* 注意事項 */
#marugoto .notes-list {
  padding-left: 20px;
  font-size: 14px;
}
#marugoto .terms-list {
  padding-left: 20px;
  color: var(--color-red);
}
#marugoto .terms-list a {
  color: var(--color-red);
}
#marugoto .terms-list a::after {
  content: url(https://www.chukai.co.jp/service/wp-content/themes/chukai_service/sections/marugoto/external-link-alt-solid.svg);
  display: inline-block;
  width: 1em;
  margin-left: 0.5em;
}

/* ボタン */
#marugoto .btn-1 {
  width: fit-content;
  margin: 0 auto;
}
#marugoto .btn-1 a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-radius: 90px;
  color: #fff;
  background-color: #e7211a;
  padding: 12px 20px 12px 24px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  min-height: 60px;
  box-shadow: 5px 5px 8px #8e9ea9;
}
#marugoto .btn-1 span {
  white-space: nowrap;
  font-size: 25px;
  font-weight: 600;
}
#marugoto .btn2 {
  margin-top: 50px;
}
#marugoto .btn2 a {
  display: block;
  width: 100%;
  padding: 5px;
  border: solid 1px #e50012;
  border-radius: 20px;
  text-align: center;
  margin-top: 20px;
  color: #333;
}
#marugoto .btn2 a::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(https://www.chukai.co.jp/service/wp-content/themes/chukai_service/assets/images/customer/pdf01.png);
  background-size: contain;
  margin-bottom: -4px;
}

/* 基本設定 */
#marugoto .m-page-header__title h1 {
  padding: 5px 0;
  font-size: 1.8em;
  border-bottom: solid 2px #163039;
  font-weight: 400;
}

/* ヘッダー・フッター調整用 */
header,
footer {
  background-color: #ccc;
  padding: 1px;
}
#marugoto p.sample {
  text-align: center;
  font-size: 48px;
}

@media screen and (min-width: 576px) {
  #marugoto .bn_wrap {
    flex-flow: row;
  }
  #marugoto .flex-wrap-about {
    display: flex;
    flex-flow: row;
    gap: 30px;
  }
  #marugoto .flex-box-about {
    flex: 1 1 50%;
  }
  #marugoto .service-inner-wrap {
    display: flex;
    flex-flow: row;
    gap: 30px;
    padding: 50px;
  }
  #marugoto .service-inner-wrap div:last-child {
    flex: 1 1 auto;
  }
  #marugoto .service-table th,
  #marugoto .service-table td {
    width: 50%;
    text-align: left;
    padding-left: 1.5em;
  }
  #marugoto .speech-bubble-wrap {
    display: flex;
  }
  #marugoto .speech-bubble {
    flex: 1 1 70%;
  }
  #marugoto .speech-bubble::before {
    left: 90%;
  }
  #marugoto .speech-bubble::after {
    left: 90%;
  }
  #marugoto .speech-bubble-img {
    flex: 1 1 30%;
  }
  #marugoto .speech-bubble-img img {
    width: 100%;
  }
  #marugoto .entry-step-wrap {
    flex-flow: row;
  }
  #marugoto .entry-step-inner-wrap {
    flex: 1 1 30%;
  }
  #marugoto .terminal-wrap {
    padding: 10px 30px;
  }
}

.mb-40 {
  margin-bottom: 40px !important;
}
