/* ===============================
   Reset
=============================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
  color:#333;
  background:#fff;
  line-height:1.7;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

ul{
  list-style:none;
}

/* ===============================
   Common
=============================== */
.container{
  width:90%;
  max-width:1100px;
  margin:0 auto;
}

.section{
  padding:80px 0;
}

.section-title{
  text-align:center;
  font-size:32px;
  color:#1f4fa3;
  margin-bottom:50px;
  letter-spacing:1px;
}

.gray{
  background:#f7f9fc;
}

.blue{
  background:linear-gradient(135deg,#1f4fa3,#3a7bff);
}

.white{
  color:#fff;
}
/* ===============================
   全体トーン改善
=============================== */
body{
  background:#fdfefe;
  color:#2d3b55;
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
  line-height:1.9;
}

.section{
  padding:110px 0;
}

.section-title{
  font-size:42px;
  color:#1f4fa3;
  margin-bottom:70px;
  font-weight:700;
}
.section-title.white{
  color:#fff;
}

/* ===============================
   Header
=============================== */
.header{
  background:#fff;
  border-bottom:1px solid #eee;
  position:sticky;
  top:0;
  z-index:1000;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo h1{
  font-size:24px;
  color:#1f4fa3;
}

.logo p{
  font-size:12px;
  color:#888;
}

.menu{
  display:flex;
  gap:30px;
}

.menu a{
  font-size:14px;
  font-weight:bold;
  transition:.3s;
}

.menu a:hover{
  color:#1f4fa3;
}

/* -------------------------------
   Header 高級感UP
--------------------------------*/
.header{
  backdrop-filter: blur(10px);
  background:rgba(255,255,255,0.95);
  transition:.3s;
}

.header.scroll{
  box-shadow:0 4px 20px rgba(0,0,0,.08);
}

/* ===============================
   Hero
=============================== */
.hero{
  padding:80px 0;
  background:#f8fbff;
}

.hero-wrap{
  display:flex;
  align-items:center;
  gap:60px;
}

.hero-text{
  flex:1;
}

.sub{
  color:#3a7bff;
  font-weight:bold;
  font-size:14px;
  letter-spacing:1px;
}

.hero-text h2{
  font-size:46px;
  line-height:1.4;
  margin:15px 0 20px;
  color:#222;
}

.hero-text p{
  font-size:16px;
  color:#666;
  margin-bottom:30px;
}

.hero-btn{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding:14px 28px;
  border-radius:8px;
  border:2px solid #1f4fa3;
  color:#1f4fa3;
  font-weight:bold;
  transition:.3s;
}

.btn:hover{
  opacity:.8;
}

.primary{
  background:#1f4fa3;
  color:#fff;
}

.hero-image{
  flex:1;
}

.hero-image img{
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
/* -------------------------------
   Hero 強化
--------------------------------*/
.hero{
  padding:120px 0;
}

.hero-text h2{
  font-size:52px;
  font-weight:700;
  letter-spacing:1px;
}

.hero-text p{
  font-size:18px;
  line-height:1.9;
}

.sub{
  display:inline-block;
  margin-bottom:10px;
  font-size:15px;
  text-transform:uppercase;
}
/* ボタン洗練 */
.btn{
  border-radius:50px;
  padding:16px 34px;
  box-shadow:0 5px 15px rgba(31,79,163,.08);
}

.btn:hover{
  transform:translateY(-3px);
}
/* ===============================
   About
=============================== */
.about-box{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:40px;
}

.about-text h3{
  font-size:28px;
  margin-bottom:20px;
  color:#1f4fa3;
}

.about-text p{
  color:#555;
}

.profile-card{
  background:#f7f9fc;
  padding:30px;
  border-radius:16px;
}

.profile-card li{
  margin-bottom:15px;
  color:#555;
}
/* -------------------------------
   About セクション改善
--------------------------------*/
.about-text h3{
  font-size:36px;
  line-height:1.5;
}

.about-text h4{
  font-size:24px;
  line-height:1.8;
  margin-bottom:20px;
  color:#222;
  font-weight:700;
}
/* 強調ワード */
.about-text h4 span{
  color:#1f4fa3;
}
/* 本文 */
.about-text p{
  font-size:17px;
  line-height:2;
  color:#555;
}

/* カード */
.profile-card{
  background:#f8fbff;
  border:1px solid #e5edf8;
  box-shadow:0 10px 25px rgba(31,79,163,.06);
  padding:35px;
}

.profile-card li{
  font-size:16px;
  line-height:1.9;
  margin-bottom:18px;
}
/* ===============================
   Works
=============================== */
.works-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.work-item{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,.05);
  transition:.3s;
}

.work-item:hover{
  transform:translateY(-5px);
}
/* -------------------------------
   Works 高級感UP
--------------------------------*/
.work-item{
  border:1px solid #eef3fa;
}

.work-item img{
  transition:.4s;
}

.work-item:hover img{
  transform:scale(1.03);
}

/* ===============================
   WORKS MORE BUTTON
=============================== */
.works-more{
  text-align:center;
  margin-top:50px;
}

.works-more .btn{
  min-width:220px;
  font-size:16px;
  letter-spacing:1px;
}
/* ===============================
   WORKS 改善
=============================== */
.works-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:35px;
}

.work-item{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(31,79,163,.05);
  transition:.3s;
}

.work-item img{
  aspect-ratio:1/1;
  object-fit:cover;
}

.work-content{
  padding:18px;
}

.work-content h3{
  font-size:18px;
  margin-bottom:10px;
  color:#1f4fa3;
}

.work-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.work-tags span{
  font-size:12px;
  padding:4px 10px;
  background:#eef4ff;
  color:#1f4fa3;
  border-radius:30px;
}

/* ===============================
   Service
=============================== */
.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.service-card{
  background:#fff;
  border:1px solid #eee;
  padding:35px 25px;
  border-radius:16px;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.service-card h3{
  font-size:22px;
  margin-bottom:15px;
  color:#1f4fa3;
}

.service-card p{
  color:#666;
}
/* -------------------------------
   Service 洗練
--------------------------------*/
.service-card{
  transition:.3s;
}

.service-card:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 35px rgba(31,79,163,.08);
}

/* ===============================
   Contact
=============================== */
.contact-box{
  text-align:center;
}

.contact-box p{
  color:#fff;
  margin-bottom:30px;
}

.white-btn{
  background:#fff;
  color:#1f4fa3;
  border:none;
}
/* -------------------------------
   Contact
--------------------------------*/
.contact-box p{
  font-size:18px;
}

.white-btn{
  border-radius:50px;
  padding:16px 34px;
  font-weight:700;
}
/* -------------------------------
   Section title
--------------------------------*/
.section-title{
  font-size:40px;
  font-weight:700;
  margin-bottom:70px;
  position:relative;
}

.section-title::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:#3a7bff;
  margin:15px auto 0;
  border-radius:10px;
}
/* ===============================
   PROCESS
=============================== */
.process-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}

