
:root{
  --navy:#072d59;
  --navy-dark:#061f3f;
  --text:#26313d;
  --muted:#66727e;
  --line:#d6e1eb;
  --shadow:0 12px 30px rgba(34,68,105,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  overflow-x:hidden;
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  color:var(--text);
  background:linear-gradient(135deg,#e8f1fa 0%,#fff 48%,#eef3f7 100%);
  line-height:1.75
}
a{color:inherit;text-decoration:none}
svg{display:block}
.svg_sprite{position:absolute;width:0;height:0;overflow:hidden}

.hero{
  padding:76px 5% 58px;
  border-bottom:1px solid rgba(7,45,89,.15)
}
.hero_inner{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(310px,.7fr);
  gap:44px;
  width:min(1160px,90%);
  margin:auto;
  align-items:center
}
.logo{
  margin-bottom:13px;
  color:#4a6884;
  font-size:13px;
  font-weight:700;
  letter-spacing:.18em
}
h1{
  margin:0;
  color:var(--navy);
  font-size:clamp(34px,5.2vw,58px);
  line-height:1.22;
  letter-spacing:.02em
}
.lead{
  max-width:760px;
  margin:22px 0 0;
  font-size:17px
}
.hero_actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px
}
.hero_button{
  padding:12px 22px;
  border:1px solid var(--navy-dark);
  background:var(--navy-dark);
  color:#fff;
  font-weight:700
}
.hero_button.sub{
  background:#fff;
  color:var(--navy-dark)
}
.hero_quick{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding:18px;
  border:1px solid #b9cee2;
  border-radius:22px;
  background:rgba(255,255,255,.88);
  box-shadow:var(--shadow)
}
.hero_quick a{
  display:flex;
  min-height:122px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px;
  border:1px solid #d6e1eb;
  border-radius:15px;
  background:#fff;
  color:var(--navy);
  font-weight:700;
  text-align:center;
  transition:.2s
}
.hero_quick a:hover{
  transform:translateY(-3px);
  border-color:#76a9d7
}
.hero_quick .tool_icon{width:36px;height:36px}

.quick_nav{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid #cbd8e4;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px)
}
.quick_nav_inner{
  display:flex;
  width:min(1160px,90%);
  margin:auto;
  overflow-x:auto;
  scrollbar-width:none
}
.quick_nav_inner::-webkit-scrollbar{display:none}
.quick_nav a{
  flex:0 0 auto;
  padding:13px 18px;
  border-right:1px solid #e2e8ee;
  color:#38536d;
  font-size:14px;
  font-weight:700
}
.quick_nav a:hover{
  background:#edf6ff;
  color:var(--navy)
}

.main{
  width:min(1160px,90%);
  margin:0 auto 82px
}
.section{
  margin-top:60px;
  scroll-margin-top:82px
}
.compact_section{margin-top:50px}
.section_head{margin-bottom:22px}
.section_label{
  display:inline-block;
  padding:4px 11px;
  border:1px solid #a9c7e3;
  background:#edf6ff;
  color:#205a91;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em
}
.section_title{
  margin:11px 0 7px;
  color:#15283b;
  font-size:28px;
  line-height:1.4
}
.section_text{
  margin:0;
  color:var(--muted)
}

.tool_grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.popular_grid .tool_card{
  border-color:#9bbddd;
  background:linear-gradient(180deg,#fff,#f4f9fd)
}
.tool_card{
  display:flex;
  min-width:0;
  min-height:235px;
  flex-direction:column;
  padding:21px;
  border:1px solid var(--line);
  border-radius:17px;
  background:rgba(255,255,255,.95);
  box-shadow:0 8px 20px rgba(37,72,110,.05);
  transition:.2s
}
.tool_card:hover{
  transform:translateY(-4px);
  border-color:#78a8d3;
  box-shadow:0 16px 32px rgba(37,72,110,.12)
}
.tool_card_top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px
}
.tool_icon_wrap,
.section_icon,
.category_icon,
.flow_icon{
  display:inline-flex;
  align-items:center;
  justify-content:center
}
.tool_icon_wrap{
  width:52px;
  height:52px;
  border:1px solid #b6d0e8;
  border-radius:14px;
  background:#edf6ff;
  color:#1766b0
}
.tool_icon{
  width:28px;
  height:28px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round
}
.tool_badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:5px
}
.tool_badge{
  padding:3px 7px;
  border-radius:999px;
  background:#102e51;
  color:#fff;
  font-size:10px;
  font-weight:700
}
.tool_badge.new{background:#e56b00}
.tool_english{
  margin-top:17px;
  color:#49718f;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em
}
.tool_name{
  margin-top:4px;
  color:#102942;
  font-size:19px;
  line-height:1.45
}
.tool_description{
  margin-top:8px;
  color:var(--muted);
  font-size:13px
}
.tool_open{
  margin-top:auto;
  padding-top:15px;
  color:#1760a0;
  font-size:13px;
  font-weight:700
}

.category_grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}
.category_shortcut{
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:15px;
  align-items:center;
  padding:22px;
  border:1px solid var(--cat-line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow);
  transition:.2s
}
.category_shortcut:hover{transform:translateY(-3px)}
.category_icon{
  width:66px;
  height:66px;
  border-radius:18px;
  background:var(--cat-bg);
  color:var(--cat)
}
.category_icon .tool_icon{width:34px;height:34px}
.category_copy small{
  display:block;
  color:#58758d;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em
}
.category_copy strong{
  display:block;
  margin-top:2px;
  color:#102942;
  font-size:20px
}
.category_copy span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:13px
}

