@charset "utf-8";

/*//////////////////////////////////////////////////////////////////////////////

	付属歯科診療所奨学金用css

//////////////////////////////////////////////////////////////////////////////*/

/*//////////////////////////////////////////////////////////////////////////////

	旧destyle.css

//////////////////////////////////////////////////////////////////////////////*/

/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

.dhscholarship *,
.dhscholarship *::before,
.dhscholarship *::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

.dhscholarship html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

.dhscholarship body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

.dhscholarship main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

.dhscholarship p,
.dhscholarship table,
.dhscholarship blockquote,
.dhscholarship address,
.dhscholarship pre,
.dhscholarship iframe,
.dhscholarship form,
.dhscholarship figure,
.dhscholarship dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

.dhscholarship h1,
.dhscholarship h2,
.dhscholarship h3,
.dhscholarship h4,
.dhscholarship h5,
.dhscholarship h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.dhscholarship h1::after{
    background: none !important;
    content: none !important;
}

/* Lists (enumeration) */
/* ============================================ */

.dhscholarship ul,
.dhscholarship ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

.dhscholarship dt {
  font-weight: bold;
}

.dhscholarship dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

.dhscholarship hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.a
 */

.dhscholarship pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

.dhscholarship address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

.dhscholarship a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

.dhscholarship abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

.dhscholarship b,
.dhscholarship strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

.dhscholarship code,
.dhscholarship kbd,
.dhscholarship samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

.dhscholarship small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

.dhscholarship sub,
.dhscholarship sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.dhscholarship sub {
  bottom: -0.25em;
}

.dhscholarship sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

.dhscholarship svg,
.dhscholarship img,
.dhscholarship embed,
.dhscholarship object,
.dhscholarship iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

.dhscholarship button,
.dhscholarship input,
.dhscholarship optgroup,
.dhscholarship select,
.dhscholarship textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */

.dhscholarship button,
.dhscholarship [type="button"],
.dhscholarship [type="reset"],
.dhscholarship [type="submit"] {
  cursor: pointer;
}

.dhscholarship button:disabled,
.dhscholarship [type="button"]:disabled,
.dhscholarship [type="reset"]:disabled,
.dhscholarship [type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

.dhscholarship :-moz-focusring {
  outline: auto;
}

.dhscholarship select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

.dhscholarship option {
  padding: 0;
}

/**
 * Reset to invisible
 */

.dhscholarship fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.dhscholarship legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

.dhscholarship progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

.dhscholarship textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

.dhscholarship [type="number"]::-webkit-inner-spin-button,
.dhscholarship [type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */

.dhscholarship [type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

.dhscholarship [type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

.dhscholarship ::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
.dhscholarship [type="number"] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */

.dhscholarship label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

.dhscholarship details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

.dhscholarship summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

.dhscholarship [contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

.dhscholarship table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

.dhscholarship caption {
  text-align: left;
}

.dhscholarship td,
.dhscholarship th {
  vertical-align: top;
  padding: 0;
  color: black !important;
}

.dhscholarship th {
  text-align: left;
  font-weight: bold;
}

/*//////////////////////////////////////////////////////////////////////////////

	旧style.css

//////////////////////////////////////////////////////////////////////////////*/

/* 共通
------------------------------------------------------------------------------*/
.dhscholarship html{
	font-size: 16px;
}

@media screen and (max-width: 450px){
	.dhscholarship html{
		font-size: 14px;
	}
}

.dhscholarship body {
	font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  }

.dhscholarship {
	--main-color: #00C4E7;
	--color-light-blue:#EEF9FE;
	--color-dark-blue:#009ABF;
	--color-pink: #EF88AC;
	--font-family-notosans: 'Noto Sans JP',"Hiragino Kaku Gothic Pro", sans-serif;
	--font-family-zenmaru: 'Nunito','Zen Maru Gothic',"Hiragino Kaku Gothic Pro", sans-serif;
	--font-size-m: clamp(15px, 1.5vw, 18px);
	--font-size-mm: clamp(16px, 1.4rem, 22px);
	--font-size-l: clamp(18px, 1.75rem, 27px);
	--font-size-xl: clamp(23px, 2vw, 29px);
	--font-size-xxl: clamp(23px, 2.4vw, 33px);
	--font-size-big: clamp(24px, 2.6vw, 36px);
	--font-size-xbig: clamp(24px, 3vw, 42px);
}

.dhscholarship .pc{
	display: block;
}

.dhscholarship .sp{
	display: none;
}

@media screen and (max-width: 450px){
	.dhscholarship .pc{
		display: none;
	}
	
	.dhscholarship .sp{
		display: block;
	}
}


/* firstview
------------------------------------------------------------------------------*/
.dhscholarship #firstview{
	position: relative;
	width: 100%;
	height: auto;
    overflow: hidden;
}

.dhscholarship #firstview .pc .main-vs-img {
  width: 100%;
  height: auto;
  display: block;
}

.dhscholarship #firstview h1 {
  position: absolute;
  top: 25%; /* ←ここを微調整すればよい */
  left: 0%;
}

.dhscholarship #firstview h1 img {
  width: 50%;
  height: auto;
  max-width: 100%;
}

.dhscholarship #firstview h3 {
  position: absolute;
  top: 0%; /* ←ここを微調整すればよい */
}