.process-card{
  background:#fff;
  padding:30px 20px;
  border-radius:18px;
  text-align:center;
  box-shadow:0 8px 25px rgba(31,79,163,.05);
}

.process-number{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#1f4fa3;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 15px;
  font-weight:bold;
}
/* ===============================
   SNS
=============================== */
.sns-icons{
  display:flex;
  gap:20px;
  margin-top:20px;
}

.sns-icons a{
  width:55px;
  height:55px;
  border-radius:50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 5px 15px rgba(31,79,163,.08);
  transition:.3s;
}

.sns-icons a:hover{
  transform:translateY(-4px);
}

/* ===============================
   装飾
=============================== */
.decor-leaf{
  position:absolute;
  opacity:.12;
  max-width:180px;
}

/* -------------------------------
   Fade animation
--------------------------------*/


.show{
  opacity:1;
  transform:translateY(0);
}
/* ===============================
   Footer
=============================== */
.footer{
  text-align:center;
  padding:25px 0;
  background:#fff;
  color:#777;
  font-size:14px;
}





/* ===============================
  align-items:center;
  margin-bottom:100px;
}

/* 左右交互配置 */
.work-detail.reverse .work-image{
  order:2;
}

.work-detail.reverse .work-text{
  order:1;
}

.work-image img{
  width:100%;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(31,79,163,.08);
  transition:.3s;
}

.work-image img:hover{
  transform:translateY(-5px);
}

.work-text{
  background:#fff;
  padding:40px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(31,79,163,.05);
  border:1px solid #eef3fa;
}

.work-text h3{
  font-size:28px;
  color:#1f4fa3;
  margin-bottom:25px;
}

.work-text p{
  font-size:16px;
  line-height:2;
  color:#555;
  margin-bottom:15px;
}

.work-text strong{
  color:#222;
}
/* ===============================
   WORKS CATEGORY NAVIGATION
=============================== */
.works-category-nav{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:70px;
}

