/*
Theme Name:pa-shinsei
 */
@charset "utf-8";

html, body {
    font-family: "Noto Sans JP";
}

body, text {
    word-break: break-all;
    -webkit-text-size-adjust: 100%;
    letter-spacing: 2px;
    font-weight: 500;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
    color: #000;
}
@media (max-width: 800px) {
body, text {
    font-size: 14px;
}
}

a {
    text-decoration: none;
    color: #000;
    transition: 0.2s ease-in-out;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

label, button {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a:hover {
    color: #000;
}

::-moz-focus-inner {
    border: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

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

a img {
    transition: opacity 0.3s ease;
}

a:hover img {
    opacity: 0.6;
}

h1, h2, h3, h4, p {
    margin: 0;
    font-size: 100%;
    font-weight: 500;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

input, input [type="text"], textarea {
    font-size: 16px;
}

button {
    display: block;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

address {
    font-style: normal;
}

th {font-weight: 500;}


/* common
-----------------------------------------------------*/
.contents_wrap {
    padding: 100px 0;
    overflow: hidden;
}
@media (max-width: 800px) {
.contents_wrap {
    padding: 60px 0;
}
}

.contents_wrap2 {
    padding: 0 0 100px;
    overflow: hidden;
}
@media (max-width: 800px) {
.contents_wrap2 {
    padding: 0 0 60px;
}
}

.contents_wrap3 {
    padding: 100px 0 0;
    overflow: hidden;
}
@media (max-width: 800px) {
.contents_wrap3 {
    padding: 60px 0 0;
}
}

.contents_inner {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
}


/* header area
-----------------------------------------------------*/
#header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: 0.5s;
}

#header.fixed {
    background-color: #44a4bf;
}
@media (max-width: 800px) {
#header.fixed {
    background-color: transparent;
}
}

.header_wrap {
    margin: 0 100px 0 0;
}


/* mv area
-----------------------------------------------------*/
.mv_area {
    background-image: url(https://pa-shinsei.com/wp-content/themes/pa-shinsei/image/mainvisual.jpg);
    background-size: cover;
    background-position: center center;
    height: 50vw;
    position: relative;
}

.title_area {
    position: absolute;
    left: 7%;
    bottom: 15%;
    color: #fff;
}

.title_small {
    font-size: 20px;
}
@media screen and (max-width: 800px) {
.title_small {
    font-size: 14px;
}
}

.title_larges {
    font-size: 45px;
    letter-spacing: 5px;
    font-weight: 700;
    margin: 0 0 10px;
}
@media screen and (max-width: 800px) {
.title_larges {
    font-size: 25px;
    margin: 0;
}

.title_en {
    font-size: 80%;
}
}

.typewriter {
    font-size: 45px;
    letter-spacing: 5px;
    font-weight: 700;
    white-space: pre-wrap; /* 複数行対応 */
    overflow: hidden;      /* 高さ超過時は隠す */   /* 行間固定 */
    height: 80px;           /* 高さ固定（例：4行分） */
}
@media (max-width: 800px) {
.typewriter {
    font-size: 25px;    /* 高さ超過時は隠す */   /* 行間固定 */
    height: 50px;           /* 高さ固定（例：4行分） */
}
}


/* gloval navi
-----------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.menu_wrap {
    float: right;
    padding: 2% 30px 2% 0;
}

.menu_wrap li {
    float: left;
    margin: 0 20px;
}

.menu_wrap li a {
    color: #fff;
}

.menu {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

/* 英語テキスト */
.menu::after {
  content: attr(data-en);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  font-family: "Jost", sans-serif;
  font-size: 18px;
  line-height: 15px;

}

/* ホバー時 */
.menu:hover {
  color: transparent;
}

.menu:hover::after {
  opacity: 1;
}


/* sp navi
-----------------------------------------------------*/
.menu-btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #44a4bf;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0 13px;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    margin: 12px 0;
    transition: all 0.4s ease;
}

/* × に変形 */
.menu-btn.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

.nav {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 250px;
    background-color: #44a4bf;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav.active {
    opacity: 1;
    visibility: visible;
}

.nav ul {
    list-style: none;
    padding: 30px 0;
}

.nav li {
    margin: 20px 0;
    text-align: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
}


/* top page
-----------------------------------------------------*/
.block_title_wrap {
    margin: 0 0 50px;
}
@media screen and (max-width: 800px) {
.block_title_wrap {
    margin: 0 0 30px;
}
}

.block_title_en {
    font-family: "Jost", sans-serif;
    font-size: 55px;
    font-weight: 500;
    letter-spacing: 5px;
    line-height: 50px;
    margin: 0 0 10px;
    color: #1f6787;
}
@media screen and (max-width: 800px) {
.block_title_en {
    font-size: 35px;
    line-height: 30px;
}
}

.block_title_ja {
    font-weight: 700;
}

.message {
    margin: 0 0 50px;
}
@media screen and (max-width: 800px) {
.message {
    margin: 0 0 30px;
}
}

.message_title {
    font-family: "Jost", sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 20px;
    margin: 0 0 20px;
}
@media screen and (max-width: 800px) {
.message_title {
    font-size: 18px;
    margin: 0 0 10px;
}
}

.block_contents {
    margin: 0 0 30px;
}

.block_contents:last-child {
    margin: 0 0 0;
}

.bg_office {
    background-image: url(https://pa-shinsei.com/wp-content/themes/pa-shinsei/image/bg_office.png);
    background-size: 220px;
    background-repeat: no-repeat;
    background-position: top 0 right 80px;
}
@media screen and (max-width: 800px) {
.bg_office {
    background-size: 140px;
    background-position: top 0 right 40px;
}
}

.bg_office3 {
    background-image: url(https://pa-shinsei.com/wp-content/themes/pa-shinsei/image/bg_office3.png);
    background-size: 260px;
    background-repeat: no-repeat;
    background-position: top 100px right 80px;
}
@media screen and (max-width: 800px) {
.bg_office3 {
    background-size: 180px;
    background-position: top 60px right 40px;
}
}

.bg_office4 {
    background-image: url(https://pa-shinsei.com/wp-content/themes/pa-shinsei/image/bg_office4.png);
    background-size: 280px;
    background-repeat: no-repeat;
    background-position: top 0 right 80px;
}
@media screen and (max-width: 800px) {
.bg_office4 {
    background-size: 180px;
    background-position: top 20px right 0px;
}
}

.bg_office5 {
    background-image: url(https://pa-shinsei.com/wp-content/themes/pa-shinsei/image/bg_office5.png);
    background-size: 280px;
    background-repeat: no-repeat;
    background-position: top 0 right 80px;
}
@media screen and (max-width: 800px) {
.bg_office5 {
    background-size: 180px;
    background-position: top 0 right 40px;
}
}

.bg_blue {
    background-color: #d9edf6;
}

.grid-bg {
    background-color: transparent;
    background-image:
    linear-gradient(to right, #e6f2fd 1px, transparent 1px),
    linear-gradient(to bottom, #e6f2fd 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px;
    background-repeat: repeat, repeat;
}
@media screen and (max-width: 800px) {
.grid-bg {
    background-size: 15px 15px, 15px 15px;
}
}

.grid_box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
@media screen and (max-width: 800px) {
.grid_box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
}

.service_wrap {
    width: calc(50% - 15px);
    background-color: #f1f7fa;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}
@media screen and (max-width: 800px) {
.service_wrap {
    width: 100%;
}
}

.service_title {
    color: #215a73;
    background-color: #d5e7f0;
    font-weight: 700;
    font-size: 110%;
    padding: 10px 20px;
    margin: 0 0 20px;
}

.service_maney {
    font-size: 180%;
    font-weight: 700;
    color: #dc5300;
    margin: 0 0 10px;
    font-family: "Jost", sans-serif;
}

.zei_small_1 {
    font-size: 60%;
}

.zei_small {
    font-size: 80%;
}

.service_bikouran {
    margin: 10px 0 0;
    font-size: 80%;
}

.service_more {
    margin-top: auto;
}

.service_more a {
    background-color: #1f7399;
    border: 1px solid #1f7399;
    color: #fff;
    padding: 10px 15px;
    display: inline-block;
    margin: 20px 0 0;
    font-weight: 700;
    font-size: 80%;
}

.service_more a:hover {
    background-color: #fff;
    border: 1px solid #1f7399;
    color: #1f7399;
}

.price-table {
    width: 100%;
    line-height: 1.6;
    border-collapse: collapse;
}

.price-table th {
    border-bottom: 5px solid #d9edf6;
    padding: 14px 16px;
}

.price-table td {
    border-bottom: 5px solid #d9edf6;
    padding: 14px 16px;
}

.price-table thead th {
    color: #fff;
    background-color: #1f7399;
    font-weight: 700;
    text-align: left;
    font-size: 110%;
}

.price-table tbody th {
    width: 20%;
    background: #fafafa;
    white-space: normal;
}

.price-table td {
    width: 80%;
    background: #fff;
}

.pdf_link {
    width: 180px;
    margin: 20px 0 0;
}

.pdf_link a {
    padding: 15px 0;
    text-align: center;
    display: block;
    background-color: #6bb5d6;
    color: #fff;
}

@media screen and (max-width: 800px) {
.price-table thead th {
    border-bottom: 8px solid #d9edf6;
}

.price-table th,
.price-table td {
    display: block;
    width: 100%;
}

.price-table th {
    border-bottom: none;
}

.price-table td {
    border-bottom: 8px solid #d9edf6;
}

.price-table tbody th {
    background: #f0f0f0;
    width: 100%;
    text-align: left;
}
}

.chui_text {
    font-size: 90%;
    margin: 10px 0 0;
}

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

.flow_img {
    background-color: #fff;
    padding: 50px;
    border-radius: 50px;
    margin: 60px;
    box-shadow: 0 0 60px rgba(63, 127, 151, 0.1);
}
@media screen and (max-width: 800px) {
.flow_img {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
    box-shadow: 0 0 0 rgba(63, 127, 151, 0.1);
}
}

.prof_wrap {
    overflow: hidden;
}

.prof_photo {
    float: left;
    width: 40%;
}
@media screen and (max-width: 800px) {
.prof_photo {
    float: none;
    width: 100%;
    margin: 0 0 20px;
}
}

.prof_text {
    float: right;
    width: 50%;
}
@media screen and (max-width: 800px) {
.prof_text {
    float: none;
    width: 100%;
}
}

.prof_text p {
    margin: 0 0 10px;
}

.prof_name {
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 110%;
}

.banner_wrap {
    overflow: hidden;
    margin: 50px 0 0;
}

.banner_left {
    float: left;
    width: 50%;
}
@media (max-width: 800px) {
.banner_left {
    float: none;
    width: 100%;
}
}

.banner_right {
    float: right;
    width: 50%;
}
@media (max-width: 800px) {
.banner_right {
    float: none;
    width: 100%;
}
}


/* faq area
-----------------------------------------------------*/
.open_tab li {
    background-color: #d9edf6;
    list-style: none;
    margin-bottom: 10px;
    border-radius: 10px;

}

.question {
    position: relative;
    margin: 0;
    padding: 20px 50px 20px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 10px;
}

.question-icon {
    width: 24px;
    height: 24px;
    color: #609dcc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 8px;
    font-weight: bold;
    font-size: 130%;
    font-style: italic;
}
@media (max-width: 800px) {
.question-icon {
    font-size: 150%;
}
}

.question:hover {
    background-color: #c6d9e8;
    border-radius: 10px;
}

.question:after {
      content: "";
      position: absolute;
      right: 25px;
      top: 0;
      bottom: 0;
      margin: auto;
      transition: all 0.2s ease-in-out;
      display: block;
      width: 10px;
      height: 10px;
      border-top: solid 2px #0c3c7e;
      border-right: solid 2px #0c3c7e;
      -webkit-transform: rotate(135deg);
      transform: rotate(135deg);
}

.answer {
    padding: 8px;
    background-color: #fff;
}

footer {
    background-color: #44a4bf;
    color: #fff;
}

.footer_title_small {
    font-size: 80%;
}

.footer_title_large {
    font-size: 140%;
    margin: 0 0 30px;
}

.footer_wrap {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 800px) {
.footer_wrap {
    display: block;
}
}

.footer_right {
    font-size: 80%;
    display: flex;
    align-items: flex-end;
}
@media (max-width: 800px) {
.footer_right {
    margin: 20px 0 0;
}
}

.map {
    margin: 20px 0 0;
    text-decoration: underline;
}

.map a {
    color: #fff;
}


/* thanks page
-----------------------------------------------------*/
.center {
    text-align: center;
}

.thanks_img {
    max-width: 400px;
    width: 70%;
    margin: 0 auto 50px;
}

.sousin {
    font-size: 150%;
    font-weight: 700;
    margin: 0 0 30px;
}

.tel a {
    display: inline-block;
    font-size: 200%;
    color: #2986ad;
    font-family: "Jost", sans-serif;
    margin: 50px 0 0;
    font-weight: 700;
    letter-spacing: 5px;
}

.linkbtn {
    margin: 30px auto 0;
    background-color: #44a4bf;
    width: 300px;
}

.linkbtn a {
    color: #fff;
    display: block;
    padding: 20px 0;
    text-align: center;
}


/* contact area
-----------------------------------------------------*/
.cf7__list_wrap {
    margin: 0 0 50px;
}

.wpcf7-form-control-wrap {
    display: block;
}

.form_title {
    margin: 0 0 20px;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
    margin-right: 15px;
    padding: 6px 14px;
    color: #fff;
    font-size: 12px;
    vertical-align: 1px;
}

.cf7__required {
    background: #BE1D1D;
}

.cf7__optional {
    background: #878D8E;
}

/* input・textarea */
.cf7__list input[type="text"],
.cf7__list input[type="tel"],
.cf7__list input[type="email"],
.cf7__list textarea {
    width: 100%;
    padding: 20px 20px;
    background: #F4F4F4;
    border: none;
    outline: none;
    box-shadow: none;
}

.cf7__list .wpcf7-list-item label {
    cursor: pointer;
}

/* チェックボックス */
input[type="checkbox"] {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 3px;
    border: 1px solid #bcbcbc;
    vertical-align: -7px;
    cursor: pointer;
    -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* ラジオボタン */
input[type="radio"] {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 3px;
    border: 1px solid #bcbcbc;
    vertical-align: -3px;
    cursor: pointer;
    -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
    border: 1px solid #0095d9;
    background: #0095d9;
}

input[type="checkbox"]:checked:before {
    position: absolute;
    top: 0px;
    left: 5px;
    transform: rotate(50deg);
    width: 6px;
    height: 10px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    content: '';
}

/* ラジオボタン */
input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #000;
    content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list input[type="text"]::placeholder,
.cf7__list input[type="tel"]::placeholder,
.cf7__list input[type="email"]::placeholder,
.cf7__list textarea::placeholder {
    color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list input[type="text"]::-ms-input-placeholder,
.cf7__list input[type="tel"]::-ms-input-placeholder,
.cf7__list input[type="email"]::-ms-input-placeholder,
.cf7__list textarea::-ms-input-placeholder {
    color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
    text-align: center;
    width: 260px;
    height: 60px;
    margin: 0 auto;
}
@media (max-width: 800px) {
.cf7__button {
    height: 64px;
}
}

input[type="submit"] {
    width: 260px;
    padding: 20px 0;
    background: #1f7399;
    color: #fff;
    transition: opacity .6s;
    border: none;
    cursor: pointer;
    font-family: "Noto Sans JP";
    font-size: 110%;
    font-weight: 700;
}
@media (max-width: 800px) {
input[type="submit"] {
    width: 200px;
}
}

input[type="submit"]:hover {
  opacity: .6;
}

/* ajax-loader */
.wpcf7-spinner {
    vertical-align: middle;
}

.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

.submitbtn {
    margin: 50px 0 0;
}

.tenp_list li {
    margin: 0 0 10px;
}

.file-input::file-selector-button {
    background: #6eb6d1;
    color: #fff;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    font-family: "Noto Sans JP";
    letter-spacing: 2px;
}

input[type="file"] {
    font-family: "Noto Sans JP";
}

.wpcf7-response-output {
    text-align: center;
    color: #BE1D1D;
}

/* エラーメッセージ（スパン）の枠線を消す */
.wpcf7-response-output {
    border: none !important;
}

.contact_bg_wrap {
    background-color: #fff;
    padding: 50px;
    border-radius: 30px;
}
@media (max-width: 800px) {
.contact_bg_wrap {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}
}


/* other
-----------------------------------------------------*/
.anc {
    padding-top: 120px;
    margin-top: -120px;
}
@media (max-width: 800px) {
.anc {
    padding-top: 30px;
    margin-top: -30px;
}
}

/* under 800
-----------------------------------------------------*/
@media (max-width: 800px) {
.pc {
    display: none;
}
}

/* over 800
-----------------------------------------------------*/
@media (min-width: 801px) {
.sp {
  display: none;
}