.category_head{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:15px;
  align-items:center
}
.section_icon{
  width:60px;
  height:60px;
  border-radius:16px;
  background:var(--cat-bg);
  color:var(--cat)
}
.section_icon .tool_icon{width:31px;height:31px}
.tool_section{
  padding:27px;
  border:1px solid var(--cat-line);
  border-radius:22px;
  background:rgba(255,255,255,.68)
}
.tool_section .tool_icon_wrap{
  background:var(--cat-bg);
  border-color:var(--cat-line);
  color:var(--cat)
}
.tool_section .section_label{
  border-color:var(--cat-line);
  background:var(--cat-bg);
  color:var(--cat)
}
.cat_seo{--cat:#1766b0;--cat-bg:#edf6ff;--cat-line:#a8cbea}
.cat_operation{--cat:#5d43b5;--cat-bg:#f3f0ff;--cat-line:#c9bcf2}
.cat_image{--cat:#d77a00;--cat-bg:#fff6e8;--cat-line:#edc486}
.cat_text{--cat:#087f91;--cat-bg:#ecfafd;--cat-line:#a6dce3}

.flow_list{display:grid;gap:14px}
.flow_card{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:18px;
  align-items:center;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff
}
.flow_heading{
  display:flex;
  gap:12px;
  align-items:center
}
.flow_heading>span{
  display:inline-flex;
  width:38px;
  height:38px;
  flex:0 0 38px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  font-weight:700
}
.flow_heading strong{color:#17324d}
.flow_steps{
  display:flex;
  min-width:0;
  align-items:center;
  gap:10px
}
.flow_step{
  display:flex;
  min-width:0;
  flex:1 1 0;
  align-items:center;
  gap:9px;
  padding:10px;
  border:1px solid #d6e1eb;
  border-radius:12px;
  background:#f9fbfd;
  font-size:12px;
  font-weight:700
}
.flow_icon{
  width:33px;
  height:33px;
  flex:0 0 33px;
  border-radius:9px;
  background:#eaf4fd;
  color:#1766b0
}
.flow_icon .tool_icon{width:19px;height:19px}
.flow_arrow{
  color:#7c94aa;
  font-weight:700
}

.update_box{
  overflow:hidden;
  border:1px solid #15283b;
  border-radius:18px;
  background:rgba(255,255,255,.95);
  box-shadow:0 12px 30px rgba(34,68,105,.08)
}
.update_item{
  display:grid;
  grid-template-columns:155px minmax(0,1fr);
  gap:24px;
  padding:22px 25px;
  border-top:1px solid #d9e2ea
}
.update_item:first-child{border-top:0}
.update_meta{
  padding-right:20px;
  border-right:1px solid #d9e2ea
}
.update_date{
  display:block;
  color:#244f76;
  font-size:14px;
  font-weight:700;
  letter-spacing:.04em
}
.update_type{
  display:inline-block;
  margin-top:8px;
  padding:3px 10px;
  border-radius:999px;
  background:#071d38;
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em
}
.update_type.update{
  background:#edf6ff;
  color:#175b99;
  border:1px solid #9ec4e7
}
.update_content h3{
  margin:0 0 6px;
  color:#17324d;
  font-size:18px
}
.update_content p{
  margin:0;
  color:#5f6b77;
  font-size:14px
}

.feature_info_grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.feature_info_card{
  position:relative;
  min-width:0;
  padding:28px 24px 25px;
  overflow:hidden;
  border:1px solid #15283b;
  border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,#f5f9fc 100%);
  box-shadow:0 10px 25px rgba(35,70,120,.07)
}
.feature_info_card:before{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg,#072d59,#4f98d1);
  content:""
}
.feature_info_icon{
  display:inline-flex;
  width:58px;
  height:58px;
  align-items:center;
  justify-content:center;
  border:1px solid #9fc4e4;
  border-radius:50%;
  background:#edf6ff;
  color:#1766b0
}
.feature_info_icon .tool_icon{
  width:29px;
  height:29px
}
.feature_info_number{
  position:absolute;
  top:20px;
  right:20px;
  color:#dce7f0;
  font-size:38px;
  font-weight:700;
  line-height:1
}
.feature_info_card h3{
  margin:18px 0 8px;
  color:#072d59;
  font-size:20px
}
.feature_info_card p{
  margin:0;
  color:#5f6b77;
  font-size:14px
}
.about_message{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:24px;
  margin-top:18px;
  padding:22px 25px;
  border-left:6px solid #072d59;
  background:#fff;
  box-shadow:0 8px 22px rgba(35,70,120,.05)
}
.about_message strong{
  color:#072d59;
  font-size:19px
}
.about_message p{
  margin:0;
  color:#5f6b77
}

.faq_list{
  overflow:hidden;
  border:1px solid #15283b;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(34,68,105,.08)
}
.faq_item{
  border-top:1px solid #d9e2ea
}
.faq_item:first-child{border-top:0}
.faq_item summary{
  position:relative;
  display:flex;
  gap:14px;
  align-items:center;
  padding:19px 58px 19px 22px;
  color:#17324d;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  list-style:none
}
.faq_item summary::-webkit-details-marker{display:none}
.faq_item summary:after{
  position:absolute;
  top:50%;
  right:23px;
  width:12px;
  height:12px;
  border-right:2px solid #496a87;
  border-bottom:2px solid #496a87;
  transform:translateY(-70%) rotate(45deg);
  transition:.2s;
  content:""
}
.faq_item[open] summary{
  background:#f1f7fc
}
.faq_item[open] summary:after{
  transform:translateY(-30%) rotate(225deg)
}
.faq_mark,
.faq_answer_mark{
  display:inline-flex;
  width:36px;
  height:36px;
  flex:0 0 36px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-weight:700
}
.faq_mark{
  background:#072d59;
  color:#fff
}
.faq_answer{
  display:flex;
  gap:14px;
  padding:18px 22px 22px;
  border-top:1px dashed #c9d7e3;
  background:#fbfdff
}
.faq_answer_mark{
  border:1px solid #7db395;
  background:#edf9f1;
  color:#147243
}
.faq_answer p{
  margin:5px 0 0;
  color:#5c6874
}
.footer{
  padding:36px 5%;
  background:#eef0f2;
  font-size:12px;
  text-align:center
}
.footer a{text-decoration:underline}

@media(max-width:1000px){
  .hero_inner{grid-template-columns:1fr}
  .hero_quick{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tool_grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .flow_card{grid-template-columns:1fr}
}
@media(max-width:768px){
  .hero{padding:50px 5% 42px}
  .hero_inner{width:100%}
  .hero_quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero_button{
    width:100%;
    text-align:center
  }
  .main{width:90%}
  .category_grid,
  .tool_grid,
  .feature_info_grid{grid-template-columns:1fr}
  .tool_section{padding:18px}
  .section{margin-top:45px}
  .section_title{font-size:23px}
  .category_shortcut{
    grid-template-columns:58px minmax(0,1fr);
    padding:17px
  }
  .category_icon{
    width:54px;
    height:54px
  }
  .flow_steps{
    align-items:stretch;
    flex-direction:column
  }
  .flow_step{
    width:100%;
    flex:none
  }
  .flow_arrow{transform:rotate(90deg)}

  .update_item{
    grid-template-columns:1fr;
    gap:10px;
    padding:19px
  }
  .update_meta{
    padding-right:0;
    padding-bottom:10px;
    border-right:0;
    border-bottom:1px solid #d9e2ea
  }
  .about_message{
    grid-template-columns:1fr;
    gap:8px;
    padding:19px
  }
  .faq_item summary{
    padding:17px 50px 17px 16px
  }
  .faq_answer{
    padding:16px
  }
}


/* --------------------------------
   更新履歴：5件表示 + MORE
-------------------------------- */
.update_item[hidden]{
  display:none!important
}
.update_more_wrap{
  padding:17px 24px 20px;
  border-top:1px solid #d9e2ea;
  text-align:center
}
.update_more_button{
  display:inline-flex;
  min-width:160px;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 22px;
  border:1px solid #072d59;
  border-radius:999px;
  background:#fff;
  color:#072d59;
  font:inherit;
  font-size:13px;
  font-weight:700;
  letter-spacing:.09em;
  cursor:pointer;
  transition:.2s
}
.update_more_button:hover{
  background:#072d59;
  color:#fff
}
.update_more_icon{
  font-size:18px;
  line-height:1
}
.update_more_status{
  display:block;
  min-height:1.5em;
  margin-top:7px;
  color:#71808d;
  font-size:11px
}

/* --------------------------------
   長いTOPページ用：上部へ戻る
-------------------------------- */
.back_to_top{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:80;
  display:flex;
  width:50px;
  height:50px;
  align-items:center;
  justify-content:center;
  border:1px solid #072d59;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  color:#072d59;
  box-shadow:0 8px 25px rgba(7,45,89,.18);
  font-size:22px;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity .2s,transform .2s,visibility .2s
}
.back_to_top.is_visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0)
}
.back_to_top:hover{
  background:#072d59;
  color:#fff
}

/* --------------------------------
   キーボード利用時の視認性
-------------------------------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible{
  outline:3px solid #f0a000;
  outline-offset:3px
}

/* OSでアニメーション軽減を指定している場合 */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,
  *:before,
  *:after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important
  }
}

@media(max-width:768px){
  .update_more_wrap{
    padding:15px 16px 18px
  }
  .update_more_button{
    width:100%;
    max-width:280px
  }
  .back_to_top{
    right:15px;
    bottom:15px;
    width:46px;
    height:46px
  }
}
