/* Merged Final CSS: Organized + Base Reset + Media Queries */

/* Base Reset */
@charset "utf-8";
body {
  margin: 0;
  padding: 0;
  color: #333;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: #fff;
  -webkit-text-size-adjust: none;
}
h1,h2,h3,p,ul,li,dl,dt,dd,form,figure { margin: 0; padding: 0; font-size: 100%; font-weight: normal; }
textarea,select,input[type="text"],input[type="checkbox"],input[type="radio"],input[type="button"],input[type="submit"]{ font-size: 100%; }
ul { list-style-type: none; }
img { border: none; max-width: 100%; height: auto; vertical-align: middle; }

/* Links */
a { color: #333; transition: 0.5s; }
a:hover { color: #2b3f7f; text-decoration: none; }

/* Header Additional */
/* header { border-top: 4px solid #2b3f7f; background: linear-gradient(#d1e1ff, #fff 40%); } */
header{background: #ffffff;}
.header{background: #ffffff;}
header .inner { position: relative; height: 140px; }
header #logo img { width: 350px; position: absolute; left: 3%; top: 38px; }

/* Content and List */
.contents { clear: both; overflow: hidden; padding: 50px 0; }
/* .contents p { padding: 0 20px 40px; } */

/* Footer */
footer { clear: both; font-size: 85%; background: #2b3f7f; color: #fff; }
footer a { text-decoration: none; color: #fff; }
footer .pr { display: block; font-size: 80%; }
#copyright { clear: both; text-align: center; background: #fff; color: #000; margin: 15px auto 5px; }

/*  */
#menubar-s {display: none;}

/* Media Queries */
@media screen and (max-width: 800px) {
  #menubar-s { display: block; overflow: hidden; position: absolute; border-top: 1px solid #fff; width: 100%; z-index: 10; }
  #menubar-s { position: fixed;top:80px;left:0px;}
  #menubar-s li a { display: block; text-decoration: none; padding: 15px 5%; border-bottom: 1px solid #fff; background: #d9c4ab; color: #fff; font-size: 120%;}
  #menubar_hdr { display: block; position: absolute; top: 3%; right: 3%; }
  #menubar_hdr.close, #menubar_hdr.open { width: 50px; height: 50px;}
  #menubar_hdr.close { background: #fff url(../images/icon_menu.png) no-repeat center top/50px;  opacity: 0.8; }
  #menubar_hdr.open { background: #fff url(../images/icon_menu.png) no-repeat center bottom/50px; opacity: 0.8;}
  /* .contents { padding: 3%; } */
  .contents { padding:20px 0 3% 0; }
}

@media screen and (max-width: 480px) {
  body { font-size: 12px; }
  .contents h2, .contents h3 { padding: 5px 0 5px 10px; margin-bottom: 20px; font-size: 150%; }
  .contents p { padding: 0 10px 15px; }
}

@media screen and (min-width: 481px) { .sponly { display: none; } }
@media screen and (max-width: 480px) { .pconly { display: none; } }

/* === COMMON === */
h2, h3 { font-weight: bold; }
.contents { padding-bottom: 15px; }

/* === HEADER === */
.header { width: 100%; border: none; background: #ffffff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; }
.logo img { height: 40px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav li { display: flex; align-items: center; }
.nav a { text-decoration: none; color: #333; font-weight: normal; }
.request-btn img { height: 50px; }
.mv img { width: 100%; display: block; max-width: 1200px;margin: 0 auto;}

/* === OFFER === */
.offer { width: 100%;text-align: center; padding: 100px 20px; color: #fff; }
.offer-inner { display: flex; align-items: center; justify-content: center; max-width: 1200px; margin: 0 auto; gap: 80px; flex-wrap: wrap; }
.offer .icons-left, .offer .icons-right { display: flex; flex-direction: column; gap: 80px; }
.offer .icons-left img, .offer .icons-right img { width: 180px; }
.offer-content { max-width: 600px; }
.offer-content h2 { font-size: 28px; line-height: 1.5; margin-bottom: 20px; }
.offer-content h2 span { color: #ffeb3b; }
.offer-content p { font-size: 16px; line-height: 1.8; margin-bottom: 25px; }
.offer-content .request-btn img { height: 90px; }
.offer-content small { display: block; margin-top: 20px; font-size: 14px; color: #fff; }

/* === LECTURE === */
.lecture {padding: 100px 20px; }
.lecture-inner { display: flex; align-items: center; justify-content: center; max-width: 1200px; margin: 0 auto; gap: 50px; flex-wrap: wrap; }
.lecture-image img { width: 100%; max-width: 600px; border-radius: 20px; }
.lecture h2 { font-size: 32px; margin-bottom: 20px; color: #007bdb; text-align: center; }
.lecture-content { max-width: 500px; }
.lecture-content p { font-size: 16px; line-height: 1.8; margin-bottom: 30px; }
.lecture-info { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.lecture-info li { display: flex; align-items: center; overflow: hidden; }
.lecture-info .label { background: #007bdb; color: #fff; padding: 15px; min-width: 140px; text-align: center; font-weight: bold; }
.lecture-info .value { background: #fff; color: #333; padding: 15px 20px; flex: 1; border-radius: 0 6px 6px 0; line-height: 1.5; }

/* === REASONS === */
.reasons {padding: 100px 20px; text-align: center; }
.reasons-inner { max-width: 1200px; margin: 0 auto; }
.reasons-title { display: flex; align-items: center; justify-content: center; gap: 30px; margin-bottom: 30px; }
.reasons-title h2 { font-size: 36px; line-height: 1.4; font-weight: bold; }
.reasons-title h2 span { color: #007bdb; }
.reasons-title h2 span span { font-size: 50px; }
.reasons-title .icon { width: 180px; }
.reasons-list { display: flex; justify-content: center; gap: 30px; flex-wrap: nowrap; }
.reason { background: #fff; border-radius: 12px; padding: 30px 20px; width: calc((100% - 60px) / 3); text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.reason img { width: 340px; height: 210px; object-fit: cover; margin-bottom: 20px; }
.reason h3 { font-size: 24px; color: #007bdb; margin-bottom: 15px; line-height: 1.4; font-weight: bold; }
.reason p { font-size: 16px; line-height: 1.8; color: #333; text-align: left; }
.highlight { background: linear-gradient(transparent 60%, #ffff66 60%); }

/* === VOICES === */
.voices {padding: 20px 20px; }
.voices-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.voices-title img { max-width: 400px; height: auto; margin-bottom: 60px; }
.voices-list { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.voice { background: #e6f7ff; border: 3px solid #1c86d1; border-radius: 12px; padding: 20px 20px 30px; max-width: 500px; text-align: left; }
.voice-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; }
.voice-header img { display: block; height: auto; max-height: 100px; flex-shrink: 0; }
.voice-titles { text-align: right; flex: 1; }
.voice-header h3 { font-size: 24px; color: #007bdb; margin: 0 0 5px; font-weight: bold; }
.voice-header .voice-subtitle { font-weight: bold; margin: 0 0 10px; }

/* === MESSAGE === */
.message {padding: 20px 20px; }
.message h2 { color: white; }
.message-inner { max-width: 1200px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 50px; display: flex; gap: 40px; flex-wrap: wrap; }
.message-left { flex-shrink: 0; text-align: center; }
.message-left img { width: 450px; margin-bottom: 10px; }
.ceo-name { font-size: 16px; margin: 0; font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", serif; }
.ceo-name strong { font-weight: bold; font-size: 22px; }
.message-right { flex: 1; }
.message-right p { font-size: 16px; line-height: 1.8; margin-bottom: 10px; }
.profile { padding: 20px; border-radius: 10px; }
.profile h3 { font-size: 18px; color: #007bdb; margin-bottom: 10px; }
.profile p { font-size: 14px; line-height: 1.8; }

/* === CERTIFIED === */
.certified {padding: 100px 20px 30px; }
.certified-inner { max-width: 800px; margin: 0 auto; background: #fffde7; border: 3px solid #f8d13b; padding: 50px 40px 40px; position: relative; text-align: center; }
.certified-title { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); }
.certified-title img { display: block; height: auto; max-width: 100%; }
.certified p { font-size: 16px; line-height: 1.8; color: #333; text-align: left; margin-top: 20px; }

/* === FAQ === */
.faq {padding: 50px 20px; }
.faq-inner { max-width: 1000px; margin: 0 auto; }
.faq-inner h2 { text-align: center; font-size: 32px; margin-bottom: 60px; }
.faq-item { margin-bottom: 30px; }
.faq-q, .faq-a { display: flex; align-items: center; gap: 20px; }
.faq-q img, .faq-a img { width: 70px; height: 70px; flex-shrink: 0; }
.faq-q h3 { font-size: 20px; margin: 0; }
.faq-a p { font-size: 16px; line-height: 1.8; margin: 0; }
.faq-item:not(:last-child) { border-bottom: 1px solid #ccc; padding-bottom: 25px; }

/* === FOOTER === */
.footer { background: #fff; padding: 20px 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer .logo img { height: 40px; }
.footer .nav ul { list-style: none; display: flex; gap: 30px; }
.footer .nav a { text-decoration: none; color: #333; font-weight: normal; }



.offer {
  padding: 60px 20px;
}
.offer-content .request-btn img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* 改行 */
.pc-br {
  display: inline;
}
.br-sp {
  display: inline;
}



/* === SPレスポンシブ === */
@media screen and (max-width: 768px) {

  body {
    font-size: 14px;
    line-height: 1.6;
  }
  .contents { padding:20px 0 3% 0; }

  .header-inner {
    flex-direction: row;
    padding: 15px 20px;
  }

  .logo img {
    height: 30px;
  }

  .mv img {
    margin-top: 10px;
  }

  .offer {
	width:96%;
    padding: 30px 2%;
  }

  .offer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .offer .icons-left,
  .offer .icons-right {
    flex-direction: row;
    gap: 30px;
    justify-content: center;
  }

  .offer .icons-left img,
  .offer .icons-right img {
    width: 80px;
  }

  .offer-content {
    max-width: 100%;
    text-align: center;
  }

  .offer-content h2 {
    font-size: 22px;
  }

  .offer-content p {
    font-size: 14px;
  }

  .offer-content .request-btn img {
    height: 60px;
  }

  .lecture {
    padding: 60px 15px;
  }

  .lecture-inner {
    flex-direction: column;
    gap: 30px;
  }

  .lecture-image img {
    max-width: 100%;
  }

  .lecture h2 {
    font-size: 24px;
  }

  .lecture-content {
    max-width: 100%;
  }

  .reasons {
    padding: 60px 15px;
  }

  .reasons-title {
    flex-direction: column;
    gap: 10px;
  }

  .reasons-title h2 {
    font-size: 24px;
  }

  .reasons-title h2 span span {
    font-size: 32px;
  }

  .reasons-list {
    flex-direction: column;
  }

  .reason {
    width: 100%;
    margin-bottom: 30px;
  }

  .reason img {
    width: 100%;
    height: auto;
  }

  .voices {
    padding: 60px 15px;
  }

  .voices-title img {
    max-width: 300px;
    margin-bottom: 30px;
  }

  .voices-list {
    flex-direction: column;
  }

  .voice {
    width: 100%;
    margin-bottom: 30px;
  }

  .message {
    padding: 60px 15px;
  }

  .message-inner {
    flex-direction: column;
    padding: 30px 20px;
  }

  .message-left img {
    width: 100%;
  }

  .certified {
    padding: 60px 15px 30px;
  }

  .certified-inner {
    padding: 30px 20px 20px;
  }

  .faq {
    padding: 60px 15px;
  }

  .faq-inner h2 {
    font-size: 24px;
  }

  .faq-q img, .faq-a img {
    width: 50px;
    height: 50px;
  }

  .footer {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer .logo img {
    height: 30px;
  }

  .footer .nav ul {
    flex-direction: column;
    gap: 10px;
  }

  #menubar_hdr {
    display: block !important;
  }

  .header-inner {
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }
  .logo img {
    height: 40px;
	padding-top: 10px;
  }
  nav.nav {
    display: none;
  }
  #menubar_hdr {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
  }
  .mv img {
    margin-top: 10px;
  }

  .offer-inner {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .offer .icons-left,
  .offer .icons-right {
    flex-direction: row;
    gap: 100px;
    justify-content: center;
  }

  .offer .icons-left img,
  .offer .icons-right img {
    width: 120px;
  }

  .offer-content h2 {
    font-size: 26px;
    line-height: 1.6;
	text-align: left;
  }

  .offer-content p {
    font-size: 16px;
    line-height: 1.6;
	text-align: left;
  }

  .offer-content .request-btn img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .pc-br {
    display: none;
  }
  .br-sp {
    display: block;
  }

}




/* === SEARCH SECTION === */
.search-section {
  background: #fff;
  border: 5px solid #a8cfd8;
  border-radius: 40px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 40px auto;
}

.search-inner {
  text-align: center;
}

.search-section h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.search-form input[type="text"] {
  width: 300px;
  max-width: 80%;
  padding: 10px 15px;
  border: 2px solid #ccc;
  border-radius: 25px;
  font-size: 16px;
}

.search-form button {
  background: #d9c4ab;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.search-categories h3 {
  text-align: left;
  font-size: 20px;
  margin-bottom: 15px;
}

.search-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  justify-content: center;
}

.search-categories li a {
  display: inline-block;
  background: #a8cfd8;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}

.search-categories li a:hover {
  background: #88b7c1;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .search-section {
    background: #fff;
    border: 5px solid #a8cfd8;
    border-radius: 30px;
    padding: 30px 20px;
    max-width: 1000px;
    margin: 30px 10px;
  }

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

  .search-form input[type="text"] {
    width: 100%;
  }

  .search-categories ul {
    justify-content: flex-start;
  }

  .search-categories li a {
    display: inline-block;
    background: #a8cfd8;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s;
  }

}


/* === SMILE SECTION === */
.smile-section {
  background: #fff;
  /* border: 5px solid #d9c4ab; */
  border-radius: 40px;
  max-width: 1000px;
  margin: 60px auto;
  overflow: hidden;
}

.smile-inner {
  display: flex;
  align-items: center;
  /* gap: 40px; */
  padding: 20px;
  flex-wrap: wrap;
}

.smile-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 40px;
  border: 5px solid #d9c4ab;
}

.smile-text {
  flex: 1;
  background: #d9c4ab;
  color: #fff;
  border-radius: 40px;
  padding: 50px;
}

.smile-text h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.5;
}

.smile-text p {
  font-size: 16px;
  line-height: 1.6;
  padding:0;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .smile-inner {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .smile-image img {
    max-width: 100%;
  }

  .smile-text {
    padding: 20px;
  }

  .smile-text h2 {
    font-size: 20px;
  }

  .smile-text p {
    font-size: 14px;
  }
}


/* === TEACHERS SECTION === */
.teachers {
  text-align: center;
  /* background: #f5f6f8; */
  background: #faf5e5;
  padding: 60px 20px;
}

.teachers h2 {
  font-size: 28px;
  margin-bottom: 50px;
  font-weight: bold;
}

.teachers-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.teacher-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  max-width: 300px;
  flex: 1 1 250px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
}

.teacher-image img {
  width: 100%;
  border-radius: 20px;
}

.teacher-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 10px;
}

.teacher-card p {
  font-size: 14px;
  line-height: 1.6;
}

.teacher-card p a {
  color: #333;
  text-decoration: underline;
}

.teachers-button a img {
  display: inline-block;
  width: 200px;
  max-width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .teachers h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .teachers-list {
    flex-direction: column;
    align-items: center;
  }

  .teacher-card {
    max-width: 90%;
  }

  .teachers-button a img {
    width: 150px;
  }
  .teacher-image img {
    width: 70%;
    max-width: 70%;
    margin:0 15%;
  }
}



/* === NEWS SECTION === */
.news {
  background: #b0d5e5; /* 背景色：画像に合わせ */
  padding: 60px 20px;
}

.news-inner {
  background: #fff;
  border-radius: 50px;
  padding: 40px 30px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.news-inner h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto; /* 中央寄せ */
  max-width: 800px; /* 幅を制限して中央に */
}

.news-list li {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 15px; /* 追加: 間のスペースを広げる */
}

/* 最後のliの余白をなくす */
.news-list li:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .news-inner {
    padding: 30px 20px;
    border-radius: 30px;
  }

  .news-inner h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .news-list li {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }
}


/* === COLUMN SECTION === */
.column {
  text-align: center;
  background: #f5f6f8;
  padding: 60px 20px;
}

.column h2 {
  font-size: 28px;
  margin-bottom: 50px;
  font-weight: bold;
  line-height: 1.4;
}

.column-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.column-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  max-width: 300px;
  flex: 1 1 250px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
}

.column-image img {
  width: 100%;
  border-radius: 20px;
}

.column-card h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 15px 0 10px;
  line-height: 1.4;
}

.column-card p {
  font-size: 14px;
  line-height: 1.6;
}

.column-button a img {
  display: inline-block;
  width: 200px;
  max-width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .column h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .column-list {
    flex-direction: column;
    align-items: center;
  }

  .column-card {
    max-width: 90%;
  }

  .column-button a img {
    width: 150px;
  }
}


/* === supporter SECTION === */
.supporter {
  background: #fff;
  padding: 60px 20px;
}

.supporter .supporter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.supporter-text {
  flex: 1;
  min-width: 300px;
}

.supporter-text h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.supporter-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.supporter-btn {
  display: inline-block;
  background: #d9c4ab;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

.supporter-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 30px;
  border: 5px solid #d9c4ab;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .supporter .supporter-inner {
    flex-direction: column;
    text-align: center;
  }

  .supporter-text h2 {
    font-size: 20px;
  }

  .supporter-text p {
    font-size: 14px;
  }

  .supporter-btn {
    font-size: 14px;
    padding: 10px 25px;
  }

  .supporter-image img {
    max-width: 100%;
  }
}


.teacher-detail h2, .teacher-detail h3 { color: #007bdb; }
.teacher-detail-info p { line-height: 1.8; margin-bottom: 20px; }


/* .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
} */

/* .nav {
  display: flex;
  align-items: center;
  gap: 40px;
} */

.header-search form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input[type="text"] {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 30px;
}

.header-search button {
  padding: 8px 20px;
  border: none;
  background: #d9c4ab;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
}

.header-search button:hover {
  background: #c8b292;
}

@media (max-width: 768px) {
  .header-search {
    display: none; /* スマホでは必要なら非表示に */
  }
}



footer{border-top: 1px solid #ccc;}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-nav {
  margin-top: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.footer-links li a {
  color: #333;
  text-decoration: none;
}

.footer-links li a:hover {
  text-decoration: underline;
}

#copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #d09a40;
  color: #fff;
  padding: 5px 10px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 15px;
  display: none; /* 最初は非表示 */
  transition: opacity 0.3s;
  z-index: 9999;
}

.back-to-top:hover {
  opacity: 0.8;
}









/*コンテンツ（mainとsubを囲むブロック）
---------------------------------------------------------------------------*/
.contents {
	padding: 3%;
}
/*inner共通
---------------------------------------------------------------------------*/
.inner {
	max-width: 1200px;	/*サイトの最大幅　※下の方の「画面幅1200px以上の設定」にも関連するので変更の際は注意して下さい。*/
	margin: 0 auto;
  width: 1200px;
}
/*mainコンテンツ
---------------------------------------------------------------------------*/
.main {
	float: left;	/*左に回り込み*/
	width: 72%;		/*幅*/
	overflow: hidden;
}
/*subコンテンツ
---------------------------------------------------------------------------*/
.sub {
	float: right;	/*右に回り込み*/
	width: 24%;		/*幅*/
  padding-top:20px;
}
.sub h2 {
	background: none;border: none;box-shadow: none;padding: 0;letter-spacing: normal;
	font-size: 120%;	/*文字サイズ*/
	margin-bottom: 20px;
}
.sub h2::first-letter {
	padding-left: 15px;
}
.sub p {
	padding-bottom: 10px;	/*上、左右、下への余白*/
}
.sub ul.submenu {
	margin-bottom: 20px;	/*メニューブロックの下に空けるスペース*/
	border-top: solid 1px #dcdcdc;	/*上の線の線種、幅、色*/
}
.sub ul.submenu li {
	background: #fff;	/*背景色*/
	border-bottom: solid 1px #dcdcdc;	/*下の線の線種、幅、色*/
}
.sub ul.submenu li a {
	text-decoration: none;
	display: block;
	padding: 5px 10px;	/*メニュー内の余白。上下、左右への設定。*/
}

/*サブコンテンツ内のbox1
---------------------------------------------------------------------------*/
.sub .box1 {
	padding: 15px;			/*ボックス内の余白*/
	margin-bottom: 20px;	/*ボックスの下に空けるスペース*/
	background: rgba(0,0,0,0.02);	/*背景色。rgbaは色設定で0,0,0は黒。0.02は透明度2%の事。*/
	border: solid 1px #dcdcdc;	/*線の線種、幅、色*/
	box-shadow: 0px 0px 1px 1px #fff inset;	/*ボックスの影。内側に白のラインを入れる。*/
}
.sub .box1 ul.submenu {
	margin-bottom: 0px;
}

@media screen and (max-width:1200px){
  .inner {
    width: auto;
  }
  .contents {
    padding: 3%;
  }
  .main, .sub {
    float: none;
    width: auto;
  }
  .sub{
    max-width: 800px;
    background: #fff;
    padding: 40px;
    margin: 40px auto;
  }
}

@media screen and (max-width:800px){
  .inner {
    width: auto;
  }
  .contents {
    padding: 3%;
  }
  .main, .sub {
    float: none;
    width: auto;
  }
}

@media screen and (max-width:480px){
  .sub h2 {
    margin-bottom: 10px;
  }
  .sub .box1 {
    padding: 10px;			/*ボックス内の余白*/
  }
}

h3 a{
  text-decoration: none;
}

/* privacypolicy, company,  */
.policy {
  max-width: 900px;
  background: #fff;
  padding: 40px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  line-height: 1.8;
  color: #333;
}
.policy h1 {
  font-size: 32px;
  margin-bottom: 30px;
  border-bottom: 3px solid #f5d9ab;
  display: inline-block;
  padding-bottom: 5px;
}
.policy h2 {
  font-size: 20px;
  margin-top: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.policy p, .policy ul {margin: 20px 0;}
.policy ul {padding-left: 20px;}
@media (max-width: 768px) {
  .policy {padding: 20px;}
  .policy h1 {font-size: 26px;}
  .policy h2 {font-size: 18px;}
}
