@charset "UTF-8";
/*
Theme Name: STRA-IT
Theme URI: https://stra-it.co.jp/
Description: 株式会社ストレイト コーポレートサイト用オリジナルテーマ
Author: STRA-IT Inc.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strait
*/

/* ==========================================================================
   このファイルにはテーマ独自の追加スタイルのみを記述しています。
   ベーススタイルは assets/css/base.css / assets/css/main.css を参照。
   ========================================================================== */

/* Service（自社サービス紹介バナー）
   -------------------------------------------------- */
section.service .service-banners {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  padding-top: 10px;
}
section.service .service-banners a {
  display: block;
  max-width: 640px;
  width: 100%;
  transition: opacity 200ms linear;
}
section.service .service-banners a:hover {
  opacity: 0.8;
}
section.service .service-banners img {
  width: 100%;
  height: auto;
  border-radius: 23px;
  box-shadow: 0 0 10px rgb(0 0 0 / 25%);
}

/* MVの回転リング（画像内の幾何学模様の置き換え）
   -------------------------------------------------- */
body.home #main_visual {
  position: relative;
  overflow: hidden;
}
#main_visual .mv-rings {
  position: absolute;
  top: 50%;
  right: 3%;
  width: 44vw;
  max-width: 640px;
  aspect-ratio: 1 / 1;
  transform: translateY(-48%);
  pointer-events: none;
  z-index: 1;
}
#main_visual .mv-rings svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}
#main_visual .mv-rings .spin-cw {
  animation: mv-spin 90s linear infinite;
}
#main_visual .mv-rings .spin-ccw {
  animation: mv-spin 90s linear infinite reverse;
}
@keyframes mv-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  #main_visual .mv-rings svg {
    animation: none;
  }
}
#main_visual .wrap {
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  #main_visual .mv-rings {
    top: 50%;
    right: 3%;
    width: 60vw;
    transform: translateY(-50%);
  }
}

/* 固定ページ本文の位置調整（PCで左寄りに見えるため中央へ）
   （旧CSSのサイドバー用余白 .main-inner{margin-right:358px} を無効化。
     本テーマはサイドバーを使用しない） */
#content #main .main-inner {
  margin-right: 0;
}
#content article.page {
  margin-left: auto;
  margin-right: auto;
  float: none;
}
article.page .post-header,
article.page .post-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* TOP MVキャッチコピー（SPで小さすぎるため拡大）
   -------------------------------------------------- */
@media screen and (max-width: 767px) {
  #main_visual .catch-copy h2 {
    font-size: 11vw !important;
    line-height: 1.3 !important;
  }
  #main_visual .catch-copy p {
    font-size: 5vw !important;
  }
}

/* お問い合わせフォーム（Contact Form 7）
   -------------------------------------------------- */
#contact-form .wpcf7-form-control-wrap {
  display: block;
}
#contact-form input.input-m-text,
#contact-form textarea.input-textarea {
  width: 100%;
  box-sizing: border-box;
}
#contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  font-size: 0.85em;
}
#contact-form li.contact-button .wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}
#contact-form li.acceptance-area {
  text-align: center;
}
#contact-form li.acceptance-area label {
  display: inline;
}
#contact-form li.acceptance-area label:before {
  content: none;
}
#contact-form li.acceptance-area input[type="checkbox"] {
  margin-right: 6px;
  transform: scale(1.2);
}
#contact-form li.acceptance-area a {
  text-decoration: underline;
}
#contact-form li.turnstile-area {
  text-align: center;
}
#contact-form li.turnstile-area > div,
#contact-form li.turnstile-area .cf-turnstile {
  display: inline-block;
}
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #002060;
  text-align: center;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #bf9000;
  color: #bf9000;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #002060;
  color: #002060;
}

/* 固定ページ本文の見出し
   （#main section h2 のTOPページ用スタイルを打ち消す）
   -------------------------------------------------- */
#main section.post-content h2,
.post-content h2 {
  width: 100%;
  margin: 40px 0 15px;
  background: none;
  border: none;
  border-image: none;
  border-bottom: solid 1px #cabeb8;
  padding: 10px 0 5px;
  font-size: 1.4em;
  line-height: 1.6;
  color: #333;
}
#main section.post-content h3,
.post-content h3 {
  width: 100%;
  margin: 30px 0 10px;
  border: none;
  font-size: 1.2em;
}
.privacy-policy .post-content ol,
.privacy-policy .post-content ul {
  padding-left: 1.5em;
}
.privacy-policy .post-content .policy-date {
  text-align: right;
  margin-top: 30px;
}

/* フッターナビ（プライバシーポリシー等）
   -------------------------------------------------- */
.footer-02 .footer-links {
  text-align: center;
  padding: 10px 0 0;
}
.footer-02 .footer-links li {
  display: inline-block;
  list-style: none;
  margin: 0 15px;
}
.footer-02 .footer-links li a {
  color: #fff;
  font-size: 0.85em;
  text-decoration: none;
}
.footer-02 .footer-links li a:hover {
  text-decoration: underline;
}