.category-btn{
  display:inline-block;
  padding:14px 30px;
  border:2px solid #1f4fa3;
  border-radius:50px;
  color:#1f4fa3;
  font-weight:700;
  transition:.3s;
  background:#fff;
  box-shadow:0 5px 15px rgba(31,79,163,.05);
}

.category-btn:hover{
  background:#1f4fa3;
  color:#fff;
  transform:translateY(-3px);
}
/* ===============================
   CONTACT PAGE
=============================== */
.contact-page{
  background:#f8fbff;
}

.contact-intro{
  text-align:center;
  font-size:17px;
  color:#555;
  line-height:2;
  margin-bottom:60px;
}
.contact-form{
  max-width:760px;
  margin:0 auto;
  background:#fff;
  padding:50px;
  border-radius:24px;
  box-shadow:0 15px 40px rgba(31,79,163,.08);
  border:1px solid #eef3fa;
}

.form-group{
  margin-bottom:30px;
}

.form-group label{
  display:block;
  font-weight:700;
  margin-bottom:10px;
  color:#2d3b55;
}
.form-group label span{
  display:inline-block;
  margin-left:8px;
  font-size:12px;
  color:#fff;
  background:#ff6b6b;
  padding:3px 8px;
  border-radius:20px;
}

.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:16px;
  border:1px solid #d9e4f2;
  border-radius:12px;
  font-size:16px;
  font-family:inherit;
  transition:.3s;
  background:#fcfdff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:#3a7bff;
  box-shadow:0 0 0 4px rgba(58,123,255,.08);
}

textarea{
  resize:vertical;
}
.submit-btn{
  display:block;
  width:100%;
  padding:18px;
  background:linear-gradient(135deg,#1f4fa3,#3a7bff);
  color:#fff;
  border:none;
  border-radius:50px;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
  box-shadow:0 10px 25px rgba(31,79,163,.15);
}

.submit-btn:hover{
  transform:translateY(-3px);
  opacity:.95;
}

/* ===============================
   Responsive
=============================== */
@media(max-width:768px){

  .nav{
    flex-direction:column;
    gap:15px;
  }

  .menu{
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero-wrap{
    flex-direction:column;
  }

  .hero-text h2{
    font-size:32px;
  }

  .about-box{
    grid-template-columns:1fr;
  }

  .works-grid{
    grid-template-columns:1fr;
  }

  .service-grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:60px 0;
  }

  .section-title{
    font-size:26px;
  }
}
.work-detail{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  margin-bottom:100px;
}

.work-detail.reverse .work-image{
  order:2;
}

.work-detail.reverse .work-text{
  order:1;
}
/* ===============================
   CATEGORY PAGE
=============================== */
.category-page{
  background:#fdfefe;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.work-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-item{
  display:block;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #eef3fa;
  box-shadow:0 12px 30px rgba(31,79,163,.05);
  transition:.3s;
}

.category-item:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 40px rgba(31,79,163,.10);
}

.category-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.category-item img:hover {
    transform: scale(1.03);
}

.category-item:hover img{
  transform:scale(1.03);
}
/*詳細ボタンの装飾*/
.detail-btn {
    display: block;
    width: 80%;
    text-align: center;
    margin-top: 12px;
    padding: 10px 0;
    background-color: #1f4fa3;;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.detail-btn:hover {
    background-color: #ffffff;
    color: #1f4fa3;
    border: 2px solid #1f4fa3;
    transform: translateY(-2px);
}

/* Hero Section */
.hero h2 {
  font-size: 56px;
  line-height: 1.4;
  font-weight: bold;
  color: #222;
  margin-bottom: 30px;
}

.hero p {
  font-size: 20px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
}

/* Button */
.btn {
  display: inline-block;
  padding: 18px 38px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 15px;
}

.btn.primary {
  background-color: #2f64d6;
  color: white;
  box-shadow: 0 8px 20px rgba(47, 100, 214, 0.25);
}

.btn.primary:hover {
  transform: translateY(-3px);
}

.btn.secondary {
  border: 2px solid #2f64d6;
  color: #2f64d6;
  background: white;
}

.btn.secondary:hover {
  background: #2f64d6;
  color: white;
}

/* Strengths Section */
.strengths {
  padding: 100px 0;
  background: #ffffff;
}

.strengths h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.strength-item {
  background: #f8faff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.strength-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2f64d6;
}

.strength-item p {
  color: #666;
  line-height: 1.8;
}
nav ul li a {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #2f64d6;
}
/* ===== 選ばれる3つの理由 セクション ===== */