.dhscholarship #firstview h3 img {
  width: auto%;
  height: auto;
  max-width: 100%;
}

.dhscholarship #firstview p{
	top: 50%; /* 上からの位置 */
	left: 4%; /* 左からの位置 */
	font-family: var(--font-family-zenmaru);
	font-weight: 400;
	font-size: clamp(18px, 2.6vw, 36px);
    margin-top: .9em;
    position: absolute;
    line-height: 2em;
}

.dhscholarship #firstview .ribbon{
	position: absolute;
	bottom: 0%; /* 下からの位置 */
	left: 0%; /* 左からの位置 */
	width: 60vw;
}


/* section work
------------------------------------------------------------------------------*/
.dhscholarship .work {
	font-family: var(--font-family-notosans);
	padding: 1rem;
}



/* section faq
------------------------------------------------------------------------------*/
.dhscholarship .faq{
	background-color: var(--color-light-blue);
	padding: 1rem;
}



/* section common
------------------------------------------------------------------------------*/
.dhscholarship .work-kind-wrapper{
	display: flex;
	align-items: center;
}

.dhscholarship .work-img{
	width: 45%;
	height: fit-content;
}

.dhscholarship .work-kind-wrapper{
	justify-content: flex-end;
}

.dhscholarship .work-kind-content {
    margin-right: 7%;
    max-width: 550px;
    width: 40%;
}

.dhscholarship .work-kind-wrapper .work-kind-item-text{
	color: var(--color-pink);
	font-size: var(--font-size-xl);
    line-height: 1.4em;
    font-weight: 500;
	margin-bottom: 1em;
	word-break: auto-phrase;
}

.dhscholarship .work-kind-item  p{
	color: #333;
	line-height: 1.7em;
}

.dhscholarship .work-kind-item li{
	text-indent: -14px;
	line-height: 1.8em;
	margin-left: 1.7em;
}

.dhscholarship .work-kind-item li::before {
	content: '';
	position: relative;
    top: 3px;
    left: -9px;
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 100%;
	background: #333;
}

.dhscholarship .school-visit::before,
.dhscholarship .school-visit::after{
	vertical-align: middle;
	width: 18px;
}

.dhscholarship .school-visit::before{
	content: url(https://meirin-c.ac.jp/img/dhscholarship/visit-l.png);
	margin-right: 30px;
}

.dhscholarship .school-visit::after{
	content: url(https://meirin-c.ac.jp/img/dhscholarship/visit-r.png);
	margin-left: 30px;
}

.dhscholarship .school-visit{
	font-family: var(--font-family-zenmaru);
	font-size: var(--font-size-big);
    color: #CBB260;
	font-weight: 500;
	text-align: center;
	padding: 1rem;
}


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

	.dhscholarship .work{
		margin: 0 5px;
	}

	.dhscholarship .work-kind-content{
		width: 100%;
	}

	.dhscholarship .work-img{
		width: 100%;
	}

	.dhscholarship .work-kind-wrapper{
		flex-direction: column-reverse;
	}

	.dhscholarship .school-visit{
		font-size: 2rem;
	}
}


@media screen and (max-width: 690px){

	.dhscholarship .work-kind-wrapper .work-kind-item-text{
		padding: 1rem;
	}

	.dhscholarship .work-kind-content {
	    margin-right: 0%;
	}
}

@media screen and (max-width: 450px){
	
	.dhscholarship #firstview h1 {
		top: 50%; /* ←ここを微調整すればよい */
	}

	.dhscholarship #firstview h3 {
		top: 0%; /* ←ここを微調整すればよい */
	}

	.dhscholarship #firstview p{
		top: 80%; /* 上からの位置 */
		color: #FFFFFF;
	}

	.dhscholarship #firstview .ribbon{
		width: auto;
	}

	.dhscholarship .school-visit{
		font-size: 1.5rem;
	}
}