/* ===== 基本設定 ===== */

body {
    margin: 0;
    font-family: 'Helvetica Neue', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic",sans-serif;
    background-color: #fff;
    color: #222;
    background-image: url(../images/logo_bg_03.png);
    background-repeat: no-repeat;
   background-position: 95% 5%;
}

h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #347dbd;
}

p {
  margin: 0;
}
/*clearfix*/
.cf:before,
.cf:after {
  content:"";
  display: table;
}
.cf:after {
  clear:both;
}
/*IE6,7対策 （haslayout対策）*/
.cf {
  *zoom:1;
}
/*clearfixここまで*/

.clear {
	clear: both;
}
/* ===== ヘッダー（前面） ===== */

header {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;

}

.logo img {
  height: 150px;
}

.logo p {
  margin: 5px 0 0;
  font-weight: bold;
  line-height: 1.2;
}

.logo span {
  font-size: 12px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 10px;
}

nav li {
    color: #A5A5A5;
    cursor: pointer;
    font-size: 14px;
   
}



/* ===== ヘッダーナビ：ホバーエフェクト ===== */
.header-nav ul li a {
    color: #A5A5A5;
    padding: 5px 10px;
    border-bottom: 1px solid rgba(0,0,0,1.00);
    text-decoration: none;
}

.header-nav ul li a:hover {
  color: rgba(60,151,189,1.00);
  border-bottom: 1px solid rgba(60,151,189,1.00);
transition: border-bottom 0.5s ease, color 0.5s ease;
  font-weight: bold;
}

/* SNSアイコン（ヘッダー右上に表示） ---------------------------- */
.sns-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

.sns-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sns-icon:hover {
  transform: scale(1.2);
}
/* SNSアイコンここまで ---------------------------- */





/* ===== mainに斜めの背景帯を追加（30度） ===== */
main {
  position: relative;
  z-index: 1;
  overflow: hidden; /* はみ出し防止 */
}

main::before {
  content: '';
  position: absolute;
  top: -600px;
  left: -100%;
  width: 300%;
  height: 1200px;
  background: #f8f8f8;
  transform: rotate(30deg);
  transform-origin: top left;
  z-index: -1;
}

/* ===== セクション共通設定 ===== */
main section {
    padding-top: 30px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 60px;
    text-align: center;
}

.section-title {
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 60px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.2;
background: linear-gradient(to right,
  #0a2a61 20%,   /* スタートの濃い色 */
  #095A96 40%,  /* 中間のやや明るい青 */
  #84e6f2 70%  /* ゴールの明るい水色 */
);


  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #444;
  font-weight: 500;
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
}




/* ===== Intro セクション ===== */
.intro {
    max-width: 1000px;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px;
    font-size: 16px;
    line-height: 2;
    text-align: left;
    padding-top: 50px;
}

/* ===== PROFILE セクション ===== */


.profile-content {
  max-width: 1000px;
  margin: 40px auto 0;
  display: flex;
  align-items: flex-start;  /* ← 上端揃え */
  gap: 30px;
  text-align: left;
  font-size: 16px;
  line-height: 2;
  flex-wrap: wrap;
}

.profile-text {
    flex: 1 1 0%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  
}

.profile-photo {
    width: 200px;
    height: 200px;
    background: #ccc;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    align-self: flex-start; /* ? 画像を上端に強制揃え */

}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/* ===== SERVICE セクション ===== */



.service-items {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 0px;
}

.service-box {
  width: 260px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  padding: 20px 10px;
}

.service-box img {
  width: 100%;
  max-width: 240px;
  transition: transform 0.4s ease;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0px 15px 15px rgba(93,162,254,0.25));
}

.service-box:hover img {
  transform: translateY(-10px);
  filter: drop-shadow(0px 20px 30px rgba(93,162,254,0.25));
}



/* グラデボタン */
.service-button {
  padding: 10px 30px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, #0a4c93, #64d3f7);
  color: white;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.service-button:hover {
  background: linear-gradient(to right, #06407d, #47b5df);
}

.service-box:nth-child(2) {
  margin-top: 150px;
}


/* ===== PARTNER セクション ===== */


.partner p {
  font-size: 16px;
  margin-top: 5px;
}


.partner_box {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
}

.partner_logo1 {
    width: 42%;
    
    float: left;
    margin-right: 8%;
    margin-left: 5%;
}
.partner_logo2 {
    width: 42%;
    
    float: left;
}

.partner_logo_mark {
    width: 100%;
   
}

.partner_logo_mark img {
    border: 1px solid rgba(202,202,202,1.00);
}
.partner_logo_text {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    margin-top: 15px;
   }



/* ===== COMPANY セクション ===== */


.company p {
  font-size: 16px;
  margin-bottom: 30px;
}

.company table {
  margin: 0 auto;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 16px;
}

.company th,
.company td {
    padding-top: 30px;
    padding-right: 100px;
    padding-left: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

#company {
  scroll-margin-top: 120px; /* ← 固定ヘッダーの高さより少し大きめに */
}



/* ===== フッター ===== */
footer {
  background: #000000;
  text-align: center;
  padding-top: 30px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 100px;
  font-size: 13px;
  position: relative;
  z-index: 2;
}

footer nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

footer nav li a {
    color: rgba(98, 98, 98, 1.00);
    text-decoration: none;
}

/* ===== フッターのSNSアイコン ===== */
.footer {
  position: relative;
}

.footer-sns-icons {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 15px;
}

.footer-sns-icons .sns-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0.6);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-sns-icons .sns-icon:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}



.footer-logo img {
  margin-top: 40px;
  height: 80px;
}

.copyright {
  margin-top: 10px;
  height: 10px;
  color: rgba(98, 98, 98, 1.00);
  font-size: 10px;
}






/* ===== ===== スマホ対応 ===== ===== ===== */

@media screen and (max-width: 768px) {
    
      .header-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }

  .header-nav ul li {
    width: 40%;
    text-align: center;
    border: 1px solid rgba(60,151,189,1.00);
    padding-top: 10px;
    padding-bottom: 10px;
  }
    

  .profile-content {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .profile-photo {
    margin-top: 30px;
    width: 160px;
    height: 160px;
  }

  .profile-content p {
    font-size: 15px;
    line-height: 1.8;
  }

.service-box:nth-child(2) {
  margin-top: 0px;
}
    

 footer nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }

  footer nav li {
    width: 40%;
    border: 1px solid rgba(98, 98, 98, 1.00);
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-width: 1px;
  }
}