/* PC */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.strength-item {
  background: #f8faff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.strength-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2f64d6;
}

.strength-item p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}
/* Contact案内ボックス */
.contact-info-box {
  max-width: 700px;
  margin: 40px auto;
  padding: 40px 30px;
  background: #fff8fb;
  border: 2px solid #f8d7e4;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #d86b9d;
}

.contact-info-box p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
}

/* Xボタン */
.x-contact-button {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.x-contact-button:hover {
  background: #333;
  transform: translateY(-2px);
}

/* メール案内 */
.sub-contact {
  margin-top: 25px;
  font-size: 16px;
}

.sub-contact a {
  color: #d86b9d;
  text-decoration: none;
  font-weight: bold;
}

.sub-contact a:hover {
  text-decoration: underline;
}
/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  padding: 0;
}

/* 三本線 */
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
}
/* ハンバーガー改善 */
.hamburger {
  width: 36px;
  height: 26px;
}

.hamburger span {
  height: 4px;
  background-color: #2f66f3;
}
.menu {
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.menu.active {
  opacity: 1;
  pointer-events: auto;
}
/* footer内SNSリンク追加用 */
.contact-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: white;
  color: #2f5fd0;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.contact-social a:hover {
  transform: translateY(-4px);
  color: #ffffff;
  background-color: #1d4ed8;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
/* スマホ対応 */
@media (max-width: 768px) {
  .contact-info-box {
    padding: 30px 20px;
  }

  .contact-info-box h2 {
    font-size: 24px;
  }

  .contact-info-box p {
    font-size: 16px;
  }

  .x-contact-button {
    font-size: 16px;
    padding: 12px 24px;
  }
}
/* -------------------------------
   Responsive改善
--------------------------------*/
@media(max-width:768px){

  .hero{
    padding:80px 0;
  }

  .hero-text h2{
    font-size:36px;
  }

  .about-text h3{
    font-size:30px;
  }

  .about-text h4{
    font-size:22px;
  }

  .section-title{
    font-size:30px;
  }

  .btn{
    width:100%;
    text-align:center;
  }

  .hero-btn{
    flex-direction:column;
  }
  /* ===============================
   Responsive
=============================== */
@media(max-width:768px){

  .work-detail{
    grid-template-columns:1fr;
    gap:30px;
    margin-bottom:70px;
  }

  .work-detail.reverse .work-image,
  .work-detail.reverse .work-text{
    order:initial;
  }

  .work-text{
    padding:25px;
  }

  .work-text h3{
    font-size:24px;
  }
}
}
@media(max-width:768px){
  .works-category-nav{
    flex-direction:column;
    align-items:center;
  }

  .category-btn{
    width:100%;
    max-width:320px;
    text-align:center;
  }
}
@media(max-width:768px){

  .work-detail{
    grid-template-columns:1fr;
    gap:30px;
    margin-bottom:70px;
  }

  .work-detail.reverse .work-image,
  .work-detail.reverse .work-text{
    order:initial;
  }

  .work-text{
    padding:25px;
  }

  .work-text h3{
    font-size:24px;
  }
  @media(max-width:992px){
  .category-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .category-grid{
    grid-template-columns:1fr;
    gap:25px;
  }

  .section-title{
    font-size:30px;
  }
}
/* ===============================
   Responsive
=============================== */
@media(max-width:768px){
  .contact-form{
    padding:30px 20px;
  }

  .contact-intro{
    font-size:15px;
  }

  .section-title{
    font-size:30px;
  }
}
}
/* ===== タブレット対応 ===== */
@media (max-width: 1024px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .strength-item {
    padding: 30px;
  }

  .strength-item h3 {
    font-size: 22px;
  }
}


/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .strength-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-item {
    padding: 25px 20px;
    text-align: center;
  }

  .strength-item h3 {
    font-size: 20px;
  }

  .strength-item p {
    font-size: 15px;
    line-height: 1.7;
  }
}


/* ===== 小型スマホ対応 ===== */
@media (max-width: 480px) {
  .strength-item {
    padding: 20px 15px;
  }

  .strength-item h3 {
    font-size: 18px;
  }

  .strength-item p {
    font-size: 14px;
  }
}
/* スマホ表示 */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  /* 通常メニュー非表示 */
  .menu {
    display: none;
  }

  /* 開いた時 */
  .menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: 20px;
    width: 220px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    gap: 20px;
    z-index: 1500;
  }

  .menu li {
    list-style: none;
  }

  .menu li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
  }
}